<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Do either of the buttons have the initial state of visible 0 set in the properties panel?<br><br><br><br><hr id="stopSpelling">Subject: RE: [Xerte] Button using swf flashes on screen<br>Date: Wed, 16 Dec 2009 09:13:17 +0000<br>From: johnathan.kemp@cxstaffs.co.uk<br>To: xerte@lists.nottingham.ac.uk<br><br>




<style>
.ExternalClass .ecxhmmessage P
{padding-right:0px;padding-left:0px;padding-bottom:0px;padding-top:0px;}
.ExternalClass BODY.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</style>



<div dir="ltr" align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial">I have just completed a page with two buttons that display using 
the same swf.</font></span></div>
<div dir="ltr" align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial">Initially the first button is displayed, when you click on this 
button,</font></span></div>
<ul dir="ltr">
  <li>
  <div align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial">some text is displayed</font></span></div></li>
  <li>
  <div align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial">the first button is made invisible</font></span></div></li>
  <li>
  <div align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial">the second button is displayed</font></span></div></li></ul>
<div dir="ltr" align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial">When you click the second button </font></span></div>
<ul dir="ltr">
  <li>
  <div align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial">the second button is made invisible</font></span></div></li>
  <li>
  <div align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial">the text is made invisible</font></span></div></li>
  <li>
  <div align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial">an image is displayed</font></span></div></li></ul>
<div dir="ltr" align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial">This is achieved without flicker</font></span></div>
<div dir="ltr" align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial">The interaction structure is as follows. The final script sets up 
the initial visibility requirements for the page, the button scripts then change 
visibilities as required.</font></span></div>
<div dir="ltr" align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial">Interaction (perpetual = 0)</font></span></div>
<div dir="ltr" align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial">&nbsp; Button1</font></span></div>
<div dir="ltr" align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial">&nbsp;&nbsp;&nbsp;&nbsp; Script (button2._visible = true; 
text._visible = true; button1._visible = false;)</font></span></div>
<div dir="ltr" align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial">&nbsp; Button 2</font></span></div>
<div dir="ltr" align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial">&nbsp;&nbsp;&nbsp;&nbsp; Script (image._visible = true; 
text._visible = false; button2._visible = false;)</font></span></div>
<div dir="ltr" align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial">&nbsp; Script (image._visible = false; text._visible = false; 
button2._visible = false;)</font></span></div>
<div dir="ltr" align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial">I don't know if this will help you resolve your 
problem</font></span></div>
<div dir="ltr" align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial">Kind regards</font></span></div>
<div dir="ltr" align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial">Johnathan</font></span></div>
<div dir="ltr" align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="ecx116515808-16122009"><font color="#0000ff" face="Arial"></font></span>&nbsp;</div>
<font face="Arial">Johnathan Kemp<br>ICT Development Coordinator<br>Connexions 
Staffordshire<br></font><a href="http://www.cxstaffs.co.uk/"><font face="Arial">www.cxstaffs.co.uk</font></a><br><font face="Arial">01785 
355714<br></font><BR><font face="Arial"></font>
&nbsp;<BR>
<div>&nbsp;</div><br>
<div class="ecxOutlookMessageHeader" dir="ltr" align="left" lang="en-us">
<hr>
<font face="Tahoma"><b>From:</b> Dave Burnett [mailto:d_b_burnett@hotmail.com] 
<br><b>Sent:</b> 15 December 2009 18:25<br><b>To:</b> Xerte 
list<br><b>Subject:</b> RE: [Xerte] Button using swf flashes on 
screen<br></font><br></div>
<div></div>Hi Paul,<br><br>I did use the rs as a target to make the button 
visible again:<br><br>prev_button_rs._visible = 1;<br><br>Dave<br><br><br><br>
<hr id="ecxstopSpelling">
Subject: RE: [Xerte] Button using swf flashes on screen<br>Date: Tue, 15 Dec 
2009 10:14:16 -0800<br>From: Paul.Swanson@harlandfs.com<br>To: 
xerte@lists.nottingham.ac.uk<br><br>
<style>
.ExternalClass .ecxshape
{;}
</style>

