Adobe Captivate CS 5.5, Mac, DVD, ENG Specifikace Strana 179

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 264
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 178
173
USING CAPTIVATE
Variables and Advanced Actions
Last updated 9/28/2011
3 In the Advanced Actions dialog box, specify the details.
4 Click Close.
Adobe Captivate SWF events
The following table lists the SWF events that are signaled by Adobe Captivate:
Subscribe to SWF events
Use the function AddEventListener to subscribe to SWF events.
Example
eventHandle.addEventListener(CPMovieStartEvent.CPMOVIESTARTEVENT,CPEventHandler);
where
eventHandle = movieHandle.getMovieProps().eventDispatcher;
This example illustrates how to print a message when Adobe Captivate movie starts playing.
function CPEventHandler(e:Event):void
{
switch(e.type)
{
case CPMovieStartEvent.CPMOVIESTARTEVENT:
var startEvt : CPMovieStartEvent;
startEvt = e as CPMovieStartEvent;
trace("movie started playing");
break;
}
}
Event Signaled when
CPMovieStartEvent The movie starts playing
CPMovieStopEvent After the movie finishes playing
CPMoviePauseEvent The movie is paused
CPMovieResumeEvent The movie resumes playing
CPSlideEnterEvent While entering a slide
CPSlideExitEvent While exiting a slide
CPQuestionSubmitEvent A question is submitted and is evaluated.
CPAnswerSubmitEvent An answer is submitted for the interactive object.
Zobrazit stránku 178
1 2 ... 174 175 176 177 178 179 180 181 182 183 184 ... 263 264

Komentáře k této Příručce

Žádné komentáře