Skip to main content
Participant
January 21, 2009
Question

SWF integration problem

  • January 21, 2009
  • 3 replies
  • 671 views
Here's the situation:
- multiple slide captivate project. at least one .swf on each page, each with audio.
- works 100% perfect when loaded locally.
- when uploaded to internet, all audio from .swf files plays at once.

Thought I'd use .flv as an alternative.
- works okay in preview.
- when exported locally or via internet, later slides have no audio - just the video runs with no audio. Or, in some cases the video doesn't load at all (I guess this part is a size issue).

Please... I desperately need a solution to either problem.

Video streaming may fix the second problem, but would prefer not to do it.
Really intrigued by first problem if someone could please help URGENTLY!!! My project is due yesterday :S.

I suppose I could strip the audio from the .swfs and load them to the actual slide, but being lip synchs, its going to make it play up.

Kind regards... and PLEASE HELP!
Dan
This topic has been closed for replies.

3 replies

January 28, 2009
I have also had this problem..
However I was able to solve it by placing a single frame stopAllSounds() SWF; on the first frame of each slide. (you obviously need to put the "presentation" SWF starting on the 2nd frame for this not to mute the playback.
Participating Frequently
January 22, 2009
It sounds like the timelines for the SWF files are overriding the timeline for the Captivate SWF file. Since the Captivate project outputs to a SWF format, it's timeline is considered the "root" timeline, so your Actionscript needs to reflect that when writing certain code. There are several commands that can be used to control the overall Captivate project from within the SWF files. For instance, "this._parent._parent.rdcmndNextSlide = 1" will tell Captivate to go to the next slide. (As long as this code is on the main timeline of the SWF file being placed in your Captivate project...otherwise, if it's contained in a movieclip on the main timeline of your SWF, the code will need to be nested as such.)

When working with FLV files a couple important things to remember are:

a) Make sure the FLV objects in your Captivate project are set to display "rest of slide" instead of "rest of project"

b) Make sure if the FLV is set to display the rest of slide, to set the slide length longer than the length of video.

c) Add some sort of navigation to the video slide that "pauses" the timeline until clicked on, or set the slide to wait til the end of the video before advancing to the next slide.

d) After running some tests I learned that unless the FLV files have preloaders built into them (SWF files that preload the FLVs into them individually),when the main Captivate project SWF is loading , the videos are also loading simultaneously, in no particular order. So depending on the file size of each video, some will finish loading before others. The FLV player skin will not even appear on the slide until it is loaded. (These tests were done using the FLV Progressive download setting)

I've tried the "stopallaudio" method with no luck.
January 21, 2009
This is a SWAG of a guess.
1. Check the time of the slides and see if it is long enough?

2. Set a blank intervening slide. You can just add slides between the SWF's and then set the time of those to 0.2 seconds. Pick a nice background color and it should look fine.

3. Turn OFF fade in and fade out so that there is no activity that could interrup the SWF presentations.

This sounds like a tough one. You can download CP4 for free and try that too.

Joe C.

Participant
January 22, 2009
Tried all three didn't work.
There is some rumour of a 'stopallaudio' swf that you can put in. But adobe aren't coming to the rescue!?!?