I Want get Param values(src) from Html to AS3 that allows us to maintain in communication our Flash applications with the server.
We often need to assign to a SWF a value in entry using the HTML of the page in which the SWF itself is inserted.
My Problem is While getting values(src) From html to As3 ,The Html page is working in Intenet Explorer only.I Cannot get in From Mozila and Google Chrome.
here my As3 Coding
import flash.display.LoaderInfo;
var sourceId:String = loaderInfo.parameters.src;
trace(sourceId);
Here I cannot Get the Value of sourceId
my Html Coding
param name="flashvars" value="src=f785"
While running my Swf in Html, I take this src Value.Its Working in
Internet Explorer Only, It’s not Working in Mozila and Google Chrome.
Note that you need to put everything twice in your html, once for IE once for everything else:
In your case you have likely missed adding the params to the
<object>tag.