Questions tagged [flashvars]

The FlashVars is a parameter of the HTML tag and is used to sends variables into a SWF file when it loads in a web browser.

140 questions
7
votes
4 answers

AS3 Pass FlashVars to loaded swf

I have a A.swf which loads B.swf onto a movieclip and needs to pass it some FlashVars. When loading B.swf with html, I can pass FlashVars fine. When passing from A.swf, it gets a Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL:…
Robin
  • 71
  • 1
  • 1
  • 2
6
votes
8 answers

Detecting if fullscreen is allowed in ActionScript 3.0?

I would like to remove a fullscreen button if the allowfullscreen param is false.       param value="true" name="allowfullscreen" Does anyone know if its possible to detect that value? It doesn't come with other flashvars on loaderInfo.parameters.
jspooner
  • 10,975
  • 11
  • 58
  • 81
5
votes
3 answers

How do I access flashvars in AS3, and add them to an existing text field?

Edit: I've come to realize the main problem I'm facing is that I want a text field that already exists in a movieclip or on the stage to take the string from a flashvar. For some reason it will not do that. How do I make a pre-existing text field…
Ghost9
  • 249
  • 3
  • 7
  • 15
5
votes
4 answers

Passing flashvars-style parameters to a loaded SWF

I have a Flex 3 app (player v9) which loads a Flash SWF (AS3, also player v9) and needs to dynamically pass it a collection of parameters which are known at run-time. These are parameters that are normally passed via the flashvars element in an HTML…
David Grant
  • 3,447
  • 4
  • 29
  • 33
4
votes
2 answers

Internet Explorer truncating flashVars containing JSON

This only happens in IE. I'm using swfobject and loading the flash vars as such var flashVars = { myVar:'{"url":"http://google.com/", "id":"9999"}', }; var params = { allowFullScreen:"true", wmode:"transparent", …
Jacksonkr
  • 31,583
  • 39
  • 180
  • 284
4
votes
1 answer

passing parameters to a swf via Loader

I have a swf (child.swf) that I wish to load into another (parent.swf). I wish to pass a parameter to child.swf through the loader I am using. Note that I am not trying to pass FlashVars that parent.swf already has, but rather I am trying to simply…
Jeff Winkworth
  • 4,874
  • 6
  • 34
  • 33
4
votes
2 answers

How do I use FlashVars with ActionScript 3.0?

I found this guide for using the flash parameters, thought it might be useful to post here, since Flash CS3 lacks a usage example for reading these parameters. See answers for the link
Eliram
  • 606
  • 2
  • 9
  • 21
3
votes
3 answers

Access flashvars in preloader in flex?

I want to access some flashvars in my preloader to a Flex application. How is this possible? Regards Adlertz
Niclas Adlertz
3
votes
2 answers

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…
Josh
  • 123
  • 6
3
votes
1 answer

Passing flashVars when testing in Flex Builder

I can pass values from HTML to a SWF when running my own HTML file, but I cannot see the way to do this within Flex Builder. Creating my own HTML file with an extra param in the object tag works fine:
Magnus Smith
  • 5,895
  • 7
  • 43
  • 64
3
votes
1 answer

Is there any way to do flash data in asp.net mvc?

for more info of what I mean here is a quote from the user guide of the php mvc framework CodeIgniter CodeIgniter supports "flashdata", or session data that will only be available for the next server request, and are then automatically cleared.…
nacho10f
  • 5,816
  • 6
  • 42
  • 73
3
votes
2 answers

Is there a list of reserved FlashVars names?

Currently I work on localization for a Flex application. From an article I know that you can control the localization with the following FlashVars: resourceModuleURLs localeChain Are there any other FlashVars reserved by Adobe that a Flash/Flex…
newtover
  • 31,286
  • 11
  • 84
  • 89
3
votes
1 answer

How can I use flashvars parameters with iframe?

I have a self-hosted wordpress blog and I'm trying to embed a video with the code on the website: