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?

_______________________________________________
swfmill mailing list
[email protected]
http://osflash.org/mailman/listinfo/swfmill_osflash.org

Reply via email to