Say I have a class called Controller()....
If in that class somewhere, I had a method that only occured once, called "select"
I created an object on the _root timeline from the controller class, and during an event I call the select method.
Now, at the end of that menthod, I wanted to invoke a timer. I would need the timer to invoke every frame, how would I toss and onEnterFrame into that method?
I've tried silly things like....
timer function(){
onEnterFrame = function(){
//stuff
}
}
timer function(onEnterFrame){
//stuff
}
and a host of others. How is this accomplished within a class?