
Welcome Guest
|
#1
|
|||
|
|||
|
Button problem
Hi there and thanks for the reply.
I have 4 buttons that when u roll over them, a spotlight shines on the button from the top of the page. Now as im sure your aware, by putting the light stream in the button the light stream becomes part of the hit box for the button and thus making the buttons span from top to bottom. This is where im having the problem of the buttons working behind the container i have on center stage. The work around I've come up with is to put the light stream in a seperate MC on the root of the stage instead of the button MC and called it inside my rollover and rollout function as follows: btn_home.onRollOver = function () { rollover("btn_home") _root.mouse_over_spot1 = true; } btn_home.onRollOut = function () { rollout("btn_home") _root.mouse_over_spot1 = fstartlse; } Now the problem im getting is that when the button is in it's down state using a stick function the light don't stay on. im using this function: btn_home.onRelease = function () { _root.spot1.gotoAndStop("_down"); if (_root.currMovie == undefined) { _root.currMovie = "home"; container.loadMovie("home.swf"); } else if (_root.currMovie != "home") { if (container._currentframe >= container.midframe) { _root.currMovie = "home"; container.play(); stick("btn_home"); } } } And ideas how i can make this spot1 MC stay on whle the appropriate button is selected as it would be if it was inside the button MC. Many thanks. |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [F8] Roll Out Roll Over button problem | maclover | Flash 8 |
1 | 10-24-2007 06:52 PM |
| Button problem - - - please help | tel | Flash MX |
2 | 08-15-2005 01:04 PM |
| MovieClip overlap button problem | db82 | Flash MX |
2 | 01-27-2005 03:41 PM |
| Button Navigation Problem | rbgerman | Newbies |
0 | 08-02-2004 08:15 PM |
| big button problem, can anyone help? | Robyn_h | Newbies |
2 | 04-01-2003 06:44 AM |




