Hello,
I'm working around with the new feature of Flash CS6 : exporting HTML animation via Flash.
I have something like that, which does work :
/* js
this.stop();
this.bt.onClick = function(){
this.parent.play();
}
*/
Where a button controls the main timeline when you click it.
I'm looking for the syntax to do a Roll Over and a Roll Out.
Any ideas ?
Thanks
tidamz
Ah ok !
Allready tried ![]()
The method is described here : http://www.adobe.com/devnet/createjs/articles/using-flash-pro-toolkit- createjs.html
But there's no more information
Since the comment includes the letters "js", maybe that is supposed to be javascript code, which does have "onClick". In that case try to find the javascript syntax for onRollOver and onRollOut (might just be "onrollover" and "onrollout").
The only thing with what you show is that it is commented out (those /* */ surrounding it all), and it is not clear if that means it is only there as a reference and the real code lies elsewhere.
Hi,
Refer to the EaselJS documentation for a full list of JavaScript APIs you can use as replacements to ActionScript code.
http://www.createjs.com/Docs/EaselJS/
Regards,
Suhas Yogin
Just consolidating references:
http://www.adobe.com/devnet/createjs/articles/using-flash-pro-toolkit- createjs.html
http://www.createjs.com/Docs/EaselJS/ for EaselJS documentation for a full list of JavaScript APIs you can use as replacements to ActionScript code.
North America
Europe, Middle East and Africa
Asia Pacific