Web Hosting Talk







View Full Version : how do you make a link w/mm flash?


spiderfine
01-02-2006, 01:52 PM
ok yes hello?

i have a quick question. i made some buttons using swishmax on my site with a little beep, anyway, i was wondering how in the world do you make it a link? when you put your cursor on the say..."home button", just the little hand comes up, but doesn't go anywhere and then when you go down just a tad, there's a black line and then when you click on the black line it takes you where i've told it to go. how do you get rid of that black line and how do you code the anchor tags?

there's no more black line under "home" and "news", but there is on the other 3. somehow i took out the black line out of home and news, but you still can't go anywhere from clicking on it. it's driving me nuts, please help.

thank you.

oh the website is: http://www.inkerrville.com

emevas1977
01-02-2006, 02:07 PM
spider,
this what you have in your code
<a href="news.php">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="75" height="20">
<param name="movie" value="/flash/newsbutton.swf">
<param name="quality" value="high">
<embed src="/flash/newsbutton.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="75" height="20"></embed>

</object>
</a>

you have your object wrapped in a <a> tag and it does not work like that.

You will need to open your flash file in flash and do something like:
on(press){
getUrl('home.htm', '_self');
}


If that does not make sense, I will be back on in a bit and will fill you in more.

spiderfine
01-02-2006, 03:12 PM
thank you emevas 1977, it worked, but how do you get rid of that black line? i fixed the contact button like you said and will be working on the rest.

thanks again.

spiderfine

spiderfine
01-02-2006, 03:15 PM
nevermind i figured it out...i took out the <a href...> code out of the html page and wala, it's gone.

hey thanks again for your help.

spiderfine

emevas1977
01-02-2006, 04:33 PM
no problem

spiderfine
01-02-2006, 08:22 PM
uh...could someone tell me real quick how to make the end of a movie done in swishmax, like a logo or an image or words, STAY PUT - when the movie is finished??

Duh, i feel like a complete idiot.

thanx,

spiderfine