Hi,
I'm having a hard time figuring out what happens here. I want to load
Flash 8 bytecode into my Flex 1.5 application to gain access to FP8
features (the app runs on FP8, SWF8 gets loaded into Flex app by using
mx.controls.Loader) but this only works to a certain degree.
Instead of putting all functionality directly into the timeline of the
SWF8 file and call those functions from Flex by doing
loader.content.someFunction(), the SWF should really only act as a
"library" for AS 2.0 classes. I only want to place something like
foo.bar.MyClass;
into the first frame of the SWF8 source file to get the class compiled
in - this should be sufficient, right?
Now, in my Flex 1.5 application I load the external SWF8 file and after
it got loaded I want to create a new instance of foo.bar.MyClass (the
SWF8 version of course)
So in my Flex 1.5 code I have something like this
private function swfLoaded():Void {
var foo:foo.bar.MyClass = new foo.bar.MyClass();
}
this of course compiles foo.bar.MyClass into the Flex 1.5 SWF file - but
I thought that loading in the SWF8 file would somehow "overwrite" the
bytecode with the "new" version...
Now the big question is: during runtime, which version of the class will
be instantiated? The class that got compiled into the SWF7 file or the
newly loaded version of the SWF8 file?
Any thoughts?
Roger, you there?
Thanks,
Dirk.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~->
--
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/