[swfmill] Objects and Vars
Matteo Balocco (GMail)
matteo.balocco at gmail.com
Mon Jul 16 08:51:02 EDT 2007
Hi,
perhaps yesterday I wrote something extremely unclear.
I'm wondering how I can declare some objects or variables.
I've read the docs and I know how to import a swf in the library and
then instantiate it on the stage, but I can't understand how could I
declare some objects in the action panel on the first frame (and set or
understand their scope).
I tried (literary tried) with something like this:
<?xml version="1.0" encoding="iso-8859-1" ?>
<movie width="540" height="540" framerate="12">
<background color="#ffffff"/>
<frame name="myFrame">
<myConf>
<group1>
<content>lorem</content>
</group1>
</myConf>
<library>
<clip id="myMap" import="map.swf"/>
</library>
<place id="myMap" name="myMap" x="10" y="10" depth="1"/>
</frame>
</movie>
I hoped that the myConf block was converted in someting like
_level0.myconf = {group1:{content:"lorem ipsum"}}... Which is almost
what I need to obtain...
I'm a total newbie so there's something I'm missing for sure.
Hope somebody would/could help me, pleas.
Thank you.
Matteo Balocco
More information about the swfmill
mailing list