tags:

views:

236

answers:

2

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

A: 

AFAIK, Flash objects cannot be resized run-time. They can only be re-authored. Someone correct or confirm me.

Dercsár
A: 

You have to set inside as precompiled code the parameters stage.align = "left" stage.scale = "noscale" and compile it to preserve dimensions

markcial