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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

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…
Introduction This article is intended for those who are new to PHP error handling (  It addresses one of the most common problems that plague beginning PHP develop…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

808 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