resize flash

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
I have a lash clock that is 1024 x 768. I need it to be 170 x 70. How do I do? I have tested this:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="170" height="70">
<param name="menu" value="false" />
<param name="movie" value="http://jagf.net/portal/images/clock.swf&w=170&h=70" />
<param name="quality" value="high" />
<embed src="http://jagf.net/portal/images/clock.swf&w=170&h=70" menu="false" quality="high" width="170" height="70" name="clock" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

You can see the result here http://jagf.net/style/prosilver/template/portal/block/clock.html under the clock tab to the left. How do I do it to show the whole not just the left corner of the flash file?

Do I need to convert the swf to a fla and then resize?
 
Last edited:

mattura

Member
Messages
570
Reaction score
2
Points
18
Make a swf of 170x70 pixels, then in actionscript create an empty clip, and load the clock into it.

code goes something like this:
_root.createEmptyMovieClip("empty",1);
_root.empty.loadMovie("intro.swf");

use _lockroot if the clock (or other swf) refers to _root anywhere
Edit:
also, look up the attributes of the object and embed tags, I think you can scale with them. salign="tl" aligns them to the top left.
 
Last edited:

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
Make a swf of 170x70 pixels, then in actionscript create an empty clip, and load the clock into it.

code goes something like this:
_root.createEmptyMovieClip("empty",1);
_root.empty.loadMovie("intro.swf");

use _lockroot if the clock (or other swf) refers to _root anywhere
Edit:
also, look up the attributes of the object and embed tags, I think you can scale with them. salign="tl" aligns them to the top left.


eh... I can't flash. I don't even know how to make an empty clip
 
Top