Edit: I\'ve come to realize the main problem I\'m facing is that I want a text field that already exists in a movieclip or on the stage to take the string from a flashvar. F
If you are still having this problem, follow below lines. I used flash vars, they work fine for me.
My html script was:
and my AS code to load vars is
this.root.loaderInfo.addEventListener(Event.COMPLETE, SWFLoadComplete);
private function SWFLoadComplete(e:Event)
{
obj=this.root.loaderInfo.parameters;
trace(obj.uid , obj.name); // outputs: 123 santhu
}