Problem with slide transition

I’m a newbie with Captivate and I’m trying to
design an interactive training course. I decided to use buttons to
allow the trainee to decide when they want to transition from slide
to slide. The issue I am having is after you press the button to
move to the next slide, the text and background disappear, but the
button remains on the slide. It stays like this for about 10
seconds then it transitions to the next slide, which takes even
longer!
I noticed on the slide properties for the slides that are
doing this that the Display time is 12 seconds for one and 38 for
the other, where as the ones that work fine are set for 3. I tired
to change the Display Time back to 3 but get an error. How can I
fix this so that when someone clicks on the button it immediately
transitions to the next slide?
Thank you!
Carolyn

Welcome to our community, Carolyn
When you edit or inspect the properties of the button, look
at the action assigned. My guess is that it was left at the default
action of "Continue". Try clicking the drop-down and changing it to
"Go to next slide".
Perhaps consider some training?
Cheers... Rick

Similar Messages

  • Having problems with slide "Transitions"

    I want slides to have no transition so they dont fade in and fade out? I have marked the slides to have "No Transition" in the properties panel but still they fade in and out. when I put a "Next" button on a slide it fades out and then shows the button.....AAAARRRRGGGGG! I am at my wits end trying to solve this. Please can anyone help?

    Well, you have to look in different places for transitions.
    Slides can have them but you have to specifically configure them.
    Objects have them by default (Fade in and fade out)
    The project itself is usually configured with a "Fade in on first slide" and a "Fade out on last slide".
    Click Edit > Preferences > Project > Start and End
    Cheers... Rick
    Helpful and Handy Links
    Begin learning Captivate 5 moments from now! $29.95
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcererStone Blog
    Captivate eBooks

  • Problems with Slide Navigator while skipping slides

    When I was running my show, I had to skipped my slides twice. For example, when I am at slide 3, I pressed "+" and went to a slide 7; then I had to press "+" again to go to slide 9. When I am going to slide 9, slide 3 would actually appear for a split second then slide 9 would appear. All these slides has "build" in it. When I tried this with slides without "build", there are no problems. Anyone else experienced this?

    Well, you have to look in different places for transitions.
    Slides can have them but you have to specifically configure them.
    Objects have them by default (Fade in and fade out)
    The project itself is usually configured with a "Fade in on first slide" and a "Fade out on last slide".
    Click Edit > Preferences > Project > Start and End
    Cheers... Rick
    Helpful and Handy Links
    Begin learning Captivate 5 moments from now! $29.95
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcererStone Blog
    Captivate eBooks

  • Help me please, problem with image transition

    Hi everybody,
    For the past few months I have started teaching myself how to use dreamweaver. So far I have had a couple problems my limited knowledge just cant figure out and hoped somebody out there could shed a little light on it.
    I am currently making a small portfolio site for my girlfriend but am having a few problems with trying to get the gallery the way she wants it. She want a black and white image to transition into colour on mouse over with small textbox to appear on mouseover also. I could not create a simple rollover image as she wanted the fade in and fade out to be slightly slower.
    The rather simple idea I had for this was to create a div with a background image which would be the colour version. A black and white version imported over the top which transitions out to 0 opacity on mouseover.
    The problem I have is when the mouse is removed and the mouseout behavior begins to bring the black and white version back. If the mouse is moved over image too quickly there seems to be a conflict between the 2 transitions and it begins to jump a little. You can have a look for yourself:
    http://www.emmatait.com/gallery.html
    I thought maybe if there was some code I could write in that would only make the mouseout behavior begin after all other functions were complete it would solve this but unfortunately I have no idea how to even go about this.
    Any help would be appreciated.
    Thanks all
    Adam

    Hi Adam,
    In my opinion using image swap behaviors is counterproductive.  It makes for slower loading pages and consumes bandwidth.  This can be a problem for mobile device users who often pay for bandwidth usage.
    I'm going to show a neat CSS trick for de-saturating color images. When you hover over the images, they turn to color and their opacity increases to 100%.  Click on images to bring up the full size photos with captions.
    http://alt-web.com/TEMPLATES/CSS-Semi-liq-photo-sheet.shtml
    Nancy O.

  • Problems with Slide Video, when returning to a slide

    Hello all!
    I have a weird problem with my Captivate presenation, I wonder if anyone could help me...
    I have Captivate training course that I've made (output to Flash to run on a SCORM-compliant system).  It has a table of contents which points to different "lesson" screens with videos.
    All videos are of type "slide video", they will be launched from the LMS running the course. 
    When I click on the slide to play the video the first time, it plays just fine. But if I go back to it later, it acts erratically (plays from middle of video, starts looping weirdly, etc).
    Has anyone else seen this?  Wanted to know what I could do to fix.
    Thanks!
    Daniel

    To better illustrate, I've created a simple project with a menu slide and a slide video slide - a really over-simplified version of what I'm trying to do, but still has the same problem. The project is online to download at:
    http://ge.tt/8TqfXEA?c
    If anyone has time, here is how to recreate the difficulty I'm experiencing:
    Run the project (either preview or export SWF, either way is fine)
    From the first slide (menu), click on the button, which will go to the next slide and play the video
    After the video finishes, click on the "Return to Menu" button
    Once back at the menu, click the button to play the next slide & video again. You'll notice that playback is erratic (starts later in the video, also begins weirdly looping).
    Please let me know how I can rectify - it's a really big problem. If I'm doing something stupid, please let me know (although I don't think I am - it's a really minimal project setup).
    Thanks again for any help anyone can provide!!!

  • Problems with removing transitions

    I am using iMovie v5. When I remove transitions, my clips are not restored to the original version. For example, if I have two clips with a transition between them, and then I remove the transition the following happens:
    1. Clip 1 will have a second or two of merged from Clip 2
    2. Clip 2 will be truncated in the beginning by a second or two.
    I have looked in the manual and other discussion threads and can't find an answer. Oh... I'm using the fade out transition.

    John:
    That can happen with non-destructive veideo.
    Don't know for certain that this will fix it, but it sure won't hurt anything...
    Quit iMovie.
    Locate a file named com.apple.iMovie.plist and get rid of it. iMovie will create a new one the next time it runs. Empty the trash and restart imovie.
    -->/Users/YourName**/Library/Preferences/com.apple.iMovie.plist
    Sue

  • Problem with slide

    Hi, I'm using some action script code for a slide. The problem is that when a smaller image is loaded, the big one stays behind for one slide more. Maybe this happens with all slides but is only visible when a smaller one is loaded... What could be done? The code is:
    // import tweener
    import caurina.transitions.Tweener;
    // delay between slides
    const TIMER_DELAY:int = 5000;
    // fade time between slides
    const FADE_TIME:Number = 1;
    // flag for knowing if slideshow is playing
    var bolPlaying:Boolean = true;
    // reference to the current slider container
    var currentContainer:Sprite;
    // index of the current slide
    var intCurrentSlide:int = -1;
    // total slides
    var intSlideCount:int;
    // timer for switching slides
    var slideTimer:Timer;
    // slides holder
    var sprContainer1:Sprite;
    var sprContainer2:Sprite;
    // slides loader
    var slideLoader:Loader;
    // current slide link
    var strLink:String = "";
    // current slide link target
    var strTarget:String = "";
    // url to slideshow xml
    var strXMLPath:String = "slideshow-data.xml";
    // slideshow xml loader
    var xmlLoader:URLLoader;
    // slideshow xml
    var xmlSlideshow:XML;
    function initSlideshow():void {
        // hide buttons, labels and link
        mcInfo.visible = false;
        btnLink.visible = false;
        // create new urlloader for xml file
        xmlLoader = new URLLoader();
        // add listener for complete event
        xmlLoader.addEventListener(Event.COMPLETE, onXMLLoadComplete);
        // load xml file
        xmlLoader.load(new URLRequest(strXMLPath));
        // create new timer with delay from constant
        slideTimer = new Timer(TIMER_DELAY);
        // add event listener for timer event
        slideTimer.addEventListener(TimerEvent.TIMER, nextSlide);
        // create 2 container sprite which will hold the slides and
        // add them to the masked movieclip
        sprContainer1 = new Sprite();
        sprContainer2 = new Sprite();
        mcSlideHolder.addChild(sprContainer1);
        mcSlideHolder.addChild(sprContainer2);
        // keep a reference of the container which is currently
        // in the front
        currentContainer = sprContainer2;
        // add event listeners for buttons
        btnLink.addEventListener(MouseEvent.CLICK, goToWebsite);
        mcInfo.btnNext.addEventListener(MouseEvent.CLICK, nextSlide);
        mcInfo.btnPrevious.addEventListener(MouseEvent.CLICK, previousSlide);
    function onXMLLoadComplete(e:Event):void {
        // show buttons, labels and link
        mcInfo.visible = true;
        btnLink.visible = true;   
        // create new xml with the received data
        xmlSlideshow = new XML(e.target.data);
        // get total slide count
        intSlideCount = xmlSlideshow..image.length();
        // switch the first slide without a delay
        switchSlide(0);
    function fadeSlideIn(e:Event):void {
        // add loaded slide from slide loader to the
        // current container
        addSlideContent();
        // fade the current container in and start the slide timer
        // when the tween is finished
        Tweener.addTween(currentContainer, {alpha:1, time:FADE_TIME, onComplete:onSlideFadeIn});
    function onSlideFadeIn():void {
        // check, if the slideshow is currently playing
        // if so, start the timer again
        if(bolPlaying && !slideTimer.running)
            slideTimer.start();
    function switchSlide(intSlide:int):void {
        // check if the last slide is still fading in
        if(!Tweener.isTweening(currentContainer)) {
            // check, if the timer is running (needed for the
            // very first switch of the slide)
            if(slideTimer.running)
                slideTimer.stop();
            // change slide index
            intCurrentSlide = intSlide;
            // check which container is currently in the front and
            // assign currentContainer to the one that's in the back with
            // the old slide
            if(currentContainer == sprContainer2)
                currentContainer = sprContainer1;
            else
                currentContainer = sprContainer2;
            // hide the old slide
            currentContainer.alpha = 0;
            // bring the old slide to the front
            mcSlideHolder.swapChildren(sprContainer2, sprContainer1);
            // delete loaded content
            clearLoader();
            // create a new loader for the slide
            slideLoader = new Loader();
            // add event listener when slide is loaded
            slideLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, fadeSlideIn);
            // load the next slide
            slideLoader.load(new URLRequest(xmlSlideshow..image[intCurrentSlide].@src));
            // show description of the next slide
            mcInfo.lbl_description.text = xmlSlideshow..image[intCurrentSlide].@title;
            // set link and link target variable of the slide
            strLink                                            = xmlSlideshow..image[intCurrentSlide].@link;
            strTarget                                        = xmlSlideshow..image[intCurrentSlide].@target;
            mcInfo.mcDescription.lbl_description.htmlText    = xmlSlideshow..image[intCurrentSlide].@desc;
            // show current slide and total slides
            mcInfo.lbl_count.text = (intCurrentSlide + 1);
    function goToWebsite(e:MouseEvent):void {
        // check if the strLink is not empty and open the link in the
        // defined target window
        if(strLink != "" && strLink != null) {
            navigateToURL(new URLRequest(strLink), strTarget);
    function nextSlide(e:Event = null):void {
        // check, if there are any slides left, if so, increment slide
        // index
        if(intCurrentSlide + 1 < intSlideCount)
            switchSlide(intCurrentSlide + 1);
        // if not, start slideshow from beginning
        else
            switchSlide(0);
    function previousSlide(e:Event = null):void {
        // check, if there are any slides left, if so, decrement slide
        // index
        if(intCurrentSlide - 1 >= 0)
            switchSlide(intCurrentSlide - 1);
        // if not, start slideshow from the last slide
        else
            switchSlide(intSlideCount - 1);
    function clearLoader():void {
        try {
            // get loader info object
            var li:LoaderInfo = slideLoader.contentLoaderInfo;
            // check if content is bitmap and delete it
            if(li.childAllowsParent && li.content is Bitmap){
                (li.content as Bitmap).bitmapData.dispose();
        } catch(e:*) {}
    function addSlideContent():void {
        // empty current slide and delete previous bitmap
        while(currentContainer.numChildren){Bitmap(currentContainer.getChildAt(0)).bitmapData.dis pose(); currentContainer.removeChildAt(0);}
        // create a new bitmap with the slider content, clone it and add it to the slider container
        var bitMp:Bitmap =  new Bitmap(Bitmap(slideLoader.contentLoaderInfo.content).bitmapData.clone());
        currentContainer.addChild(bitMp);
    // init slideshow
    initSlideshow();

    you should check the memory usage with that code.  it looks like that's not well-written code.
    but to do what you want:
    // import tweener
    import caurina.transitions.Tweener;
    import flash.display.Sprite;
    // delay between slides
    const TIMER_DELAY:int = 5000;
    // fade time between slides
    const FADE_TIME:Number = 1;
    // flag for knowing if slideshow is playing
    var bolPlaying:Boolean = true;
    // reference to the current slider container
    var currentContainer:Sprite;
    // index of the current slide
    var previousContainer:Sprite;
    var intCurrentSlide:int = -1;
    // total slides
    var intSlideCount:int;
    // timer for switching slides
    var slideTimer:Timer;
    // slides holder
    var sprContainer1:Sprite;
    var sprContainer2:Sprite;
    // slides loader
    var slideLoader:Loader;
    // current slide link
    var strLink:String = "";
    // current slide link target
    var strTarget:String = "";
    // url to slideshow xml
    var strXMLPath:String = "slideshow-data.xml";
    // slideshow xml loader
    var xmlLoader:URLLoader;
    // slideshow xml
    var xmlSlideshow:XML;
    function initSlideshow():void {
        // hide buttons, labels and link
        mcInfo.visible = false;
        btnLink.visible = false;
        // create new urlloader for xml file
        xmlLoader = new URLLoader();
        // add listener for complete event
        xmlLoader.addEventListener(Event.COMPLETE, onXMLLoadComplete);
        // load xml file
        xmlLoader.load(new URLRequest(strXMLPath));
        // create new timer with delay from constant
        slideTimer = new Timer(TIMER_DELAY);
        // add event listener for timer event
        slideTimer.addEventListener(TimerEvent.TIMER, nextSlide);
        // create 2 container sprite which will hold the slides and
        // add them to the masked movieclip
        sprContainer1 = new Sprite();
        sprContainer2 = new Sprite();
        mcSlideHolder.addChild(sprContainer1);
        mcSlideHolder.addChild(sprContainer2);
        // keep a reference of the container which is currently
        // in the front
        currentContainer = sprContainer2;
        // add event listeners for buttons
        btnLink.addEventListener(MouseEvent.CLICK, goToWebsite);
        mcInfo.btnNext.addEventListener(MouseEvent.CLICK, nextSlide);
        mcInfo.btnPrevious.addEventListener(MouseEvent.CLICK, previousSlide);
    function onXMLLoadComplete(e:Event):void {
        // show buttons, labels and link
        mcInfo.visible = true;
        btnLink.visible = true;  
        // create new xml with the received data
        xmlSlideshow = new XML(e.target.data);
        // get total slide count
        intSlideCount = xmlSlideshow..image.length();
        // switch the first slide without a delay
        switchSlide(0);
    function fadeSlideIn(e:Event):void {
        // add loaded slide from slide loader to the
        // current container
        addSlideContent();
       fadeSlideOut();
        // fade the current container in and start the slide timer
        // when the tween is finished
        Tweener.addTween(currentContainer, {alpha:1, time:FADE_TIME, onComplete:onSlideFadeIn});
    function fadeSlideOut(e:Event):void {
        Tweener.addTween(previousContainer, {alpha:0, time:FADE_TIME});
    function onSlideFadeIn():void {
        // check, if the slideshow is currently playing
        // if so, start the timer again
        if(bolPlaying && !slideTimer.running)
            slideTimer.start();
    function switchSlide(intSlide:int):void {
        // check if the last slide is still fading in
        if(!Tweener.isTweening(currentContainer)) {
            // check, if the timer is running (needed for the
            // very first switch of the slide)
            if(slideTimer.running)
                slideTimer.stop();
            // change slide index
            intCurrentSlide = intSlide;
            // check which container is currently in the front and
            // assign currentContainer to the one that's in the back with
            // the old slide
           previousContainer = currentContainer;
            if(currentContainer == sprContainer2)
                currentContainer = sprContainer1;
            else
                currentContainer = sprContainer2;
            // hide the old slide
            currentContainer.alpha = 0;
            // bring the old slide to the front
            mcSlideHolder.swapChildren(sprContainer2, sprContainer1);
            // delete loaded content
            clearLoader();
            // create a new loader for the slide
            slideLoader = new Loader();
            // add event listener when slide is loaded
            slideLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, fadeSlideIn);
            // load the next slide
            slideLoader.load(new URLRequest(xmlSlideshow..image[intCurrentSlide].@src));
            // show description of the next slide
            mcInfo.lbl_description.text = xmlSlideshow..image[intCurrentSlide].@title;
            // set link and link target variable of the slide
            strLink                                            = xmlSlideshow..image[intCurrentSlide].@link;
            strTarget                                        = xmlSlideshow..image[intCurrentSlide].@target;
            mcInfo.mcDescription.lbl_description.htmlText    = xmlSlideshow..image[intCurrentSlide].@desc;
            // show current slide and total slides
            mcInfo.lbl_count.text = (intCurrentSlide + 1);
    function goToWebsite(e:MouseEvent):void {
        // check if the strLink is not empty and open the link in the
        // defined target window
        if(strLink != "" && strLink != null) {
            navigateToURL(new URLRequest(strLink), strTarget);
    function nextSlide(e:Event = null):void {
        // check, if there are any slides left, if so, increment slide
        // index
        if(intCurrentSlide + 1 < intSlideCount)
            switchSlide(intCurrentSlide + 1);
        // if not, start slideshow from beginning
        else
            switchSlide(0);
    function previousSlide(e:Event = null):void {
        // check, if there are any slides left, if so, decrement slide
        // index
        if(intCurrentSlide - 1 >= 0)
            switchSlide(intCurrentSlide - 1);
        // if not, start slideshow from the last slide
        else
            switchSlide(intSlideCount - 1);
    function clearLoader():void {
        try {
            // get loader info object
            var li:LoaderInfo = slideLoader.contentLoaderInfo;
            // check if content is bitmap and delete it
            if(li.childAllowsParent && li.content is Bitmap){
                (li.content as Bitmap).bitmapData.dispose();
        } catch(e:*) {}
    function addSlideContent():void {
        // empty current slide and delete previous bitmap
        while(currentContainer.numChildren){Bitmap(currentContainer.getChildAt(0)).bitmapData.dis pose(); currentContainer.removeChildAt(0);}
        // create a new bitmap with the slider content, clone it and add it to the slider container
        var bitMp:Bitmap =  new Bitmap(Bitmap(slideLoader.contentLoaderInfo.content).bitmapData.clone());
        currentContainer.addChild(bitMp);
    // init slideshow
    initSlideshow();

  • Problem with sound, and problem with video transitions

    For some reason my audio isnt locked with my video anymore so when I move a clip the audio doesnt follow does anyone know how to fix that?
    Also, when I put in video transitions instead of just switching from the first clip to the second clip it flashes an image from other pieces of footage while transitioning and I need to figure out how to fix that too.
    Anyone know how to fix these?
    thanks

    Thanks i got the audio problem fixed.
    When I open up final cut it says some of the media has been disconnected but it then says I can't reconnect it or something like that, I don't know if that effects the transitions. I split up a lot of footage and rearranged it and for one of the places where it flashes a clip it shows one of the pieces of footage that I had deleted because it had a glitch and the other places I noticed it it had random clips from throughout the project, like a flash of an interview that happens way later in the film. So it is random clips that are in the film and even clips that I deleted.

  • Problems with slide-show

    In Photoshop elements 9 I encounter the problem, that when I save a slide show with an attached audio file as a PDF file, the music simply is not saved in the PDF file. When saved as a WMV file, there are no problems and the music is there, when I open the saved file. Has anybody a solution - I do not underdstand whay it does not work, as it works without problems when using  my stone-age CS2 version.

    Hi Mihael,
    Try the below steps to resolve the issue:
    1) Choose Slide Size - Very Small(640x480), while saving the slideshow as PDF File.
    2) Click on OK.
    3) Choose the destination to save the PDF.
    4) Open the saved PDF file and it would ask to allow the disabled feature below the Acrobat toolbar.
    5) Choose "Trust this document always".
    Revert back for further concerns.

  • Action Script Newbie has problem with Slide Show Pro

    Hi,
    here is a demo page -
    http://www.libertypromotions.com/asptest/newsite/cars/product_page.htm.
    The flash gallery in the top left is my problem child. I am
    using Slide Show pro to display my images but I want to add some
    external buttons that will switch albums when you click them (all
    images are in there own album, giving me the Grid effect when you
    click see all) I have asked for help on how to do this on their
    forums, but they are useless (so far) so I came here. Below is the
    code SSP provides for external Next/Previous buttons that switch
    images inside albums.
    I am hoping someone here knows SSP well enough to help me
    with this.
    Thanks in advance.

    cowenstx,
    Javascript is VERY different from Java. Your code example is Javascript, a scripting language invented by Netscape. Do a web search for "javascript images" for lots of good pointers.

  • Problem with slide block puzzle

    Hello:
    I am doing a project that solve slide-block puzzles. My program take two common line arguments. One is a file specifying the initial configuration while the other specify goal configuration. My idea is to use an arrayList<block > to represent a configuration with each element being a block, for each block, I stores all possible configurations after moving the block in a Hashset and Stack. I check if the goal has been reached after each move, if not, go moving next one. If the configuration has been seen before, which indicates a dead end, I pop the stack to backtrack the most recent the branch and take another path.
    Unfortunately, the algorithm I came up does not work.
    Can anyone propose a psudocode for me?
    Also, my program should print out all moves directly towards the goal but I can not figure out how to only print out the moves directly towards the goal and avoid printing those leading to dead end.
    You can see specification http://nifty.stanford.edu/2007/clancy-slidingblocks/proj3.html.
    I will be really really appreciated.

    Well, that was harder than I thought!
    Anyway, the algorithm can be quite simple: a BFS finds a solution pretty fast. Here's some pseudo code:
    public class Solver {
        private Set<Integer> alreadyFormedTrays; // A set of already formed trays
        private List<Block> goalList;            // The final goal(s)
        private boolean foundSolution  = false;  // A flag flipped to true once we find a solution
        private Tray startTray;                  // The initial tray
        public Solver(String[] tray, String[] goals) {
            alreadyFormedTrays = new HashSet<Integer>();
            goalList = new ArrayList<Block>();
            buildTray(tray);
            buildGoals(goals);
        private void buildGoals(String[] goalsData) {
            // Fill the 'goalList'.
        private void buildTray(String[] trayData) {
            // Create the first tray: 'startTray'.
        private boolean goalsReached(Tray aTray) {
            // Check wether we have reached our goal(s).
        public void solve() {
            alreadyFormedTrays.add(startTray.hashCode());
            System.out.println("START=\n"+startTray);
            solve(startTray);
        private void solve(Tray aTray) {
            IF we found a solution, stop looping END IF
            IF 'aTray' reached our goal(s)
                foundSolution <- true
                print the path 'aTray' has taken
                stop looping
            END IF
            'nextTrays' <- all next trays that can be formed from 'aTray'
            FOR every Tray 'T' in 'nextTrays' DO
                'hash' <- a hash of 'T'
                IF 'hash' is not yet present in 'alreadyFormedTrays'
                    add 'hash' in 'alreadyFormedTrays'
                    make a recursively call with 'T' as a parameter
                ENDIF
            ENDFOR
        public static void main(String[] args) {
            String[] trayFile = {
                    "5 4",
                    "2 1 0 0",
                    "2 1 0 3",
                    "2 1 2 0",
                    "2 1 2 3",
                    "2 2 1 1",
                    "1 2 3 1",
                    "1 1 4 0",
                    "1 1 4 1",
                    "1 1 4 2",
                    "1 1 4 3"
            String[] goalFile = {
                    "2 2 3 1"
            Solver s = new Solver(trayFile, goalFile);
            s.solve();
    }As I said: the algorithm isn't that hard, the tricky part comes in finding all possible Trays from a given Tray X and making copies based on X.
    Here are some UML diagrams of the classes I used:
    |                                      |
    | + Tray                               |
    |______________________________________|
    |                                      |
    | ROWS: int                            |
    | COLUMNS: int                         |
    | - freeSpaces: byte[][]               |
    | blocks: List<Block>                  |
    | path: List<Atom[]>                   |
    |______________________________________|
    |                                      |
    | + Tray(r: int, c: int): << constr >> |
    | + Tray(tray: Tray): << constr >>     |
    | + addBlock(b: Block): boolean        |
    | + generateNextTrays(): List<Tray>    |
    | + removeBlock(b: Block): void        |
    |______________________________________|
    |                                                                                          |
    | + Block                                                                                  |
    |__________________________________________________________________________________________|
    |                                                                                          |
    | HEIGHT: int                                                                              |
    | WIDTH: int                                                                               |
    | name: char                                                                               |
    | atoms: List<Atom>                                                                        |
    |__________________________________________________________________________________________|
    |                                                                                          |
    | + Block(n: char, height: int, width: int, startRow: int, startColumn: int): << constr >> |
    | + Block(b: Block): << constr >>                                                          |
    | - buildAtoms(startRow: int, startColumn: int): void                                      |
    | + getUpperLeft(): Atom                                                                   |
    | + move(m: Move): void                                                                    |
    |__________________________________________________________________________________________|
    |                                      |
    | + Atom                               |
    |______________________________________|
    |                                      |
    | row: int                             |
    | column: int                          |
    |______________________________________|
    |                                      |
    | + Atom(r: int, c: int): << constr >> |
    | + Atom(a: Atom): << constr >>        |
    | + move(m: Move): void                |
    |______________________________________|I removed the equals(...), hashCode() and toString() methods for clarity, you should implement them, of course.
    The Move class you see in there is an enum, and looks like this:
    public enum Move {
        UP    (-1,  0),
        RIGHT ( 0,  1),
        DOWN  ( 1,  0),
        LEFT  ( 0, -1);
        final int deltaRow, deltaColumn;
        private Move(int dr, int dc) {
            deltaRow = dr;
            deltaColumn = dc;
    }If you have any questions about the methods/variables in the class diagrams, feel free to post back.
    Good luck.

  • Problem with Itemrenderer & Transition in mobile project

    Hallo,
    i made an itemrenderer to display my stuff properly in a list. when the user selects a listitem a transition is played. the problem is, when the user scrolls the list the transition for the selected item is played again.
    i seems to me, that the state of the selected item is changed when the user scrolls. it jumps to normal and goes instantly back to selected and this starts my transition again.
    <s:states>
    <s:State name="normal" />
    <s:State name="selected" />
    </s:states>
    <s:transitions>
    <s:Transition fromState="normal" toState="selected">
    <s:Sequence duration="800" >
    <s:Parallel>
    <s:Resize target="{this}" />
    <s:Fade startDelay="500" target="{test2}" />         
    <s:Fade startDelay="500" target="{test3}" />              
    <s:Fade startDelay="500" target="{test4}" />              
    <s:Fade startDelay="500" target="{test5}" />              
    <s:Fade startDelay="500" target="{test6}" />
    </s:Parallel>
    </s:Sequence>
    </s:Transition>
    </s:transitions>
    This only occours when i scroll the list via touch on the device or via mouse-drag in the emulator. if i use the mousewheel to scroll in the emulator everything is fine. So am i doing something wrong or what can i do to stop the animation from being played again during scrolling?

    Thanks for your help!
    <?xml version="1.0" encoding="utf-8"?>
    <s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
                               xmlns:s="library://ns.adobe.com/flex/spark"
                                  xmlns:fxg="fxgAssets.*"
                                  xmlns:components="components.*"
                                  >
    <!-- States ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <s:states>
              <s:State name="normal" />
              <s:State name="selected" />
         </s:states>
    <!-- Script ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <fx:Script>
              <![CDATA[
                   // imports ------------------------------------
                   import mx.events.FlexEvent;
                   // event handlers -------------------------------------------
                   protected function editField(event:MouseEvent):void
                   protected function deleteField(event:MouseEvent):void
                   protected function initializeButton(s1:String,s2:String,event:FlexEvent):void
                        import fxgAssets.*;
                        editIcon;
                        editIcon2;
                        deleteIcon2;
                        deleteIcon;
                        var cls:Class=getDefinitionByName(s1) as Class;
                        event.target.img1=new cls();
                        cls=getDefinitionByName(s2) as Class;
                        event.target.img2=new cls();               
              ]]>
         </fx:Script>
    <!-- Declarations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <fx:Declarations>
         </fx:Declarations>
    <!-- Transitions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <s:transitions>
                   <s:Transition fromState="normal" toState="selected" >
                             <s:Sequence duration="800" >
                                       <s:Parallel>                                       
                                            <s:Resize target="{this}" />                                       
                                            <s:Fade startDelay="500" target="{editButton}" />         
                                            <s:Fade startDelay="500" target="{deleteButton}" />              
                                            <s:Fade startDelay="500" target="{product}" />              
                                            <s:Fade startDelay="500" target="{date}" />              
                                            <s:Fade startDelay="500" target="{test6}" />              
                                       </s:Parallel>    
                                  </s:Sequence>                        
                   </s:Transition>                   
         </s:transitions>
    <!-- Graphics ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <s:Rect width="100%" height="1" bottom="0">
              <s:fill>
                   <s:SolidColor color="0xe0e0e0" />
              </s:fill>
         </s:Rect>
         <s:Rect width="100%" height="100%" includeIn="selected">
              <s:fill>
                   <s:LinearGradient rotation="90">
                        <s:GradientEntry color="#ffba00" ratio="0" alpha="1"/>
                        <s:GradientEntry color="#ffba00" ratio="1" alpha="1"/>
                   </s:LinearGradient>
              </s:fill>
         </s:Rect>
         <s:Line id="test6" xFrom="15" xTo="225" yFrom="75" yTo="75" includeIn="selected" >
              <s:stroke>
                   <s:SolidColorStroke color="white" weight="5"/>
              </s:stroke>
         </s:Line>
    <!-- UI components ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <s:VGroup width="100%" >
              <s:HGroup width="100%" >
                   <s:HGroup width="50%"  horizontalAlign="left">
                        <s:Label id="fieldName" text="Acker 1" width="100%" paddingTop="25"  paddingBottom="25" fontSize.selected="31" fontWeight.selected="bold"/>         
                   </s:HGroup>
                   <s:HGroup width="50%" horizontalAlign="right">
                        <components:MainMenuButton click="editField(event)"
                                                         skinClass="skins.MainMenuButtonSkin"
                                                         preinitialize="initializeButton('fxgAssets.editIcon2','fxgAssets.editIcon',event)"
                                                         id="editButton" scaleX="2.5" scaleY="2.5" includeIn="selected"
                                                         />
                        <components:MainMenuButton click="deleteField(event)"
                                                         skinClass="skins.MainMenuButtonSkin"
                                                         preinitialize="initializeButton('fxgAssets.deleteIcon2','fxgAssets.deleteIcon',event)"
                                                         id="deleteButton" scaleX="2.5" scaleY="2.5" includeIn="selected"
                                                         />
                   </s:HGroup>
              </s:HGroup>
              <s:VGroup includeIn="selected" paddingBottom="5" paddingLeft="5" paddingRight="5" paddingTop="5"  >
                   <s:Label id="product" text="Produkt: Mais" width="100%" paddingBottom="10"/>
                   <s:Label id="date" text="Zeitraum: Di 01.01.2011 - Mi 02.02.2011" width="100%" paddingBottom="10"/>              
              </s:VGroup>
         </s:VGroup>
    </s:ItemRenderer>

  • Problems with deleting Transitions

    For some off reason, when I try and delete some dissolves they don't delete. It's almost as if the transition is part of the timeline. Even after I delete the clip and scrub the timeline, the transition effect is still there!
    Anyone have a fix for this.Or a reason this is happening?

    ....but why would you want a blank space of nothing in your movie?
    A blank space can be pretty useful.
    1. To create a temporary placeholder.
    2. To create a clip with a colored background. Creating a blank space — actually called a Black clip — is the first step towards creating a green clip, a pink clip, or whatever color you want.
    Let's say you want to make a gold title over a green background.
    • Set the timeline to Timeline view (not Clips view).
    • Drag a clip right to create a Black clip.
    • Switch the timeline to Clips view. the Black clip will appear.
    • Double-click on the Black clip to open the Clip Info window.
    • Click on the color box and change its color to green.
    • Add the title.
    Karl

  • Problems with fl.transitions.*

    Hi,
    I can't work as usual I would do with the fl.transition
    classes in flash CS3.
    In CS3 everything's function well but in an pure AS3 Project
    in Flex 3b, nothing seems normal and stable, enough.
    I.e. there's no other Easing Class as the "Strong" Type.
    Is this just because it's the beta release or do I something
    wrong here?
    I import the Classes like this: import fl.transitions.*; etc.
    The import mx.effects works in a Flex Project, only.
    Thx
    Best regards,
    Ali

    Hi,
    I can't work as usual I would do with the fl.transition
    classes in flash CS3.
    In CS3 everything's function well but in an pure AS3 Project
    in Flex 3b, nothing seems normal and stable, enough.
    I.e. there's no other Easing Class as the "Strong" Type.
    Is this just because it's the beta release or do I something
    wrong here?
    I import the Classes like this: import fl.transitions.*; etc.
    The import mx.effects works in a Flex Project, only.
    Thx
    Best regards,
    Ali

  • Problem with slide advancing after video.

    Hello,
    I'll start by mentioning I'm a Captivate rookie and am just learning. I'm currently using Captivate 5.
    I'm using video within captivate and would like to give the user playback control of the video(s) itself. Initally I was using "Slide Video" as the playback bars were not a concern and the request came at the last minute. I believe I need to switch to inserting "FLV or F4V" to gain this control but here is my issue.
    When I publish I can control the video just fine, but lets say the video is 5 minutes and I skip 3 minutes in the middle (so I only see 2 minutes of the 5), I still have to wait when the video ends for the remaining time to countdown before the slide advances to the next. How do I get the slide to advance as soon as the video is done, regardless of it's duration?
    I'm sure it's easy but it's drivin' me bonkers!!
    Thanks in advance for any guidance you fine folks might be able to provide.

    Welcome to our community
    If you take a look at the properties panel, more specifically, the Timing area, there is an option you might wish to try enabling.
    Click image below for possibly larger (and clearer) view
    You might try to enable this setting and see if it helps. However, I hold the opinion that a bug exists with Captivate and this feature. In my classroom training I've noticed the option doesn't seem to allow the slide to progress. In other words, don't be surprised if it doesn't work for you. And if it doesn't, please Please PLEASE consider filing a bug report so the issue gains priority on the Adobe side for a fix. (Link to the bug reporting form is in my sig)
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

Maybe you are looking for