<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE>.hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-SIZE: 10pt; FONT-FAMILY: Verdana
}
</STYLE>
<META content="MSHTML 6.00.6000.16825" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV dir=ltr align=left><SPAN class=116515808-16122009><FONT face=Arial
color=#0000ff>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=116515808-16122009><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=116515808-16122009><FONT face=Arial
color=#0000ff>Initially the first button is displayed, when you click on this
button,</FONT></SPAN></DIV>
<UL dir=ltr>
<LI>
<DIV align=left><SPAN class=116515808-16122009><FONT face=Arial
color=#0000ff>some text is displayed</FONT></SPAN></DIV></LI>
<LI>
<DIV align=left><SPAN class=116515808-16122009><FONT face=Arial
color=#0000ff>the first button is made invisible</FONT></SPAN></DIV></LI>
<LI>
<DIV align=left><SPAN class=116515808-16122009><FONT face=Arial
color=#0000ff>the second button is displayed</FONT></SPAN></DIV></LI></UL>
<DIV dir=ltr align=left><SPAN class=116515808-16122009><FONT face=Arial
color=#0000ff>When you click the second button </FONT></SPAN></DIV>
<UL dir=ltr>
<LI>
<DIV align=left><SPAN class=116515808-16122009><FONT face=Arial
color=#0000ff>the second button is made invisible</FONT></SPAN></DIV></LI>
<LI>
<DIV align=left><SPAN class=116515808-16122009><FONT face=Arial
color=#0000ff>the text is made invisible</FONT></SPAN></DIV></LI>
<LI>
<DIV align=left><SPAN class=116515808-16122009><FONT face=Arial
color=#0000ff>an image is displayed</FONT></SPAN></DIV></LI></UL>
<DIV dir=ltr align=left><SPAN class=116515808-16122009><FONT face=Arial
color=#0000ff>This is achieved without flicker</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=116515808-16122009><FONT face=Arial
color=#0000ff>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=116515808-16122009><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=116515808-16122009><FONT face=Arial
color=#0000ff>Interaction (perpetual = 0)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=116515808-16122009><FONT face=Arial
color=#0000ff> Button1</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=116515808-16122009><FONT face=Arial
color=#0000ff> Script (button2._visible = true;
text._visible = true; button1._visible = false;)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=116515808-16122009><FONT face=Arial
color=#0000ff> Button 2</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=116515808-16122009><FONT face=Arial
color=#0000ff> Script (image._visible = true;
text._visible = false; button2._visible = false;)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=116515808-16122009><FONT face=Arial
color=#0000ff> Script (image._visible = false; text._visible = false;
button2._visible = false;)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=116515808-16122009><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=116515808-16122009><FONT face=Arial
color=#0000ff>I don't know if this will help you resolve your
problem</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=116515808-16122009><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=116515808-16122009><FONT face=Arial
color=#0000ff>Kind regards</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=116515808-16122009><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=116515808-16122009><FONT face=Arial
color=#0000ff>Johnathan</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=116515808-16122009><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=116515808-16122009><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=116515808-16122009><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<P><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></P></FONT>
<P> </P>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<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=stopSpelling>
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=ecxSection1>
<P class=ecxMsoNormal><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’, .01);, then
fade it in when I want to reveal it: iconID.fade(‘in’, 1);</SPAN></P>
<P class=ecxMsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<P class=ecxMsoNormal><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=ecxMsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: 1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">
<DIV>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: rgb(181,196,223) 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=ecxMsoNormal><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=ecxMsoNormal> </P>
<P class=ecxMsoNormal><SPAN lang=EN-GB
style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'">I’m
not sure what’s happening here…?</SPAN></P>
<P class=ecxMsoNormal><SPAN lang=EN-GB
style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<P class=ecxMsoNormal><SPAN lang=EN-GB
style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'">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=ecxMsoNormal><SPAN lang=EN-GB
style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<P class=ecxMsoNormal><SPAN lang=EN-GB
style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'">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=ecxMsoNormal><SPAN lang=EN-GB
style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<P class=ecxMsoNormal><SPAN lang=EN-GB
style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'">J</SPAN></P>
<P class=ecxMsoNormal><SPAN lang=EN-GB
style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<DIV>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: rgb(181,196,223) 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=ecxMsoNormal 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=ecxMsoNormal style="MARGIN-LEFT: 0.5in"><SPAN
lang=EN-GB></SPAN> </P>
<P class=ecxMsoNormal
style="MARGIN-BOTTOM: 12pt; MARGIN-LEFT: 0.5in; MARGIN-RIGHT: 0in"><SPAN
lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">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=ecxMsoNormal style="TEXT-ALIGN: center" align=center><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">
<HR align=center width="100%" SIZE=2>
</SPAN></DIV></DIV>
<P class=ecxMsoNormal style="MARGIN-LEFT: 0.5in"><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">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/" target=_new>Get it
now.</A> <div align=\"center\" style=\"font-family:verdana; font-size:10px;\"><hr width=\"100%\">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></body></HTML>