Copy link to clipboard
Copied
I use Animate for the HUD in my Unreal Engine 3 game.
When I alt-tab out of the game and then back in, almost all of my display objects in my flash movie (that have a drop shadow filter applied) are now invisible.
Adding a new movie clip to the stage causes them all to reappear.
Does anyone know what is causing this and how I might resolve it?
Thanks
Copy link to clipboard
Copied
are you creating spritesheets in animate?
Copy link to clipboard
Copied
No i'm not. Primarilly i'm using just images and shapes.
Copy link to clipboard
Copied
and how do you get whatever you create out of animate? file>export>export image>...?
Copy link to clipboard
Copied
I'm publishing a .swf, which I then import into the game engine which is used by a Scaleform wrapper.
Copy link to clipboard
Copied
I've just implemented a REALLY nasty hack that appears to address the issue:
I render an invisible square at the top left of the movie, and move back and forth by 1px every second. Each time it moves it restores any invisble display objects that are using drop-shadow filters.
I'm unsure at this point what overhead this comes with (if any). Either way, it at least allows me to use flash.filter fx in my game.
I'd welcome any insight into better solutions or reasons why this is occuring in the first place. It could be limited to the Scaleform wrapper that the game engine is using to render and pass commands to the .swf.