Ticket #44 (closed defect: fixed)
Viewer does not correctly size swfs using -swf and -out
| Reported by: | anonymous | Owned by: | asdt.org |
|---|---|---|---|
| Priority: | critical | Milestone: | xASDT 0.0.9 Release |
| Component: | viewer | Version: | 0.0.9 |
| Keywords: | Viewer embed size | Cc: |
Description (last modified by mb0) (diff)
When compiling a swf that includes the content of another (using -swf and -out with mtasc), Viewer embeds with HTML setting the size of both the object and the embed tags to "100%" height and width. This causes the size to default to a fixed smaller height with a 100% width.
JavaScript? in org.asdt.viewer.properties.SWFPropertyPage.java for DEFAULT_HTML starting @ line 56 should include the height and width dimensions of the swf referenced in -swf.
Consider possibly not disabling the height and width properties of the builder config, just continue to not include -header in the mtasc path. This would allow users to specify the height and width of the swf referenced in -swf.

