Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DefineEditText doesn’t follow alignment #3001

Closed
ousia opened this issue Jan 31, 2021 · 3 comments
Closed

DefineEditText doesn’t follow alignment #3001

ousia opened this issue Jan 31, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@ousia
Copy link
Contributor

ousia commented Jan 31, 2021

https://www.mejorar-presentaciones.tk/mejorar-presentaciones-loader.swf contains a progress bar which hasn’t centered text:

not-centered

as Flash projector displays it:

centered

The compiler from SWFTools defines an editext which is marked as centered.

I don’t know which information could help to fix this issue.

Many thanks for your help and your excellent work.

@ousia ousia added the bug Something isn't working label Jan 31, 2021
@ousia ousia changed the title edittext isn’t centered DefineEditText doesn’t follow aligment Jan 31, 2021
@ousia
Copy link
Contributor Author

ousia commented Jan 31, 2021

DefineEditText newloader should be centered according to JPEXS:

gotcha

From DefineEditText in the SWF spec (https://www.adobe.com/content/dam/acom/en/devnet/pdf/swf-file-format-spec.pdf#page=173):

Align          If HasLayout, UI8          0 = Left; 1 = Right; 2 =Center; 3 = Justify

I hope it helps.

@ousia
Copy link
Contributor Author

ousia commented Feb 5, 2021

@kmeisthax, according to #615, this should be a bug, not an unimplemented feature. Or am I missing something here?

@ousia ousia changed the title DefineEditText doesn’t follow aligment DefineEditText doesn’t follow alignment Feb 6, 2021
@ousia
Copy link
Contributor Author

ousia commented Jul 31, 2021

@hatal175, many thanks for #4953.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant