Solved

Pass Name value Pairs to Flash (AS3)

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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

778 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