![]() A link to an example FLA follows the AS3 code. It uses the usual code for multiple buttons in a FLA file (for more information, see this post). The following code is for two buttons with the instance names button1 and button2. I’ll also include a (CS4) FLA file for you to look at and the AS2 equivalent. This post includes an example of how to create two buttons that click between a few different frames. This is not too difficult, and is a super simple code modification from any other button in AS3 (and is actually a touch easier than AS2 due to scoping issues). ![]() Some people have been asking how to create button code in Flash (CS3, CS4, or CS5) that progresses the playhead in a SWF to the next or previous frame using ActionScript 3.0.
0 Comments
Leave a Reply. |