Flash 8 SWFs and Flash 8.5 SWFs run different versions of Actionscript, and cannot communicate directly.
 
You need to build a layer using LocalConnection to proxy  communications between the two different virtual machines.
 
(Once the next version of Flash Authoring is out, this won't be necessary.)
 
-rg


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Torben Nielsen
Sent: Saturday, April 08, 2006 2:35 PM
To: [email protected]
Subject: [flexcoders] Accessing methods/properties (Flash 8 movies in Loader component)

Hi,

 

maybe it would be better if I specified what it is that I am trying to do.

 

I am developing an application that loads external Flash 8 movies that contains some movieclips, methods and properties. I load them into a Loader component like this:

 

<mx:Loader id="detailClip" source="assets/IC51030.swf" width="650" height="400" />

 

How can I access a method in the Flash 8 movie loaded into the Loader component???

 

I saw the thread below but I am not able to grab the solution from these bits and pieces of information. Could somebody help me please. I need this to work otherwise I have to abandon Flex for this project and move back into Flash. I really would prefer to make it in Flex.

 

Thanks.

 

Best regards.

 

Torben Nielsen

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Torben Nielsen
Sent: sabato 8 aprile 2006 20.16
To: [email protected]
Subject: RE: [flexcoders] Flash 8 swf in Flex 2.0 App?

 

Hi,

 

I am wrestling with the same kind of problem. Anyone got some code examples for the kind of solution mentioned below?

 

I would be most greatfull, since this is a crucial issue to the application I am working on.

 

Best regards.

 

Torben Nielsen

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Y. Kwong
Sent: sabato 18 febbraio 2006 20.10
To: [email protected]
Subject: Re: [flexcoders] Flash 8 swf in Flex 2.0 App?

 

We had a bit of a discussion here about this a little while back.  The solution I'm using right now uses the Loader component to load the Flash 8 swf at runtime.  And, as mentioned, I use LocalConnection to communicate between the Flash 8 swf and the Flex app.  It's not great, but it's the only supported solution right now.

On 17/02/06, Steve Polk <[EMAIL PROTECTED]> wrote:

I am trying to figure out how to embed a Flash 8 swf into Flex and read any properties from it. From the couple posts I have found while searching the archives and the limited documentation in Flex, it would appear that you can only embed the file, but you cannot access its properties and MovieClips.

 

I was hoping I could build my next application and framework into Flex, but would need to embed other Flash content on occasion, not created by me. The idea was that if the other movie had a text field or a combobox, I would be able to listen to change events and possibly grab the new values of these components from the Flash 8 file within my Flex application.

 

Thanks for any insight on this.

 

Steve



--
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

Web site design development

Computer software development

Software design and development

Macromedia flex

Software development best practice

 

 


YAHOO! GROUPS LINKS

 

 





--
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

Web site design development

Computer software development

Software design and development

Macromedia flex

Software development best practice

 

 


YAHOO! GROUPS LINKS

 

 




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




YAHOO! GROUPS LINKS

 

 




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




YAHOO! GROUPS LINKS




Reply via email to