Skip to main content
Known Participant
April 19, 2011
Question

Publishing a swf made up of multiple slides

  • April 19, 2011
  • 1 reply
  • 779 views

Is there any difference (other than size) between a swf published from one slide and a swf that is made up of multiple slides?   I'm working in Captivate 4 and have 17 separate projects - some made up of 1 slide - some of mutiple slides.  Each project is published into a swf using the same settings.  I play them from Flash and want them to play sequentially, when one is finished - play the next one.    I'm using this code to move from one swf to the next:

onClipEvent(enterFrame){

var content_mc:MovieClip = _parent.empty_mc.slide0__color_mc;

if (content_mc._totalframes > 0 && (content_mc._currentframe == content_mc._totalframes)){

_parent.nextBtn();

}

}

It works if the swf is created from a project having only one slide.  Doesn't work if the swf is created from a project having several slides.

So, is there a difference in the swfs?

Thanks for the help.

    This topic has been closed for replies.

    1 reply

    sus3135Author
    Known Participant
    April 20, 2011

    Move information on this - still confused:

    1. It doesn't work from my PC - regardless of whether I run the html with the files from our shared drive or the server

    2. Using the scrubber bar to advance the swf makes no difference - if I let it play out by itself - it still won't advance

    3. It does work for another person running on his desktop - advancing all swfs.
    5. I tried to pull up .htm files instead of .swf files (changing the .fla)  - files appeared but still would not advance if the htm was created from a Captivate project having multiple slides.

    6. I checked the publishing settings in Captivate for the swfs. All 17 are published with exactly the same settings

    Could this possibly be an issue with Flash 10 player?

    sus3135Author
    Known Participant
    April 20, 2011

    More info - but still looking for an answer.

    Put a trace in the flash code and it seems that when the program hits the second slide in the swf it acts like it is loading an entirely new swf.  Almost like there is a division between the two slides within the swf itself?   Doesn't make any sense to me. It is published as a swf.   

    RodWard
    Community Expert
    Community Expert
    April 21, 2011

    Under the hood in a published Captivate movie, each slide is actually a separate movie clip.  If

    Captivate movies stream the download by loading content objects beginning with the first slide and everything it requires, and then move on to the next slide, etc, etc.

    Is it possible your trace may be picking up this sequential download behaviour?