Ok
I have a text field that I will be adding text to as people enter info. That field will grow each time.
I also have this cursor animation that I want to place at the end of the text field each time data is added.
So I am trying to use getBounds to find the height, which I will use on the y coordinate of the cursor.
How do I just pull the 'h=' out of getBounds?
This is all I have at moment:
The trace for getBounds give me this ... (x=12, y=94, w=170, h=100)
"Credit belongs to the man who is actually in the arena - T.Roosevelt
I have a text field that I will be adding text to as people enter info. That field will grow each time.
I also have this cursor animation that I want to place at the end of the text field each time data is added.
So I am trying to use getBounds to find the height, which I will use on the y coordinate of the cursor.
How do I just pull the 'h=' out of getBounds?
This is all I have at moment:
Code:
transcript_txt.getBounds(this)
trace (cursor.y - ( ))
trace (transcript_txt.getBounds(this))
trace (e.currentTarget.text)
The trace for getBounds give me this ... (x=12, y=94, w=170, h=100)
"Credit belongs to the man who is actually in the arena - T.Roosevelt