Highlighted

Hand pointer

Explorer ,
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?

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"; });

 

TOPICS
Code, How to

Views

622

Likes

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

Hand pointer

Explorer ,
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?

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"; });

 

TOPICS
Code, How to

Views

623

Likes

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
Nov 11, 2019 0
Explorer ,
Nov 11, 2019

Copy link to clipboard

Copied

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

Likes

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
Reply
Loading...
Nov 11, 2019 0
Adobe Community Professional ,
Nov 11, 2019

Copy link to clipboard

Copied

Likes

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
Reply
Loading...
Nov 11, 2019 0
Explorer ,
Nov 11, 2019

Copy link to clipboard

Copied

Can show me that with code.

Likes

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
Reply
Loading...
Nov 11, 2019 0
Adobe Community Professional ,
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.

Likes

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
Reply
Loading...
Nov 11, 2019 1
Explorer ,
Nov 12, 2019

Copy link to clipboard

Copied

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"; });

 

Likes

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
Reply
Loading...
Nov 12, 2019 0