Hyperlink buttons

This is a discussion on "Hyperlink buttons" within the Flash & Multimedia Forum section. This forum, and the thread "Hyperlink buttons are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Mar 8th, 2007, 01:31
New Member
Join Date: Mar 2007
Location: Tampa
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Hyperlink buttons

I'm building a Flash file at work and I'm having a problem with hyperlink buttons. I have 16 buttons on the same layer that all point to different pages within the same website.

In the actionscript for each button, I'm using this code:

on(release)
{
getURL(http://www.mywebpage.com/page1, "_blank");
}

Then for the next:

on(release)
{
getURL(http://www.mywebpage.com/page2, "_blank");
}

Etc, etc.
The problem is when I publish the file, it links all the buttons to the same 'root' of the website.

I.E. http://www.mywebpage.com not page one, page two etc.

It does this even though I have an absolute url assigned to each button.

Anybody have any idea what I've screwed up? Do buttons have to be on separate layers?

Thanks
Reply With Quote

  #2 (permalink)  
Old Mar 8th, 2007, 12:26
Reputable Member
Join Date: May 2006
Location: NC, USA
Age: 16
Posts: 355
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to MrMadison Send a message via MSN to MrMadison Send a message via Skype™ to MrMadison
Re: Hyperlink buttons

Well, change the "blank" part to _self. That might have something to do with it? But I doubt it.
And no, the buttons do not have to be on seperate layers.

I don't know why it would be doing this, do those pages exist? Try adding the extension to the type of page that they are, .htm, .php etc..
Reply With Quote
  #3 (permalink)  
Old Mar 8th, 2007, 12:45
New Member
Join Date: Mar 2007
Location: Tampa
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Hyperlink buttons

Thanks for the help. I figured it out, and as usual it was just a stupid mistake.

When I built my buttons, I put in the home page URL in all of them until I could go back and put in the specific page I wanted.

What I didn't realize is that if you change the URL in the first frame of your movie, you have to redo the whole timeline for the button layer or it will just go back to the code you had in originally in the last frame of the timeline.

Stupid.

I was just too brain dead last night to see the obvious.
Reply With Quote
  #4 (permalink)  
Old Mar 8th, 2007, 13:02
Reputable Member
Join Date: May 2006
Location: NC, USA
Age: 16
Posts: 355
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to MrMadison Send a message via MSN to MrMadison Send a message via Skype™ to MrMadison
Re: Hyperlink buttons

Well, Glad you fixed it!
Reply With Quote
Reply

Tags
button hyperlink actionscript

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hyperlink Rollovers crackafaza Web Page Design 3 Aug 24th, 2007 11:43
help with fwd/backwrd buttons affecting other buttons typeofdoug Flash & Multimedia Forum 5 Feb 4th, 2007 03:48
Javascript Hyperlink kato77 JavaScript Forum 1 Feb 11th, 2006 12:14
image as hyperlink question bklcomputing Web Page Design 2 May 20th, 2005 06:56


All times are GMT. The time now is 16:56.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43