PDA

View Full Version : Using JSFL for actionscript


awesty
04-07-2007, 10:17 AM
I am very knew to JSFL and was curious if there is a way you could add some actionscript to a frame with it?

thanks :)

senocular
04-07-2007, 01:00 PM
yes. I dont know off the top of my head; check out flash help

linakutak
04-08-2007, 02:30 AM
The following example assigns stop() to first frame top layer action

fl.getDocumentDOM().getTimeline().layers[0].frames[0].actionScript = 'stop();';

remember that index values are different from frame number values and layer number values.

awesty
04-08-2007, 03:26 AM
Okay thankyou :)