Home › Forums › General XMetaL Discussion › Read Flash (SWF) dimensions › Reply To: Read Flash (SWF) dimensions
Reply to: Read Flash (SWF) dimensions
April 7, 2011 at 8:16 pmDepending on the desired workflow it might also be possible to call up this control without rendering it, or if that is not possible to call up IE and render it invisibly (that is possible) then query the value there, or maybe you don't mind rendering it (if a dialog is involved).
I'm thinking about a custom dialog (XFT) that would be similar to a standard “Browse for Image” dialog but that would call the ShockWave control (or actually embed it), at which point you could query the width and height, then when the control is dismissed it would populate the @width and @height.
To provide similar behavior (to force the user to select a file so that such an element never gets into the document without the width and height set) you could trigger the same dialog from an