Dynamic According to the width and high of the Flash file, the adaptive size shows flash.
In 9CBS
The Flash stream media version saw that some netizens asked, only studied.
Lot two dimensions of Flash are: 1.swf, 2.swf
Test as follows in the same directory:
Embed> Object>
Function CH (SRC) {
Flash1.movie = SRC;
Var w = flash1.Getvariable ("stage.width");
Var h = flase.getvariable ("stage.height");
Flash1.width = W;
Flash1.height = h;
}
// ->
script>
You can adaptate the size!
Of course, if you want to automatically, not the click button, you can do this:
Function fixsizeflash (flash1) {
Flash1.width = W; flash1.height = h;
Embed> OBJECT>
With 9CBS related posts:
Http://community.9cbs.net/expert/topicView1.asp?id=3915854
Main topic: How to dynamically displays Flash based on the width and high of the Flash file
Community: Multimedia / Design Flash Streaming Media
Published: 2005-4-7 10:01:37