fash script
#1
Posted 29 October 2006 - 10:33 PM
#2
Posted 30 October 2006 - 12:43 AM
#3
Posted 30 October 2006 - 07:58 AM
#4
Posted 30 October 2006 - 08:08 AM
gotoAndStop(10);
}
it says error on (release) can only be used for buttons??
Edited by Lifeis2evil, 03 November 2006 - 04:44 PM.
#5
Posted 03 November 2006 - 04:45 PM
#6
Posted 04 November 2006 - 04:38 AM
2- select the graphic and press F8, give it an unique name and set the type to button
3- while button still selected press F9 to enter the actionspanel
4- copy & paste this:
on(release){
trace("my button works");
}
#7
Posted 04 November 2006 - 08:26 AM
Lifeis2evil, on Oct 31 2006, 12:08 AM, said:
gotoAndStop(10);
}
it says error on (release) can only be used for buttons??
At the moment it sounds like you have your script straight on the keyframe.
#8
Posted 04 November 2006 - 03:03 PM
stop;
and make sure the image has been converted into a button by pressing f8 then add this code to the image
on (release) {
gotoAndStop(2);
}
im a little rusty but that should work (... hopefully)
but for every frame that has an image in it, make sure there is also a stop command in the frame.
#9
Posted 06 November 2006 - 06:06 PM
and let you know if it works =p
#10
Posted 06 November 2006 - 06:24 PM
Import the first picture you want in flash:

Click the frame which the image is in:

Press F9 so the Actionscript panel appears, and type in the code:
Quote

Now click the image, and press F8, then enter the name "image1" for the picture and select "button". Press OK:

Now click the image again, and press F9 to open the actionscript panel, type in the code:
Quote
gotoAndStop("image2");
}

Now select frame 2, make a keyframe in the timeline. On the properties tab, enter image2 as the Frame label:

Click in frame 2 of the timeline and press Delete on your keybored, so you delete the first image off frame 2:

Now import your second image to frame 2:

______________________________________________________________________
Repeat this proccess for each image you want in the slide show.
Ta-dah!
#11
Posted 07 November 2006 - 01:33 AM
Awsome Guide
#12
Posted 07 November 2006 - 03:47 AM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
