[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 168
  • Last Modified:

FLASH + Using variable in all scenes

I have a variable that i used in the very first scene, depending on the value of the variable depends on which scene comes next, how can i use that variable in all scenes.  I am getting the variable from an asp.net page.

thanks
0
dkilby
Asked:
dkilby
  • 2
1 Solution
 
fixitbenCommented:
If you have this in the frame that you want to set the variable it will be global.
But don't confuse that with somevariable that is a whole different variable than _global.somevariable  So you could use both at the same time.

_global.somevariable = "something";
_global.somevariable = 12;

Hope this helps
fixitben
0
 
fixitbenCommented:
So did this answer Your question or not.  If so Please award me the points.

fixitben
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now