[swfmill] do not set name property on as3 swf instances
Ralf Fuest
ralf-fuest at gmx.de
Mon Jan 7 08:55:56 PST 2008
It's nice to hear that you finally were able to do a successful build.
When you specify a name attribute in a place tag you need to define a
class in your as3 code with the same name. This is how it works in haXe:
class MyFoo extends flash.display.MovieClip {
}
I'm not sure about the exact as3 syntax, but it should me similar.
Ralf
> just worth noting, if you are doing something like:
>
> <?xml version="1.0" encoding="iso-8859-1" ?>
> <movie width="500" height="400" as3="1" framerate="12" version="9">
> <background color="#cccccc"/>
> <frame>
> <library>
> <clip id="Foo" import="as3class.swf"/>
> </library>
> <place id="Foo" x="0" y="0" depth="1"/>
> </frame>
> </movie>
>
>
> you can not set the name property for the placed clip. e.g. this breaks:
>
> <place id="Foo" name="myFoo" x="0" y="0" depth="1"/>
More information about the swfmill
mailing list