Note that there are some explanatory texts on larger screens.

plurals
  1. POFlash AS3 movie animations (and Events) freeze when embedded in PowerPoint 2007
    text
    copied!<p>I am developing a product for schools including flash animations - swf files written in AS3 - for insert/embed into PowerPoint slideshows. It is all working apart from one problem: when inserted/embedded in PowerPoint 2007 slideshows my flash movies freeze (sometimes) when you leave and return to a PowerPoint slide containing them. The problem doesn't appear to show with PowerPoint 2010, but most of my customers have PP2007, so that doesn't help much. I need help finding a work-round for what is obviously a bug in Flash Player and/or PowerPoint.</p> <p>By experimenting I have found that when you show a PP2007 slide containing a flash movie, move on to the next slide and then return, (sometimes) the time-related Events (<code>ENTER_FRAME</code>, <code>TIMER</code> etc) have stopped being dispatched to AS3 code by Flash Player, freezing animations. Other Events such as <code>MOUSE_MOVE</code>, <code>KEY_DOWN</code> etc are dispatched to AS3 in random bursts.</p> <p>I have created a small flash program and PowerPoint slideshow to demonstrate the problem and put them on the web at:</p> <p><a href="http://www.eye2eyesoft01.co.uk/FlashInPowerPointProb/ExampleIncludingTestFlash.pptx" rel="nofollow">www.eye2eyesoft01.co.uk/FlashInPowerPointProb/ExampleIncludingTestFlash.pptx</a> (the PowerPoint slideshow to try) and <a href="http://www.eye2eyesoft01.co.uk/FlashInPowerPointProb/EventShowTest.fla" rel="nofollow">www.eye2eyesoft01.co.uk/FlashInPowerPointProb/EventShowTest.fla</a> (the source of the Flash Movie in the PowerPoint)</p> <p>What I am looking for is a work-round - some AS3 code I can run when a user clicks a button (like the 'Experiment' button in my above demo) that re-starts normal Event dispatching after the Movie has reappeared in PowerPoint and jammed. Has anyone solved this problem before?</p> <p>Versions showing the problem: Flash Player 11.1.102.55 (latest on 24/1/12) and PowerPoint 2007 on W7-64bit, but no problem showing on flash player 10.0.22.87 and PowerPoint 2010 on another W7-64 bit PC. AS3 compiled with Flash Pro CS5.5. The code showing the problem is tiny (see the fla source file) - the problem is obviously interaction between Flash Player and PowerPoint - so using Flash Builder instead is highly unlikely to make any difference. </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload