[swfmill] import

keitai guy lister at pikkle.com
Thu Aug 3 14:09:58 EDT 2006


hi list -

in swfmil / basic there is a nice way to use external libraries.
is there a simlar syntax for the full-blown swfmill syntax?

-------- basic syntax ------------

<library>
    <clip id="foobar" import="library/foobar.swf"/>
</library>
<place id="foobar" name="myFoobar" x="10" y="10" depth="1"/>

------------
after decoding some other files, there seems to be an import, so i
tried the following

<Import url="assets/madb/bear.swf">
   <Symbol objectID="1" name="bear_sy"/>
...

<PlaceObject2 replace="0" depth="1" objectID="1"/>

of course wrapped in some other tags as per the full example below.

this runs fine in the asset compiler but leaves nothing displayed on screen.

any help appreciated!

i need a solution to compile movies as flash version=4 , which didnt
seem to work in the basic syntax - movies always end up v6.

thanks!

------------------

<?xml version="1.0" encoding="iso-8859-1" ?>
	
<movie version="4" width="240" height="266" framerate="12"  >
<background color="#00ffff"/>

<Header>
	<tags>
		
<Import url="assets/madb/bear.swf">
  <symbols>
    <Symbol objectID="1" name="bear_sy"/>
  </symbols>
</Import>

      <PlaceObject2 replace="0" depth="1" objectID="1"/>
      <ShowFrame/>
      <End/>
     </tags>
  </Header>

</movie>

thanks!



More information about the swfmill mailing list