movie clip width

Community Beginner ,
May 24, 2021 May 24, 2021

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.

Views

146

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
community guidelines

correct answers 1 Correct answer

Adobe Community Professional , May 24, 2021 May 24, 2021
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

Likes

Translate

Translate
Adobe Community Professional ,
May 24, 2021 May 24, 2021

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

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
community guidelines
Community Beginner ,
May 26, 2021 May 26, 2021

Copy link to clipboard

Copied

thanks it is work

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
community guidelines
Adobe Community Professional ,
May 26, 2021 May 26, 2021

Copy link to clipboard

Copied

LATEST

You're welcome.

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
community guidelines