Ticket #44 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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.

Attachments

mylyn-context.zip (0.7 kB) - added by mb0 3 years ago.
mylyn/context/zip

Change History

Changed 3 years ago by timothee

On gentoo/eclipse_3.2, the swf viewer was working fine with asdt-0.0.9-test-07-06-07 but is no longer sized properly with asdt-0.0.9-beta .

Changed 3 years ago by mb0

  • status changed from new to closed
  • resolution set to fixed
  • description modified (diff)

hijacked yet another ticket :). added css width:100% and height:100% to body. the swf is now is now spanning the whole browser widget again.

btw changed player codebase from player 7 to current and changed charset to utf-8

Changed 3 years ago by mb0

mylyn/context/zip

Note: See TracTickets for help on using tickets.