ForumsProgramming ForumQuick AS2 Question

2 3432
jpx111
offline
jpx111
264 posts
Nomad

Hello there peeps. I've started designing an interface on flash and as normal, I've encountered some problems...
This might be a noob mistake but whatever xD

So take a look at the interface as of now:
http://megaswf.com/view/00b843d015d570622506e8d38a496166.html

When you go over the blue part with your mouse, a shadow appears under it. This part works fine.
However, when you go over of the buttons, the shadow disappears. It comes back when you roll out of the button. What I want is for the shadow to be there even if you are on the buttons.

Any help/ideas?

Oh and here is the code:

function back_over(){
this.gotoAndPlay("back_over&quot
}
function back_out(){
this.gotoAndPlay("back_out&quot
}
function back_normal(){
this.gotoAndPlay("back_normal&quot
}

function button_1_over(){
this.gotoAndPlay("button_1_over&quot
}
function button_1_out(){
this.gotoAndPlay("button_1_out&quot
}

function button_2_over(){
this.gotoAndPlay("button_2_over&quot
}
function button_2_out(){
this.gotoAndPlay("button_2_out&quot
}

toolbar_back.onRollOver = back_over
toolbar_back.onRollOut = back_out

button_1.onRollOver = button_1_over
button_1.onRollOut = button_1_out

button_2.onRollOver = button_2_over
button_2.onRollOut = button_2_out


Thanks
  • 2 Replies
PixelSmash
offline
PixelSmash
566 posts
Nomad

How exactly is the shadow controlled? Perhaps hide the mouse, and use a custom mouse pointer?

jpx111
offline
jpx111
264 posts
Nomad

The shadow is just a movieclip animation beneath the blue header. It extends each time you roll over the blue bar and goes back whenever you come of it.

And I don't understand how using a custom mouse would help...

Showing 1-2 of 2