flash javascript


dear sir:
is there way select specific frame in specific layer?

if use :

fl.getdocumentdom().gettimeline().setselectedlayers(4);
fl.getdocumentdom().gettimeline().currentframe = 45;

the whole layer selected not desired?

is there other way?
thanks lot!

use getselectedlayers():

 

 

fl.getdocumentdom().gettimeline().setselectedlayers(4);

var layers = fl.getdocumentdom().gettimeline().getselectedlayers();

var frame = layers[0].frames[45];



More discussions in Adobe Animate CC - General


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support