all groups > macromedia flash sitedesign > july 2005 >
You're in the

macromedia flash sitedesign

group:

Dynamic Flash element sizing


Dynamic Flash element sizing Wally Kolcz
7/26/2005 3:25:55 PM
macromedia flash sitedesign:
My site, projectproofing.com, allows for members to post flash files for
clients to proof online,
but I have having issues with the sizing.

When placing dynamic photos online, if I remove the width and height of a
image placeholder, it will show as the correct size of the image that is
uploaded.

How can I make an embedded flash player respect the actual size of the file
that is uploaded? I tried to remove the width and height to let the actual
file uploaded dictate the size, but it comes up small and squared.

Listed below is the original flash code with the predetermined sizes:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca
b#version=6,0,29,0" width="560" height="400">
<param name="movie"v
alue="proofs/<%=(pi.Fields.Item("image").Value)%>" />
<param name="quality" value="high "/>
<embed src="proofs/<%=(pi.Fields.Item("image").Value)%>"
width="560" height="400" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash"></embed>
</object>

Please help.

Re: Dynamic Flash element sizing Wally Kolcz
7/26/2005 6:03:30 PM
Ok, well beyond my expertise!

[quoted text, click to view]

Re: Dynamic Flash element sizing Randy1969
7/26/2005 9:58:34 PM
What you would need to do is a make a movie that loads the image or movie
specified in a flash params. This movie would then issue a command to
javascript to resize itself to the size of the loaded movie.
AddThis Social Bookmark Button