Hello :) For me the problem is the difference between AVM2 and AVM1 in the FP9 :)
It's really difficult to execute AVM1 and AVM2 scripts in the same time. For me the best way is to transform the AVM1 swf in AVM2 swf or... use AS3 source code from the main swf application to resolve all elements in the AVM1 swf. Example in my framework i use 2 class : http://www.ekameleon.net/vegas/docs/asgard/display/TimelineScript.html http://www.ekameleon.net/vegas/docs/asgard/display/AVM2Loader.html To install my framework you can read : http://code.google.com/p/vegas/wiki/InstallVEGASwithSVN EKA+ :) 2008/4/4, Sidnei Vladisauskis <[EMAIL PROTECTED]>: > > Hi, > > I tried use your example, I trace in completeHandler and see that the > object > loaded is a AV1Movie, ok... > > But my problemes are some functions not run, for examples hitTest, tweener > and other functions excluded in AS3. > > Very bugs happen with my swf-AS2 loaded in my swf-AS3. > > I need they run whitout bugs. > :o( > > Is there any way? > > > On Thu, Apr 3, 2008 at 2:37 PM, Sidnei Vladisauskis <[EMAIL PROTECTED]> > wrote: > > > > tks... > > > > I will try this example... > > > > tks a lot... > > > > > > On Thu, Apr 3, 2008 at 12:59 PM, ekameleon <[EMAIL PROTECTED]> wrote: > > > > > hello :) > > > > > > see the example in the reference of the AS3 class : > > > > > > http://livedocs.adobe.com/flex/2/langref/flash/display/Loader.html > > > > > > See the example in the end of the page > > > > > > In the completeHandler callback method you can test the type of the > > > "event.target.content" reference :) > > > > > > Example > > > > > > private function completeHandler(event:Event):void > > > { > > > trace("completeHandler: " + describeType( > > > event.target.contentType ) ); // import the flash.utils.describeType > > > method in the header of your code. > > > } > > > > > > > > > > > > and read : > > > > > > http://livedocs.adobe.com/flex/2/langref/flash/display/AVM1Movie.html > > > > > > .. after, open Flex or Flash CS3 and copy the code and test it with an > > > external swf in AS2 and AS3... > > > > > > It's easy to test it :) > > > > > > EKA+ :) > > > > > > > > > 2008/4/3, Sidnei Vladisauskis <[EMAIL PROTECTED]>: > > > > > > > > Hi ekameleon , > > > > > > > > tks for your help, but was you have a exemple?? > > > > > > > > tks again. > > > > > > > > > > > > On Thu, Apr 3, 2008 at 12:17 PM, ekameleon <[EMAIL PROTECTED]> > > > wrote: > > > > > > > > > hello :) > > > > > > > > > > yes when you use the Loader class.. inside your reference you can > > > find > > > > the > > > > > "content" reference who is the reference of the Bitmap or > MovieClip, > > > > > etc... > > > > > if the external swf is a AVM1 file the type of the reference is > > > AVM1. > > > > > > > > > > Use the Loader class and test the content property when the > external > > > swf > > > > > is > > > > > loading. > > > > > > > > > > EKA+ :) > > > > > > > > > > 2008/4/3, Sidnei Vladisauskis <[EMAIL PROTECTED]>: > > > > > > > > > > > > Hi, > > > > > > > > > > > > I´m developing my new portfolio in AS3 for learn. > > > > > > > > > > > > I need load swf AS2 into the movieclip in my swf AS3. > > > > > > > > > > > > I researched, but I don´t find one documentation for this. > > > > > > > > > > > > I find a reference using AV1Movie Class? > > > > > > > > > > > > is it correct for load a swf AS2? > > > > > > > > > > > > But how to use this class with Loader class? > > > > > > > > > > > > Tks. > > > > > > _______________________________________________ > > > > > > Flashcoders mailing list > > > > > > Flashcoders@chattyfig.figleaf.com > > > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > > > > > > > > > _______________________________________________ > > > > > Flashcoders mailing list > > > > > Flashcoders@chattyfig.figleaf.com > > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > > > > > > > _______________________________________________ > > > > Flashcoders mailing list > > > > Flashcoders@chattyfig.figleaf.com > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > > > _______________________________________________ > > > Flashcoders mailing list > > > Flashcoders@chattyfig.figleaf.com > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >
_______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders