Using the _lockroot property I was able to eliminate the error and get the tweens to work.
I still have the weird loading with assets. If I only have 1 instance of a movie it will load the external XML files but all movieLoader calls will fail to bring in other SWF or jpeg files. However, if I create 2 or more instances of the SWF then all instances except the last one are able to load their own external jpeg and SWF files. I have no problem with an older AS 2.0 SWF running in its own "VM container" that can not directly communicate with the AS 3.0 SWF. I assume you could use localConnection() to send data back and forth. I am excited about the prototypes you are describing. Do you have any thoughts on asset problem I am having now... or is it just a bug at the moment. Thanks! Adam --- In [email protected], "Roger Gonzalez" <[EMAIL PROTECTED]> wrote: > > 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/

