A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Adding a background image on stage using only AS3

  1. #1
    Junior Member
    Join Date
    Oct 2011

    Adding a background image on stage using only AS3

    Hi guys, I need some help here. I'm quite a noob in AS3 and I am striving to make a game. A simple memory game, nothing complicated. And my problem at this point is adding the background image. I have everything else, all the code in one Actions frame on the timeline. What I need is a piece of code to take the image that I've created specially for the bg and place it behind everything that goes on over there. I looked through countless tutorials and pieces of code but I just don't get it, since nothing was saying how to do this one specific simple thing. Can anyone help me out? Thanks

  2. #2
    Join Date
    Dec 2002
    Think what you are looking for is something like...

    addChildAt(bgImage, 0)

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