sandhya
06-13-2007, 10:23 AM
accessing parameters in swf resource loaded at runtime.
I have a resource which is loaded at runtime
Example
<view id="sample">
<method event="oninit">
this.setResource("images/test.swf");
</method>
I want to access the dynamic textfield in this resource.
I tried using
Debug.showInternalProperties=true;
Debug.inspect(this);
to get the resource instance.but everything failed.I am not able to access the textfield.
But if i load the resource in this way:
<view id="sample" resource="images/test.swf"/>
I can access the textfield inside the resource.
Please can someone help me on this
I have a resource which is loaded at runtime
Example
<view id="sample">
<method event="oninit">
this.setResource("images/test.swf");
</method>
I want to access the dynamic textfield in this resource.
I tried using
Debug.showInternalProperties=true;
Debug.inspect(this);
to get the resource instance.but everything failed.I am not able to access the textfield.
But if i load the resource in this way:
<view id="sample" resource="images/test.swf"/>
I can access the textfield inside the resource.
Please can someone help me on this