Progess Bar in Slide Presentaion

I have a slide presentation swf embedded in a main swf. The
slide presentation swf acts as an interface to view slides.
However, the images I am loading into the viewer are large jpg's.
They take a while to load and without a progress bar, there is no
way for the user to know anything is loading. Is it possible to
have a progress bar displayed between each image that is loaded
into the slide screens?
-R

Taken from the SDK help file:
'// Start the progress bar
Dim m_oProgBar As SAPbouiCOM.ProgressBar
Set m_oProgBar = m_App.StatusBar.CreateProgressBar("My Progress Bar", 10, True)
m_oProgBar.Value = 0
'// Forward\Backward commands
Dim iPos As Integer
iPos = m_oProgBar.Value
m_oProgBar.Value = iPos u2013 1 / +1
'// Stop the progress bar
m_oProgBar.Stop
Set m_oProgBar = Nothing

Similar Messages

  • I am facing to open slide presentation, appear a pop up saying my resoluition is not correct. I had tried all resolution but I keep not abble to view my photos in slide presentaion. What Could  be this problem?

    I am facing to open slide presentation, appear a pop up saying my resoluition is not correct. I had tried all resolution but I keep not abble to view my photos in slide presentaion. What Could  be this problem? This started after I update the Iphoto. I have a Mac Mini 2010, and have the latest IOS and Iphoto software.

    looks like this is your network connection settings problem, you'd better only keep one network adaptor online and linked, if you do not understand how to setup windows routing, this is completely not firefox problem. buddy. wish you goodluck.

  • Two progress bar joined or two diferent scale range in one progess bar!

    Hello guys,
    I try to get 2 diferent scales range in one progess bar. But I cant get it.
    So, I tried to join 2 progess bar putting the fit scales to look similar like I want to. One from 0 to 100 and the second from 100 to 300.
    In case I need to use 2 progress bar, the problem is the second start with mark in the start, I would like the second to be totally clear from 0.
    Is it possible?.
    Regards.
    Solved!
    Go to Solution.
    Attachments:
    progress_bar_joined.vi ‏10 KB

    Alternatively, you could set the Fill Style.  0 is no fill while 1 is Fill To Min.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    progress_bar_joined(1).zip ‏8 KB

  • Could you change the way ff behaves in fullscreen? i hate it when i moves whole page on tab-bar display. tab-bar should slide on page without moving it

    could you change the way ff behaves in fullscreen? i hate it when i moves whole page on tab-bar display. tab-bar should slide on page without moving it

    I agree and looked everywhere for
    http://www.krickelkrackel.de/autohide/
    to no avail.
    Can someone please change how to make fullscreen not push the page down when toolbars are shown on mouse hover in FF? The toolbars should behave more like IE. This would make FF SO much better. Please dont take the IE comparison the wrong way as FF is quite superior and the ONLY browser I use, but this one thing has got to be changed. It's irritating the way FF pushes the whole web page down while in fullscreen mode when the toolbars are shown on mouse hover.

  • Slider or scrub bar per slide

    Hi Folks,
    Does anyone know how to create a slider or scrub bar per slide. The one that comes with the Captivate 5 skin is a slider for the entire duration of the project. I need one specific to each slide.
    Thanks,
    Chris

    There is no standard object in Captivate that will give you a scrub/slider bar for an individual slide that would enable a user to move at will from the first frame of the slide to the last and any point in between.
    The default slider on a Captivate playbar is the closest you get out of the box.

  • Control Bar in Slide Show

    7.1.3
    Is there a way to get rid of the control bar which pops up anytime you move the mouse during the slide show? I am putting together an audio visual presentation with two laptops and a bunch of other stuff.
    (video/audio mixer, stage lighting etc.) With a split screen I can run iPhoto/iMovie from either laptop on the "big" screen while controlling the sound from the laptop through the small screen....
    Problem is, while the audience is watching the big screen, and I touch the mouse, the control bar shows up at the bottom of their screen......no good....
    Thanks.

    You're rather far beyond the intended uses of iPhoto there my friend. No there's no way to stop that menu appearing. You might be best to consider using a different application or export the slideshow as a Quicktime Movie. Alternative apps which might help are PhotoToMovie or PhotoPresenter, both of which integrate with iPhoto.
    Regards
    TD

  • Scroll Bar or Slide Bar to control Playhead or Layer On/Off

    Hello Lingo Forum...
    I need to generate a script that will control the location of the Playhead or Turn off/on Layers based on the location of a slider bar. For example.. A slider bar needs to be created and lingo attached so when a user moves the slider up/down or Left/Right a Sprite will change based on the slider's location. I am not sure if it is better to have the Lingo turn Layers on and off based on location, or to move the playhead to swap sprites. I am looking for anyone who has accomplished this or has a link to an example of it. ANY HELP would be greatly appreciated for my LINGO skills are remedial at best.
    Thanks
    -Bill

    I think in this instance the slider should display a series of bitmaps in different frames...
    What I was trying to drive at in my previous post is that if all you are wanting to do is display a different bitmap based on slider position then it can easily be done in a single frame with a single sprite (displaying whichever bitmap in the sequence based on slider position). I would organise the slider to broadcast some kind of an "update" message when changed (and send its current value with this - as long as the ratio or limits are understood) and have the bitmap sprite catch this message and respond by displaying the appropriate cast member.

  • Playback Bar Skipping Slides

    At first I had put buttons on all my slides to manually move
    forward and back. But then I needed a pause that would start and
    stop the audio, so I selected a playback bar with the the Skin
    setting. To make the slide stop, however I still had to have a
    button that paused the slide after the audio was done.
    Over all this mostly works.
    However it seems that occasionally pressing the next button
    in the skin playback bar will cause Captivate to just "flash" over
    a slide. I see it blink on for just a moment, and then it is gone.
    I've checked the ones that it does it to, and they aren't always
    the same, and I don't see anything that could be causing the
    problem. They are set to display for a certain length of time, they
    have a button to pause them, and so on.
    Any idea where to look?

    I think I've figured out what the problem is.
    I want the user to stay on a slide until they click the
    playbar "next" button.
    Since there is no way to just stop a slide by itself. I've
    put a button which pauses the slide onto the slide.
    That button is "hidden" by being underneath the place where
    the playbar will show up.
    It seems to work when I publish it directly out of Captivate
    But when I then load that swf into Articulate, both the
    playbar next and the next next are being pressed and that skips me
    ahead.
    It seems the answer is to make a button that pauses the
    slide, but has an action of nothing.
    Does that seem sensible? Does anybody else have ideas?

  • Progess bar is not showing until the task is completed

    Hi,
    when some button press, in button action i am using "progessBar.setVisible(true)" as fist statement then i am processing some XML files.
    according to above scenario the progress Bar need to visible first then processing XML files later
    but after processing the XML files the progress bar is showing.
    i want to progressbar visible fist then xml files process start
    this is the sample code
    private void addComp(java.awt.event.ActionEvent evt) ------------------------------------------------>here button action start
        progressBar.setVisible(true);----------------------------------------------------------------------->here i am make progressBar visible
        progressBar.setVisible(true);
        buttoncount++;
        if(buttoncount>=2)
            jComboBox1.removeAllItems();
            jComboBox2.removeAllItems();
        jComboBox1.addItem("         ---select---");
        jComboBox2.addItem("         ---select---");
       System.out.println("enter into action");
            try {
                File dir = new File("C:\\Xmlfiles");----------------------------------------->from here XML processing starts
                System.out.println("time in nano :"+System.nanoTime());
                filesList = dir.list();
                java.lang.Process p = null;
                Runtime rt = Runtime.getRuntime();
                for (int i = 0; i < filesList.length; i++)
                    String fname = filesList;
    String[] s = fname.split("\\.");
    String s1 = s[0];
    if (fname.endsWith(".xml"))
    String fname1 = dir.toString() + "\\" + fname;
    String command =
    "cmd /c pari_api_client.bat -s localhost -u admin -p Pari0426 -if " +
    fname1 +" -of C:\\Responses\\" + s1 + "xmlResp.xml";
    String[] st=null;
    File wdir=new File("C:\\apiDist\\bin");
    p = rt.exec(command, st, wdir);
    requests++;
    Thread.sleep(1500);
    status=true;
    File dir1 = new File("C:\\Responses");
    String[] filesList = dir1.list();
    int responses=filesList.length;
    System.out.println("Lenght :"+responses);
    System.out.println("Faild Xml files :");
    int unSuccessfulXmls=0;
    for(int i=0;i<filesList.length;i++)
    if(filesList[i].endsWith(".xml"))
    String fname=dir1.toString()+"\\"+filesList[i];
    DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
    DocumentBuilder docBuilder=docBuilderFactory.newDocumentBuilder();
    Document doc=docBuilder.parse(fname);
    org.w3c.dom.Element root=doc.getDocumentElement();
    org.w3c.dom.Element elm=XMLUtil.getElementByTagName(root,"ErrorList");
    org.w3c.dom.Element warnElm=XMLUtil.getElementByTagName(root,"WarnList");
    String fname1=filesList[i];
    if(elm!=null||warnElm!=null)
    System.out.println(fname1);
    jComboBox2.addItem(fname1);
    else
    System.out.println(fname1);
    jComboBox1.addItem(fname1);
    } catch (Exception e) {
    e.printStackTrace();
    System.out.println("file processing over");
    after processing the XML files the progressBar is visible
    what is the problem?? where i am missing
    please help meeee
    Thanks in advance,
    Nagaraju.
    Edited by: uppala on Dec 23, 2009 11:00 AM
    Edited by: uppala on Dec 23, 2009 11:31 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Your code is execting on the Event Dispatch Thread (EDT) which means the GUI can't repaint itself until the long running task finishes.
    Read the JProgressBar API and follow the link to the Swing tutorial on "How to Use Progress Bars" for a working example. While in the tutorial you should also read the section on "Concurrency" which explains about the EDT.

  • Scrub Bar and Slider question

    I am trying to better understand the edit sliders in QT 7 Pro.
    In 6 Pro I would hold the shift key and drag the slider from an IN point to an OUT point of my choosing. This would now be highlighted, or selected. I could then cut or copy that selection. When I try that in QT 7, as soon as I click down on my IN point, everything is selected all the way back to the beginning of the movie. In essence, it is selecting backwards. I also notice that the two (in-out?) markers appear when I click anywhere along the scrub line. I am getting things done but clumsily. I know there must be some handy, easy ways to manage these powerful new features. Tips, please. Thanks.
    *Apple's Quicktime Guide seems nothing more than a bunch of ads. I can't find any actual "guide."
    nÔÔdle--hëad

    Use the letter i and o keys to select in and out points. They will be created at the location of the playhead.
    Hold down the shift key and use the arrow keys to add (or remove) frames.

  • HT4796 Migrate Asst is stuck on Copying Music. The progession bar is blank and no time of completion given

    I am trying to transfer from Windows PC to New MacBook Pro. Stuck at Copying Music.Help

    Hi Risdian, thanks for the comments and suggestions, however none seemed to lead to any success. When setting the carrier off automatic, after a few seconds of searching the device returns the message, "Unable to load network list", and I have placed my sim into another unlocked iPhone 5 and it worked perfectly, picking up service almost immediately. I can also iMessage and connect to wifi fine, so i don't fully understand the issue.
    I guess my iPhone is in need of repair, so if there are no other conceivable 'at home' fixes, i'll have to bring the phone to the apple store for a diagnosis. Any other suggestions or comments would be happily welcomed
    Thanks for replying and commenting, you were very helpful

  • Lock the progress bar in the Adobe Captivate 5.5 playbar.

    I recently read some interesting postings from cpguru website. One of them is how to lock the progress bar.
    (http://www.cpguru.com/tutorial-lock-the-progress-bar-in-the-adobe-captivate-playbar/)
    It says that we can lock the progess bar with simple three lines of AS2 code.
    this.stop();
    delete _root.cpPbcBar_mc.pbcBar_mc.pbcSlider_mc.onMouseDown;
    delete _root._level0.cpPbcBar_mc.pbcBar_mc.pbcSlider_mc.onMouseDown;
    I would like to use this code, but my captivate version is 5.5, which means
    I do need to have AS3 code. Is there anyone who already figure out how to do it with AS3?
    If so, could you give me some guidance.
    Sami

    Hi Sami,
    I am not sure if you would like to hide it or lock it.
    I can recommend you to use the a system defined variable and set it to hide the play bar on ceratin slides so it would not appear on those slide.
    Thanks!
    Anjaneai

  • How do I reposition image scroller bar from middle to the right

    I am customising an image thumb scroller. and trying to follow up previously developed code.
    All worked fine until the last moment when thumbnails bar is positioned as if its starting point is in the middle of the screen. I suppose it was developed for the flash screen layout with centered coordinates. My stage probably has them set to the upper left corner.
    I can not make the bar move.
    My stage size is 1024 x 768
    Where do I do my math in the code so the thumbnails will be located in the middle of the screen rather than in its right hand.
    Here are the code snippets responsible for the thumbnails build up:
      const _THUMB_WIDTH:Number = 50;
      const _THUMB_HEIGHT:Number = 64;
      const _IMAGE_WIDTH:Number = 860;//550;original #
      const _IMAGE_HEIGHT:Number = 500;//355;original #
      const _THUMB_GAP:Number = 2;
      const _SCROLL_SPEED:Number = 12;
      const _SCROLL_AREA:Number = 150;
    var _progressBar:MovieClip;
    var _arrowLeft:MovieClip;
    var _arrowRight:MovieClip;
    var _slides:Array;
    var _curSlide:Slide; //Slide that is currently displaying
    var _loadingSlide:Slide; //only used when a Slide is supposed to show but hasn't been fully loaded yet (like if the user clicks "next" many times before all the images have loaded). We keep track of the one that's in the process of loading and should be shown as soon as it finishes, then we set _loadingSlide back to null.
    var _imagesContainer:Sprite; //the Sprite into which the full-size images are placed (this helps manage the stacking order so that the images can always be behind everything else and yet we can addChild() each image so that it shows up on top of the previous one)
    var _thumbnailsContainer:Sprite; //the Sprite into which the thumbnail images are placed. This also allows us to slide them all at the same time.
    var _destScrollX:Number = 0; //destination x value for the _thumbnailsContainer which is used for scrolling it across the bottom. We don't want to use _thumbnailsContainer.x because it could be in the process of tweening, so we keep track of the end/destination value and add/subtract from it when creating our tweens.
    var _minScrollX:Number; //we know the maximum x value for _thumbnailsContainer is 0, but the mimimum value will depend on how many thumbnail images it contains (the total width). We calculate it in the _setupThumbnails() method and store it here for easier/faster scrolling calculations in the _enterFrameHandler()
    _thumbnailsContainer = new Sprite();
    addChild(_thumbnailsContainer);
    //_thumbnailsContainer.x = -550;//moves x position of thumbnails, instead done in line 273 thumbnail.x = curX - 590;
    _thumbnailsContainer.y = _IMAGE_HEIGHT;//moves y position of thumbnails
    _thumbnailsContainer.alpha = 0; //we want alpha 0 initially because we'll fade it in later when the thumbnails load.
    _thumbnailsContainer.visible = false; //ensures nothing is clickable.
    var xmlLoader:XMLLoader = new XMLLoader("loadingAssets/appThumbnails/slideshow_image scroller greenSock_mine/assets/data.xml", {onComplete:_xmlCompleteHandler});
    xmlLoader.load();
    function _xmlCompleteHandler(event:LoaderEvent):void {
    _slides = [];
    var xml:XML = event.target.content; //the XMLLoader's "content" is the XML that was loaded.
    var imageList:XMLList = xml.image; //In the XML, we have <image /> nodes with all the info we need.
    //loop through each <image /> node and create a Slide object for each.
    for each (var image:XML in imageList) {
    _slides.push( new Slide(image.@name,
    image.@description,
    new ImageLoader("loadingAssets/appThumbnails/slideshow_image scroller greenSock_mine/assets/thumbnails/appThmb_imgs/" + image.@name + ".jpg",
    name:image.@name + "Thumb",
    width:_THUMB_WIDTH,
    height:_THUMB_HEIGHT,
    //centerRegistration:true,
    //x:260, y:320,//doesn't work here but works in line 69
    scaleMode:"proportionalInside",
    bgColor:0x000000,
    estimatedBytes:13000,
    onFail:_imageFailHandler}),
    //loops through all the thumbnail images and places them in the proper order across the bottom of the screen and adds CLICK_THUMBNAIL listeners.
    function _setupThumbnails():void {
    var l:int = _slides.length;
    var curX:Number = _THUMB_GAP;
    for (var i:int = 0; i < l; i++) {
    var thumbnail:Sprite = _slides[i].thumbnail;
    _thumbnailsContainer.addChild(thumbnail);
    TweenLite.to(thumbnail, 0, {colorTransform:{brightness:0.5}});
    _slides[i].addEventListener(Slide.CLICK_THUMBNAIL, _clickThumbnailHandler, false, 0, true);
    thumbnail.x = curX;
    thumbnail.y = -234;//defines y position of the thumbnails row
    curX += _THUMB_WIDTH + _THUMB_GAP;
    _minScrollX = _IMAGE_WIDTH - curX;
    if (_minScrollX > 0) {
    _minScrollX = 0;
    function _enterFrameHandler(event:Event):void {
    if (_thumbnailsContainer.hitTestPoint(this.stage.mouseX, this.stage.mouseY, false)) {
    if (this.mouseX < _SCROLL_AREA) {
    _destScrollX += ((_SCROLL_AREA - this.mouseX) / _SCROLL_AREA) * _SCROLL_SPEED;
    if (_destScrollX > 0) {  //this number is 1/2 the stage size, previously was at 0 it defines the left position of the thumbnails scroll end, has to be indentical to the number below
    _destScrollX = 0;    //this number is 1/2 the stage size, previously was at 0 it defines the left position of the thumbnails scroll end, has to be indentical to the number above
    TweenLite.to(_thumbnailsContainer, 0.5, {x:_destScrollX});
    } else if (this.mouseX > _IMAGE_WIDTH - _SCROLL_AREA) {
    _destScrollX -= ((this.mouseX - (_IMAGE_WIDTH - _SCROLL_AREA)) / _SCROLL_AREA) * _SCROLL_SPEED;
    if (_destScrollX < _minScrollX) {
    _destScrollX = _minScrollX;
    TweenLite.to(_thumbnailsContainer, 0.5, {x:_destScrollX});

    Hi, thanks for taking a look at my problem.
    I assume that the code was difficult to read due to an unusual line brakes, which somehow I got when pasting on this site.
    Please take a look I am pasting the code anew in it entirety:
    (please let me know if you would like me to separate the areas which I believe give me troubles to address my previously describe problem:
    All worked fine until the last moment when thumbnails bar is positioned as if its starting point is in the middle of the screen. I suppose it was developed for the flash screen layout with centered coordinates. My stage probably has them set to the upper left corner.
    I can not make the bar move.
    My stage size is 1024 x 768
    Where do I do my math in the code so the thumbnails will be located in the middle of the screen rather than in its right hand.)
    (Also wanted to mention that there an external file Slide.as which is not responsible for the construction and positioning of the thumbnails)
              import com.greensock.*;
              import com.greensock.loading.*;
              //import com.greensock.events.LoaderEvent;
              import com.greensock.loading.display.*;
              //import com.greensock.TweenLite;
              import com.greensock.events.LoaderEvent;
              //import com.greensock.loading.ImageLoader;
              //import com.greensock.loading.SWFLoader;
              //import com.greensock.loading.LoaderMax;
              //import com.greensock.loading.XMLLoader;
              import com.greensock.plugins.AutoAlphaPlugin;
              import com.greensock.plugins.ColorTransformPlugin;
              import com.greensock.plugins.GlowFilterPlugin;
              import com.greensock.plugins.BlurFilterPlugin;//i added this filter to blur the progressBar
              import com.greensock.plugins.TweenPlugin;
              import flash.display.MovieClip;
              import flash.display.Sprite;
              import flash.events.Event;
              import flash.events.MouseEvent;
              //public class SlideshowExample extends MovieClip {
                          const _THUMB_WIDTH:Number = 50;
                          const _THUMB_HEIGHT:Number = 64;
                          const _IMAGE_WIDTH:Number = 860;//550;original #
                          const _IMAGE_HEIGHT:Number = 500;//355;original #
                          const _THUMB_GAP:Number = 2;
                          const _SCROLL_SPEED:Number = 12;
                          const _SCROLL_AREA:Number = 150;
                         var _progressBar:MovieClip;
                         var _arrowLeft:MovieClip;
                         var _arrowRight:MovieClip;
                         var _slides:Array;
                         var _curSlide:Slide; //Slide that is currently displaying
                         var _loadingSlide:Slide; //only used when a Slide is supposed to show but hasn't been fully loaded yet (like if the user clicks "next" many times before all the images have loaded). We keep track of the one that's in the process of loading and should be shown as soon as it finishes, then we set _loadingSlide back to null.
                         var _imagesContainer:Sprite; //the Sprite into which the full-size images are placed (this helps manage the stacking order so that the images can always be behind everything else and yet we can addChild() each image so that it shows up on top of the previous one)
                         var _thumbnailsContainer:Sprite; //the Sprite into which the thumbnail images are placed. This also allows us to slide them all at the same time.
                         var _destScrollX:Number = 0; //destination x value for the _thumbnailsContainer which is used for scrolling it across the bottom. We don't want to use _thumbnailsContainer.x because it could be in the process of tweening, so we keep track of the end/destination value and add/subtract from it when creating our tweens.
                         var _minScrollX:Number; //we know the maximum x value for _thumbnailsContainer is 0, but the mimimum value will depend on how many thumbnail images it contains (the total width). We calculate it in the _setupThumbnails() method and store it here for easier/faster scrolling calculations in the _enterFrameHandler()
                         //function SlideshowExample() {
                                  //super();
                                  //activate the plugins that we'll be using so that TweenLite can tween special properties like filters, colorTransform, and do autoAlpha fades.
                                  TweenPlugin.activate([AutoAlphaPlugin, ColorTransformPlugin, GlowFilterPlugin, BlurFilterPlugin]);//i added BlurFilterPlugin at the end
                                  _progressBar = this.getChildByName("progress_mc") as MovieClip;
                                  _arrowLeft = this.getChildByName("arrowLeft_mc") as MovieClip;
                                  _arrowRight = this.getChildByName("arrowRight_mc") as MovieClip;
                                  //////////my additions to make progress bay blurry
                                  TweenLite.to(progress_mc.progressBar_mc.gradientbar_appLoader_mcPopUp_mc, 0, {blurFilter:{blurX:21, blurY:8}});//i added this line to make ProgressBar_mc to blur
                                  TweenLite.to(progress_mc.rectangleGray, 0, {blurFilter:{blurX:21, blurY:8}});//i added this line to make ProgressBar_mc to blur
                                  _arrowLeft.visible = _arrowRight.visible = false;
                                  _imagesContainer = new Sprite();
                                  this.addChildAt(_imagesContainer, 0);
                                  _thumbnailsContainer = new Sprite();
                                  addChild(_thumbnailsContainer);
                                  //_thumbnailsContainer.x = -550;//moves x position of thumbnails, instead done in line 273 thumbnail.x = curX - 590;
                                  _thumbnailsContainer.y = _IMAGE_HEIGHT;//moves y position of thumbnails
                                  _thumbnailsContainer.alpha = 0; //we want alpha 0 initially because we'll fade it in later when the thumbnails load.
                                  _thumbnailsContainer.visible = false; //ensures nothing is clickable.
                                  var xmlLoader:XMLLoader = new XMLLoader("loadingAssets/appThumbnails/slideshow_image scroller greenSock_mine/assets/data.xml", {onComplete:_xmlCompleteHandler});
                                  xmlLoader.load();
                         function _xmlCompleteHandler(event:LoaderEvent):void {
                                  _slides = [];
                                  var xml:XML = event.target.content; //the XMLLoader's "content" is the XML that was loaded.
                                  var imageList:XMLList = xml.image; //In the XML, we have <image /> nodes with all the info we need.
                                  //loop through each <image /> node and create a Slide object for each.
                                  for each (var image:XML in imageList) {
                                            _slides.push( new Slide(image.@name,
                                                                                                        image.@description,
                                                                                                        new ImageLoader("loadingAssets/appThumbnails/slideshow_image scroller greenSock_mine/assets/thumbnails/appThmb_imgs/" + image.@name + ".jpg",
                                                                                                                                                          name:image.@na me + "Thumb",
                                                                                                                                                          width:_THUMB_W IDTH,
                                                                                                                                                          height:_THUMB_ HEIGHT,
                                                                                                                                                          //centerRegist ration:true,
                                                                                                                                                          //x:260, y:320,//doesn't work here but works in line 69
                                                                                                                                                          scaleMode:"pro portionalInside",
                                                                                                                                                          bgColor:0x0000 00,
                                                                                                                                                          estimatedBytes :13000,
                                                                                                                                                          onFail:_imageF ailHandler}),
                                                                                                        new SWFLoader("loadingAssets/appThumbnails/slideshow_image scroller greenSock_mine/assets/images/" + image.@name + ".swf",
                                                                                                                                                  name:image.@name + "Image",
                                                                                                                                                  width:_IMAGE_WIDTH,
                                                                                                                                                  height:_IMAGE_HEIGHT,
                                                                                                                                                  //centerRegistration:true,
                                                                                                                                                  x:-420, y:-260,
                                                                                                                                                  scaleMode:"proportionalInside",
                                                                                                                                                  bgColor:0x000000,
                                                                                                                                                  estimatedBytes:820000,
                                                                                                                                                  onFail:_imageFailHandler})
                                  //now create a LoaderMax queue and populate it with all the thumbnail ImageLoaders as well as the very first full-size ImageLoader. We don't want to show anything until the thumbnails are done loading as well as the first full-size one. After that, we'll create another LoaderMax queue containing the rest of the full-size images that will load silently in the background.
                                  var initialLoadQueue:LoaderMax = new LoaderMax({onComplete:_initialLoadComplete, onProgress:_progressHandler});
                                  for (var i:int = 0; i < _slides.length; i++) {
                                            initialLoadQueue.append( _slides[i].thumbnailLoader );
                                  initialLoadQueue.append(_slides[0].imageLoader); //make sure the very first full-sized image is loaded initially too.
                                  initialLoadQueue.load();
                                  _setupThumbnails();
                         function _initialLoadComplete(event:LoaderEvent):void {
                                  //now that the initial load is complete, fade out the progressBar. autoAlpha will automatically set visible to false once alpha hits 0.
                                  TweenLite.to(_progressBar, 0.5, {autoAlpha:0});
                                  //fade in the thumbnails container
                                  TweenLite.to(_thumbnailsContainer, 1, {autoAlpha:1});
                                  _setupArrows();
                                  //setup the ENTER_FRAME listeners that controls the thumbnail scrolling behavior at the bottom
                                  this.stage.addEventListener(Event.ENTER_FRAME, _enterFrameHandler, false, 0, true);
                                  //now put all the remaining images into a LoaderMax queue that will load them one-at-a-time in the background in the proper order. This can greatly improve the user's experience compared to loading them on demand which forces the user to wait while the next image loads.
                                  var imagesQueue:LoaderMax = new LoaderMax({maxConnections:1});
                                  for (var i:int = 1; i < _slides.length; i++) {
                                            imagesQueue.append( _slides[i].imageLoader );
                                  imagesQueue.load();
                                  //now start the slideshow
                                  _showNext(null);
                        //loops through all the thumbnail images and places them in the proper order across the bottom of the screen and adds CLICK_THUMBNAIL listeners.
                         function _setupThumbnails():void {
                                  var l:int = _slides.length;
                                  var curX:Number = _THUMB_GAP;
                                  for (var i:int = 0; i < l; i++) {
                                            var thumbnail:Sprite = _slides[i].thumbnail;
                                            _thumbnailsContainer.addChild(thumbnail);
                                            TweenLite.to(thumbnail, 0, {colorTransform:{brightness:0.5}});
                                            _slides[i].addEventListener(Slide.CLICK_THUMBNAIL, _clickThumbnailHandler, false, 0, true);
                                            thumbnail.x = curX;
                                            thumbnail.y = -234;//defines y position of the thumbnails row
                                            curX += _THUMB_WIDTH + _THUMB_GAP;
                                  _minScrollX = _IMAGE_WIDTH - curX;
                                  if (_minScrollX > 0) {
                                            _minScrollX = 0;
                         function _setupArrows():void {
                                  _arrowLeft.alpha = _arrowRight.alpha = 0;
                                  _arrowLeft.visible = _arrowRight.visible = true;
                                  _arrowLeft.addEventListener(MouseEvent.ROLL_OVER, _rollOverArrowHandler, false, 0, true);
                                  _arrowLeft.addEventListener(MouseEvent.ROLL_OUT, _rollOutArrowHandler, false, 0, true);
                                  _arrowLeft.addEventListener(MouseEvent.CLICK, _showPrevious, false, 0, true);
                                  _arrowRight.addEventListener(MouseEvent.ROLL_OVER, _rollOverArrowHandler, false, 0, true);
                                  _arrowRight.addEventListener(MouseEvent.ROLL_OUT, _rollOutArrowHandler, false, 0, true);
                                  _arrowRight.addEventListener(MouseEvent.CLICK, _showNext, false, 0, true);
                         function _showNext(event:Event=null):void {
                                  //if there's a _loadingSlide we should assume that the next Slide would be AFTER that one. Otherwise just get the one after the _curSlide.
                                  var next:int = (_loadingSlide != null) ? _slides.indexOf(_loadingSlide) + 1 : _slides.indexOf(_curSlide) + 1;
                                  if (next >= _slides.length) {
                                            next = 0;
                                  _requestSlide(_slides[next]);
                         function _showPrevious(event:Event=null):void {
                                  //if there's a _loadingSlide we should assume that the previous Slide would be BEFORE that one. Otherwise just get the one before the _curSlide.
                                  var prev:int = (_loadingSlide != null) ? _slides.indexOf(_loadingSlide) - 1 : _slides.indexOf(_curSlide) - 1;
                                  if (prev < 0) {
                                            prev = _slides.length - 1;
                                  _requestSlide(_slides[prev]);
                         function _requestSlide(slide:Slide):void {
                                  if (slide == _curSlide) {
                                            return;
                                  //kill the delayed calls to _showNext so that we start over again with a 5-second wait time.
                                  TweenLite.killTweensOf(_showNext);
                                  if (_loadingSlide != null) {
                                            _cancelPrioritizedSlide(); //the user must have skipped to another Slide and didn't want to wait for the one that was loading.
                                  //if the requested Slide's full-sized image hasn't loaded yet, we need to show the progress bar and wait for it to load.
                                  if (slide.imageLoader.progress != 1) {
                                            _prioritizeSlide(slide);
                                            return;
                                  //fade the old Slide and make sure it's not highlighted anymore as the current Slide.
                                  if (_curSlide != null) {
                                            TweenLite.to(_curSlide.image, 0.5, {autoAlpha:0});
                                            _curSlide.setShowingStatus(false);
                                  _curSlide = slide;
                                  _imagesContainer.addChild(_curSlide.image); //ensures the image is at the top of the stacking order inside the _imagesContainer
                                  TweenLite.to(_curSlide.image, 0.5, {autoAlpha:1}); //fade the image in and make sure visible is true.
                                  _curSlide.setShowingStatus(true); //adds an outline to the image indicating that it's the currently showing Slide.
                                  TweenLite.delayedCall(5, _showNext); //create a delayedCall that will call _showNext in 5 seconds.
                         function _prioritizeSlide(slide:Slide):void {
                                  TweenLite.to(_progressBar, 0.5, {autoAlpha:1}); //show the progress bar
                                  _loadingSlide = slide;
                                  _loadingSlide.imageLoader.addEventListener(LoaderEvent.PROGRESS, _progressHandler);
                                  _loadingSlide.imageLoader.addEventListener(LoaderEvent.COMPLETE, _completePrioritizedHandler);
                                  _loadingSlide.imageLoader.prioritize(true); //when the loader is prioritized, it will jump to the top of any LoaderMax queues that it belongs to, so if another loader is in the process of loading in that queue, it will be canceled and this new one will take over which maximizes bandwidth utilization. Once the _loadingSlide is done loading, the LoaderMax queue(s) will continue loading the rest of their images normally.
                         function _cancelPrioritizedSlide():void {
                                  TweenLite.to(_progressBar, 0.5, {autoAlpha:0}); //hide the progress bar
                                  _loadingSlide.imageLoader.removeEventListener(LoaderEvent.PROGRESS, _progressHandler);
                                  _loadingSlide.imageLoader.removeEventListener(LoaderEvent.COMPLETE, _completePrioritizedHandler);
                                  _loadingSlide = null;
                         function _completePrioritizedHandler(event:LoaderEvent):void {
                                  var next:Slide = _loadingSlide; //store it in a local variable first because _cancelPrioritizedSlide() will set _loadingSlide to null.
                                  _cancelPrioritizedSlide();
                                  _requestSlide(next);
                         function _progressHandler(event:LoaderEvent):void {
                                  _progressBar.progressBar_mc.scaleX = event.target.progress;
                         function _clickThumbnailHandler(event:Event):void {
                                  _requestSlide(event.target as Slide);
                         function _rollOverArrowHandler(event:Event):void {
                                  TweenLite.to(event.currentTarget, 0.5, {alpha:1});
                         function _rollOutArrowHandler(event:Event):void {
                                  TweenLite.to(event.currentTarget, 0.5, {alpha:0});
                         function _enterFrameHandler(event:Event):void {
                                  if (_thumbnailsContainer.hitTestPoint(this.stage.mouseX, this.stage.mouseY, false)) {
                                            if (this.mouseX < _SCROLL_AREA) {
                                                      _destScrollX += ((_SCROLL_AREA - this.mouseX) / _SCROLL_AREA) * _SCROLL_SPEED;
                                                      if (_destScrollX > 0) {  //this number is 1/2 the stage size, previously was at 0 it defines the left position of the thumbnails scroll end, has to be indentical to the number below
                                                                _destScrollX = 0;    //this number is 1/2 the stage size, previously was at 0 it defines the left position of the thumbnails scroll end, has to be indentical to the number above
                                                      TweenLite.to(_thumbnailsContainer, 0.5, {x:_destScrollX});
                                            } else if (this.mouseX > _IMAGE_WIDTH - _SCROLL_AREA) {
                                                      _destScrollX -= ((this.mouseX - (_IMAGE_WIDTH - _SCROLL_AREA)) / _SCROLL_AREA) * _SCROLL_SPEED;
                                                      if (_destScrollX < _minScrollX) {
                                                                _destScrollX = _minScrollX;
                                                      TweenLite.to(_thumbnailsContainer, 0.5, {x:_destScrollX});
                        //if an image fails to load properly, remove it from the slideshow completely including its thumbnail at the bottom.
                         function _imageFailHandler(event:LoaderEvent):void {
                                  var slide:Slide;
                                  var i:int = _slides.length;
                                  while (--i > -1) {
                                            slide = _slides[i];
                                            if (event.target == slide.thumbnailLoader || event.target == slide.imageLoader) {
                                                      slide.dispose();
                                                      _slides.splice(i, 1);
                                                      _setupThumbnails();
                                                      return;

  • Captivate 3 - Slides don't display

    I've got a user who has a LARGE .cp file - about 51MG - and when he opens the presentation, the slides don't display.  I can see 70 items in the Library, but the Storyboard, Edit and Branching views only display one blank slide.  Title Bar says Slide 1 of 1.  I've copied to my Desktop because the presentation takes 'forever' to open from the Network and thought maybe that might be part of the problem.  But don't know what else to try.
    Is the file just too large?  Anything we can do to fix it?  Here's the Info on the Project:
    Thanks!
    Deb

    Hi Deb
    Unfortunately the project is likely corrupt. There is one thing to try at this point. Create a blank project that has identical project resolution. Then try importing a few slides from the problem project. If that is successful, rinse and repeat as needed until you recover.
    Beyond that, it's time to drink a strong Margarita, roll up your sleeves and rebuild the project again from scratch. Assuming you have a working SWF, you can use it as a guide.
    Best of luck to you... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcererStone Blog
    Captivate eBooks

  • Grey progress bar on boot

    My Mac Pro restarted several time last night due to power outages during a storm.
    Now when I boot it there is a progess bar under the spining wheel on bootup.
    Boot process takes longer then usual as well.
    How can I fix this?

    Almost seems like it is stuck in a loop of starting to Safe Boot. Try resetting the PRAM and SMC.
    Resetting SMC: http://support.apple.com/kb/HT3964
    Resetting PRAMhttp://support.apple.com/kb/HT1379?viewlocale=en_US:

Maybe you are looking for

  • Can you trade in more than broken ipod touch at a time?

    we have had a lot of accidents with our ipod touches in our 11 people family, we probably have 4 or more 3rd generations lying around not doing anything, my sister has a working ipad, but she wants to get a 5th generation ipod touch, can she trade in

  • Customer master-general data-attribute-creation

    Hi, I would like to use the attribute 1 to 10 fields in customer master general data to fill up relavant to customer . i have seen some SCN postings regarding activation of those fields technically. i want to create some data in the attribute same li

  • Problem in 1GB micro memory card

    hey, i'm using nokia 3120 classic. i have problem on my memory card. when i placed my 1GB micro memory card into my mobile. it show a message "Memory card not formatted". this problem occur when i was moving data from phone memory to memory card, i q

  • Not able to use raise application error in oracle forms

    Below is my code When in used rasie_application_error in program unit proc Iam getting compilation error 'identifer RAISE_APPLICATION_ERROR' must be declared. I have used this in my exception below is the code. Exception      WHEN NO_DATA_FOUND THEN

  • Why decimal Places are allowed during goods issue and Goods receipt for mat

    Why decimal Places are allowed during goods issue and Goods receipt for material with unit of measure PCS. MY config allows consumption in decimal places. How to restrict this? Prem Nivas