You have some AS2 code that is doing something like "root._th_ = ..." in
your SWF, which won't work when Flex 2 comes out.

Basically, AVM- opcodes (AS1 and AS2) will not work in an AVM+ (AS3)
SWF; support will be disabled in an upcoming release, and I'll be
stripping them out when you do the embed.

However... I have a prototype of a new feature that will allow you to
embed -any- SWF into another SWF and have it work; it will just be
subject to the cross-VM communications rules of a dynamically loaded
SWF.  As a related item, there's another prototype feature to improve
cross-VM calling.  We're trying to get these new features approved, and
I'm cautiously optimistic.  Stay tuned!

-rg

> -----Original Message-----
> From: [email protected] 
> [mailto:[EMAIL PROTECTED] On Behalf Of alpharythms
> Sent: Saturday, March 18, 2006 12:27 PM
> To: [email protected]
> Subject: [flexcoders] Embedding Flash 7 or 8 into Flex
> 
> What is the best way to embed a SWF created in Flash 8 or earlier into
> a Flex app?
> 
> I've tried using the "image" and the "loader" controls.
> 
> They both appear to work the same.  I get an error that says:
> ReferenceError: Error #1056: Cannot create property _th_ on
> _testEmbed_mx_managers_SystemManager but then the files work... kinda.
> 
> The external SWF is able to load external XML files but is not able to
> load jpeg assets.
> 
> Now here is where it gets really interesting.  If I embed two copies
> of the file  (Two Image controls each taking up half the page both
> linking to the same file) then...  the first SWF is able to load the
> jpegs.  How weird is that?
> 
> Also none of the ZigoTweens are working in either SWF. 
> 
> This is MUCH closer to working then previous Flex versions.  
> 
> The compile times are so much faster now.  Makes it a LOT easier to
> mess around.  :)
> 
> I'm using Beta 2.
> 
> Any tips or tricks for me?
> 
> Thanks!
> Adam Schroeder
> 
> 
> 
> 
> 
> 
> 
> --
> 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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to