Highlighted

Display objects with drop shadow filters disappearing

Community Beginner ,
Jan 24, 2020

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

 

 

TOPICS
ActionScript

Views

85

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Display objects with drop shadow filters disappearing

Community Beginner ,
Jan 24, 2020

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

 

 

TOPICS
ActionScript

Views

86

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jan 24, 2020 0
Adobe Community Professional ,
Jan 24, 2020

Copy link to clipboard

Copied

are you creating spritesheets in animate?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 24, 2020 0
Community Beginner ,
Jan 24, 2020

Copy link to clipboard

Copied

No i'm not. Primarilly i'm using just images and shapes.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 24, 2020 0
Adobe Community Professional ,
Jan 24, 2020

Copy link to clipboard

Copied

and how do you get whatever you create out of animate?  file>export>export image>...?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 24, 2020 0
Community Beginner ,
Jan 24, 2020

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. 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 24, 2020 0
Community Beginner ,
Jan 24, 2020

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 24, 2020 1