Author Message

Posted: Thu Apr 16, 2009 1:32 pm   Post subject: Controlling embedded movies in PPTs from Adobe AIR / Flex

Hi, I wonder if there is a way of playing and pausing embedded movies in convertet PPTs without manually clicking on the embedded movie.

Currently embedded movies (that are told to start on mouseclick in PowerPoint editor) plays and pauses if clicked on.

I want to be able to control when an embedded movie plays and pauses without having to click directly on the movie in the slide.

I have tried to create a button that dispatches a mouseevent.CLICK inside the movie part of the slide (represented by x and y coordinates) like this:


Code:
var e:MouseEvent = new MouseEvent(MouseEvent.CLICK, true, false, x, y);
Application.application.presContainer.dispatchEvent(e);


where "presContainer" is the PresentationContainer.as class from the ispring flex package.

But this does not work. Any clue on how to do this?

Cheers
Dag H. Lerdal


Profile profile test
Display posts from previous:  Sort by  

  


Who is online
Who is online In total there are 10 users online :: 1 registered, 0 hidden and 9 guests (based on users active over the past 5 minutes)
Most users ever online was 108 on Thu Nov 21, 2013 3:41 pm

Registered users: Bing [Bot]


cron