all groups > flash actionscript > march 2005 >
You're in the

flash actionscript

group:

flash script must not be working?!? help!


flash script must not be working?!? help! chal7ds
3/1/2005 8:04:36 PM
flash actionscript:
Hello Everyone, I have a flash file that is acting weird when one of the
functions in it is supposed to take place. It's a jersey map with subdivisions
of counties on it. When the user places their cursor over a county, a little
box pops up telling info about that particular county. I got the actionscript
all set up in the mc's and i actually get the outside box to pop up when you go
over one of the counties so far (the middlesex county)...but here's my problem:
When the box pops up, it 'shakes' back and forth and blinks on and off...and
when you move your mouse around the stage..it keeps shaking & blinking. And
when you go off of the map itself, it doesn't go away. Check out my file...go
to http://www.chal-art-draft.com/ and then click on the file called,
'jerseymap1.zip'...it will have the file you can download it and check out my
code. If anyone can figure this out, that would be awesome. I just want it to
pop up and stay solid and not shake..and then go away when you rollout from the
particular county. any hlp much appreciated..thanx
Re: flash script must not be working?!? help! seanhaddy
3/1/2005 8:10:14 PM
Re: flash script must not be working?!? help! chal7ds
3/1/2005 8:29:46 PM
Re: flash script must not be working?!? help! Ganesh GV
3/2/2005 6:42:46 AM
Hi chal7ds

u have to change ur code in 2 places.

1. unloadMovie syntax is wrong.

on(rollOver){
loadMovie("middlesex.swf", _root.emptyMC);
}
on(rollOut){
_root.emptyMC.unloadMovie(); // change 1
}

2. change _xmouse to _root._xmouse in onClipEvent(enterframe) of emptyMC

onClipEvent(enterframe){
this._x = _root._xmouse; //change2
this._y = _root._ymouse; //change2

}

thats all
hope this works fine for u..............

Re: flash script must not be working?!? help! chal7ds
3/2/2005 5:25:22 PM
AddThis Social Bookmark Button