Can I do this?

I have a little cube that follows the mouse @ http://www.besgrove.net . I want to make it dissapear when the mouse is over the blue section of the page. Is this possible?

Also, can the right click menu be removed completely? I have seen this done with software that uses flash, e.g PSP 7.0 uses a little flash trip during the installation and a splash page after it is installed… I have seen no right click scripts at dynamicdrive and such but they don’t work over flash??

What else can be used in the parameter tags other than bg colour and false menu??

oh yeah, sweeeeeet forum btw…

Daveman…

I’m not sure if this would work, but it’s worth the shot. You can maybe use hittest and the _visible property for this something like this:

onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
	_root.cubeMC._visible = false;
 } else {
	_root.cubeMC._visible = true;
}

You would convert the blue area into a movieclip or create a invisible movieclip the same size as the blue area and apply that script above to it. So on when the mouse moves over the blue area, it would set the cube “cubeMC” to visible = false and when the mouse moves out of the blue area, it is set to visible = true again.

Make sure the cube that is following your mouse is a movieclip and give it an instance name of “cubeMC”.

As for a script that completely disables the flash right click menu, I have not seen something like that. :-\

Thanks

:A+: The invisible layer on top works well, much appreciated. Anybody else on the right click thing ?

Daveman

You can’t disable the right click on your flash movie completely. You can get it down to settings and About Macromedia, but thats about it.

This is Macromedias only way to get credit for what they made (the flash program itself), so I doubt they will make a legit way to remove this.

Thanks Lost, kinda like Adobe watermarking images if you ask me…

Yeah, with how expensive that program is I don’t think its fair that they do that either, but hey… its their program :-\

None beat it, so we are stuck… unfortunately :frowning: