Posted by TodayRatha in
on
-
Retrieve Flash Vars
---------------------
var fileName:String = new String();HTML (swfObject) Flash Vars
fileName = root.loaderInfo.parameters.fileName
------------------------------
Use swfObject can be download here http://code.google.com/p/swfobject/downloads/list
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>LandingPage2</title>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
var flashvars = {
cicadaUrl:'http://cicadagroup.com.au/index.php?categoryid=1',
fireflyUrl:' ',
chocolateSoldierUrl:' ',
greengrocerUrl:' ',
contactusUrl:' ',
locationUrl:' ',
employmentUrl:' '
};
var params = {
menu: "false"
};
swfobject.embedSWF("LandingPage2.swf", "myContent", "980", "600", "9.0.0","expressInstall.swf", flashvars, params);
</script>
</head>
Category List
- Actionscript 3 (2)
- Digital Painting (1)
- Life style (1)
- Photoshop (1)
- Sencha Touch (1)
Blog Archive
-
▼
2010
(50)
-
▼
February
(9)
- Flash AS3 | Get Actual Width and Hight of Rotated ...
- Flash AS3 | Get Width and Height of Rotated Object
- Apache | Virtual Host Configuration
- AS3 Retrieve Flash Vars & HTML put Flash (swfObject)
- Flash AS3 | XML return value with the name of node
- Flash AS3 | Draw Squar
- Flash AS3 | Change color of movieclip with TINT
- Flash AS3 | Load External Images in Flash vr. 2
- Flash AS3 | Loading External Images in Flash
-
▼
February
(9)