Skip to main content
rjoshicool
Inspiring
July 14, 2010
Question

Controlling an FLA with timeline from Document Class

  • July 14, 2010
  • 1 reply
  • 910 views

Is it possible to control items lying on different frames of an FLA file from its document class?

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
July 14, 2010

yes.

rjoshicool
Inspiring
July 14, 2010

Thanks. Can you help me with some example or URL?

kglad
Community Expert
Community Expert
July 14, 2010

there's not much to it, at least, nothing different than any other goto and as3:

gotoAndStop(20);
stage.invalidate();
this.addEventListener(Event.RENDER,ff);


function ff(e:Event):void{

//frame 20 instances can now be referenced

}

p.s.  if you are able, please mark this thread as answered.