Flash gurus!! plz help
- Started
- Last post
- 15 Responses
- dinky0
Yeah, tell some one who cares... I just made my triumphant return.
DO YOU KNOW WHO I AM???
- PonyBoy0
lol@both of the replies so far... :)
Are you using the rollover state of an actual 'button' instance or are you controlling a movieClip via .as when you rollover that button instance?
does that make sense?
- tGP0
using both a "traiditional" flash button or a movieclip button will do this, flash understand the cursor as being the last place the cursor was before it goes outside of the flash area...
widening the space of "buttonless" swf area is one way to fix this, another, a bit hacky, you could trigger an interval or onEnterFrame function when the button was in the rollOver state, and check after say a few seconds if the cursor had moved or not, if it hasnt, go ahead and force rollOff... if you mouse out of the swf area, the cursor position will remain the same untill you revisit that area...
hope this helps
- Jaline0
you need engage & the flashgeeks.
I hear they really know how to help out in these types of situations + play some awesome music.
- pye0
you can do something like this..
button.onRollOver = function() {
this.onEnterFrame = function() {
if (searchBoxHit.hitTest(_root._xmo... _root._ymouse, true)) {
overState = true;
}
else{
overState = false;
gotoAndPlay("off");
delete this.onEnterFrame;
}}
}
wow, that looks ugly in the little narrow column. you get the idea.
- pye0
except ignore the searchbox thing
- PonyBoy0
do what pye said... but dump the onEnterFame and use:
_global.myInterval = setInterval(funct, 200);
function funct(){
if (searchBoxHit.hitTes t(_root._xmouse, _root._ymouse, true)) {
overState = true;
}
else{
overState = false;
gotoAndPlay("off" );
clearInterval(_global.myInterval...
}
}:)
- Crouwel0
there was a girl that complained i got stuck in rollover state.
that was 8 years ago..
:B
- PonyBoy0
there was a girl that complained i got stuck in rollover state.
that was 8 years ago..
:B
Crouwel
(Dec 6 06, 16:42)
- PonyBoy0
there was a girl that complained i got stuck in rollover state.
that was 8 years ago..
:B
Crouwel
(Dec 6 06, 16:42)
- PonyBoy0
there was a girl that complained i got stuck in rollover state.
that was 8 years ago..
:B
Crouwel
(Dec 6 06, 16:42)
- PonyBoy0
:)
- Crouwel0
oh snap!
- PonyBoy0
grrr... the minute I did that... my mouse stopped working on my main monitor.... FROZEN on the 'Broadcast Live' button...
... figures as much...
... daft eh?