Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 154536

Re: Drag/Drop Small MC Objects

$
0
0

Hi Ned,

 

I think that is what I'm doing, but I can re-check.

 

Steps:

(1) create 6X6 dot, convert to MC, give it instance name as well; (2) create 14X14 dot, convert to MC, give it instance name as well; (3) smaller dot/MC layer to top, bigger dot/MC layer to bottom; (4) select both and convert to MC with instance name as well; (5) script MCcombined.MCBiggerDot.alpha = 0;

(6) using drag/drop event listeners (start drag, stop drag, etc.) script drag and drop for MCcombined: result--smaller dot can be grabbed but area around it (representing the bigger dot with alpha=0 dot cannot be grabbed.

 

I must be doing something wrong.

 

But another solution that I found is to scaleX, scaleY the smaller dot (by itself) so that when clicked/unclicked it gets bigger and smaller.

 

saratogacoach


Viewing all articles
Browse latest Browse all 154536

Trending Articles