3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

How to Create an Adobe Flash Slide Show

Step 10Write the functions

Write the functions
Step 10. [Write the functions] When you are finished, hit Enter to skip a line and create the "showpic1" function, telling the animation to go to the "pic1" frame and stop. Hit Enter to skip to the next line and type the "showpic2" function, telling the animation to go to the "pic2" frame and stop. Repeat this process for the rest of the buttons.

'stop();
button1.addEventListener(MouseEvent.CLICK,showpic1);
button2.addEventListener(MouseEvent.CLICK,showpic2);
button3.addEventListener(MouseEvent.CLICK,showpic3);'

function showpic1(Event:MouseEvent):void{
gotoAndStop("pic1");
}

function showpic2(Event:MouseEvent):void{
gotoAndStop("pic2");
}
function showpic3(Event:MouseEvent):void{
gotoAndStop("pic3");
}''

TIP: To preview the document, go to Control, Test Movie from the top menu.
« Previous StepDownload PDFView All StepsNext Step »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
77
Followers
19
Author:gigafide