• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Hand pointer

Participant ,
Nov 11, 2019 Nov 11, 2019

Copy link to clipboard

Copied

I want a hand pointer when pointing to a circle and an arrow outside a circle. The circle is a MovieClip. How do I do this?

TOPICS
Code , How to

Views

1.7K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Nov 12, 2019 Nov 12, 2019

If your circle movieclip has an instance name of circlemc, the code would look like this:

stage.enableMouseOver(10);
this.circlemc.on("mouseover",function(e){ this.cursor = "pointer"; });

 

Votes

Translate

Translate
Participant ,
Nov 11, 2019 Nov 11, 2019

Copy link to clipboard

Copied

I forgot that it should be HTML5 canvas and CreateJS javascript.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 11, 2019 Nov 11, 2019

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 11, 2019 Nov 11, 2019

Copy link to clipboard

Copied

Can show me that with code.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 11, 2019 Nov 11, 2019

Copy link to clipboard

Copied

If you set your movieclip property to button in the instance panel (not the library) you will have the hand (pointer) but it will still behave as a movieclip. You can also use it as a button of course.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 12, 2019 Nov 12, 2019

Copy link to clipboard

Copied

LATEST

If your circle movieclip has an instance name of circlemc, the code would look like this:

stage.enableMouseOver(10);
this.circlemc.on("mouseover",function(e){ this.cursor = "pointer"; });

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines