Solved

Pass Name value Pairs to Flash (AS3)

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

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…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

757 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now