Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

go to next frame 2

Status
Not open for further replies.

NetworkGuy101

IS-IT--Management
Aug 13, 2002
482
US
I have exported a powerpoing presentation to flash and now I have some buttons I want to add to go to the next slide or previous. I know there has to be a better way to do this than what I have. I am using this code:

on (press){
_root.gotoAndstop(2);
}

Then I make a keyfram for the next slide change the script to 3, 4 , 5 etc.. to make it advance to the next slide. I am very new to flash. I am sure I could dot it with a variable or something but I need help please !!

All help is appreciated.
 
Try something like this:

on (press){
_root.gotoAndstop(_currentframe + 1);
}



There's always a better way. The fun is trying to find it!
 
How about a simple nextFrame() action?

on(release){//Better than on press...
_root.nextFrame();
}

 
What if I wanted the event to take them to a new URL onpress or release? How would that go. Thanks-Joe
 
Code:
on(release){
    getURL("[URL unfurl="true"]http://www.google.com/",[/URL] "_blank");
}
 
Great Thanks! Sorry to bother again but is it possible to make this window a popup?
 
Visit , create the popup with the features you want or don't want, and generate the code. Then it's simply a question of copying & pasting the generated code on your Flash button.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top