Current location: Hot Scripts Forums » General Web Coding » Flash & ActionScript » Flash Button Issue


Flash Button Issue

Reply
  #1 (permalink)  
Old 03-31-08, 07:01 PM
tommyc325's Avatar
tommyc325 tommyc325 is offline
Wannabe Coder
 
Join Date: Sep 2005
Posts: 223
Thanks: 0
Thanked 0 Times in 0 Posts
Flash Button Issue

Im developing a website for my employer - im having a issue with 2 effects with my button.

http://alteredimage.com/newTest/vyvanseContent.swf

in thise movie you will see a series of images / buttons on the bottom.

1)The first issues is when you rollover any of the buttons you will see theres a white flash - this is what i want the issue im having though is when you click on one of these buttons and release the button plays the "over" state again ------ How do i fix this so that doesnt happen.

2)The 2nd, is a feature i would like to add - i would like the button to mark itself when you select that option ( so the user knows what "page" there on. ------ How is this done?


I appreciate the help ahead of time

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 04-02-08, 06:06 AM
UnrealEd's Avatar
UnrealEd UnrealEd is offline
Community Liaison
 
Join Date: May 2005
Location: Antwerp, Belgium
Posts: 3,165
Thanks: 4
Thanked 25 Times in 25 Posts
can you post how you created the button? What mc's, images, alpha-blends, etc.., you have in each status-frame (hover, press, ...)?

To mark a button, you'll have to use ActionScript: You need to grab the instance of the button (using _root.my_button_name), and then add something that would make it look like it has been selected (such as a border)
__________________
"Good judgement comes from experience, and experience comes from bad judgement." - Fred Brooks

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 04-02-08, 09:25 AM
tommyc325's Avatar
tommyc325 tommyc325 is offline
Wannabe Coder
 
Join Date: Sep 2005
Posts: 223
Thanks: 0
Thanked 0 Times in 0 Posts
you think you can give me an example of the actionscripting for the the "mark" button / the active state?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 04-11-08, 07:15 AM
UnrealEd's Avatar
UnrealEd UnrealEd is offline
Community Liaison
 
Join Date: May 2005
Location: Antwerp, Belgium
Posts: 3,165
Thanks: 4
Thanked 25 Times in 25 Posts
give this a try:
ActionScript Code:
  1. mybtn.emphasized = true;
This will draw a blue rectangle around your button

Have a look at this page for changing the settings of the button: http://www.adobe.com/devnet/flash/qu..._as3/#section9
__________________
"Good judgement comes from experience, and experience comes from bad judgement." - Fred Brooks

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
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
[SOLVED] Friendly URLs & Flash issue DAL Web Servers 5 03-14-08 07:36 AM
browser back button issue! n3wb!e PHP 13 03-01-07 07:55 AM
Flash Button Action Scripting Help - PLEASE turtlepd Flash & ActionScript 2 07-27-06 06:01 PM
flash issue in firefoxon php site - any assistance is appreciated kappler0 Flash & ActionScript 2 01-06-06 09:26 AM
flash symbol button with script help kicon HTML/XHTML/XML 2 12-03-04 12:08 PM


All times are GMT -5. The time now is 07:38 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.