XML slideshow with preloader bar

I'm using the following code to create a simple slideshow:
import fl.transitions.Tween;
import fl.transitions.easing.*;
import fl.transitions.TweenEvent;
var my_speed:Number;
var my_count:Number;
var my_images:XMLList;
var my_loaders_array:Array=[];
var my_success_counter:Number=0;
var my_playback_counter:Number=0;
var my_slideshow:Sprite = new Sprite();
var my_image_slides:Sprite = new Sprite();
var my_preloader:TextField;
var my_timer:Timer;
var my_prev_tween:Tween;
var my_tweens_array:Array=[];
var my_xml_loader:URLLoader = new URLLoader();
my_xml_loader.load(new URLRequest("theme1.xml"));
my_xml_loader.addEventListener(Event.COMPLETE, preXML);
next_mc.addEventListener(MouseEvent.CLICK, timerListener);
prev_mc.addEventListener(MouseEvent.CLICK, goBack);
function preXML(e:Event):void {
    var my_xml:XML=new XML(e.target.data);
    my_speed=my_xml.@SPEED;
    my_images=my_xml.IMAGE;
    my_count=my_images.length();
    loadImages();
    my_xml_loader.removeEventListener(Event.COMPLETE, preXML);
    my_xml_loader=null;
function loadImages():void {
    for (var i:Number = 0; i < my_count; i++) {
        var my_url:String=my_images[i].@URL;
        var my_loader:Loader = new Loader();
        my_loader.load(new URLRequest(my_url));
        my_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
        my_loaders_array.push(my_loader);
    my_preloader = new TextField();
    my_preloader.text="Loading";
    my_preloader.autoSize=TextFieldAutoSize.CENTER;
    my_preloader.x = (stage.stageWidth - my_preloader.width)/2;
    my_preloader.y = (stage.stageHeight - my_preloader.height)/2;
    addChild(my_preloader);
function onComplete(e:Event):void {
    my_success_counter++;
    if (my_success_counter==my_count) {
        startShow();
    var my_loaderInfo:LoaderInfo=LoaderInfo(e.target);
    my_loaderInfo.removeEventListener(Event.COMPLETE, onComplete);
function startShow():void {
    removeChild(my_preloader);
    my_preloader=null;
    addChild(my_slideshow);
    my_slideshow.addChild(my_image_slides);
    nextImage();
    my_timer=new Timer(my_speed*2000);
    my_timer.addEventListener(TimerEvent.TIMER, timerListener);
    my_timer.start();
function nextImage():void {
    var my_image:Loader=Loader(my_loaders_array[my_playback_counter]);
    my_image_slides.addChild(my_image);
    my_image.x = (stage.stageWidth - my_image.width)/2;
    my_image.y = (stage.stageHeight - my_image.height)/2;
    my_tweens_array[0]=new Tween(my_image,"alpha",Strong.easeOut,0,1,1,true);
function timerListener(e:Event):void {
    hidePrev();
    my_playback_counter++;
    if (my_playback_counter==my_count) {
        my_playback_counter=0;
    if(e.currentTarget is MovieClip)
        my_timer.reset();
        my_timer.start();
    nextImage();
function goBack(e:MouseEvent):void
    hidePrev();
    my_playback_counter--;
    if (my_playback_counter<0) {
        my_playback_counter=my_count-1;
    nextImage();
    my_timer.reset();
    my_timer.start();
function hidePrev():void {
    var my_image:Loader=Loader(my_image_slides.getChildAt(0));
    my_prev_tween=new Tween(my_image,"alpha",Strong.easeOut,1,0,1,true);
    my_prev_tween.addEventListener(TweenEvent.MOTION_FINISH, onFadeOut);
function onFadeOut(e:TweenEvent):void {
    my_image_slides.removeChildAt(0);
I would like change "loading" to a preloader bar. How can i insert a preloader bar in this code? I add this lines:
var total:Number=this.stage.loaderInfo.bytesTotal;
    var loaded:Number=this.stage.loaderInfo.bytesLoaded;
    var percent:Number=loaded/total;[/b]
    my_preloader = new TextField();
    my_preloader.text=(Math.round(percent * 100)) + "%";
    my_preloader.autoSize=TextFieldAutoSize.CENTER;
    my_preloader.x = (stage.stageWidth - my_preloader.width)/2;
    my_preloader.y = (stage.stageHeight - my_preloader.height)/2;
    addChild(my_preloader);
But only show a static "100%".
Thanks guys!

you'll need to change your basic setup from loading all those images in a for-loop to loading them sequentially.  so, to start:
var loadIndex:int;
function preXML(e:Event):void {
    var my_xml:XML=new XML(e.target.data);
    my_speed=my_xml.@SPEED;
    my_images=my_xml.IMAGE;
    my_count=my_images.length();
loadIndex=0;
    loadImages();
    my_xml_loader.removeEventListener(Event.COMPLETE, preXML);
    my_xml_loader=null;
function loadImages():void {
var i:int=loadIndex;
        var my_url:String=my_images[i].@URL;
        var my_loader:Loader = new Loader();
        my_loader.load(new URLRequest(my_url));
        my_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
my_loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgress);
        my_loaders_array.push(my_loader);
y_preloader = new TextField();
    my_preloader.x = (stage.stageWidth - my_preloader.width)/2;
    my_preloader.y = (stage.stageHeight - my_preloader.height)/2;
    addChild(my_preloader);
function onProgress(e:ProgressEvent):void{
var total:Number=e.bytesTotal;
    var loaded:Number=e.bytesLoaded;
    var percent:Number=loaded/total;[/b]
    my_preloader.text=100*loadIndex/my_count+(Math.round(percent * 100))/my_count + "%";
    my_preloader.autoSize=TextFieldAutoSize.CENTER;
function onComplete(e:Event):void {
    loadIndex++;
    if (loadIndex==my_count) {
        startShow();
    var my_loaderInfo:LoaderInfo=LoaderInfo(e.target);
    my_loaderInfo.removeEventListener(Event.COMPLETE, onComplete);
loadImage();

Similar Messages

  • Xml slideshow with random PICTS and mx.transitions

    Hi All,
    I am building a web banner with a slideshow with random picts via xml,
    but i want to use a iris transition to fade in while getting the pict, and fade out with the iris transition, the last action works but when getting i cannot get the transition to work below is a piece of the code:
    import mx.transitions.Tween;
    import mx.transitions.easing.*;
    pauseTime = 2000;
    xmlImages = new XML();
    xmlImages.ignoreWhite = true;
    xmlImages.onLoad = loadImages;
    xmlImages.load("images.xml");
    function loadImages(loaded) {
        if (loaded) {
            xmlFirstChild = this.firstChild;
            imageFileName = [];
            totalImages = xmlFirstChild.childNodes[0].childNodes.length;
            for (i=0; i<totalImages; i++) {
                imageFileName[i] = xmlFirstChild.childNodes[0].childNodes[i].attributes.title;
            randomImage();
    function randomImage() {
        if (loaded == filesize) {
            var ran = Math.round(Math.random() * (totalImages - 1));
            picture_mc._alpha = 0;  // Start image clip as invisible
            picture_mc.loadMovie(imageFileName[ran], 1);  //Load random image from xml
            var pictureTweenIn:Tween = new Tween(picture_mc, "_alpha", Normal.easeIn, 0, 100, 4, true); //WORKS!
            mx.transitions.TransitionManager.start(picture_mc, {type:mx.transitions.Iris, direction:mx.transitions.Transition.OUT, duration:3, easing:mx.transitions.easing.Regular.easeInOut});   // DOES NOT WORK?   
            pictureTweenIn.onMotionFinished = function () { // When done fading
            _root.pause();  // Start pause() function
    function pause() {
        myInterval = setInterval(pause_slideshow, pauseTime);
        function pause_slideshow() {
            clearInterval(myInterval);
            var pictureTweenOut:Tween = new Tween (picture_mc,"_alpha",Normal.easeOut,100,0,5,true);//WORKS!
            mx.transitions.TransitionManager.start(picture_mc, {type:mx.transitions.Iris, direction:mx.transitions.Transition.OUT, duration:3, easing:mx.transitions.easing.Regular.easeInOut});  //WORKS!     
            pictureTweenOut.onMotionFinished = function() {
                _root.randomImage();  // Call next randomImage()
    If anyone can help me out this would be great!
    Mikki65

    Good question. Not sure about iDVD. But I know for a fact I can use random transitions within DVDSP. However, if I'm not mistaken in iDVD I may be limited to the same transition within any given slideshow. I know it's possible to bring in an album into iDvd. And I know it's possible to use KB effects. But let me do some more searching for you because I forgot the exact procedure/s. I'll post back here later.
    In the meantime you may also wish to review these slideshow apps as well:
    http://www.lqgraphics.com/software/phototomovie.php
    http://www.boinx.com/fotomagico/overview/

  • Non-XML slideshow with AS3?

    Hello,
    I am looking for a way to run a slideshow without using XML, but controlling the entire show with AS3. I have all of the resources and code to run a dynamic show, but I am attempting to build this on Oracle's Content Management System – Stellent. Stellent does not allow us to access our external XML files or external assets such as images, js, swf, etc.
    The best way to go about building our slideshows for use with this CMS is to make them fully integrated in themselves. The downside, obviously is a larger filesize, but does anybody know how I would go about building this into itself, instead of externally?
    I would like to keep all functionality of the XML (specifically the links and timer)
    I would also like to keep the automatic button generation.
    If anybody can help me out with this it would be greatly appreciated. I have attached a file enclosing all of my working dynamic elements.
    Thank you!!
    Nick
    I am unable to load a zip file, but within the parent directory there should be an assets folder with an images folder inside.

    there must be some way to use external data to feed applications or that wouldn't be much of a cms.
    but if you want to keep all the data in swf, just hardcode all the data in your swf.  actually, with as3, you can copy and paste the contents of an xml file into flash and assign it to an xml instance.

  • Build a web gallery with amazing flash slideshows with dynamic XML files

    Build a web gallery with amazing flash slideshows with dynamic XML files
    Screenshot:
    Features
    Features
    Transitions, zooming and panning effect You can  choose from  Random, Wipe from Left, Fade to White, Cross Expansion and  other 60-plus  transition effects. Zooming and panning effect is  optional for advanced flash  templates.
    XML-driven This flash slideshow are XML-driven. The XML  document allows more personalized controls over the flash.
    Auto-playback and repeat mode The flash slideshow will play  automatically after preloading, and it can repeat playback.
    Dynamic customization Besides XML control, the  advanced  templates provide many more custom options, so that you can  create slideshow  that fits into your existing web design: width ,  height, border color,  background color, thumbnail size, etc. More about  dynamic customization
    Usage and demo visit: http://webdesigndevelopment.blog.com...swf-xml-files/

    Please excuse the bump...
    Anyone with a LR flash gallery that starts with slideshow in play mode?
    Can it even be set to do this?
    The only code in the style.xml that looks like it might be realted is line 12 <playOptions playMode="pause"/>, changing that to "play" does nothing.
    Thanks,
    Donnie

  • Flash xml slideshow in iWeb not working

    Hallo
    I am really struggling to get a Flash xml slideshow to work.  I have used Flash Slideshow Maker app, which creates a slide.xml, .swf and .html file and everything is published in one folder "slideshow" on a local disk.
    I am using the following code and it works perfectly when viewed in iWeb:
    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0, 40,0"
    WIDTH="920" HEIGHT="400" id="Phambili">
    <PARAM NAME=movie VALUE="/Users/elsjevanzyl/Documents/Websites/Published Websites/Phambili/Slideshow/Phambili.swf?xml_path=slides.xml">
    <PARAM NAME=quality VALUE=high>
    <PARAM NAME="wmode" value="transparent">
    <PARAM NAME=base VALUE=".">
    <EMBED src="/Users/elsjevanzyl/Documents/Websites/Published Websites/Phambili/Slideshow/Phambili.swf?xml_path=slides.xml" quality=high  wmode="transparent" WIDTH="920" HEIGHT="400"
    NAME="Phambili" ALIGN="" TYPE="application/x-shockwave-flash"
    PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" base=".">
    </EMBED>
    </OBJECT>
    But as soon as I publish it to FTP with following code, it displays the slideshow but NOT the photos or thumbs:
    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0, 40,0"
    WIDTH="920" HEIGHT="400" id="Phambili">
    <PARAM NAME=movie VALUE="http://harmonieproteas.co.za/Slideshow/Phambili.swf?xml_path=slides.xml">
    <PARAM NAME=quality VALUE=high>
    <PARAM NAME="wmode" value="transparent">
    <PARAM NAME=base VALUE=".">
    <EMBED src="http://harmonieproteas.co.za/Slideshow/Phambili.swf?xml_path=slides.xml" quality=high  wmode="transparent" WIDTH="920" HEIGHT="400"
    NAME="Phambili" ALIGN="" TYPE="application/x-shockwave-flash"
    PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" base=".">
    </EMBED>
    </OBJECT>
    I have also tried iFrame code, but this is not working at all.
    Can anybody tell me what I am doing wrong when publishing the above code to FTP?
    Any help will be appreciated.

    Flash isn't my thing but, it appears that you are missing the images:
    <flash_parameters copyright="socusoftFSMTheme">
    <preferences> 
    <global> 
    <basic_property movieWidth="920" movieHeight="400" decoration="" html_title="Title" loadStyle="Pie" startAutoPlay="true" continuum="true" backgroundColor="0x00000000" hideAdobeMenu="true" photoDynamicShow="true" enableURL="true"transitionArray="" socusoftMenu="false"/> 
    <title_property showTitle="true" photoTitleColor="0x00000000" backgroundColor="0x00c0c0c0" alpha="30" autoHide="true"/>
    <music_property path="" stream="true" loop="true"/>
    <photo_property topPadding="2" bottomPadding="64" leftPadding="2" rightPadding="2"/>
    <properties enable="true" backgroundColor="0x00c0c0c0" backgroundAlpha="30" cssText="a:link{text-decoration: underline;} a:hover{color:#ff0000; text-decoration: none;} a:active{color:#0000ff;text-decoration: none;} .blue {color:#0000ff; font-size:15px; font-style:italic; text-decoration: underline;} .body{color:#ff5500;font-size:20px;}" align="top"/>
    </global>
    <thumbnail> 
    <basic_property width="40" height="40" thumBackColor="0x002c2c2c" borderColor="0x002c2c2c" thumborder="2" thumSpacing="4" shapeAlpha="60" buttonColor="0x00000000" currentbuttonColor="0x00ffffff"/> 
    </thumbnail>
    </preferences>
    <album> 
    <slide jpegURL="thumbs/mozzie tour 2.jpg" d_URL="slides/mozzie tour 2.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" url="" title="Mozzie Tour 2" width="916" height="334"/> 
    <slide jpegURL="thumbs/mozzie10.jpg" d_URL="slides/mozzie10.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" url="" title="Mozzie10" width="916" height="334"/>
    <slide jpegURL="thumbs/snow on hogsback.jpg" d_URL="slides/snow on hogsback.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" url="" title="Snow on Hogsback" width="916" height="334"/>
    <slide jpegURL="thumbs/tea time@santa maria.jpg" d_URL="slides/tea time@santa maria.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" url="" title="Tea Time@Santa Maria" width="916" height="334"/>
    <slide jpegURL="thumbs/western cape tour knersvlakte.jpg" d_URL="slides/western cape tour knersvlakte.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" url="" title="Western Cape Tour Knersvlakte" width="916" height="334"/>
    <slide jpegURL="thumbs/western cape tour[2].jpg" d_URL="slides/western cape tour[2].jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" url="" title="Western Cape Tour[2]" width="916" height="334"/>
    <slide jpegURL="thumbs/bush camp in botswana[2].jpg" d_URL="slides/bush camp in botswana[2].jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" url="" title="Bush Camp in Botswana[2]" width="916" height="334"/>
    <slide jpegURL="thumbs/eastern cape tour 2.jpg" d_URL="slides/eastern cape tour 2.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" url="" title="Eastern Cape tour 2" width="916" height="334"/>
    <slide jpegURL="thumbs/hogsback 2.jpg" d_URL="slides/hogsback 2.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" url="" title="Hogsback 2" width="916" height="334"/>
    <slide jpegURL="thumbs/mozzie tour.jpg" d_URL="slides/mozzie tour.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" url="" title="Mozzie Tour" width="916" height="334"/>
    <slide jpegURL="thumbs/western cape tour.jpg" d_URL="slides/western cape tour.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" url="" title="Western Cape Tour" width="916" height="334"/>
    </album>
    </flash_parameters>
    http://harmonieproteas.co.za/Slideshow/

  • Flash Photogallery with preloader PLEASE HELP!!!

    Ok...So after searching quite a bit I found a decent flash tutorial to help me make a photogallery. The only problem is that it takes quite sometime to load. I would like to create preloader for this swf file but I can't get anything to work. Here is the code for my gallery....Found at the bottom of the page at this site...
    http://www.republicofcode.com/tutori...egallery/4.php
    This all works just fine...but no matter what I do I can't seem to get a preloader for this code to work. If I load a simple image in the second frame it works fine, however if I move my flash gallery to second frame it just goes to my gallery after loading...(which takes a while)..no preloader bar or anything!  Here is a link to my site... www.nakean.com visit the blank page for the photo gallery...you have to wait a bit for it to load.  (15 seconds)..Please Please HELP!

    rename your gallery to something other than galleryinprogress.swf, say gallery.swf.
    in flash create a new fla named galleryinprogress.fla with the same stage size and background color as your previous galleryinprogress.swf and attached to frame one of your new galleryinprogress.fla add:
    var tf:TextField = this.createTextField("tf",1,0,0,100,40);
    tf.autoSize = "center";
    tf._x = Stage.width/2;
    tf._y = Stage.height/2;
    this.createEmptyMovieClip("mc",1);
    mc.loadMovie("http://homepage.mac.com/nakean/.Public/swf/gallery.swf");
    preloadI=setInterval(preloadF,100);
    function preloadF(){
    tf.text=mc.getBytesLoaded() +" bytes loaded out of "+mc.getBytesTotal()+" bytes total.";
    if(mc.getBytesLoaded()>0&&mc.getBytesLoaded()>=mc.getBytesTotal()){
    clearInterval(preloadI);
    tf.removeTextField();
    publish your new galleryinprogress.swf and upload to the same directory as your previous (but now renamed) galleryinprogress.swf.

  • Preloader bar problem

    Hello.
    I've made a movie, and the scene1 timeline has only one
    frame. There I have 4 different movieclips into different layers,
    each one with is own timeline.
    Now, how do I insert a preloader bar in my movie?
    When I tried with tutorials, it doesn't work, and even if the
    movie loads like before I entered the preloader, it seems to become
    looping in the first frames.
    Thanks for your help!

    1., move all the 1.st frame into the 2.nd frame
    2., make sure frame1 is empty
    3., place preloader bar movie clip in 1.st frame
    4., to 1.st frame, write this code:
    stop();
    myPreloader.onEnterFrame = function():Void {
    var loaded:Number = _root.getBytesLoaded();
    var total:Number = _root.getBytesTotal();
    var percentage = 100 * loaded / total;
    trace(percentage);
    if(percentage => 100) {
    _root.nextFrame();
    I bet it will work
    couvegalega wrote:
    > Hello.
    >
    > I've made a movie, and the scene1 timeline has only one
    frame. There I have 4
    > different movieclips into different layers, each one
    with is own timeline.
    >
    > Now, how do I insert a preloader bar in my movie?
    >
    > When I tried with tutorials, it doesn't work, and even
    if the movie loads like
    > before I entered the preloader, it seems to become
    looping in the first frames.
    >
    > Thanks for your help!
    >

  • Spry Image Slideshow with Filmstrip- Filmstip thumbs loading incorrectly

    Hello, I am hoping someone will be able to help me. I loaded the Widget for the Spry Image Slideshow with Filmstrip. After reading several tutorials as that the product did not work correctly, I finally got the corrupted .js fixed (thanks Accustic Gramps for all your posts very helpful when going through looking). First page looks great, now, I put the slideshow on another page and loaded it, but the filmstrip is now loading off placement so the thumbs are all messed up.
    Hoping someone can help me.
    here is the code and the link:   http://www.highqualitycontractinginc.com/additions.html
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>High Quality Contracting Inc- Craftsmanship You Can Trust</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>High Quality Contracting Inc- Craftsmanship You Can Trust</title>
    <meta name="author" content="Mouse Bytez- Website Design and Hosting Services" />
    <meta name="Description" content="High Quality Contracting, Inc- serving Southeastern Wisconsin for all of your contracting, remodeling needs." />
    <meta name="Classification" content="Building and remodeling  Contractor " />
    <meta name="ROBOTS" content="ALL" />
    <meta name="distribution" content="local" />
    <meta name="verify-v1" content="Adu52DLSLorp36w7Ec2sX5iUCtXJGFKRzejTHlondpg=" />
    <link rel="stylesheet" href="stylesheets/style.css" type="text/css" />
    <script src="http://www.highqualitycontractinginc.com/Spry-UI-1.7/includes/SpryDOMUtils.js" type="text/javascript"></script>
    <script src="/Spry-UI-1.7/includes/SpryDOMEffects.js" type="text/javascript"></script>
    <script src="http://www.highqualitycontractinginc.com/Spry-UI-1.7/includes/SpryWidget.js" type="text/javascript"></script>
    <script src="http://www.highqualitycontractinginc.com/Spry-UI-1.7/includes/SpryPanelSelector.js" type="text/javascript"></script>
    <script src="http://www.highqualitycontractinginc.com/Spry-UI-1.7/includes/SpryPanelSet.js" type="text/javascript"></script>
    <script src="http://www.highqualitycontractinginc.com/Spry-UI-1.7/includes/SpryFadingPanels.js" type="text/javascript"></script>
    <script src="http://www.highqualitycontractinginc.com/Spry-UI-1.7/includes/SprySliderPanels.js" type="text/javascript"></script>
    <script src="http://www.highqualitycontractinginc.com/Spry-UI-1.7/includes/SpryFilmStrip.js" type="text/javascript"></script>
    <script src="http://www.highqualitycontractinginc.com/Spry-UI-1.7/includes/SpryImageLoader.js" type="text/javascript"></script>
    <script src="http://www.highqualitycontractinginc.com/Spry-UI-1.7/includes/SpryImageSlideShow.js" type="text/javascript"></script>
    <script src="http://www.highqualitycontractinginc.com/Spry-UI-1.7/includes/plugins/ImageSlideShow/SpryT humbnailFilmStripPlugin.js" type="text/javascript"></script>
    <script src="http://www.highqualitycontractinginc.com/Spry-UI-1.7/includes/plugins/ImageSlideShow/SpryT itleSliderPlugin.js" type="text/javascript"></script>
    <script src="http://www.highqualitycontractinginc.com/Spry-UI-1.7/includes/plugins/ImageSlideShow/SpryP anAndZoomPlugin.js" type="text/javascript"></script>
    <link href="http://www.highqualitycontractinginc.com/Spry-UI-1.7/css/ImageSlideShow/basicFS/basic_fs.c ss" rel="stylesheet" type="text/css" />
    <style type="text/css">
    #ImageSlideShow {
        width: 500px;
        border: solid 4px #000000;
        background-color: #FFFFFF;
        padding-top: 10px;
    #ImageSlideShow .ISSName {
        top: -24px;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: normal;
        font-size: 18px;
        text-transform: uppercase;
        color: #000000;
    #ImageSlideShow .ISSSlideTitle {
        top: -18px;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: normal;
        font-size: 12px;
        overflow: hidden;
        color: #AAAAAA;
        text-transform: none;
    #ImageSlideShow .ISSClip {
        height: 400px;
        border: solid 1px #000000;
        background-color: #000000;
    #ImageSlideShow .ISSControls {
        top: 11px;
        height: 400px;
    #ImageSlideShow .FilmStrip {
        height: 80px;
        background-color: #CCCCCC;
    #ImageSlideShow .FilmStripPreviousButton, #ImageSlideShow .FilmStripNextButton {
        width: 25px;
        height: 80px;
    #ImageSlideShow .FilmStripTrack {
        height: 80px;
    #ImageSlideShow .FilmStripContainer {
        height: 80px;
    #ImageSlideShow .FilmStripPanel {
        height: 80px;
        padding-left: 10px;
    #ImageSlideShow .FilmStripPanel .ISSSlideLink {
        border: solid 1px #AAAAAA;
        background-color: #FFFFFF;
    #ImageSlideShow .FilmStripPanel .ISSSlideLinkRight {
        border: solid 1px #AAAAAA;
        width: 56px;
        height: 47px;
    #ImageSlideShow .FilmStripCurrentPanel .ISSSlideLink {
        background-color: #FFFFFF;
        border-color: #FF0000;
    #ImageSlideShow .FilmStripCurrentPanel .ISSSlideLinkRight {
        border-color: #AAAAAA;
    </style>
    <script type="text/xml">
    <!--
    <oa:widgets>
      <oa:widget wid="2141543" binding="#ImageSlideShow" />
    </oa:widgets>
    -->
    </script>
    </head>
    <body>
    <!--  / WRAPPER \ -->
    <div id="wrapper" class="bg">
        <!--  / MAIN CONTAINER \ -->
          <div id="mainCntr">
            <!--  / HEADER CONTAINER \ -->
            <div id="headerCntr">
              <h1><img src="images/bbbsealh1US.gif" width="135" height="51" /></h1>
                  <!-- / MENU CONTAINER \ -->
              <div class="menuCntr">
                        <ul>
                          <li class="selected"><a href="index.html" class="home">Home</a></li>
                          <li><a href="about.html" class="home">About </a></li>
                          <li><a href="links.html" class="links">Links</a></li>
                          <li><a href="service.html" class="service">Services</a></li>
                          <li><a href="contact.html" class="contact">Contact</a></li>
                        </ul>
              </div>
                  <!-- \  MENU CONTAINER  /-->
           </div>
            <!--  \ HEADER CONTAINER / -->
           <img src="images/logo.jpg" width="987" height="289" alt="High Quality Contracting Inc" />       <!--  / CONTENT CONTAINER \ -->
          <div id="contentCntr">
              <!--  / LEFT CONTAINER \ -->
              <div id="leftCntr">
                <!--  FEATUERED BOX  -->
                    <!--  / FEATUERED BOX \ -->
                <div class="featurdBox">
                     <ul>
                        <li onclick="tab1()" ><a href="javascript:void(null); class="active">Menu</a>
                            <ul id="first" style="display: block;">
                                <li><a href="additions.html" title="remodeling additions"> Addition Construction</a></li>
                                <li><a href="affiliates.html" title="affiliates">Affiliates </a></li>
                                <li><a href="cabinetry.html" title="cabinetry construction">Cabinetry Construction</a></li>                    
                                <li><a href="chimney.html" title="chimney construction and repair">Chimney Construction/Repair</a></li>
                                <li><a href="about.html" title="company profile">Company Profile </a></li>
                                <li><a href="decks.html" title="custom deck builders">Custom Decks </a></li>
                                <li><a href="http://www.johnsonbankmortgage.com/vmyszewski" title="financing services through Johnson Bank" target="_blank">Financing Services </a></li>
                                <li><a href="flooring.html" title="hardwood, carpet, tile flooring">Flooring Services </a></li>
                               <li> <a href="grading.html" title="grading services">Grading Services </a></li>
                              <li> <a href="garages.html" title="garage construction and remodeling">Garages Construction</a></li>
                              <li><a href="interior.html" title="interior walls and painting">Interior Walls </a></li>
                               <li><a href="organizations.html" title="organizations"> Organizations & Charities</a></li>
                               <li><a href="rec_rooms.html" title="rec rooms and bonus rooms"> Rec Rooms/Bonus Rooms </a></li>
                                                          <li><a href="rough_carptentry.html" title="rough carpentry"> Rough Carpentry</a></li>
                               <li><a href="siding.html" title="vinyl siding"> Siding Services </a></li>
                               <li><a href="testimonial1.html" title="testimonial 1"> Testimonial 1</a></li>
                               <li><a href="testimonial2.html" title="testimonial 2"> Testimonial 2</a></li>
                               <li><a href="testimonial3.html" title="testimonial 3"> Testimonial 3</a></li>
                               <li><a href="testimonial4.html" title="testimonial 4"> Testimonial 4</a></li>
                               <li><a href="testimonial5.html" title="testimonial 5"> Testimonial 5</a></li>
                               <li><a href="testimonial6.html" title="testimonial 6"> Testimonial 6</a></li>
                               <li><a href="testimonial7.html" title="testimonial 7" class="last"> Testimonial 7</a></li>
                          </ul>
                        </li>
                      </ul>
                </div>
                <!--Feature end -->
            <!--  / YES BOX \ --></div>
              <!--  \ LEFT CONTAINER / -->
              <!--  / RIGHT CONTAINER \ -->
              <div id="rightCntr">
                  <!--  / WELCOME BOX \ -->
                <div class="welcomeBox">
                  <h2>Home Additions examples</h2>
                  <ul id="ImageSlideShow" title="High Quality Contracting Inc ">
                <li><a href="images/2011/large/Additionafter1.jpg" title="Wisconsin Construction and Remodeling"><img src="images/2011/thumbs/Additionafter1.jpg" alt="Wisconsin Addition Construction" /></a></li>
                <li><a href="images/2011/large/2nd-floor-addition.jpg" title="Wisconsin Construction and Remodeling"><img src="images/2011/thumbs/2nd-floor-addition.jpg" alt="Wisconsin Addition Construction" /></a></li>
                <li><a href="images/2011/large/Caledonia-addition-After1.jpg" title="Wisconsin Construction and Remodeling"><img src="images/2011/thumbs/Caledonia-addition-After1.jpg" alt="Wisconsin Construction and Remodeling" /></a></li>
                <li><a href="images/2011/large/addition.jpg" title="Wisconsin Construction and Remodeling"><img src="images/2011/thumbs/addition.jpg" alt="Wisconsin Addition Construction" /></a></li>
                <li><a href="images/2011/large/Addition-framing2.jpg" title="Wisconsin Construction and Remodeling"><img src="images/2011/thumbs/Addition-framing.jpg" alt="Wisconsin Addition Construction" /></a></li>
                <li><a href="images/2011/large/Elm-Grove-Addition-After.jpg" title="Wisconsin Construction and Remodeling"><img src="images/2011/thumbs/Elm-Grove-Addition-After.jpg" alt="Wisconsin Construction and Remodeling" /></a></li>
                <li><a href="images/2011/large/Completion-2nd-floor-additi.jpg" title="Wisconsin Construction and Remodeling"><img src="images/2011/thumbs/Completion-2nd-floor-additi.jpg" alt="Wisconsin Addition Construction" /></a></li>
                <li><a href="images/2011/large/Caledonia-addition-rear-vie.jpg" title="Wisconsin Construction and Remodeling"><img src="images/2011/thumbs/Caledonia-addition-rear-vie.jpg" alt="Wisconsin Addition Construction" /></a></li>
                <li><a href="images/2011/large/Elm-Grove-Addition-After1.jpg" title="Wisconsin Construction and Remodeling"><img src="images/2011/thumbs/Elm-Grove-Addition-After1.jpg" alt="Wisconsin Addition Construction" /></a></li>
                <li><a href="images/2011/large/Elm-Grove-Addition-After.jpg" title="Wisconsin Construction and Remodeling"><img src="images/2011/thumbs/Elm-Grove-Addition-After.jpg" alt="Wisconsin Addition Construction" /></a></li>
                <li><a href="images/2011/large/Addition-framing2.jpg" title="Wisconsin Construction and Remodeling"><img src="images/2011/thumbs/Addition-framing1.jpg" alt="Wisconsin Addition Construction" /></a></li>
                <li><a href="images/2011/large/Elm-Grove-Addition-During.jpg" title="Wisconsin Construction and Remodeling"><img src="images/2011/thumbs/Elm-Grove-Addition-During.jpg" alt="Wisconsin Addition Construction" /></a></li>
                <li><a href="images/2011/large/Dormer.jpg" title="Wisconsin Construction and Remodeling"><img src="images/2011/thumbs/Dormer.jpg" alt="Wisconsin Addition Construction" /></a></li>
                <li><a href="images/2011/large/Caledonia-addition-After.jpg" title="Wisconsin Construction and Remodeling"><img src="images/2011/thumbs/Caledonia-addition-After.jpg" alt="Wisconsin Construction and Remodeling" /></a></li>
              </ul>
              <script type="text/javascript">
    // BeginOAWidget_Instance_2141543: #ImageSlideShow
    var ImageSlideShow = new Spry.Widget.ImageSlideShow("#ImageSlideShow", {
        widgetID: "ImageSlideShow",
        widgetClass: "BasicSlideShowFS",
        injectionType: "replace",
        autoPlay: true,
        displayInterval: 4000,
        transitionDuration: 2000,
        componentOrder: ["name", "title", "view", "controls", "links"],
        sliceMap: { BasicSlideShowFS: "3slice", ISSSlideLink: "3slice" },
        plugIns: [ Spry.Widget.ImageSlideShow.ThumbnailFilmStripPlugin, Spry.Widget.ImageSlideShow.TitleSliderPlugin, Spry.Widget.ImageSlideShow.PanAndZoomPlugin ],
        TFSP: { pageIncrement: 8, wraparound: true }
    // EndOAWidget_Instance_2141543
                           </script>
                </div>
                <!--  / PORTFOLIO BOX \ -->
                <div class="portfolioBox">
                    <h2>Home addition construction
    </h2>
                    <p class="style21">Sometimes moving is just an option, yet you need that extra space. As  a master home remodeler, High Quality Contracting Inc can build your 1st or 2nd story addition creating the perfect space and improving the look of your home. We have years of experience in creating beautiful functional additions. </p>
                    <p> </p>
                    <p class="style21">We offer the following:
                   <br /><br /></p>
                    <ul>
                      <li class="style21"><strong>* 1st and 2nd floor additions</strong></li>
                      <li class="style21"><strong>* In-law suites</strong> </li>
                      <li class="style21"><strong>* Sun Room Additions </strong></li>
                      <li class="style21"><strong>* Garden Room Additions </strong></li>
                      <li class="style21"><strong> * Home Office Addtions </strong></li>
                      <li class="style21"><strong> * Three Season Room Additions </strong></li>
                      <li class="style21"><strong> * Great Room Additions</strong> </li>
                      <li class="style21"><strong> * Hot Tub Room Additions</strong></li>
                      <li class="style21"><strong> * Family Room Additions</strong> </li>
                      <li class="style21"><strong> * Home Theater Addtions</strong> </li>
                      <li class="style21"><strong> * Many more options available</strong> </li>
                  </ul>
                </div>
                  <!--  / PORTFOLIO BOX \ -->
              </div>
              <!--  \ RIGHT CONTAINER / -->
           </div>
          <!--  \ CONTENT CONTAINER / -->
        </div>
        <!--  \ MAIN CONTAINER / -->
        <!--  / FOOTER CONTAINER \ -->
        <div id="footerCntr">
                <div class="footerBox">
                     <a href="http://www.facebook.com/pages/High-Quality-Contracting-Inc/154074487989079?sk=wall" target="_blank"><img src="images/facebook.jpg" alt="High Quality Contracting Facebook Page" width="52" height="47" border="0" /></a>
                    <p align="center">&copy; High Quality Contracting, Inc All Rights Reserved| Web Site by: <a href="http://www.mousebytez.com" title="mouse bytez, llc" target="_blank">Mouse Bytez,LLC</a></p>
                  </div>
        </div>
        <!--  \ FOOTER CONTAINER / -->
    </div>
    <!--  \ WRAPPER / -->
    </body>
    </html>

    My apology, mousebytez, I now notice that you had already supplied the URL to your site in your first post.
    And now my second apology, I have tried the page in IE7+ and in FF and see no problem. Could you please bear with this old soul and explain the problem a bit further.
    Gramps

  • Xml slideshow controls, need help!

    Hello,
    I am new to actionscript and am trying to make a slideshow
    with next and previous controls. The info for the slideshow is
    coming via xml. I have it up and running but there are two issues.
    When clicking on the next or previous buttons the new image will
    load but the first image will be present under the new image. So if
    you are navigating from image 2 to 3, while image 3 loads, image 1
    is visible. The next problem I am having is I would like for the
    slideshow to repeat itself once it gets to the end.

    Sorry 2 more things.
    In the above link to get to the slideshow, click america,
    then new england.
    And it appears that on the initial load the first image loads
    17 times, which is the total number of images in the slideshow.
    Thanks again

  • IPhoto slideshow with descriptions?

    How do I make an iPhoto slideshow with descriptions?

    This helped along with changing how I was creating the slideshow. My original approach was the select "new slideshow" from the File Menu and then drag individual images to the slideshow folder. This is what didn't work for me.
    I then tried selecting a bunch of images in an event then selected "new slideshow" from the File Menu, This resulted in a slideshow where I could shuffle the slide order in the image bar at the top. I don't know which step provided the solution, or whether it was the combination - I suspect the combination.
    Thanks for your interest and help - much appreciated.

  • Slideshow with caption

    Hello...
    I´ve done a slideshow with flash and xml. In the xml
    file there are this:
    <slideshow>
    <pic url="my pic.jpg" caption="the text I want to show"
    />
    </slideshow>
    I have 3 pics right now but where do I put the code in the
    fla? I tried to put it in different places but then all 3 pictures
    have the saame text.. The code in fla is:
    import mx.transitions.Tween;
    import mx.transitions.easing.Strong;
    this.createEmptyMovieClip("container2_mc",this.getNextHighestDepth());
    this.createEmptyMovieClip("container1_mc",this.getNextHighestDepth());
    this.createEmptyMovieClip("buttons_mc",this.getNextHighestDepth());
    this.attachMovie("loader","loader_mc",this.getNextHighestDepth());
    loader_mc._x = 547.6;
    loader_mc._y = 366.4;
    container1_mc._x = 356;
    container1_mc._y = 94;
    container2_mc._x = 356;
    container2_mc._y = 94;
    var myMCL:MovieClipLoader = new MovieClipLoader();
    var myListener:Object = new Object();
    myMCL.addListener(myListener);
    myListener.onLoadProgress =
    function(target,bytesLoaded,bytesTotal){
    loader_mc._alpha = 100;
    var pct = Math.round(bytesLoaded/bytesTotal*100);
    loader_mc.bar_mc._xscale = pct;
    myListener.onLoadComplete = function(target){
    loader_mc._alpha = 0;
    fadeIn();
    buttons_mc.attachMovie("prev","prev_mc",buttons_mc.getNextHighestDepth());
    buttons_mc.attachMovie("next","next_mc",buttons_mc.getNextHighestDepth());
    buttons_mc.next_mc._x = 960 - buttons_mc.next_mc._width - 45;
    buttons_mc.next_mc._y = 475;
    buttons_mc.prev_mc._x = 340;
    buttons_mc.prev_mc._y = 475;
    //-------------XML--------------------------//
    var myXML:XML = new XML();
    myXML.ignoreWhite = true;
    var picArray:Array = new Array();
    var captions:Array = new Array();
    var currentElement:Number = 0;
    myXML.onLoad = function(success){
    if(success){
    var ss:Array = myXML.firstChild.childNodes;
    for(i=0;i<ss.length;i++){
    picArray.push(ss
    .attributes.url);
    captions.push(ss.attributes.caption);
    init();
    else
    trace("XML could not load");
    myXML.load("test.xml");
    var currentContainer:MovieClip = container1_mc;
    function init(){
    myMCL.loadClip(picArray[currentElement],container1_mc);
    buttons_mc.next_mc.onRelease = function(){
    if (currentContainer == container1_mc){
    currentContainer = container2_mc;
    else
    currentContainer = container1_mc;
    currentContainer._alpha =0;
    container1_mc.swapDepths(container2_mc);
    if(currentElement < picArray.length -1){
    currentElement ++;
    else
    currentElement = 0;
    myMCL.loadClip(picArray[currentElement],currentContainer);
    buttons_mc.prev_mc.onRelease = function(){
    if (currentContainer == container2_mc){
    currentContainer = container1_mc;
    else
    currentContainer = container2_mc;
    currentContainer._alpha =0;
    container2_mc.swapDepths(container1_mc);
    if(currentElement > 0){
    currentElement --;
    else
    currentElement = picArray.length -1;
    myMCL.loadClip(picArray[currentElement],currentContainer);
    function fadeIn(){
    new
    Tween(currentContainer,"_alpha",Strong.easeOut,0,100,36,false);
    Do any one know where to put the
    caption.text=captions[0];

    which jquery cycle plugin are you using??
    http://jquery.malsup.com/cycle/caption.html
    http://computeraxe.com/slideshow-image-captions-with-jquery-cycle/

  • Flash XML Slideshow - Load next image after set amount of time

    I'm creating flash xml slideshow and have managed to get the
    images to load from the XML file. What I want to do now is have a
    timer that loads the next image after x amount of seconds. Any help
    would be great.
    Code sample
    stop();
    // Create XML Object
    slideshow_xml = new XML();
    // Start slideshow once XML file is loaded
    slideshow_xml.onLoad = startSlideShow;
    //Load XML file
    slideshow_xml.load("slideshow.xml");
    //Ignore Whitespace in XML Document
    slideshow_xml.ignoreWhite = true;
    //Create Function for Slideshow - Shows first slide and
    initalises variables
    function startSlideShow(success) {
    if (success == true) {
    rootNode = slideshow_xml.firstChild;
    totalSlides = rootNode.childNodes.length;
    firstSlideNode = rootNode.firstChild;
    currentSlideNode = firstSlideNode;
    currentIndex = 1;
    updateSlide(firstSlideNode);
    function updateSlide(newSlideNode) {
    imagePath = newSlideNode.attributes.jpgURL;
    slideText = newSlideNode.firstChild.nodeValue;
    loadMovie(imagePath, loadTarget);
    }

    Ok I've managed to get most of this working including the
    alpha fade in. I haven't been able to get the images to fade out
    (fadeImageOut function) so if someone can tell me what I'm doing
    wrong. Also should I have some sort of preloader function for when
    each image loads? and if so any pointers, then it should be done
    except that I might need to add some text for each image in the XML
    file.
    stop();
    var container:MovieClip =
    this.createEmptyMovieClip("container", this.getNextHighestDepth());
    var loader1:MovieClip = this.createEmptyMovieClip("loader1",
    this.getNextHighestDepth());
    var loader2:MovieClip = this.createEmptyMovieClip("loader2",
    this.getNextHighestDepth());
    container._x = 0;
    container._y = 0;
    function fadeImageIn() {
    var fadeTween = new mx.transitions.Tween(loader1, "_alpha",
    mx.transitions.easing.Regular.easeIn, 0, 100, 1.5, true);
    loadmovie(imagePath, loader1);
    function fadeImageOut(loader1) {
    var fadeTween = new mx.transitions.Tween(loader1, "_alpha",
    mx.transitions.easing.Regular.easeOut, 100, 0, 1.5, true);
    unloadMovie(loader1);
    // Create XML Object
    slideshow_xml = new XML();
    // Find out what this does
    slideshow_xml.onLoad = startSlideShow;
    //Load XML file
    slideshow_xml.load("slideshow.xml");
    //Ignore Whitespace in XML Document
    slideshow_xml.ignoreWhite = true;
    //Create Function for Slideshow - Shows first slide and
    initalises variables
    function startSlideShow(success) {
    if (success == true) {
    rootNode = slideshow_xml.firstChild;
    totalSlides = rootNode.childNodes.length;
    firstSlideNode = rootNode.firstChild;
    currentSlideNode = firstSlideNode;
    currentIndex = 1;
    updateSlide(firstSlideNode);
    function updateSlide(newSlideNode) {
    imagePath = newSlideNode.attributes.jpgURL;
    slideText = newSlideNode.firstChild.nodeValue;
    //loadMovie(imagePath, loader1);
    fadeImageIn();
    function nextSlideImage() {
    nextSlideNode = currentSlideNode.nextSibling;
    if (nextSlideNode == null) {
    rootNode = slideshow_xml.firstChild;
    totalSlides = rootNode.childNodes.length;
    firstSlideNode = rootNode.firstChild;
    currentSlideNode = firstSlideNode;
    currentIndex = 1;
    updateSlide(firstSlideNode);
    } else {
    currentIndex++;
    updateSlide(nextSlideNode);
    currentSlideNode = nextSlideNode;
    slideTimer = setInterval(nextSlideImage, 5000);

  • XML Slideshow a bit rough around the edges

    Hey there,
    I'm supposed to be wrapping up another xml slideshow and
    could use some help ironing out some of the problems.
    1. The transitions between sections is a bit harsh, I'd like
    to smooth it out some by fading from 1 color to the next or
    something.
    2. The captions don't sync up with the pictures the first
    time around until the pics are cached.
    3. When you click on the button of the section you are in,
    the slideshow stops.
    Just click on main.swf and you'll see what I'm working with.
    Thanks a lot. Here's a link to all the files.
    http://www.dynodealz.com/slideshow.zip

    Few suggestions to sharpen it up, add a fade out to the last
    graphic shown, especially when changing catagories, and there wait
    for the first graphic to load before fading the last.
    With the colour tabs you could quickly have flash do the
    colour change for you by putting all the colours in one movieclip
    and having shape tweens between them which you can simply call when
    changing catagory i.e label frame redToGreen and have it simply
    shape tween red to green.
    You could also fade in the text as well if you used embeded
    fonts. Change the description copy font as well. Podium Sans
    perhaps.
    Other than that looks good, a little tweak of the style and i
    think you've got it, nice clean simple

  • Selecting XML Children with Namespaces

    I am trying to select child nodes of an XML element that have
    a different namespace from the parent, but xml.child(name) returns
    an empty list.
    In the attached code, londonList contains a single XML
    element and parisList is empty. I can't figure out how to find the
    paris child, and have tried adding the prefix to findParis (so it
    is "ff:b") as well as turning findParis into an XML object with the
    name "b" and adding the ff namespace to it, then passing that to
    child. Neither of those have worked.
    Any help is appreciated.

    Unfortunately in my real scenario I don't know what the
    element will be called. It could be in <foo> or <bar>
    etc, so I need to be able to use a variable (in which the element
    name is set beforehand). With "::" I can't use a variable, so
    textXML.ns::findParis looks for a "findParis" element and not "b".
    That's why I'm trying to use testXML.child(findParis) because
    I can use a variable. I just can't figure out how to make it
    incorporate the namespace as well.

  • Positioning XML slideshow images on Stage

    Hello!
    I have a xml slideshow that is working fine. The problem I am having is all of the images load in at x=0 and y=0. I would like to have the images load at a specific x coodinate and y coordinate on the stage. I have been looking at other code examples to see how to fit this in to mine but I keep breaking it. IF it's not too much trouble could someone help me out with the code or point me to an example that would help place it in the correct place?
    Thanks! Sandra
    Here is my code:
    import fl.transitions.Tween;
    import fl.transitions.TweenEvent;
    var transition_time:Number = 3;
    var displaying_time:Number = 5;
    var timer_tween:Tween;
    var alpha_tween:Tween;
    var index:int = 0;
    var is_picture_loaded:Boolean;
    var is_next_transition_ready:Boolean = true;
    var picture_holder:Sprite = new Sprite();
    addChild(picture_holder);
    var xml_data:XML;
    var array_of_picture:Array = new Array();
    var request_xml:URLRequest = new URLRequest("setup_sss.xml");
    var loader:URLLoader = new URLLoader();
    var request_picture:URLRequest;
    var picture_loader:Loader;
    loader.addEventListener(Event.COMPLETE, completeHandler);
    function completeHandler(e:Event):void{
        xml_data = new XML(loader.data);
        for(var i:int = 0; i<xml_data.children().length(); i++){
            array_of_picture.push(xml_data.child(i));
            request_xml = null;
            loader = null;
            start_slide_show();
    loader.load(request_xml);
    function start_slide_show():void{   
        if(index == array_of_picture.length){index = 0;}
        request_picture = new URLRequest(array_of_picture[index]);
        picture_loader = new Loader();
        picture_loader.contentLoaderInfo.addEventListener(Event.INIT, loader_Handler);
        picture_loader.load(request_picture);   
        index++;
    function loader_Handler(e:Event):void{
        e.target.content.visible = false;
        picture_holder.addChild(e.target.content);
        is_picture_loaded = true;
        if(is_next_transition_ready){
            var last_child:int = picture_holder.numChildren-1;
            start_transition(picture_holder.getChildAt(last_child));
    function start_transition(target:DisplayObject):void{
        is_next_transition_ready = false;
        is_picture_loaded = false;
        target.visible = true;
        target.alpha = 0;
        start_slide_show();
        alpha_tween = new Tween(target, "alpha", null, 0, 1, transition_time, true)
        alpha_tween.addEventListener(TweenEvent.MOTION_FINISH, start_timer);
    function start_timer(e:TweenEvent):void{   
        var count:Number = 0;
        timer_tween = new Tween(this, "count", null, 0, 1, displaying_time, true)
        timer_tween.addEventListener(TweenEvent.MOTION_FINISH, remove_picture);
    function remove_picture(e:TweenEvent):void{   
        if(picture_holder.numChildren>2){picture_holder.removeChildAt(0)}   
        timer_tween.removeEventListener(TweenEvent.MOTION_FINISH, remove_picture);
        is_next_transition_ready = true;
            if(is_picture_loaded){           
            var last_child:int = picture_holder.numChildren-1;       
            start_transition(picture_holder.getChildAt(last_child))

    I new I had to move it but I couldn't find out a sample of how to write it, but I figured it out!! So that is now working... BUt now I have another problem which doesn't make any sense at all. When I test my movie locally everything works fine all of my movies pull in correctly in the correct place But when I upload them on the server some of the movies don't show up... specifically some of the ones I worked on this afternoon. My html pages I update load but anything swf doesn't seem to.
    I have taken the whole folder and moved it somewhere else and again checked it locally and worked but uploaded not there!! I check on the server files appear to be there. I am posting this xml file... can you tell if  the syntax appears correct? I am really at a loss and checked all of the obvious things. Some of the swfs that are not updating are really simple swfs with no scripts so I dont know why???
    Your good at pointing out the obvious and maybe I am too braindead to see.  I am so close I just want to upload and be done!!
    Thanks!  Sandra
    xml code:
    <?xml version="1.0" encoding="utf-8"?>
    <SLIDE_SHOW>
        <PICTURE>intro/1.JPG</PICTURE>
        <PICTURE>intro/2.JPG</PICTURE>
        <PICTURE>intro/3.JPG</PICTURE>
        <PICTURE>intro/4.JPG</PICTURE>
        <PICTURE>intro/5.JPG</PICTURE>
    </SLIDE_SHOW>   

Maybe you are looking for