A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Depth Problems

  1. #1
    Member
    Join Date
    Apr 2002
    Location
    Where I lay my head is home
    Posts
    40

    Depth Problems

    I am programming a game for flash which includes a starry BG. The stars themselves are randomly numbered, sized and positioned. This works fine but it causes depth problems with the other Movie clips on stage. The stars, of course, are positioned by a Attachmovie code. When this happens, the stars want to top all the other layers on the stage, creating problems with the settings and such. Ive tried to change layering orders on the attaches. (--1 depth besides ++1 depth) How can I change this?
    Flash it
    http://www.krogflash.tk

  2. #2
    half as fun, double the price senocular's Avatar
    Join Date
    Feb 2002
    Location
    San Francisco, CA (USA)
    Posts
    4,361
    make a seperate movieclip for the stars to be attached to. Put this clip below everytthing and attach the stars in this clip. THat way the stars too will be below everything else since they are in that movieclip

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