Skip to main content
Participant
January 12, 2008
Question

MovieClipLoader scope issue

  • January 12, 2008
  • 2 replies
  • 351 views
Hi all. I'm having a scope issue with the MovieClipLoader listeners in a Class: i can't call Class methods inside the MovieClipLoader listeners... i can turn all Class methods to Static, but that's not what i'm aiming for.

Can someone help ?

Congrats :)

This topic has been closed for replies.

2 replies

kglad
Community Expert
Community Expert
January 13, 2008
you're welcome.

each instance will call its own startTimer() method. if you want only one startTimer() method for all your instances, make that method a static method.
kglad
Community Expert
Community Expert
January 12, 2008
give your class instance a name and use that to call its methods.
kidlocoAuthor
Participant
January 12, 2008
How can i get the instance name in the class constructor ?

Thx for the help!

kglad
Community Expert
Community Expert
January 13, 2008
: