JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit

: The issue tracker is now writable again and logged users can download files too. But note that our support is very LIMITED.

List of issuesList of issues

#551 Which parameter decide the xoffset of text in DefineText?
Author: user rendu2mai
Date created:
Type: question
Visibility: Everybody
Assigned to: admin JPEXS
Labels: Text
State: closed Help

In DefineText, there's serveral parameters about xoffset: xmin, xmax & xoffset. Which one decide the final offset? I suppose xmin & xmax identify a rect, and xoffset is the final offset. However xoffset is a relative value regard of xmin xmas, or a absolute value of the screen? For example, xmin=40 xmax=200 xoffset=100, then the text is start from 40 or 140? Also, what unit is the offset? px or pt? Thank you.
And what if there's no xoffset, would the offset be xmin?
if xmin=40 and xoffset=100, then text starts at 100. xoffset is not relative to xmin. xmin,xmax,ymin,ymax identifies rectangle around all text records in the Definetext. All SWF units are twips. I twip = 1/20 of pixel at normal zoom level. If there is no xoffset, then xoffset is zero.
State: new→opened
Assigned:admin JPEXS
I think Xmax and Xmin draw a rectangle on the screen, and when xoffset=0, the text starts from Xmin, not zero, cause I saw the text is not from the very left but the middle.
Ok, that might be true. I haven't checked it much. Can I close this issue?
State: opened→closed