Unfortunately not AFAIK. As a swf can really be embedded at any dimensions, unless you crack open the swf somehow (as you mentioned, server-side), or by having a method inside the swf to call client-side (via the ExternalInterface class to expose something like Stage object properties), then there is nothing that I know of which will give you the dimensions of the swf dynamically at runtime on the client-side.
Do you control the swfs, or do they come from another source? Aran On Tue, Apr 26, 2011 at 1:53 PM, mikek12003 <[email protected]> wrote: > Is there a function in swfobject or javascript in which by providing > the swf path to get the width/height? I need them to display the swf > and because it is an automated procedure for many swfs doing it > manually in any way it's impossible, with php I used getimagesize() > which worked ok with both images and swf (which is exactly what I > want) butnow I do a client-side version so I want to do it with > javascript > > -- > You received this message because you are subscribed to the Google Groups > "SWFObject" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/swfobject?hl=en. > > -- You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
