Well that's just plain dumb - it should be part of the stage object, the
info is contained in the swf.

I'm trying to write a double buffering class, the first thing it has to
do is take a snapshot of the stage to make an opaque copy - but it only
sees what's on the stage. That means I'll have to get peeps to pass in
their background color to te constructor - not very elegant.

Thanks anyhow

M

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Stan Vassilev
> Sent: 07 February 2006 14:28
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Finding the swf background colour
> 
> Well it's not :) In Flash 8 it can be possible by drawing 
> making it opaque, drawing it and sampling it (maybe) but 
> that, I've not tried. You can pass the bg color from HTML as 
> a parameter and set it as well.
> 
> And with two tags, yes this means total of 4 copies of the bg 
> color per flash instance in your html... :)
> 
> -----------
> 
> 
> I must be having an off day - but I can't for the life of me 
> find out how to get the colour of the swf's background as set 
> in the properties panel in the IDE using actionscript.
> 
> Surely it's possible?
> 
> Cheers
> 
> M
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 
> 
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to