Home Page

example - basic3

<?xml version="1.0" encoding="UTF-8"?>
<swfml>
<loadSWF delay="0" time="NA" url="http://flashbots.com/anna.jpg" name="Anna" depth="500" xcoord="0" ycoord="0"/>
<loadSWF delay="0" time="NA" url="http://flashbots.com/NewYorkStateTest.swf" name="Map" depth="20" xcoord="0" ycoord="0"/>
<fade delay="2" time="NA" target="Anna" type="add" mode="gradual" value="-60" fadetime="3"/>
<zoom delay="3" time="NA" target="Anna" type="absolute" mode="immediate" value="300" />
<move delay="5" time="NA" target="Anna" type="absolute" mode="immediate" xcoord="-200" ycoord="-200"/>
<fade delay="10" time="NA" target="Anna" type="add" mode="gradual" value="-20" fadetime="3"/>
<popup delay="15" time="NA" url="http://www.were-here.com" windowname="werehere" width="200" height="200" xCoord="0" yCoord="0" resizable="1" scrollbars="1" statusbar="1" toolbar="1" menubar="1" location="1" directories="1"/> <unloadSWF delay="20" time="NA" mode="target" name="Anna" />
<callFunction delay="21" time="NA" name="MapZoom" params="1100"/>
<callFunction delay="27" time="NA" name="MapMove" params="Yonkers"/>
<callFunction delay="33" time="NA" name="MapMove" params="Utica"/>
<callFunction delay="39" time="NA" name="MapZoom" params="100"/>
<unloadSWF delay="52" time="NA" mode="target" name="Map" />
<text delay="55" 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="This demonstration is done." textname="maintext" groupname="intro"/> <button delay="58" time="NA" width="800" height="70" xCoord="100" yCoord="200" textDepth="20" groupDepth="20" size="50" color="000000" font="Webdings" bold="Yes" underline="No" textContent="Press Here to reload the map." textName="LinkingTest" groupName="myButtons" button="true" action="Show Map of New York State" />
</smfml>

Behavior:

This example imports a JPG file into the Flash environment, and then applies scaling and alpha effects. A SWF file is then imported, a popup window opened, a few functions called, the SWF and JPG unloaded, text and button are displayed.

Demonstration:

Explanation:

Coming.