Solved

Pass Name value Pairs to Flash (AS3)

Posted on 2010-09-23
2
333 Views
Last Modified: 2012-05-10
How do I pass name/value pairs to a flash component? I'm assuming I have to use javascript and flash params?

example: www.mydomain.com/?name1=value1&name2=value2&name3=value3

want to know values of value1,value2 and value3 in the flash using AS3.

Thanks!
0
Comment
Question by:894359
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 63

Accepted Solution

by:
Zvonko earned 500 total points
ID: 33756606
Have a look at this:
http://www.permadi.com/tutorial/flashQueryString/indexAs3.html
http://blogs.adobe.com/pdehaan/2006/07/using_flashvars_with_actionscr.html

On this one.
http://www.kirupa.com/forum/showthread.php?p=2110835

scroll down to section:
Accessing FlashVars and HTML Parameters

Basically it is this:
root.loaderInfo.parameters.myVar;
0
 

Author Closing Comment

by:894359
ID: 33758433
answered my question
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
This article discusses how to implement server side field validation and display customized error messages to the client.
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question