43 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 100+ items on Envato Market
  • Located in United Kingdom
parklife76
says

I’ve set up my mouse cursor so it changes to a graphic. The problem is it always appears behind any movie that I load in.

How can I get the mouse to always appear on the TOP of all movies?

The code I’m using for the cursor is pretty simple stuff: Mouse.hide(); startDrag(“newCursor”, true);

Thanks in advance

2671 posts
  • Has been part of the Envato Community for over 8 years
  • Has referred 100+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has collected 50+ items on Envato Market
+7 more
Chuckanucka
says

newCursor.swapthDepths (999999)

43 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 100+ items on Envato Market
  • Located in United Kingdom
parklife76
says

Thanks for the quick reply Chuckanucka and sorry for my lack of AS knowledge but where would that go in the script?

43 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 100+ items on Envato Market
  • Located in United Kingdom
parklife76
says

I’ve looked on the good old World Wide Web and I found this A/S and the cursor now works:

Mouse.hide(); startDrag(“newCursor”, true); this.swapDepths(this._y);

However (lol) the new problem is is that I can no longer click on any links!!!!!

Any help much appreciated

2671 posts
  • Has been part of the Envato Community for over 8 years
  • Has referred 100+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has collected 50+ items on Envato Market
+7 more
Chuckanucka
says
Thanks for the quick reply Chuckanucka and sorry for my lack of AS knowledge but where would that go in the script?

sorry for the typo should be:

newCursor.swapDepths (999999)

just place it after you have defined newCursor, or if its just a mc on the stage, anywhere will be fine.

3072 posts
  • Has referred 50+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Had an item that became a weekly top seller
+7 more
wickedpixel
says

the links don’t work because the mouse clicks on your new cursor :)
add this in your cursor :

this.enabled = false;

43 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 100+ items on Envato Market
  • Located in United Kingdom
parklife76
says

WickedPixel, thanks for the reply.

But apolgies (it’s me I know it is!!) but my current A/S is now this:

Mouse.hide(); startDrag(“newCursor”, true); this.swapDepths(this._y); this.enabled = false;

but it’s still not working.

Sorry to be a pain, any ideas why the mouse click in not working?

43 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 100+ items on Envato Market
  • Located in United Kingdom
parklife76
says

WickedPixel, your script works when I get rid of the: this.swapDepths(this._y);

But I end up with the original problem with the cursor behind the movie!!!!

by
by
by
by
by
by