SWFML

Home Page

example - basic5
<?xml version="1.0" encoding="UTF-8"?>
<swfml>
<text delay="0" time="NA" width="800" height="600" xcoord="100" ycoord="100" textdepth="700" groupdepth="700" size="50" color="000000" font="webdings" bold="no" underline="no" textcontent="One moment please" textname="maintext" groupname="intro"/> <loadSWF delay="0" time="NA" url="http://mxapplications.com/abdullah/src/SWFMLFlashbot/FlashbotResources/animationtest.swf" name="Face" depth="56" xcoord="-10000" ycoord="0"/>
<zoom delay="3" time="NA" target="Face" type="absolute" mode="immediate" value="150" />
<move delay="6" time="NA" target="Face" type="absolute" mode="immediate" xcoord="-200" ycoord="-100"/>
<text delay="6" time="NA" width="800" height="600" xcoord="100" ycoord="500" textdepth="700" groupdepth="700" size="50" color="000000" font="webdings" bold="no" underline="no" textcontent="I'll wink at you." textname="maintext" groupname="intro"/>
<callFunction delay="7" time="NA" name="BotFaceWink" params=""/>
<text delay="9" time="NA" width="800" height="600" xcoord="100" ycoord="500" textdepth="700" groupdepth="700" size="50" color="000000" font="webdings" bold="no" underline="no" textcontent="Now I'll frown." textname="maintext" groupname="intro"/>
<callFunction delay="10" time="NA" name="BotFaceFrown" params=""/>
<text delay="12" time="NA" width="800" height="600" xcoord="100" ycoord="500" textdepth="700" groupdepth="700" size="50" color="000000" font="webdings" bold="no" underline="no" textcontent="I'm looking down." textname="maintext" groupname="intro"/> <callFunction delay="13" time="NA" name="BotFaceDown" params=""/>
<text delay="15" time="NA" width="800" height="600" xcoord="100" ycoord="500" textdepth="700" groupdepth="700" size="50" color="000000" font="webdings" bold="no" underline="no" textcontent="I'm looking up." textname="maintext" groupname="intro"/>
<callFunction delay="16" time="NA" name="BotFaceUp" params=""/>
<text delay="18" time="NA" width="800" height="600" xcoord="100" ycoord="500" textdepth="700" groupdepth="700" size="50" color="000000" font="webdings" bold="no" underline="no" textcontent="I'm smiling." textname="maintext" groupname="intro"/>
<callFunction delay="19" time="NA" name="BotFaceSmile" params=""/>
<text delay="21" time="NA" width="800" height="600" xcoord="100" ycoord="500" textdepth="700" groupdepth="700" size="50" color="000000" font="webdings" bold="no" underline="no" textcontent="I'm looking left." textname="maintext" groupname="intro"/>
<callFunction delay="22" time="NA" name="BotFaceLeft" params=""/>
<text delay="24" time="NA" width="800" height="600" xcoord="100" ycoord="500" textdepth="700" groupdepth="700" size="50" color="000000" font="webdings" bold="no" underline="no" textcontent="Here is my alert look." textname="maintext" groupname="intro"/>
<callFunction delay="25" time="NA" name="BotFaceAlert" params=""/>
<text delay="27" time="NA" width="800" height="600" xcoord="100" ycoord="500" textdepth="700" groupdepth="700" size="50" color="000000" font="webdings" bold="no" underline="no" textcontent="Look to the right." textname="maintext" groupname="intro"/>
<callFunction delay="28" time="NA" name="BotFaceRight" params=""/>
<text delay="30" time="NA" width="800" height="600" xcoord="100" ycoord="500" textdepth="700" groupdepth="700" size="50" color="000000" font="webdings" bold="no" underline="no" textcontent="Look up and left." textname="maintext" groupname="intro"/>
<callFunction delay="31" time="NA" name="BotFaceUpLeft" params=""/>
<text delay="32" time="NA" width="800" height="600" xcoord="100" ycoord="500" textdepth="700" groupdepth="700" size="50" color="000000" font="webdings" bold="no" underline="no" textcontent="This demonstration is over." textname="maintext" groupname="intro"/> <unloadSWF delay="34" time="NA" mode="target" name="intro" />
<javascript delay="35" time="NA" js="history.go(-1)"/>
<javascript delay="36" time="NA" js="history.go(-2)"/>
</swfml>

Behavior:

This example imports an animated swf file, an example of an animated face, and then uses the text and callFunction tags to demonstrate the face's potential movements.

Demonstration:

Explanation:

Coming.