Skip navigation
chazwick1992
Currently Being Moderated

using action script 2 how can i send a variable value to a dynamic textbox on a different keyframe?

Jun 14, 2012 3:40 AM

using action script 2 how can i send a variable value to a dynamic textbox on a different keyframe?

 
Replies
  • Currently Being Moderated
    Jun 14, 2012 4:17 AM   in reply to chazwick1992

    You need to have that variable accessible along the timeline so that it is available in any frame that it is needed.  When you get to the frame where the textfield is you have code in that frame to assign it to the textfield's 'text' proiperty.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 14, 2012 11:15 AM   in reply to chazwick1992

    You do not want to re-instantiate the variable in any other frame, just be sure to have the frame that code is in extended to whatever other frame it needs to be available to.  You extend the frame's code to other frames the same way you would have anything else extend for numerous frames.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points