The mask within the flash file was not a movie clip but just a graphic with no name. I made it a movie clip, gave it a name and got odd numbers back. Think I may be addressing it incorrectly and will poke around some more. Using masks is very new for me both in Flash and in Xerte. <br>
<br>Why does the Text Flash SWF page template use a mask with the swf? Is it to mask any offstage elements in the swf that are not meant to be visible in the LO? <br><br>We've asked our flash animation developer to use a mask within the swf to accomplish this same thing.<br>
<br>Thanks!<br>ma<br><br><br><div class="gmail_quote">On Tue, Aug 24, 2010 at 3:43 AM, Julian Tenney <span dir="ltr"><<a href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-GB">
<div>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">The movieclip must have a name – you must be able to address it
somehow?</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">_level0.IFC.blah.yourSWF.mask etc?</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0cm 0cm;">
<p class="MsoNormal" style="margin-left: 36pt;"><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US">
<a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>
[mailto:<a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Mary Ann
Ahearn<br>
<b>Sent:</b> 23 August 2010 17:34<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> Re: [Xerte] Stage size of embedded swf - Xerte 2 Desktop</span></p>
</div><div><div></div><div class="h5">
<p class="MsoNormal" style="margin-left: 36pt;"> </p>
<p class="MsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;">Thanks, Julian & Peter.<br>
<br>
The mask does not have a name but I do have the source files and will give it
one to test out the theory. <br>
<br>
Thanks!<br>
ma</p>
<div>
<p class="MsoNormal" style="margin-left: 36pt;">On Mon, Aug 23, 2010 at 6:26 AM,
Julian Tenney <<a href="mailto:Julian.Tenney@nottingham.ac.uk" target="_blank">Julian.Tenney@nottingham.ac.uk</a>> wrote:</p>
<div>
<div>
<p class="MsoNormal" style="margin-left: 36pt;"><span style="font-size: 11pt; color: rgb(31, 73, 125);">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..?</span></p>
<p class="MsoNormal" style="margin-left: 36pt;"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<div style="border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0cm 0cm; border-color: -moz-use-text-color;">
<p class="MsoNormal" style="margin-left: 72pt;"><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>
[mailto:<a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>]
<b>On Behalf Of </b>Mary Ann Ahearn<br>
<b>Sent:</b> 20 August 2010 19:07<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> [Xerte] Stage size of embedded swf - Xerte 2 Desktop</span></p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-left: 72pt;"> </p>
<p class="MsoNormal" style="margin-bottom: 12pt; margin-left: 72pt;">Hi all,<br>
I can't figure this one out, and can't find anything in the list
archives. Anybody know if this is possible?<br>
<br>
I'm trying to get at the <u>stage</u> 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.<br>
<br>
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.<br>
<br>
The stage for the swf is 440 x 158, but graphic._width returns 481.9 which
includes the stuff we don't see.<br>
<br>
Thanks!<br>
ma<br>
<br>
<br>
<br>
<br>
<br>
<br>
</p>
</div>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left: 36pt;"> </p>
<p style="margin-left: 36pt;">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. </p>
<p style="margin-left: 36pt;">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. </p>
</div>
</div>
<p class="MsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;"><br>
_______________________________________________<br>
Xerte mailing list<br>
<a href="mailto:Xerte@lists.nottingham.ac.uk" target="_blank">Xerte@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>
<br>
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.<br>
<br>
This message has been checked for viruses but the contents of an attachment<br>
may still contain software viruses which could damage your computer system:<br>
you are advised to perform your own checks. Email communications with the<br>
University of Nottingham may be monitored as permitted by UK legislation.<br>
<br>
</p>
</div>
<p class="MsoNormal" style="margin-left: 36pt;"> </p>
</div></div></div>
</div>
<br>_______________________________________________<br>
Xerte mailing list<br>
<a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>
<br>
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.<br>
<br>
This message has been checked for viruses but the contents of an attachment<br>
may still contain software viruses which could damage your computer system:<br>
you are advised to perform your own checks. Email communications with the<br>
University of Nottingham may be monitored as permitted by UK legislation.<br>
<br>
<br></blockquote></div><br>