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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

linking pages

Status
Not open for further replies.

Shadowrelm

Technical User
Oct 31, 2006
3
0
0
US
I am having trouble figuring out how to link one page I built in flash to another.

each page has its own buttons but where do you tell flash what page to go to in your folder when you click the button?

I know this is really simple but I am used to working in
dreamweaver where you have a url box that you click on and then nav to the proper page you want the button to go to.

is all this done in actionscript and if so what is the code for it?

it cant be this hard. it should be a simple function.

I have tried using this code but I am not sure where to put it or how to modify it to my needs.

on (release){
getURL(”}

I tried changing the "something" to the root directory where my pages are stored
on (release){
getURL(”C:/folder/folder/filename”);
}

that didn't work so I am stumped
 
getURL() is for loading an URL (webpage). The term you're looking for is "load movie". There are several ways but have a look at MovieClipLoader Class in AS2. In AS3 it's Loader Class.

Kenneth Kawamoto
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top