Calling a DCD http service constructor from <fx:Declarations> scope
hi,
i've created httpservice called ecomhttpservice using dcd http service, , added constructor parameter of type string.
now in mxml file call constructor <fx:declarations> scope.
if understand correct, follow declaration
<fx:declarations>
<ecomhttpservice:ecomhttpservice
fault="alert.show(event.fault.faultstring + '\n' + event.fault.faultdetail)"
showbusycursor="true"/>
...
creats new instance of ecomhttpservice calling default constructor of ecomhttpservice. how can create http service calling constructor i've added gets string parameter? if don't set in constrcutor default value parameter i'm getting abvious error of incorrect number of arguments , can't find anywhere how can call constrcutor in declaration scope.
thanks lot,
lital.
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment