FLASH + Using variable in all scenes

Posted on 2004-08-14
Medium Priority
Last Modified: 2012-05-05
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.

Question by:dkilby
  • 2

Accepted Solution

fixitben earned 2000 total points
ID: 11804910
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

Expert Comment

ID: 11990710
So did this answer Your question or not.  If so Please award me the points.


Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

624 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