Current location: Hot Scripts Forums » General Web Coding » Flash & ActionScript » Making a flash image a link


Making a flash image a link

Reply
  #1 (permalink)  
Old 07-31-05, 09:39 PM
Balkee867 Balkee867 is offline
Newbie Coder
 
Join Date: Jul 2005
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Making a flash image a link

Ok, so I have a bunch of buttons made using flash. I am trying to make them actual buttons, by giving them a page to go to. To do this, I need to make the flash image a link. What I am using right now is:

Code:
<a href="/index2.html"><object width="200" height="500">
<param name="movie" value="homekool.swf">
<embed src="homekool.swf" width="100" height="25">
</a>
</embed>
</object>
<br>
The image isn't a link, but the link is in the <br> after the code? How do I make the actual image the link, not what's below it?
Reply With Quote
  #2 (permalink)  
Old 08-01-05, 07:08 AM
danga1993 danga1993 is offline
New Member
 
Join Date: Aug 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Your have ended the link "</a>" before the <br>, so its impossible that the <br> is the link. I think you should the the starting <a href> Before the <object> tag, which should make the object then the link. Then end it after the </object> tag.
Reply With Quote
  #3 (permalink)  
Old 08-01-05, 07:57 AM
Balkee867 Balkee867 is offline
Newbie Coder
 
Join Date: Jul 2005
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
yes I tried that, to prove what I am talking about, go to: www.webtossup.com/index2.html

None of the links are actually the flash buttons, but the little spaces in between them.
Reply With Quote
  #4 (permalink)  
Old 08-02-05, 10:42 AM
Balkee867 Balkee867 is offline
Newbie Coder
 
Join Date: Jul 2005
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Please I really need help with this. I have also tried using:

Code:
on(release){ getURL('index2.html');
}
Bu that didn't work either. Please visit the site and tell me what I am doing wrong.
Reply With Quote
  #5 (permalink)  
Old 08-02-05, 04:10 PM
Balkee867 Balkee867 is offline
Newbie Coder
 
Join Date: Jul 2005
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
No more help need, I figured it out.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Link Exchange with free image hosting web site imagerage Traffic Exchange 6 07-18-05 05:00 PM
Xml / Dom / Css Mark_SC.SE JavaScript 0 06-29-05 08:05 AM
Making an image side menu? perrywsparrow JavaScript 0 06-27-05 02:34 PM
Making the selected link Bold? websearch HTML/XHTML/XML 2 10-23-04 08:08 PM
if user doesn't have the flash plugin, load an image instead jolaz JavaScript 0 12-08-03 07:56 AM


All times are GMT -5. The time now is 06:09 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.