Jump to content


variable


  • You cannot reply to this topic
2 replies to this topic

#1 ribo6

    Young Padawan

  • Members
  • Pip
  • 18 posts

Posted 13 January 2006 - 08:19 AM

One more question. Is it possible to define a variable in one layer (actionscript in a frame) but to use it in a movie clip for instance.

If I write var pp:Number = 3; then I'm not able to use it in a movie clip. Is it possible to make it "global"?

Thanks in advance.

#2 funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 13 January 2006 - 11:29 AM

_global.yourVariable = 3;

:)

Have Fun :)
Funkysoul

#3 ribo6

    Young Padawan

  • Members
  • Pip
  • 18 posts

Posted 14 January 2006 - 07:44 PM

it works :) thank you very much





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users