Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
Highlighted
New Contributor
Posts: 4
Registered: ‎06-21-2012
My Device: Blackberry Simulator
My Carrier: 3

Flashvars

Howdy!

 

Sorry if this is a silly question but I was wondering whether there was any way to change the flashvars when running an adobe air made .bar file...

Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Flashvars

No. If you are trying to use FlashVars to control settings, you need to load that when the application is started. If the FlashVars are "static", you might try changing the <content> tag with arguments to see if that can be read in by the "parameters" attribute.

Just seems easier to avoid this, but if you have a reason, can give that a shot.

http://www.macsims.com/blog/2011/01/passing-parameters-flashvars-to-adobe-air-at-startup/