[Xerte] Button using swf flashes on screen

Dave Burnett d_b_burnett at hotmail.com
Wed Dec 16 09:40:17 GMT 2009


Do either of the buttons have the initial state of visible 0 set in the properties panel?



Subject: RE: [Xerte] Button using swf flashes on screen
Date: Wed, 16 Dec 2009 09:13:17 +0000
From: johnathan.kemp at cxstaffs.co.uk
To: xerte at lists.nottingham.ac.uk










I have just completed a page with two buttons that display using 
the same swf.
 
Initially the first button is displayed, when you click on this 
button,

  
  some text is displayed
  
  the first button is made invisible
  
  the second button is displayed
When you click the second button 

  
  the second button is made invisible
  
  the text is made invisible
  
  an image is displayed
This is achieved without flicker
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.
 
Interaction (perpetual = 0)
  Button1
     Script (button2._visible = true; 
text._visible = true; button1._visible = false;)
  Button 2
     Script (image._visible = true; 
text._visible = false; button2._visible = false;)
  Script (image._visible = false; text._visible = false; 
button2._visible = false;)
 
I don't know if this will help you resolve your 
problem
 
Kind regards
 
Johnathan
 
 
 
Johnathan Kemp
ICT Development Coordinator
Connexions 
Staffordshire
www.cxstaffs.co.uk
01785 
355714


 

 



From: Dave Burnett [mailto:d_b_burnett at hotmail.com] 

Sent: 15 December 2009 18:25
To: Xerte 
list
Subject: RE: [Xerte] Button using swf flashes on 
screen


Hi Paul,

I did use the rs as a target to make the button 
visible again:

prev_button_rs._visible = 1;

Dave





Subject: RE: [Xerte] Button using swf flashes on screen
Date: Tue, 15 Dec 
2009 10:14:16 -0800
From: Paul.Swanson at harlandfs.com
To: 
xerte at lists.nottingham.ac.uk







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);
 
For 
a button, you’ll probably need to use the rs property instead of the id 
property.
 



From: 
xerte-bounces at lists.nottingham.ac.uk 
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian 
Tenney
Sent: Tuesday, December 15, 2009 10:06 AM
To: Xerte 
discussion list
Subject: RE: [Xerte] Button using swf flashes on 
screen
 
I’m 
not sure what’s happening here…?
 
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…
 
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.
 
J
 


From: 
xerte-bounces at lists.nottingham.ac.uk 
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave 
Burnett
Sent: Tuesday, December 15, 2009 6:02 PM
To: Xerte 
list
Subject: [Xerte] Button using swf flashes on 
screen
 
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.
Expected behavior or I've sequenced 
something wrong?






Hotmail: Trusted 
email with powerful SPAM protection. Sign up 
now.


Hotmail: Free, trusted and rich email service. Get it 
now. 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 at cxstaffs.co.uk





Connexions Staffordshire Limited is registered in England No.4355170

Registered office: Foregate House, 70 Foregate Street, Stafford, Staffordshire, ST16 2PX 		 	   		  
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/171222985/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20091216/744e49cb/attachment.html


More information about the Xerte mailing list