Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Pass Name value Pairs to Flash (AS3)

Posted on 2010-09-23
2
Medium Priority
?
335 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 2000 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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

618 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