943,721 Members | Top Members by Rank

Ad:
Apr 10th, 2008
0

adding navigation to flash buttons

Expand Post »
hello,

i have created a flash menu to go on to a website that i am building but i have come to a point were i cannot find the actionscript i ned to get the buttons to go to the pages that i want.

the problem is that i need the buttons to navigate around my site and i have only been able to find the code which will take the user to a new web site. does anyone know what the script is to get the buttons to move around the pages within the site. or can anyone pot a link of a tutorial which will explain how to do this.

my search will go on so if i get the answer i need before anyone posts i will put the address where i found it up here.
Reputation Points: 27
Solved Threads: 1
Posting Whiz
kevin wood is offline Offline
347 posts
since Feb 2008
Apr 10th, 2008
0

Re: adding navigation to flash buttons

i have got it to navigate to the new pages from the home page but it keeps opening the new page in a new tab the code i have used looks like this

Graphics and Multimedia Syntax (Toggle Plain Text)
  1. on (release){
  2. getURL("construction/index.htm", "self");
  3.  
  4. }

where i have put self should this not open the page in the same window/tab.

if not anyone know what should be put in so it opens in the same window.
Reputation Points: 27
Solved Threads: 1
Posting Whiz
kevin wood is offline Offline
347 posts
since Feb 2008
Apr 10th, 2008
0

Re: adding navigation to flash buttons

i have now changed the self part so it is _self and it has made the button stop working. they are not taking you to any page now just staying on the page it was on to start with.
Reputation Points: 27
Solved Threads: 1
Posting Whiz
kevin wood is offline Offline
347 posts
since Feb 2008
Apr 11th, 2008
1

Re: adding navigation to flash buttons

the solution to the problem that i was facing is as follows:

if you want the links from the buttons to open in the same window then the code to use looks like this:-

Graphics and Multimedia Syntax (Toggle Plain Text)
  1. on (release){
  2. getURL("../construction/index.htm");
  3. }

the file being linked to is written the same as it would be in html code and to get the link to open in a new window then the code is:-

Graphics and Multimedia Syntax (Toggle Plain Text)
  1. on (release){
  2. getURL("../construction/index.htm" "blank");
  3. }
Reputation Points: 27
Solved Threads: 1
Posting Whiz
kevin wood is offline Offline
347 posts
since Feb 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Graphics and Multimedia Forum Timeline: 3ds max help needed: animating an ocean.
Next Thread in Graphics and Multimedia Forum Timeline: Vector Resources





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC