If it was created by Flash MX then it is AS2 and you can only communicate with it via localConnection:

http://www.adobe.com/go/749eaa47

 

Tracy

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Rob
Sent: Thursday, September 07, 2006 3:58 PM
To: [email protected]
Subject: Re: [flexcoders] Re: Passing variables from Flex to swf

 

thanx for the tips.  been tinkering with it but can't figure it out.  I'm a novice at best but don't mind tinkering....

 

If the loaded swf was created with FlashMX, would the syntax be the same as if it was generated by Flex (as in the example)?  I think thats where I'm losing it. 

 

heres a snipit from the example, if the Loaded App (loadedSM) was created with MX does the syntax change?

 

            public function updateNestedLabels():void {
                loadedSM.application["lblOne"].text = "I was just updated";
                loadedSM.application["varOne"] = "I was just updated";
            }

Bill Lane <[EMAIL PROTECTED]edu.au> wrote:

If you loaded the swf using swfLoader you need to use the SystemManager
to comunicate with the loaded swf. You'll find a good example in the
docs at:

Flex 2 Developer's Guide > Building User Interfaces for Flex
Applications > Using Controls>SWFLoader control

Bill Lane

--- In [EMAIL PROTECTED]ups.com, "Marcelo de Moraes Serpa"
<[EMAIL PROTECTED]..> wrote:
>
> I think you'll need to use LocalConnection...
>
> On 9/4/06, robavey [EMAIL PROTECTED] wrote:
> >
> > Hi there,
> >
> > Just wondering if its possible to pass a selected item object (from
a
> > tilelist) to a flash movie which has been loaded into the Flex app?
> >
> > thanx ahead of time
> > aVe
> >
> >
> >
>

 

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to