A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Quick little problem

  1. #1
    Member
    Join Date
    Apr 2009
    Posts
    34

    Quick little problem

    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

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    You first create the instances for the rectangles then for the textfields. The color of the stage you set by selecting "Modify" - "Document".
    - The right of the People to create Flash movies shall not be infringed. -

  3. #3
    Member
    Join Date
    Apr 2009
    Posts
    34
    but can you change the colour through actionscript. i know how to change it through flash

  4. #4
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    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.
    - The right of the People to create Flash movies shall not be infringed. -

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center