It seems the same issue as to get the Stage's dimensions of a loaded SWF inside another SWF... the Stage's color is not transfered...

Mike Mountain wrote:

Yeah, the background colour information get's included in the swf -
otherwise it wouldn't appear when  you play the swf back in the flash
player external to the ide. It can be overidden by a param in html.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Lynch
Sent: 07 February 2006 15:07
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Finding the swf background colour

That's the thing, are you sure it's in the swf? Maybe it's just the fla.

Ade

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mike Mountain
Sent: 07 February 2006 14:34
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Finding the swf background colour


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

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



--
===============================================================

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===============================================================

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to