just for testing i made a swf file in flash with just a label and wanted to pass it a variable from flex.so maybe i can have a textfield in flex to pass a parameter to the swf to change the a label in a swf. thanks!
--- In [email protected], "greg h" <[EMAIL PROTECTED]> wrote: > > Hi again mazarflex, > > After my last post I am unsure if maybe I missed the essence of your > question. > > Two questions: > 1) Do you know how the swfs that you are passing variables to were > authored? e.g. Flex 2? Flash? etc. > 2) Do you know if the swfs were compiled using ActionScript 3 and Flash > Player 9, or if they use an earlier version of ActionScript, e.g. AS1 or > AS2? > > Best regards, > > g > > On 1/23/07, greg h <[EMAIL PROTECTED]> wrote: > > > > Hi mazarflex, > > > > Two general scenarios: > > 1) swf-to-swf communication. > > 2) swf-to-outside world communication. > > > > My sense from your question is that you are looking for solutions > > regarding swf-to-swf communication. The following post by super Jesse gives > > you a good big picture on swf-to-swf communication options. If Jesse's post > > addresses your request, you can research in the Flex 2 documentation the > > topics that he raises. Here is the link to Jesse's post: > > http://www.jessewarden.com/archives/2006/12/integrating_a_f.html > > > > Since you also asked "or any other way??" ... If you are interested in > > options regarding swf-to-outside world communication, the following link > > highlights options: > > http://adobe.com/cfusion/webforums/forum/messageview.cfm? forumid=60&catid=585&threadid=1233665 > > > > > > Please post back as you have further questions :-) > > > > hth, > > > > g > > > > > > On 1/23/07, mazarflex <[EMAIL PROTECTED]> wrote: > > > > > > 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!! > > > > > >

