[flexcoders] how do i pass variables to a swf???

2007-01-23 Thread mazarflex
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

Re: [flexcoders] how do i pass variables to a swf???

2007-01-23 Thread greg h
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

Re: [flexcoders] how do i pass variables to a swf???

2007-01-23 Thread Bjorn Schultheiss
LocalConnection is the go. I would love to be able to use the query string to be able to set my LocalConnection.connection string at runtime. At the moment where using a IFrame hack to pass the connection variable to the swf via External Interface to set the connection string at runtime

Re: [flexcoders] how do i pass variables to a swf???

2007-01-23 Thread greg h
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

Re: [flexcoders] how do i pass variables to a swf???

2007-01-23 Thread JesterXL
Why not use a FlashVars tag? On Jan 23, 2007, at 10:48 PM, Bjorn Schultheiss wrote: LocalConnection is the go. I would love to be able to use the query string to be able to set my LocalConnection.connection string at runtime. At the moment where using a IFrame hack to pass the connection

Re: [flexcoders] how do i pass variables to a swf???

2007-01-23 Thread Bjorn Schultheiss
My bad, FlashVars for the query string, ExternalInterface for the positioning. On 24/01/2007, at 2:55 PM, JesterXL wrote: Why not use a FlashVars tag? On Jan 23, 2007, at 10:48 PM, Bjorn Schultheiss wrote: LocalConnection is the go. I would love to be able to use the query string to be