[swfmill] static vs dynamic swf library linking
Ralf Fuest
ralf-fuest at gmx.de
Thu Aug 23 05:17:50 PDT 2007
Hello Ryan,
it's currently not possible to do this in swfmill's simple mode. The
imported swf files have their own "namespace" and you cannot refer to
this in the xml file.
Ralf
> Hey Folks,
>
> I'm trying to "statically" link a swf library like this:
>
> <?xml version="1.0"?>
> <movie width="380" height="240" framerate="12" version="6">
> <background color="#000000"/>
> <clip import="library.swf" />
> <clip import="classes.swf"/>
> <frame>
> <library>
> <clip id="LocationBtn" class="NsTintingButton">
> <frame>
> <place id="location_btn" depth="1"/>
> </frame>
> </clip>
> <clip id="HomeScreen" class="HomeScreen">
> <frame>
> <place id="LocationBtn" name="locationBtn" x="10" y="50" depth="1001"/>
> </frame>
> </clip>
> </library>
> <place id="HomeScreen" name="hs" x="0" y="0" depth="1000"/>
> </frame>
> </movie>
>
> The location_btn is a movie clip in library.swf. When I run the
> resulting compiled swf, I don't see my location_btn instance. However,
> if I change:
>
> <clip import="library.swf" />
>
> ...to
>
> <import file="library.swf" url="library.swf"/>
>
> ...location_btn appears! It seems that dynamic linking is working but
> not static linking. Ideas?
More information about the swfmill
mailing list