;

PDA

Click to See Complete Forum and Search --> : Quick little problem


dilpreet
05-05-2009, 05:09 AM
hey i have a few rectangles and text fields that i have in my library but i exported them through actionscript. All i want to know id how do i set the rectangle behind the text fields.

And i also want to know how i can set the colour of the stage

thanx

cancerinform
05-05-2009, 10:20 AM
You first create the instances for the rectangles then for the textfields. The color of the stage you set by selecting "Modify" - "Document".

dilpreet
05-05-2009, 08:22 PM
but can you change the colour through actionscript. i know how to change it through flash

cancerinform
05-05-2009, 11:30 PM
Sure you can. Check the classes http://flashscript.biz/flashas3/biz/index.html
There is a class "BackGround", which does what you want. Just for the width and height you need to use the stage properties.