Display of a variable on the problem of stage

I have a global variable here in my flash, which is indicated like this project, _global.swfloaded = 'Home';

This variable then the changes throughout the project, according to which buttons are pushed.

An example of change is a classic button click, taking the user to the classic page, the variable is changed like this - "classic" = swfloaded

I then a dynamic text field with the instance name of "output" on the stage, I want to display the variable, the code I used for this is - output.text = swfloaded;

The problem is that the area of the 'exit' is not updated at all, regardless of what is clicked.

Anyone know how I can quickly and easily get the update field when the global variable itself is changed.

See you soon

You will eat less processing time if you do not use the buttons.  The only other way I can think of that you would not use the buttons would be to use an onEnterFrame routine to continually update the TextField to the current value.

Tags: Adobe Animate

Similar Questions

Maybe you are looking for

  • Why has the status of my friend now show that 'is a follower?

    Why was the location of a changed friend "is an adept" on find it my app friends?  This person is a friend for a long time and I could see the details of the place so far.  Want to know what caused the place to change status.   Thanks - K Montgomery

  • Help with If formula writing

    Hypothetical, if cell A2 is less than cell B2 and then cell A36 = 5, if cell A2 is more than cell B2 and then cell A36 =-5. If cell A3 is cell B3 below then cell A36 = 5, if cell A3 is cell B3 and cell A36 =-5. And then for the A36 cell permanently k

  • Why turn my wifi?

    My wifi turns off and I have to reactivate every minute. It just disconnects randomly every minute by himself. All other devices in the House works fine, no one else is having problems with their wifi on their devices, but me. As I type this I have t

  • Use a table to count the bodies in another

    Okay, so I am a very new person for Labview, but understand the layout page/coding if it is explained properly. I'm having a problem to understand what I should do next in my little program. What I do is read 2 files. 1 file specifies the names of co

  • print photo Adobe photoshop

    the photos printed on my HP Officejet pro - is not completely replecate the color and brightness of the picture created in photoshop.  I think that's everything to with colors set up on the screen / monitor and printer etc..  But is so conffusing to