androidactionscript-3flex4flashvars

flashvars not working on Android Browser


I have a flex app that I need to pass FlashVars into. It works great on desktop browsers(chrome, firefox, ie) but for some reason the flashvar is always undefined when i load it on my Android browser(webkit on a droid incredible).

Has anyone successfully passed flashvars into a swf on an Android Device?


Solution

  • try using a querystring instead - they're passed in identically to FlashVars (loaderInfo.parameters)

    your-app.swf?var1=bob&var2=true