Skip to main content
Participating Frequently
Apr 25, 2024 5:25 PM UTC
Question

Video Component behind objects, another video over objects

Hello,

 

I am still learning Adobe Animate... I was able to find this code to put a video component behind objects on the scene:

 

var dom_container = document.getElementById("dom_overlay_container");
dom_container.style.zIndex=-1;
 
I have two additional videos that will be displayed in a pop-up that I need over the objects. Is this possible to do? 
 
See screenshots for image reference.
    This topic is closed to new replies. Start a new post to keep the conversation going.

    5 replies

    Participating Frequently
    Apr 25, 2024 5:26 PM UTC

    Clarification: When I add the code, all videos are in the back. When I remove that code, all videos are in front.

    Translate
    kglad
    Community Expert
    Community Expert
    Apr 25, 2024 5:32 PM UTC

    what is it you want?

    Translate
    Participating Frequently
    Apr 25, 2024 5:37 PM UTC

    I need one video in the background. And two in front on clickable pop-ups.


    Is there a way to make the code only affect one of the video component rather than all:

    var dom_container = document.getElementById("dom_overlay_container");
    dom_container.style.zIndex=-1;
    Translate