Adding links inside Flash
by Sabrina Crayne
on
Jul 23, 2008 at 9:03:26 pm
Is there a way to add a link on a page in a full flash website to another page in that same flash site without using a button? The part of this that I am stumbling over is how to connect to the page within the same flash program. Perhaps I am over thinking this, but any input would be greatly appreciated.
Re: Adding links inside Flash by Pieter Helsen on Jul 23, 2008 at 9:13:24 pm
The gotoAndPlay command should do that for you... :)
gotoAndPlay() takes you either to a certain frame in the website, or to a certain frame label...
gotoAndPlay(2) - takes you to the second frame of the movie
OR
gotoAndPlay("main") - takes you to a frame of the movie, labeled 'main'
Kind regards,
Pieter
General notice: from now on, I would like to ask everyone to put [AS2] or [AS3] (corresponding to the version of actionscript you are using on your project) in front of their post titles when the question is actionscript related! Please help us help you faster. Thank you.