Not signed in (Sign In)

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorAmy
    • CommentTimeMar 14th 2008 edited
     
    This is either a bug, or there is some hidden option I don't know about. Here's the deal:

    I'm creating a module in Captivate 3.0. I have some content within Flash (CS3 and Flash player 9) animations that I'm inserting into Captivate slides. The first time I go through my Captivate module, everything works fine. (Although sometimes I have to select and then unselect "Sync with project" for this to work.)

    If I hit the back button and try to view the slide with the animation again, it skips the first stop action in the swf file, and plays the animation from the middle, or goes to a different stop action somewhere in the middle.

    So far I've tried changing both the flash and captivate export settings to flash player 7, 8, and 9. I've also tried using a load movie structure, but that caused a few different problems because I can't control the script on the global navigation buttons in my Captivate skin.

    Thoughts? It occurred to me that I could try using the slide branching features and breaking up some of the animations, but that just seems ridiculous. I'm also not totally familiar with those features.
    • CommentAuthorphilip
    • CommentTimeMar 15th 2008
     
    Hi Amy

    When you say "hit the back button" do you mean the back button in Captivate's controller, or a back button in your embbeded SWF?

    If the back button is contained in the embedded SWF, you might be running into scope issues, where the embedded clip no longer recognizes its own _root as "the" _root (the Captivate SWF's _root becomes embedded SWF's _root, messing up references to frame numbers and whatnot).

    If the back button is in the embedded SWF, check the embedded SWF's code for references to _root. If possible, post the button code here so we can have a look.

    If the back button is in the Captivate controller, we'll need to dig a little deeper.

    - philip
    • CommentAuthorAmy
    • CommentTimeMar 15th 2008
     
    Yes, this is the Captivate button. I have no idea how to put script on those. I don't know if I can. I'd have a better idea of what to do if the buttons were in the swf.

    I"m not sure how _root code works. The last time I used it was about 6 years ago. :)
    • CommentAuthorphilip
    • CommentTimeMar 15th 2008
     
    Hi Amy

    Can you share any links to the file so we can look at it?

    Generally speaking, when your embedded SWF contains ActionScript, funny things can happen. This is because Captivate converts the Flash SWF into a movieclip, which affects a number of things in the Flash SWF, including what "_root" and "_parent" refer to, what the frame rate is, and how the Flash SWF works with some components. In short, Captivate tangles things and makes a mess of your perfectly crafted Flash SWF. :tongue:

    Without knowing exactly what your Flash SWF is trying to do within Captivate, I can only make guesses as to what's happening. If you can provide a link to the file (or perhaps create a simple example that doesn't violate any client confidentiality agreements) I can probably give you more targeted advice.

    - philip
    • CommentAuthorAmy
    • CommentTimeMar 17th 2008
     
    Converts it to a movie clip? OMG that's weird. I can send you a few things. While most courses have proprietary stuff, this (intro) course doesn't. I'd still prefer to email them. Do you want the cp file? The fla file? Both?
    • CommentAuthorphilip
    • CommentTimeMar 17th 2008
     
    Hi Amy

    OK, after reviewing the files you emailed me, I see that the imported SWF remains visible, even if you use the Captivate playhead controller to advance to the next slide or two. I'm not sure what's going on here, but I do have a suggestion: use Captivate's 'branching' feature.

    It appears to me that your imported SWF is essentially imitating the branching feature built into Captivate. If you use Captivate to handle that functionality, you'll probably have less headaches.

    So you'd essentially place your three images on the Captivate slide like you currently have them (but not in SWF format), then create a transparent click box over each image. Set the click box to navigate to a particular slide when clicked.

    If you take this approach, I also suggest playing around with the Captivate controller's visibility... if you're branching, you may not want the controller to be visible (and clickable), since it might mess up the flow of the instruction.

    You can either export the Captivate SWF without a playbar and use buttons/click boxes to navigate from slide to slide, or you can export the SWF with the playbar, but hide it selectively whenever you're on branching slides.

    To hide the playbar, import a SWF containing the following line of ActionScript:

    _root.cpSkinLoader_mc.rdcmndHidePlaybar = 1;


    To show/restore the playbar, import a SWF containing the following line of ActionScript:

    _root.cpSkinLoader_mc.rdcmndHidePlaybar = 0;
    • CommentAuthorAmy
    • CommentTimeMar 18th 2008
     
    Thanks, I'll give this a shot.
    • CommentAuthorAmy
    • CommentTimeMar 18th 2008
     
    Hmm. I've built the branching navigation, but it either doesn't work, or Captivate doesn't have the option to do what I want. The reason why I was trying to use the "load movie" structure before is so that those financial statement info animations would be separate from the main timeline. I can't get the navigation to do that.

    What I want is for the user to see all the main slides in order. I only want those financial statements slides available if they click the right buttons. I do not want them anywhere in the main timeline.

    If I use the Captivate branching features I have to play all the slides in the project. I can't seem to get around that. I tried putting those other sides after my last slide, but then when the learner gets to the end they see those extra slides.

    Where did you find those snippets of action script? Is there a forum or list somewhere? The hiding script works, but the showing script isn't working for me. I'm just getting stuck without a playbar.

    Isn't there some code that I can put into my flash files that has "root" in it so that I can tell the highest level movie to unload? Unfortunately I have to use Captivate at work for the SCORM output, or else I'd just build it all myself in Flash.
    • CommentAuthorphilip
    • CommentTimeMar 18th 2008
     
    Here are two examples of what you can do, based on my understanding of what you're trying to do; both involve removing the Captivate controller.

    The source files are attached as a ZIP.

    - philip
    • CommentAuthorAmy
    • CommentTimeMar 19th 2008
     
    Thanks Philip. This isn't exactly what I was thinking. I'm trying to avoid extra clicking to get to the information. I'm just very frustrated with Captivate. I can just build it in flash and make it do what I want, but I have to use Captivate for the tracking. I just seems ridiculous to build my own navigation buttons on every slide instead of having just one higher layer swf file controlling everything.

    All I really need is a way to get rid of all the layers of movies, and then everything works. Apparently it's not that simple because the program doesn't let me do what I want.

    I figured out how to edit the script on the buttons themselves, but I'm not permissioned to save the file in the correct folder on my computer. Grr. I have to get IT to fix that for me.
    • CommentAuthorphilip
    • CommentTimeMar 19th 2008
     
    You can skip Captivate by SCORM-ifying your Flash files with my SCORM class for ActionScript. :bigsmile:

    Knowing your abilities, I think you could totally handle it.

    But then you'd need to have a Flash-based 'player' SWF, and you'd have to build your own navigation system. Easy for small projects, but trickier for large ones.

    - philip
    • CommentAuthorAmy
    • CommentTimeMar 24th 2008
     
    Yeah, I went ahead and just built my own navigation in flash. I didn't think I was allowed to do that, but the women who work at the parent company said it actually was ok because there were a few SCORM-related things we could check off in the LMS. We didn't know that because we don't have access to the LMS yet. We only know what they tell us. UGH. That situation won't be solved for about 4 weeks.
    • CommentAuthorAmy
    • CommentTimeMar 25th 2008
     
    So I've got the whole navigation built myself, but I can't get the menu working. I may not be doing it correctly.

    My main content is on level 0. I have a few other things that load on higher levels, so I need the menu to be able to pop up over these things. Right now all my nav buttons, including the menu button are on level 0. The menu button loads the menu swf on level 4.

    I can't figure out how to make the menu buttons talk to the main (level 0) timeline. I'm trying to use "_root" but I don't think I'm putting it in the right place.

    The buttons in my menu have the code:

    on(release){
    _root.gotoAndPlay("menu2");

    ...and there is a frame label called menu2 on the timeline. I'm not sure why this doesn't work. I've been into the forums, and of course the application help files don't tell me much.
    • CommentAuthorAmy
    • CommentTimeMar 25th 2008
     
    Oh never mind, it looks like I just need to use "_level0" instead.

    A bigger question for you though- What resources do you use for learning action script? I'd like to take a class, since that's what helped me the most. The last real flash class I took was in 2001, and I forgot more than half of my action scripting since then.
    • CommentAuthorphilip
    • CommentTimeMar 25th 2008
     
    sounds like a new forum thread to me. :)