I've a swf file and i want to embed this file into HTML page but i don't know the exact dimension of swf . Windows XP file properties doesn't show the dimension and I don't have Adobe Flash software. Then how can i know the Dimension.
There are ways to open an SWF file without Flash as well. You can use the tools like SWF players or use the hidden Flash Player by Adobe. You can also convert these files to open.
swf files cannot be edited directly. Convert the swf file into the source file. Source file basically decompiles the swf files and break it into the text,images or other things that you have used to make the swf file. Once you have the separate things you can edit them and again compile and make your swf file.
SWF files can be viewed by pasting the url in the address box. 2. After pasting the code in the Notepad, simply replace the url of the swf file.
SWF file is an Adobe flash file format which contains videos and vector based animations.
There is a collection of utilities for working with SWF files called SWFTOOLS. You can grab the Windows binary from the Download page.
One of the tools in this package is swfdump
, which can tell you the dimension of an SWF file. It also can produce the proper HTML code for embedding (output from my Linux box):
# swfdump -X flash.swf
-X 724
# swfdump -Y flash.swf
-Y 147
# swfdump -E flash.swf
<object type="application/x-shockwave-flash"
data="flash.swf" width="724" height="147">
<param name="movie" value="flash.swf"/>
<param name="play" value="true"/>
<param name="quality" value="high"/>
</object>
Open it from your hard drive using Flash player -double click it- and then use JR Screen Ruler to look at its dimensions. If it happens to open in full screen mode just press ESC ;)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With