How to resize a flash animation to fit HTML container?
Posted
by Andree
on Stack Overflow
See other posts from Stack Overflow
or by Andree
Published on 2010-03-18T11:39:12Z
Indexed on
2010/03/18
11:41 UTC
Read the original article
Hit count: 383
Hi there,
I have a flash animation with the size of 1280x1024 and I want to embed it into an HTML file. I want the flash file to be displayed in 800x600. This is my code:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<body align="center">
<object>
<param name="movie" value="/flash/connect.swf" />
<embed src="/flash/connect.swf" width="800" height="600"></embed>
</object>
</body>
</html>
Well, it doesn't work. I do have a 800x600 frame, but the flash file itself still displayed on its original size. Can someone tell me what have I done wrong here?
Thanks, Andree
© Stack Overflow or respective owner