How to change background of your window in code using adobe flex builder in actionscript?

By | December 26, 2010

The following code helps you to do this. It uses the “setStyle” property of the window to change it’s background style. The following code changes the background color of the window to black on a button click. Just copy and paste the following code.

Call this function on the click of a button
This code changes the background color of a window to black color.

   private function change():void

Leave a Reply

Your email address will not be published. Required fields are marked *