[Xerte] Stage size of embedded swf - Xerte 2 Desktop

Mary Ann Ahearn maryann at moberg.com
Mon Aug 23 17:33:41 BST 2010


Thanks, Julian & Peter.

The mask does not have a name but I do have the source files and will give
it one to test out the theory.

Thanks!
ma

On Mon, Aug 23, 2010 at 6:26 AM, Julian Tenney <
Julian.Tenney at nottingham.ac.uk> wrote:

>  There is only one stage – the loaded .swf’s dimensions are all you have.
> If you can discover the name of the loaded’s swf’s mask, you can get the
> dimensions from that..?
>
>
>
> *From:* xerte-bounces at lists.nottingham.ac.uk [mailto:
> xerte-bounces at lists.nottingham.ac.uk] *On Behalf Of *Mary Ann Ahearn
> *Sent:* 20 August 2010 19:07
> *To:* Xerte discussion list
> *Subject:* [Xerte] Stage size of embedded swf - Xerte 2 Desktop
>
>
>
> Hi all,
> I can't figure this one out, and can't find anything in the list archives.
> Anybody know if this is possible?
>
> I'm trying to get at the *stage* width and height of a swf loaded onto a
> page.  I'm using the Text Flash SWF page template with a swf that has
> elements hanging off the sides of the stage that we don't see because of a
> mask.
>
> Graphic._width returns the width of everything including the elements we
> don't see, so when the template places a panel behind it, it's too wide.
> Not a big deal to fix by hand but it would be great if I could somehow get
> at the swf stage width & height to size the panel automatically.
>
> The stage for the swf is 440 x 158, but graphic._width returns 481.9 which
> includes the stuff we don't see.
>
> Thanks!
> ma
>
>
>
>
>
>
>
>
>  This message and any attachment are intended solely for the addressee and
> may contain confidential information. If you have received this message in
> error, please send it back to me, and immediately delete it. Please do not
> use, copy or disclose the information contained in this message or in any
> attachment. Any views or opinions expressed by the author of this email do
> not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
> This message and any attachment are intended solely for the addressee and
> may contain confidential information. If you have received this message in
> error, please send it back to me, and immediately delete it.   Please do not
> use, copy or disclose the information contained in this message or in any
> attachment.  Any views or opinions expressed by the author of this email do
> not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20100823/0500f721/attachment.html


More information about the Xerte mailing list