[swfmill] Accessing frames in AS3
Joel Poloney
jpoloney at gmail.com
Thu Nov 15 11:42:55 PST 2007
I was using the latest version of swfmill from svn. My best guess was that
this line of code tells Flash that this is indeed AVM2 code... and
considering that the only attribute set to 1 in that line was allowABC, I'm
assuming that this is the attribute that tells the Flash player to use AS3.
It seems like the support is there (I don't have to compile twice like I
said before). If users are having problems with swfs compiled from swfmill
not being in AVM2, then I recommend telling them to throw that line of code
into their xml files (as was previously mentioned in this thread). I'm not
sure how dangerous it will be for most users to insert a low-level tag like
this into the simple xml format, but it does indeed work. In my case, I was
creating some very simple objects (movie with a few frames, 1 picture on
each frame)... so I had no problems doing this.
My only comment would be that if this is indeed a line of code required for
Flash 9/AS3 swf files, then it should automatically be added when you
compile your xml code (rather than the user adding it in). Of course, you
would have to do some tests to make sure that the <FileAttributes/> tag was
needed, though.
-- Joel
On Nov 15, 2007 5:18 AM, Ralf Fuest <ralf-fuest at gmx.de> wrote:
> I added support for the allowABC and supressCrossDomainCaching
> attributes some month ago, together with the abc format support.
>
> Ralf
>
> > To be sure, it seems that you're using a svn version of swfmill.
> > Can Ralf precise if the allowABC and suppressCrossDomainCaching
> > attributes have been added lastly to swfmill ?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/swfmill_osflash.org/attachments/20071115/baf34d42/attachment.html
More information about the swfmill
mailing list