Hi everyone,
I have problem with passing values from jsp to flash as3
[SIZE=3]In my flash code[/SIZE]
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="1024" height="728">
<param name=“movie” value=“aa.swf”>
<param name=“FlashVars” value="s1=hello & s2=hi " >
<embed src=“aa.swf” quality=“high”
type=“application/x-shockwave-flash” width=“1024” height=“728”></embed>
</object>
[SIZE=3]In my jsp code[/SIZE]
var loader:URLLoader =new URLLoader();
var request1:URLRequest =new URLRequest(“aa.jsp”);
loader.load (request1);
var a:String =root.loaderInfo.parameters.s1;
var b:String =root.loaderInfo.parameters.s2;
It gives [SIZE=3]null[/SIZE] values
so plz tell me how to pass values from jsp to flash and is there any another way to get values........
thanks in advance