Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Can you use Edge with CreateJS (EaselJS)?

$
0
0

Is there a way to use Edge with EaselJS?

 

My experiments show that Edge and EaselJS cannot coexist on the same part of the screen.

You can have a Edge stage on the top, and an EaselJS canvas on the bottom, in two different parts of the screen.

Or you can put the Edge div stage on top of the EaselJS canvas; however, the stage area (Edge) will block anything in the canvas (EaselJS) from showing.

 

What I would like to do is have an EaselJS application, and be able to create, play, and destroy "movie clips" created in Edge that will appear on top of the EaselJS canvas.

If the movie clip is not an opaque square, the canvas should be visible in the transparent area.

 

 

 

This is a snippet of the relevant code:

 

 

<body onload="init()" style="margin:0;padding:0;">

   

    <div id="Stage" class="EDGE-4429768" style="position:absolute;left:0;top:0">  

    </div>      

    <canvas id="myCanvas" width="1952" height="535"></canvas>

</body>


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>