BlendMode.SCREEN (clip over Away3D): Works in Player 11, not AIR?

Software: Away3D 4.x

Avatar
owntheweb, Jr. Member
Posted: 23 January 2013 02:25 PM   Total Posts: 32

Hello gurus,
I’m using Flash CS6 to produce an interactive kiosk, running in AIR 3.2 for Desktop. Starting this project in Flash Player 11.2, I transitioned the project to AIR and added the following lines to my xml file to make it work (source 1 source 2):

<initialWindow>
        ...
        <
renderMode>direct</renderMode>
        <
depthAndStencil>true</depthAndStencil>
    </
initialWindow

After reading about how Away3D is always shown at the bottom of the display list, I added a background “over” Away3D, with a screen blending mode which fit my needs.

Here’s what it looks like in Flash Player 11:
http://www.flickr.com/photos/8139783@N08/8408648840/in/photostream

Here’s what it looks like after switching to AIR (oops! not blending anymore):
http://www.flickr.com/photos/8139783@N08/8407552601/in/photostream

Here’s what it looks like when I remove the background (it works I guess, but I like my subtle background):
http://www.flickr.com/photos/8139783@N08/8408649082/in/photostream

Any thoughts on how I can make the blending work again over Away3D, or is there a way I can look at this differently?

The background is on the stage to start as a MovieClip with the name of “back”. I’ve tried setting the display blending mode in the properties panel and also like this (both work in Flash Player 11,  not AIR):

back.blendMode BlendMode.SCREEN

I appreciate the feedback in advance! :D

Thank you,

Chris

   

Avatar
owntheweb, Jr. Member
Posted: 24 January 2013 03:14 PM   Total Posts: 32   [ # 1 ]

Am I going about this the wrong way?

Should I instead add a static background to an Away3D view? If so, is there a way to make it stretch to fit the stage?

Thanks again,

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X