Background colour?

Software: Away3D 4.x

Mr Margaret Scratcher, Sr. Member
Posted: 02 August 2011 11:05 PM   Total Posts: 344

Probably more of an as3/flashdevelop question than particularly relating to away3d, but seeing as I frequent these boards more than anywhere else, I though I’d pick your brains first…

I’m struggling to change the background of my exported movie from black to white (or any other colour, really..)

I have

[SWF(width = “1280”, height = “720”, frameRate = “60”, backgroundColor = “0xffffff”)]

in my as3,

and in my project options in flashDevelop, I have the background set to #ffffff,

aaaaand in my index.html I have

bgcolor: “#FFFFFF”,

But still the background is black…

I am stumped…

   

EFFalcon, Jr. Member
Posted: 02 August 2011 11:19 PM   Total Posts: 44   [ # 1 ]

_view = new View3D();
_view.backgroundColor = 0xAAAAAA;

   

Mr Margaret Scratcher, Sr. Member
Posted: 03 August 2011 01:29 AM   Total Posts: 344   [ # 2 ]

That’s the one, THANKS!

   

ricovitch, Newbie
Posted: 03 August 2011 07:04 PM   Total Posts: 22   [ # 3 ]

With the latest modifications from the github repository, the white backgroundColor of the view3d instance flickers on mouse move. It seems related to the _hitField sprite, as if i comment this line, there is no more flickering :

// Vie3D:initHitField @line 114
addChild (_hitField

I also don’t get any more rollovers/rollouts on my objects. That was also working right before the two last days updates.
Did something change on the way to catch those events ?

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X