Flash Form Variables

Posted on 2007-11-29
Last Modified: 2012-05-05
I am using the following code to access ComboBoxes in Flash CS3....My question is if this would be enough to pass the variables into a PHP form?  How can I set these to global variables?

      function(evt:Event):void {
            MyName.text =;
      function(evt:Event):void {
            Mycolor.text =;
      function(evt:Event):void {
            myNumber.text =;
Question by:solsticeint
LVL 13

Accepted Solution

rhickmott earned 500 total points
ID: 20380738
Flash and resulting php page are rendered to the browser before they can be used. If you wish to send data to a PHP script you can use the sendAndLoad() or similar methods to post data to a script which can process and send results back.

Useful links might be

Sending Data to a Script 

Sending mail from flash using php


Expert Comment

ID: 21218623
Just wondering how you went with this question?

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PHP Undefined Index in HTML Form? 2 32
xampp tool 12 31
Move wordpress site 3 26
hosting images 4 12
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
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…
The viewer will learn how to count occurrences of each item in an array.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

863 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

21 Experts available now in Live!

Get 1:1 Help Now