Issue Details (XML | Word | Printable)

Key: FDT-2255
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: FDT Team
Reporter: richard rogers
Votes: 0
Watchers: 3

If you were logged in you would be able to see more operations.

External SWF Viewer always shrinks my swf

Created: 21/Jul/11 04:32 PM   Updated: 22/Jun/12 07:01 PM
Component/s: Launching
Affects Version/s: FDT 4.5.2
Fix Version/s: FDT 5.0
Security Level: public

Time Tracking:
Not Specified

File Attachments: None
Image Attachments:

1. Adobe Flash Player.jpg
(94 kB)

2. External SWF Viewer.jpg
(105 kB)
Environment: Mac OSX Lion (did same thing on Snow leopard)

 Description  « Hide
External SWF Viewer always shrinks my swf to about 100x50 pixels. doesn't matter what i change in the settings it's always the same for every project in my workspace. The window it opens is the correct size, just the swf inside it is shrunk Air Launcher and Adobe Flash Player both launch it fine.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Philipp Arnolds added a comment - 25/Jul/11 04:32 PM - edited
Hi Richard,

I guess you are working on OS X Lion?

The problem is that the embed tag inside the temporary html wrapper that FDT creates to launch your swf in does not include the width and height attribute. Older versions than OS X Lion and other operating systems do not need to set this to view the swf in the correct dimension. You can work around that issue by adding both attributes to an html wrapper you launch your swf in. You can use the temporary wrapper FDT creates for you, add the width and hight and launch this wrapper after compilation.

I have created a short screenshot that shows how to do so:

In the next version we will read the width and hight automaticly from the launcher and add it to the wrapper.

richard rogers added a comment - 27/Jul/11 08:46 AM
yep, that sorted it. thanks mate!

peyman pakzad added a comment - 29/Jul/11 02:12 PM - edited
I have the same Problem and I am not using Lion I am using snow leopart 10.6.8
The problem is, when you launch the index.html with a fixed width or height, you can not resize your application.
before you could resize the external swf viewer and see how the scaling was affecting your application.
WIll this be fixed with the next update?
the temporaryHTML file should embed the swf with 100% width and height

John Barrett added a comment - 04/Aug/11 01:23 AM
I am having the same problem when I test using the FDT External Player, but works in the flash player option.

Philipp Arnolds added a comment - 04/Aug/11 01:04 PM
It turned out that this issue is not caused by OSX Lion itself but by the WebKit the latest Safari is shipped with, Linux users using the latest firefox will also face this issue. Windows users are not affected.

@Peyman: You are right, setting the width and hight to 100% will let the External Swf Viewer behave like you are used to.

Thanks a lot for your feedback guys!

Philipp Arnolds added a comment - 09/Aug/11 08:49 AM
In the next update, the width and hight will be set to 100%

Philipp Arnolds added a comment - 11/Aug/11 03:30 PM
An fix for that issue has been released! FDT 4.5.3 is now available.
Thank you guys for your commitment!



peyman pakzad added a comment - 11/Aug/11 03:50 PM
wow.thats great.thanks to the team of fdt!