[Xerte] Can I change the alpha property of button.swf?

Lockley Patrick Patrick.Lockley at nottingham.ac.uk
Fri Jul 18 16:17:42 BST 2008


Hi Paul,
 
Can't see anything obvious in the help to relate directly to the flash,
and there is mention of an event handler to monitor alpha changes but
the word alpha doesn't highlight in the script window.
 
As for the button.swf - do you mean the flex component?
 
Sorry I can't be more help
 
Pat


________________________________

	From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul Swanson
	Sent: 17 July 2008 18:39
	To: xerte at lists.nottingham.ac.uk
	Subject: [Xerte] Can I change the alpha property of button.swf?
	
	

	I'm using button.swf for my Table of Contents button, which is
displayed over the status bar area. When using a framework, the color of
the framework navigation area shows through the button, so it must have
an alpha of less than 100. I want to force it to be fully opaque.

	My button interaction has an id of tocButton, and an rs property
of tocButtonRs. The button interaction is perpetual, with a script icon
for the code below the interaction icon on the tree (not within the
interaction). I've tried the following statements to change the alpha
property, but without success.

	tocButtonRs._alpha = 100; 
	tocButtonRs.alpha = 100; 
	tocButton._alpha = 100; 
	tocButton.alpha = 100; 

	What would be the correct syntax for changing the alpha? The
ActionScript 1 reference indicates the syntax should be movieClip._alpha
= 100;

	_____________________________ 

	 Paul Swanson 
	 Instructional Designer 
	 Harland Financial Solutions 
	_____________________________ 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20080718/f98be2f4/attachment.html


More information about the Xerte mailing list