Copy link to clipboard
Copied
how can i know the width of the movie clip?
i tried this.box.width
but it is not work.
Hi.
If width didn't work, I assume you're working on an HTML5 Canvas document.
If so, try one of the following:
this.yourMC.nominalBounds.width;
this.yourMC.getBounds().width;
I hope it helps.
Regards,
JC
Copy link to clipboard
Copied
Hi.
If width didn't work, I assume you're working on an HTML5 Canvas document.
If so, try one of the following:
this.yourMC.nominalBounds.width;
this.yourMC.getBounds().width;
I hope it helps.
Regards,
JC
Copy link to clipboard
Copied
thanks it is work
Copy link to clipboard
Copied
You're welcome.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now