Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 110690

Trouble closing a .swf file.

$
0
0

Hello,

 

I'm currently working on a script that loads a swf file in the ScriptUI panel.  If I reload the same swf file or load a different swf file while the original is playing, it continues to play even if I remove it from the panel.

The code works correctly while in the ESTK, but in After Effects it continue to play. Here's the code:

 

////remove the old swf

 

if(myPanel.video) {

  myPanel.videoArea.remove(myPanel.video);

  }

 

 

Any ideas on how to get the original file to stop playing after or before it's removed?

 

Thanks for your help!

 

-T


Viewing all articles
Browse latest Browse all 110690

Trending Articles



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