That should work. Are you sure you're looking at the right object?  Your 
example doesnt add md to the displaylist (no addChild call) so maybe that's an 
issue.

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Boris 
Horn
Sent: Wednesday, November 28, 2007 8:51 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Update properties from other objects/displaylist



Hi flexer,
i'm trying to update some properties from an object that is in the same 
package. 
When i trace e.g the alpha-value from the public variable (it's a Sprite) it 
gave me the right value.

But when i said e.g something like that:

md = new MarkenDisplay;
trace(md.markenContainer.alpha)
//OUTPUT is 1 thats right
//NOW i change the alpha-value

md.markenContainer.alpha = 0;
trace(md.markenContainer.alpha)
//OUTPUT is 0 but on screen nothing changed

How can i update the displayList from other objects?

Mit freundlichen Grüssen
Boris Horn

__________________________
Boris Horn

asdag
application service development AG
Notkestraße 11
22607 Hamburg
Tel: +49(40) 853825-77
Fax: +49(40) 853825-99
Mail: [EMAIL PROTECTED] <mailto:b.horn%40asdag.de> 

AG Hamburg, HR B 80746, Sitz der Gesellschaft Hamburg
Vorstand: Irmgard Scherbaum (Vorsitzende), Thomas Liebtreu 


 

Reply via email to