Answered
Hey all Pretty sure this is not doable but trying anyways: I'm looking to read with Javascript the height of a text box as set inside Animate. Meaning - I have set a text box in Animate which is higher than the text that it holds. I would like to read the height of the box. For a given instance, named lets say "message", then this.message..getBounds().height, this.message..getMeasuredHeight(), etc... all return the height of the actual text, not the height of the box holding that text. Does anyone have an idea how to get the box's height? Thnx in advance!
This topic has been closed for replies.
Hi.
As far as I can tell, that bounding box is only used in the author time. That information is not retained in the output.
Perhaps a workaround would be to adjust your text box to have a height that is the multiple of a line of text. So you can get the height of one single line of text and multiply it by 2, 3, 4 and so on.
Regards,
JC
Sign up
Already have an account? Login
To post, reply, or follow discussions, please sign in with your Adobe ID.
Sign inSign in to Adobe Community
To post, reply, or follow discussions, please sign in with your Adobe ID.
Sign inEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.
