View Full Version : button AS on timeline
felipegm
April 6th, 2006, 06:32 PM
is it possible to put the actionscript for the button/MC on the timeline in order to easily modify it? Since itīs going to be several instances of the button, if I have to change some AS, it will be easier to change if it is just in one place, the timeline.
B L U E
April 6th, 2006, 07:50 PM
It sure is. on(press) { //action }; on a MovieClip, would change to MCname.onPress = function() { //action }; on the timeline. :)
felipegm
April 7th, 2006, 09:26 AM
thanks a lot for the reply. Helped a lot.
B L U E
April 7th, 2006, 01:20 PM
No problem! :cowboy:
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.