Solved

Pass Name value Pairs to Flash (AS3)

Posted on 2010-09-23
2
332 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

726 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