<style>
@page Section1
{size:8.5in 11.0in;}
.ExternalClass P.ecxMsoNormal
{font-size:12pt;margin-bottom:0pt;font-family:'Times New Roman','serif';}
.ExternalClass LI.ecxMsoNormal
{font-size:12pt;margin-bottom:0pt;font-family:'Times New Roman','serif';}
.ExternalClass DIV.ecxMsoNormal
{font-size:12pt;margin-bottom:0pt;font-family:'Times New Roman','serif';}
.ExternalClass A:link
{color:blue;text-decoration:underline;}
.ExternalClass SPAN.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass A:visited
{color:purple;text-decoration:underline;}
.ExternalClass SPAN.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass P
{font-size:12pt;margin-left:0in;margin-right:0in;font-family:'Times New Roman','serif';}
.ExternalClass SPAN.ecxEmailStyle18
{color:#1f497d;font-family:'Calibri','sans-serif';}
.ExternalClass SPAN.ecxEmailStyle19
{font-weight:normal;color:#1f497d;font-style:normal;font-family:'Calibri','sans-serif';text-decoration:none;}
.ExternalClass .ecxMsoChpDefault
{font-size:10pt;}
.ExternalClass DIV.ecxSection1
{page:Section1;}
</style>

<div class="ecxecxSection1">
<p class="ecxecxMsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: 'Calibri','sans-serif';">When 
I want to hide a graphic element, I use iconID.fade(‘out’, &nbsp;.01);, then 
fade it in when I want to reveal it: iconID.fade(‘in’, 1);</span></p>
<p class="ecxecxMsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: 'Calibri','sans-serif';"></span>&nbsp;</p>
<p class="ecxecxMsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: 'Calibri','sans-serif';">For 
a button, you’ll probably need to use the rs property instead of the id 
property.</span></p>
<p class="ecxecxMsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: 'Calibri','sans-serif';"></span>&nbsp;</p>
<div style="border-style: none none none solid; border-color: -moz-use-text-color; border-width: medium medium medium 1.5pt; padding: 0in 0in 0in 4pt;">
<div>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p class="ecxecxMsoNormal"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"> 
xerte-bounces@lists.nottingham.ac.uk 
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Julian 
Tenney<br><b>Sent:</b> Tuesday, December 15, 2009 10:06 AM<br><b>To:</b> Xerte 
discussion list<br><b>Subject:</b> RE: [Xerte] Button using swf flashes on 
screen</span></p></div></div>
<p class="ecxecxMsoNormal">&nbsp;</p>
<p class="ecxecxMsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: 'Calibri','sans-serif';" lang="EN-GB">I’m 
not sure what’s happening here…?</span></p>
<p class="ecxecxMsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: 'Calibri','sans-serif';" lang="EN-GB"></span>&nbsp;</p>
<p class="ecxecxMsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: 'Calibri','sans-serif';" lang="EN-GB">You 
have a swf button, set to be invisible? Not sure I’ve ever had a button set to 
invisible – I personally don’t like to hide and show buttons, prefer to enable / 
disable them, but maybe that’s just me…</span></p>
<p class="ecxecxMsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: 'Calibri','sans-serif';" lang="EN-GB"></span>&nbsp;</p>
<p class="ecxecxMsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: 'Calibri','sans-serif';" lang="EN-GB">But 
if its set to be invisible it ought to be invisible – i.e. not flicker… probably 
a timing thiig in the engine, as it probably waits for the button to load before 
setting the visibility, hence the flicker. I’ll look tomorrow.</span></p>
<p class="ecxecxMsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: 'Calibri','sans-serif';" lang="EN-GB"></span>&nbsp;</p>
<p class="ecxecxMsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: 'Calibri','sans-serif';" lang="EN-GB">J</span></p>
<p class="ecxecxMsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: 'Calibri','sans-serif';" lang="EN-GB"></span>&nbsp;</p>
<div>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p class="ecxecxMsoNormal" style="margin-left: 0.5in;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"> 
xerte-bounces@lists.nottingham.ac.uk 
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Dave 
Burnett<br><b>Sent:</b> Tuesday, December 15, 2009 6:02 PM<br><b>To:</b> Xerte 
list<br><b>Subject:</b> [Xerte] Button using swf flashes on 
screen</span></p></div></div>
<p class="ecxecxMsoNormal" style="margin-left: 0.5in;"><span lang="EN-GB"></span>&nbsp;</p>
<p class="ecxecxMsoNormal" style="margin-bottom: 12pt; margin-left: 0.5in; margin-right: 0in;"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';" lang="EN-GB">I have 
set the visible prop to 0 for that response, but I get a momentary on-screen 
flash of the swf before it hides.<br>Expected behavior or I've sequenced 
something wrong?<br><br></span></p>
<div style="margin-left: 0.5in;">
<div class="ecxecxMsoNormal" style="text-align: center;" align="center"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';" lang="EN-GB">
<hr align="center" width="100%" size="2">
</span></div></div>
<p class="ecxecxMsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';" lang="EN-GB">Hotmail: Trusted 
email with powerful SPAM protection. <a href="http://clk.atdmt.com/GBL/go/177141665/direct/01/">Sign up 
now.</a></span></p></div></div><br>
<hr>
Hotmail: Free, trusted and rich email service. <a href="http://clk.atdmt.com/GBL/go/171222984/direct/01/">Get it 
now.</a> <div style="" align="\&quot;center\&quot;"><hr width="\&quot;100%\&quot;">This email and any files transmitted with it are confidential and are intended solely for the use of the individual(s) or entity(s) to whom they are addressed. All messages are monitored for virus, high risk files and inappropriate content. As a result users should be aware that this mail maybe accessed, read and the right is reserved to reject, return, remove attachments or delete if considered to be inappropriate or unsuitable. Liability cannot be accepted for any loss or damage arising from this email (or any attachments) or from scripts or any virus transmitted.



This communication represents the originator's personal views and opinions, which do not necessarily reflect those of Connexions Staffordshire. If you are not the original recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error, and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you received this email in error, please immediately reply to the sender or notify postmaster@cxstaffs.co.uk





Connexions Staffordshire Limited is registered in England No.4355170

Registered office: Foregate House, 70 Foregate Street, Stafford, Staffordshire, ST16 2PX</div>                                               <br /><hr />Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. <a href='http://clk.atdmt.com/GBL/go/171222985/direct/01/' target='_new'>Sign up now.</a></body>
</html>