That's possible... Could it be that simple?

Hmmm... should it be FlashVars or flashVars? Or does it even matter?

Might also try embedding with swfObject and see if there's any difference. 

Now bed. Really. 

Karina

On 1 May 2012, at 01:52, "Peter Ginneberge" <p.ginnebe...@telenet.be> wrote:

> Not sure it matters, but there's quotes missing in the HTML:
> 
>   <param name=FlashVars value="appUrl=test" />
> 
> probably should be: 
>   <param name="FlashVars" value="appUrl=test" />
> 
> ----- Original Message ----- From: "Kerry Thompson" <al...@cyberiantiger.biz>
> To: "FlashCoders" <flashcoders@chattyfig.figleaf.com>
> Sent: Tuesday, May 01, 2012 12:46 AM
> Subject: [Flashcoders] Accessing FlashVars
> 
> 
>> Flash Builder 4 AS3 project, Windows 7, Firefox 12.0.
>> I can't access the FlashVars in the HTML file. I've been working on this
>> all day, and it's driving me crazy (crazier). Do you see anything in the
>> following code?
>> In the constructor of my default AS3 file, I have this:
>>  this.loaderInfo.addEventListener(Event.COMPLETE, init);
>> and in the init() function:
>>           var flashVars:Object;
>>           flashVars = this.loaderInfo.parameters;
>> When I look at it in the debugger, flashVars is an object, but it has no
>> parameters. The relevant HTML is pretty straightforward:
>>           <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
>> width="100%" height="100%" id="RMK_Beta">
>>               <param name="movie" value="RMK_Beta.swf" />
>>               <param name=FlashVars value="appUrl=test" />
>>               <param name="quality" value="high" />
>>               <param name="bgcolor" value="#ffffff" />
>>               <param name="allowScriptAccess" value="sameDomain" />
>>               <param name="allowFullScreen" value="true" />
>>               <!--[if !IE]>-->
>>               <object type="application/x-shockwave-flash"
>> data="RMK_Beta.swf" width="100%" height="100%">
>>                          <param name=FlashVars value="appUrl=test"
>> />
>>                   <param name="quality" value="high" />
>>                   <param name="bgcolor" value="#ffffff" />
>>                   <param name="allowScriptAccess" value="sameDomain" />
>>                   <param name="allowFullScreen" value="true" />
>>               <!--<![endif]-->
>>               <!--[if gte IE 6]>-->
>>                   <p>
>>                       Either scripts and active content are not permitted
>> to run or Adobe Flash Player version
>>                       10.0.0 or greater is not installed.
>>                   </p>
>>               <!--<![endif]-->
>>                   <a href="http://www.adobe.com/go/getflashplayer";>
>>                       <img src="
>> http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif";
>> alt="Get Adobe Flash Player" />
>>                   </a>
>>               <!--[if !IE]>-->
>>               </object>
>>               <!--<![endif]-->
>>           </object>
> 
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to