Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Opening flash .swf and constraining it to it's original size rather than full-screen

  • 3 replies
  • 1 has this problem
  • 1 view
  • Last reply by cor-el

more options

When I open a flash object (.swf) from my desktop to test it, it opens full screen. I would like to constrain it so that it opens to the size it was created, e.g., 800 x 600.

When I open a flash object (.swf) from my desktop to test it, it opens full screen. I would like to constrain it so that it opens to the size it was created, e.g., 800 x 600.

Chosen solution

If you open an SWF link directly in a browser tab then you always get the dimensions of that tab. You either have to open the link in a new window and resize it or use the above mentioned bookmarklet code with a keyword and the url as the parameter to replace the %S. Bookmarklet code like that is very handy as you can also use it if Firefox insists in downloading a file (image) and you want to open it in a tab. Of course you need to supply the correct MIME type in that case.


Read this answer in context 👍 0

All Replies (3)

more options

You a keyword bookmarklet like this:

data:text/html,<embed type="application/x-shockwave-flash" width="800" height="600" src="%S">
more options

The .swf files are not part of an html page. I'm testing them from my desktop by double-clicking. I'm wondering if the problem of them opening full screen rather than being constrained to their created size might have something to do with Windows 7.

more options

Chosen Solution

If you open an SWF link directly in a browser tab then you always get the dimensions of that tab. You either have to open the link in a new window and resize it or use the above mentioned bookmarklet code with a keyword and the url as the parameter to replace the %S. Bookmarklet code like that is very handy as you can also use it if Firefox insists in downloading a file (image) and you want to open it in a tab. Of course you need to supply the correct MIME type in that case.