[swfmill] simple dialect and creating data.

Martin Wood flashdev at relivethefuture.com
Thu Jul 6 07:14:30 EDT 2006


thanks Mark, now i know im going the right way

so i have a small demo working now :)

my xml file looks like this :

<?xml version="1.0" encoding="iso-8859-1" ?>
<movie width="550" height="400" framerate="31">

<DoAction>
	<actions>
		<PushData>
			<items>
				<StackString value="arrayData"/>
				<StackString value="four"/>
				<StackString value="three"/>
				<StackString value="two"/>
				<StackString value="one"/>
				<StackInteger value="4"/>
			</items>
		</PushData>
		<DeclareArray/>
		<SetVariable/>
		<EndAction/>
	</actions>
</DoAction>

<library>
	<clip id="code" import="arrayCode.swf"/>
</library>

<frame>
<place id="code" name="code" depth="1"/>
</frame>

</movie>

the arrayCode swf just has a text field and loops through 'arrayData' displaying 
each entry to prove the data is there :)

n.b. the array data is pushed onto a stack thats why its in reverse order.



More information about the swfmill mailing list