Flash Text Mousover Buttons

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



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

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Oct 16th, 2004, 00:54
New Member
Join Date: Oct 2004
Location: USA
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Flash Text Mousover Buttons

I've been doing web ages for years but I've only started playing with Flash coding this week. I'm currently stumped with how to do a simple text mouseover link in Flash. I've gotten linking to work - but can't figure out how to apply a simple change color mousover affect and surfing forums like this or the Flash tutorials and docs don't seem to cover this exact issue. This is such a newbie question but it's kicking my butt LOL.

thanks

Tom

  #2 (permalink)  
Old Oct 16th, 2004, 03:10
Reputable Member
Join Date: Sep 2004
Posts: 144
Thanks: 0
Thanked 0 Times in 0 Posts
Ok, if your just trying to change the color of the text, what you need to do is to make the text that is your link your button. (highlight it then press F8 for Flash MX). Then you can double click on the text. You will then see the timeline change to Up Over Down Hit. These are similar to links in HTML. Create a Key Frame in the Over frame and change the text's color to the color you want it to be when someone mouse's over it. Also, I would suggest making another keyframe in the HIT frame and drawing a box over the text. This will make it so that the user can click in that box(which is not visible)instead of trying to put their mouse on a small part of the text. I hope that helps you out.
  #3 (permalink)  
Old Oct 16th, 2004, 03:44
New Member
Join Date: Oct 2004
Location: USA
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
I can make the mouseover work - I can make the text a link - what I'm having trouble with is making the mouseover and link work simultaenously. John with the technique used above to create the mouseover - what do I need to do to make this a working link??? There is the ability to place a link in the properties of the particular frame but that doesn't seem to "take".
  #4 (permalink)  
Old Oct 16th, 2004, 04:11
Reputable Member
Join Date: Sep 2004
Posts: 144
Thanks: 0
Thanked 0 Times in 0 Posts
ok, after you do that you need to go back to the scene where the button is contained. Then select the button (single click or drag a box around it) and Open up the actionscript window. In the window you need the following code:
Code: Select all
on (press) {
	getURL("page.htm");
}
or if your ActionScript is set to Normal Mode (instead of expert) you can Select ACTIONS > BROWSER/NETWORK > GETURL . That will then make it a little easier to edit the code. Hope that helps.
  #5 (permalink)  
Old Oct 16th, 2004, 04:26
New Member
Join Date: Oct 2004
Location: USA
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Very helpful thanks - I figured out that I wasn't putting the link to the button in the UP portion of the timeline. So now it works - sorta I get a screwed up Mouseover effect and the links are working.

- heres what is not working right -

I drew a box around the text in the button and when the mouse pointer approaches the area around the text reaching the button the text changes color indicating the mouseover, but keep moving and as the pointer reaches the text it changes back to it's original color.

Also now that you mention it - with the links working now - when I open the actions window there is no GetURL code.
  #6 (permalink)  
Old Oct 16th, 2004, 07:36
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
MichAv8r, the link code should be on the button itself (i.e. right click the button and actionscript or similiar text), not within it on it's own timeline.
  #7 (permalink)  
Old Oct 16th, 2004, 09:29
Reputable Member
Join Date: Sep 2004
Posts: 144
Thanks: 0
Thanked 0 Times in 0 Posts
You can download a sample .fla with the following link. [link has been removed by JohnMitch]
  #8 (permalink)  
Old Oct 16th, 2004, 13:51
New Member
Join Date: Oct 2004
Location: USA
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Success!

Thanks alot guys - What was killing me is there are three different ways to enter a URL and it was the ability to link in under the Properties of each frame that was getting me. Deleted those links and added the code and it works as desired.
  #9 (permalink)  
Old Oct 16th, 2004, 16:31
Reputable Member
Join Date: Sep 2004
Posts: 144
Thanks: 0
Thanked 0 Times in 0 Posts
Glad you got it to work!
Closed Thread

Tags
flash, text, mousover, buttons

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
help with buttons in flash VanHype Flash & Multimedia Forum 1 Feb 27th, 2008 22:34
Flash buttons R8515198 Flash & Multimedia Forum 5 May 20th, 2007 23:53
Flash Buttons Travis R Flash & Multimedia Forum 8 Nov 21st, 2006 01:31
Help with flash buttons Tbone5058 Web Page Design 1 Jul 6th, 2005 17:11
buttons text fields djaccess Classic ASP 10 Sep 29th, 2003 12:19


All times are GMT. The time now is 22:52.


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