can anyone tell me how to pass a parameter in flex to a swf in a
swfloader--or any other way?? say on my swf there is a label ("Label1")

should it be something like this or am i was off...

<mx:SWFLoader id="Swf1" source="CompLabel.swf?this.Label1.text='H/W!'"
width="668" height="357" x="22" y="10" autoLoad="true"/>

OR maybe call a function...

flash code...
function traceMe(yourMessage:String):Void {
     trace(yourMessage);
}

flex...<mx:SWFLoader id="Swf1" source="CompLabel.swf?traceMe("Hello
World!");
" width="668" height="357" x="22" y="10" autoLoad="true"/>

thanks so much i am new to flex but you guys are helping me learn super
fast. thanks a bunch!!




Reply via email to