Skip to main content
Known Participant
February 18, 2010
Answered

Global Variables?

  • February 18, 2010
  • 1 reply
  • 367 views

Well, I made a login page with flash and php. So I was wondering how can I make it so that I can send variables to another frame.

Like I have a button, when you press it, it connects to the database, and it checks your login. Then it gets all the variables. So how can I get the variables for every page on my flash project?

The only way I can think of now, is setting a dynamic text to the variable.. Rofl.

This topic has been closed for replies.
Correct answer kglad

once your variables are assigned they're directly available in every frame of the timeline in which they're assigned.  they're also available everywhere else in your project, if you use the correct path (preferred) to your variables or you use global variables (not preferred).

1 reply

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
February 18, 2010

once your variables are assigned they're directly available in every frame of the timeline in which they're assigned.  they're also available everywhere else in your project, if you use the correct path (preferred) to your variables or you use global variables (not preferred).

TheBrodyAuthor
Known Participant
February 18, 2010

-snip- I fixed it

Thanks for the help!

kglad
Community Expert
Community Expert
February 18, 2010

you're welcome.