Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

FlashVars and PHP Tutorial Send Dynamic Variable into Flash

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
12,642
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 13, 2008

Get the free fla file for CS3 and CS4
http://www.developphp.com
In this Flash and ActionScript 3 tutorial you can learn how to Use FlashVars and PHP to send a dynamic variable into flash AS3. I show how to use the page that Flash renders to set up FlashVars in and send them into flash. I turn that page into a PHP file by giving a .php extension instead of .html. Then I can write all the PHP I want in it to set up dynamic PHP and ActionScript 3 communication. Your PHP or static HTML file can send variables into flash without having Flash send out a request for the data. FlashVars is placed into three sections of that file if you are using the default page structure that flash renders when you publish.

  • likes, 14 dislikes

Link to this comment:

Share to:

Uploader Comments (flashbuilding)

  • never going to beat the Latino American programming, never! gringos pts

  • Cállate la boca troll

  • Thanks so much for posting this tutorial, it has helped me tremendously.

    I have one question on the ActionScript 3 code that I hope you will answer ASAP!

    The code works great, but being a novice I would like to know how you would pass two or more variables.

  • I just put a link to it in the beginning of this video. Someone in our forum asked for it too.

  • hahaha why you so mad

  • Cuz some of the idiots on youtube don't understand that it is easier to learn hands on with a well commented flash source file. If I could reasonably go to their town and punch them in the face, I really would. lol

see all

All Comments (28)

Sign In or Sign Up now to post a comment!
  • @flashbuilding hey dude, can you cnd me a little bit advise on how to generate mp3s through PHP? btw, i followed your xml/PHP tut but idk hw to code it inn to flash as3...

  • WHY CAN'T I SEE THE CODE?!?!?!?!11111

  • Wat a noob haha get ur site sorted and get the proper sources up u dumbass moron!!!!!!

  • @insightforlife only reason that there are retards on here is because most programmers these days are 9 year old kids that havent learned the fucking alphabet yet

  • dude this video does nothing for me? JK JK lol nice tut

  • yea dumb asses ;D

  • That guy really thinks he's the best tutorialist on planet Earth. And he's not cool and not funny. By the way: he really likes his site!

  • had to skip the first minute as the text was too small to read :P

  • i can't see the code! what the hell!

  • lol!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more