A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: layering 1 swf over another

Hybrid View

  1. #1
    Senior Member
    Join Date
    Apr 2005
    Location
    chicago
    Posts
    119

    layering 1 swf over another

    Just a quick question: I am trying to layer 1 swf over another in an html file using css layers and absolute positioning.. However, no matter what i set my z index to, I cant seem to get the one on top to show up on top.. Can this be done? Please advise. Thanks in advance!
    P.S.- This is what the alphabet would look like if Q and R were eliminated
    - Mitch Hedberg RIP

  2. #2
    FK's Official Mac Hater jasonsplace's Avatar
    Join Date
    Mar 2002
    Location
    Provo, Utah
    Posts
    2,245
    This doesn't work in all browsers but if you set the background to opaque on your Flash some browsers will allow you to layer. The better way would be to just load the top SWF into the bottom one using LoadMovie
    Jason L. Wright
    I'm not that hard to imitate. Just make some random negative claim at Apple or anything else for that matter and then have nothing to back it up.

  3. #3
    Senior Member
    Join Date
    Apr 2005
    Location
    chicago
    Posts
    119
    THANKS JASONSPLACE! Setting the bg to opaque on the lower flash piece worked! I appreciate it!
    P.S.- This is what the alphabet would look like if Q and R were eliminated
    - Mitch Hedberg RIP

  4. #4
    FK's Official Mac Hater jasonsplace's Avatar
    Join Date
    Mar 2002
    Location
    Provo, Utah
    Posts
    2,245
    Like I said before though. That doesn't work in ever browser. I don't remember which ones had problems but I know that some did.
    Jason L. Wright
    I'm not that hard to imitate. Just make some random negative claim at Apple or anything else for that matter and then have nothing to back it up.

  5. #5
    Member
    Join Date
    Nov 2006
    Posts
    33
    Quote Originally Posted by jasonsplace
    Like I said before though. That doesn't work in ever browser. I don't remember which ones had problems but I know that some did.
    Heh, blame Netscape for that.

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