flash (macromedia):
I have created a click-thru screens slide presentation in Flash MX Pro. Each slide contains a MediaController component associated with a MediaDisplay component that streams its own external FLV. The presenter uses buttons to navigate from slide to slide. Now I need to create a self running version of this presentation that would advance from slide to slide, on its own, when each external FLV stream has finished (yet still maintain the navigational nature of the click-thru version). Not sure how to do this where external FLVs are concerned. Any suggestions will be appreciated.
In general, it is better to have a single shared MediaDisplay (or MediaPlayback) component that you place on the root presentation slide, rather than having separate Media components on each slide. The reason for this is that the MediaDisplay components will by default continue playing even on the hidden slides and you may run into limitations with the number of concurrent controllers. So, I'd suggest putting a single shared media component on the root presentation slide. Add an on(revealChild) handler to the root presentation slide that does something like this: on(revealChild) { myMedia.contentPath = eventObj.target.myMediaPath // eventObj.target is the screen being revealed. myMedia.play() } Then on each slide, set something like: on(load) { this.myMediaPath = "media1.flv"; // different for each slide } To make it self running, add the following handler to the mediaPlayback itself: on(complete) { _root.presentation.currentSlide.gotoNextSlide(); // advance to next slide } -- Ed Skwarecki Principal Architect eLearning
Don't see what you're looking for? Try a search.
|