Re: [Flashcoders] attachMovie() with non-library-symbols

2008-10-25 Thread strk
On Thu, Oct 23, 2008 at 01:45:01PM +0200, Matthias Dittgen wrote: > @strk: > > I should try > var func:String = "register"; > Object[func](args); > > instead of > Object.registerClass(args); > > to see, if an all code based attempt is working without having the > compiler do EXPORT tags. Yes pl

Re: [Flashcoders] attachMovie() with non-library-symbols

2008-10-24 Thread strk
On Fri, Oct 24, 2008 at 03:17:32PM +0200, Matthias Dittgen wrote: > Have your received my email with the Test SWF? Yes, thanks. Haven't looked at it yet but I plan to do next week. > > What's an RSL ? > Remote Shared Library. Mat, you're being *very* helpful ! I drafted a page on our wiki for u

Re: [Flashcoders] attachMovie() with non-library-symbols

2008-10-24 Thread Matthias Dittgen
Have your received my email with the Test SWF? > What's an RSL ? Remote Shared Library. Imagine Main.swf loading Sub.swf. Sub.swf consists of Library Symbol exported for AS and for "runtime sharing"! Then in Main.swf Symbols from Sub.swf can be attached as if they were directly in Main.swf. Symb

Re: [Flashcoders] attachMovie() with non-library-symbols

2008-10-23 Thread strk
On Thu, Oct 23, 2008 at 10:38:52AM +0100, Peter Hall wrote: > The code on my old blog works for content published with Flash > authoring. However, it works because Flash inserts the export tags in > the swf automatically. If you have a swf that has a working > attachMovie, but no export tags, then

Re: [Flashcoders] attachMovie() with non-library-symbols

2008-10-23 Thread Matthias Dittgen
@strk: I should try var func:String = "register"; Object[func](args); instead of Object.registerClass(args); to see, if an all code based attempt is working without having the compiler do EXPORT tags. I have attached a test situation build in current FlashDevelop on WinXP as AS2 project. Let u

Re: [Flashcoders] attachMovie() with non-library-symbols

2008-10-23 Thread Peter Hall
The code on my old blog works for content published with Flash authoring. However, it works because Flash inserts the export tags in the swf automatically. If you have a swf that has a working attachMovie, but no export tags, then it must be attaching the symbol from another swf. An RSL perhaps? P

Re: [Flashcoders] attachMovie() with non-library-symbols

2008-10-23 Thread strk
On Thu, Oct 23, 2008 at 10:01:37AM +0200, Matthias Dittgen wrote: > if you mean EXPORT tags in the swf bytecode, > I am not aware of the tags that are written by the compiler when using > the code explained by Peter Joel, but I could imagine, that when using > MTASC for compiling only DOACTION tag

Re: [Flashcoders] attachMovie() with non-library-symbols

2008-10-23 Thread Matthias Dittgen
> Talking about SWF8: which btw. means Actionscript 2.0 (AS2) > Thank you for the pointer, but reading that article doesn't > help me much. For example, I don't understand if the resulting > SWF from that syntax is expected to contain EXPORT tags or not. if you mean EXPORT tags in the swf bytecode

Re: [Flashcoders] attachMovie() with non-library-symbols

2008-10-20 Thread strk
On Tue, Oct 14, 2008 at 09:45:56AM +0200, Matthias Dittgen wrote: > You're talking about AS2? Talking about SWF8: http://dailymotion.alice.it/flash/dmplayer/dmplayer.swf > See here for the answer: > http://www.peterjoel.com/blog/?archive=2004_01_01_archive.xml Thank you for the pointer, but read

Re: [Flashcoders] attachMovie() with non-library-symbols

2008-10-14 Thread Matthias Dittgen
You're talking about AS2? See here for the answer: http://www.peterjoel.com/blog/?archive=2004_01_01_archive.xml This way you can attach classes that don't have a library symbol but extend MovieClip. These classes can for example have visual content using the drawing API. Have fun! Matthias On

[Flashcoders] attachMovie() with non-library-symbols

2008-10-06 Thread strk
I've found a few movies out there using attachMovie() with symbol names which are NOT exported in the SWF movie containing the call. Are the SWF bogus (containing useless actionscript) or is there another interpretation of attachMovie() first argument ? --strk; () ASCII Ribbon Campaign /\