Skip to main content
Inspiring
May 4, 2021
Answered

Transparency interaction

  • May 4, 2021
  • 1 reply
  • 1007 views

I have two bitmaps that, via action script, change alphas to fade. As you see in the second image, when this happens, they overlap in an unappealing way. I've read this post: Solved: symbol, transparency and overlapping - Adobe Support Community - 10768358, but it does not apply, I don't think, because it is refering to a animation. Mine is all on a single frame with just action script. How can I make this look better? I suppose I could create a single image in PS and just fade it, but that seems unnecessarily time consuming.

    This topic has been closed for replies.
    Correct answer ClayUUID

    Put the two bitmaps in a single movieclip and set the movieclip to cached in its properties.

    1 reply

    ClayUUIDCorrect answer
    Legend
    May 4, 2021

    Put the two bitmaps in a single movieclip and set the movieclip to cached in its properties.

    Inspiring
    May 4, 2021

    Aha. That does it. I failed to mention I had already combined them in a single movieclip, but I was missing the cached option--whatever that is. I guess I'll have to read up on that later. Thank you.

    Legend
    May 4, 2021

    Caching a movieclip renders its contents to an internal bitmap instead of re-rendering it every frame. This is intended to improve performance for movieclips with complex vector content.

     

    https://createjs.com/demos/easeljs/Cache.html