43 posts
  • 8 Years of Membership
  • Collector Level 4
  • 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
  • 9 Years of Membership
  • Affiliate Level 4
  • Author Level 7
  • Collector Level 3
+7 more
Chuckanucka
says

newCursor.swapthDepths (999999)

43 posts
  • 8 Years of Membership
  • Collector Level 4
  • 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
  • 8 Years of Membership
  • Collector Level 4
  • 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
  • 9 Years of Membership
  • Affiliate Level 4
  • Author Level 7
  • Collector Level 3
+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
  • Affiliate Level 3
  • Author Level 6
  • Collector Level 2
  • Trendsetter
+8 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
  • 8 Years of Membership
  • Collector Level 4
  • 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
  • 8 Years of Membership
  • Collector Level 4
  • 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