Be a Supporter!

AS 3 affecting variable on the root

  • 231 Views
  • 1 Reply
New Topic
Monsie
Monsie
  • Member since: Mar. 27, 2012
  • Offline.
Forum Stats
Member
Level 04
Blank Slate
AS 3 affecting variable on the root May. 19th, 2012 @ 02:42 AM

I can't make heads or tails of ActionScript 3.0. What i'm trying to do is have a frame in a movie clip update a variable on the main timeline. In actionscript 2 this would be something like _root.Potato = 3 and boom, the "Potato" variable would be easily updated. What is the Actionscript 3 equivalent? Any help would be greatly appreciated.

Monsie
Monsie
  • Member since: Mar. 27, 2012
  • Offline.
Forum Stats
Member
Level 04
Blank Slate
Response to AS 3 affecting variable on the root May. 19th, 2012 @ 04:34 AM

My bad. Wrong forum. :(