This content has been marked as final. Show 4 replies
I don't know that this functions like backgroundColor or opaqueBackground even exist. I use BitmapData class, method getPixel(x:Number, y:Number) : Number
I can see that could work in some cases, but in this particular case the external swf (that's loaded with loadMovie()) oesn't use it's own background color, but just inherits the background color from the main swf file.
When using the BitmapData class, i just get the background color from the main swf, rather than the external swf. There might be some problems with your method as well, because there could also be other objects blocking the background color at (x;y).
Is there any other proper way to get the background color from a swf?
not unless you assign a variable to store that value in the external swf.
I don't have access to the source of the external swf file. The script i'm writing is supposed to be able to open any swf file and get the background color from that file.