Flash Gallery w/ Loader

I apologize in advance -- I am new to Flash. I am triyng to build a Flash object to display images from a catalog. I would like to build something like this. I really just need some advice/direction to get started. Once I know the basics/techniques to be used, I can go from there. Is this some thing that can be done solely in Flash or will I need to use some combination of Flash & Javascript. Right now, I am thinking I can use the loader class to achieve something like this. Thanks in advance.

Flash would be sufficient.  You should try searching Google using terms like... "AS3 XML slideshow tutorial" or substitute gallery for slideshow.  You should be ablke to find something that mimcs your example to some extent.  And yes, you would likely be making use of the Loader class.  If you look search thru the AS3 forum you might find some discussions for problems others had that might have some code you can look over as well.

Similar Messages

  • Flash Gallery Issues.

    Hey guys,
    I have a flash gallery that works all correctly.  The only problem I have is when I go to load the site in the same browser for the second time it displays the last image within the gallery for all of the images.  I know I need a reload script or something.  I just want the flash gallery to load from the beginning just as the site did.  I need this fixed really fast, if anyone could please help me I would greatly greatly appreciate it. Images Below  Thank you guys so much.

    http://www.dedikateddesign.com/testgallery.swf
    Link to direct File so you can better see what I am meaning.  Load the porfolio page, the images show correctly.  Click on another link and then back to portfolio, the gallery loads the last image of the gallery over all the other images on the gallery.

  • Index page won't load images in flash gallery

    this is the first time I have used a .us extension for a domain.  I created a lighroom flash image gallery, exported it from lightroom into a folder called the domain name (pearlconcepts) which is located in my sites folder on my computer.  I uploaded that folder (pearlconcepts) to my server into the root folder which holds all my domain folders. when I call up the url in my browser (pearlconcepts.us) the index page loads fine.  but the web gallery images don't load (the flash player reads only 'loading').  however, if I upen the index page on my own computer (pearlconcepts.us/index,html), it loads all the images in the flash gallery perfectly.
    I am wondering if there is some code in lightroom's web module which sets .com as a preference (my other sites are all .com and the uploaded folders all work fine). or if there is something I need to do to the root folder on the server to make the images load properly.
    many thanks!
    lenore

    Starting with the first error.
      Line 6, Column 26: character "&" is the first character of a delimiter but occurred as data
    <title>Applegate Gallery & Custom Framing - Quality custom picture framing in V…
    On the web, ampersands need to be expressed as HTML entities.
    In your <title>,  change & to this:
    &amp;
    Save.
    Just work through the list of errors and skip any you don't feel comfortable about changing for now.  When you get most of the errors removed, re-upload your pages & we can take another look at your progress.
    Nancy O.

  • Adobe Bridge Gallery Not Loading in .pdfs

    Recently I created a flash gallery with adobe bridge that I intend to embed into a pdf that will be available as a download via my company's website. I've attached the required resources directory as well as the appropriate flahvars required to display the content but for whatever reason my gallery hangs when trying to load the images. I have optimized the images for display on the web with file sizes ranging from 36kb to 114kb. There are twenty one pictures in total and I'm using the most recent versions of both bridge and acrobat. Any insight would be appreciated.

    Hi,
    at www.lynda.com there is a great video tutorial.
    Search for Create and Embed a Photo Gallery in a PDF

  • Remove / unload external swf file(s) from the main flash file and load a new swf file and garbage collection from memory.

    I can't seem to remove / unload the external swf files e.g when the carousel.swf (portfolio) is displayed and I press the about button the about content is overlapping the carousel (portfolio) . How can I remove / unload an external swf file from the main flash file and load a new swf file, while at the same time removing garbage collection from memory?
    This is the error message(s) I am receiving: "TypeError: Error #2007: Parameter child must be non-null.
    at flash.display::DisplayObjectContainer/removeChild()
    at index_fla::MainTimeline/Down3()"
    import nl.demonsters.debugger.MonsterDebugger;
    var d:MonsterDebugger=new MonsterDebugger(this);
    stage.scaleMode=StageScaleMode.NO_SCALE;
    stage.align=StageAlign.TOP_LEFT;
    stage.addEventListener(Event.RESIZE, resizeHandler);
    // loader is the loader for portfolio page swf
    var loader:Loader;
    var loader2:Loader;
    var loader3:Loader;
    var loader1:Loader;
    //  resize content
    function resizeHandler(event:Event):void {
        // resizes portfolio page to center
    loader.x = (stage.stageWidth - loader.width) * .5;
    loader.y = (stage.stageHeight - loader.height) * .5;
    // resizes about page to center
    loader3.x = (stage.stageWidth - 482) * .5 - 260;
    loader3.y = (stage.stageHeight - 492) * .5 - 140;
    /*loader2.x = (stage.stageWidth - 658.65) * .5;
    loader2.y = (stage.stageHeight - 551.45) * .5;*/
    addEventListener(Event.ENTER_FRAME, onEnterFrame,false, 0, true);
    function onEnterFrame(ev:Event):void {
    var requesterb:URLRequest=new URLRequest("carouselLoader.swf");
    loader = null;
    loader = new Loader();
    loader.name ="carousel1"
    //adds gallery.swf to stage at begining of movie
    loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader.load(requesterb);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader);
    loader.x = (stage.stageWidth - 739) * .5;
    loader.y = (stage.stageHeight - 500) * .5;
    // stop gallery.swf from duplication over and over again on enter frame
    removeEventListener(Event.ENTER_FRAME, onEnterFrame);
    //PORTFOLIO BUTTON
    //adds eventlistner so that gallery.swf can be loaded
    MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    function Down(event:MouseEvent):void {
    // re adds listener for contact.swf and about.swf
    MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
    MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    //unloads gallery.swf from enter frame if users presses portfolio button in nav
    var requester:URLRequest=new URLRequest("carouselLoader.swf");
        loader = null;
    loader = new Loader();
    loader.name ="carousel"
    loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader.load(requester);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader);
    loader.x = (stage.stageWidth - 739) * .5;
    loader.y = (stage.stageHeight - 500) * .5;
    removeChild( getChildByName("about") );
    removeChild( getChildByName("carousel1") );
    // remove eventlistner and prevents duplication of gallery.swf
    MovieClip(root).nav.portfolio.removeEventListener(MouseEvent.MOUSE_DOWN, Down);
    //INFORMATION BUTTON
    //adds eventlistner so that info.swf can be loaded
    MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
    function Down1(event:MouseEvent):void {
    //this re-adds the EventListener for portfolio so that end user can view again if they wish.
    MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    var requester:URLRequest=new URLRequest("contactLoader.swf");
    loader2 = null;
    loader2 = new Loader();
    loader2.name ="contact"
    loader2.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader2.load(requester);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader2);
    loader2.x = (stage.stageWidth - 658.65) * .5;
    loader2.y = (stage.stageHeight - 551.45) * .5;
    // remove eventlistner and prevents duplication of info.swf
    MovieClip(root).nav.info.removeEventListener(MouseEvent.MOUSE_DOWN, Down1);
    //ABOUT BUTTON
    //adds eventlistner so that info.swf can be loaded
    MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    function Down3(event:MouseEvent):void {
    //this re-adds the EventListener for portfolio so that end user can view again if they wish.
    MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
    var requester:URLRequest=new URLRequest("aboutLoader.swf");
    loader3 = null;
    loader3 = new Loader();
    loader3.name ="about"
    loader3.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader3.load(requester);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader3);
    loader3.x = (stage.stageWidth - 482) * .5 - 260;
    loader3.y = (stage.stageHeight - 492) * .5 - 140;
    removeChild( getChildByName("carousel") );
    removeChild( getChildByName("carousel1") );
    // remove eventlistner and prevents duplication of info.swf
    MovieClip(root).nav.about.removeEventListener(MouseEvent.MOUSE_DOWN, Down3);
    stop();

    Andrei1,
    Thank you for the helpful advice. I made the changes as you suggested but I am receiving a #1009 error message even though my site is working the way I wan it to work. I would still like to fix the errors so that my site runs and error free. This is the error I am receiving:
    "TypeError: Error #1009: Cannot access a property or method of a null object reference."
    I'm sure this is not the best method to unload loaders and I am guessing this is why I am receiving the following error message.
         loader.unload();
         loader2.unload();
         loader3.unload();
    I also tried creating a function to unload the loader but received the same error message and my portfolio swf was not showing at all.
         function killLoad():void{
         try { loader.close(); loader2.close; loader3.close;} catch (e:*) {}
         loader.unload(); loader2.unload(); loader3.unload();
    I have a question regarding suggestion you made to set Mouse Event to "null". What does this do setting the MouseEvent do exactly?  Also, since I've set the MouseEvent to null do I also have to set the loader to null? e.g.
    ---- Here is my updated code ----
    // variable for external loaders
    var loader:Loader;
    var loader1:Loader;
    var loader2:Loader;
    var loader3:Loader;
    // makes borders resize with browser size
    function resizeHandler(event:Event):void {
    // resizes portfolio page to center
         loader.x = (stage.stageWidth - loader.width) * .5;
         loader.y = (stage.stageHeight - loader.height) * .5;
    // resizes about page to center
         loader3.x = (stage.stageWidth - 482) * .5 - 260;
         loader3.y = (stage.stageHeight - 492) * .5 - 140;
    //adds gallery.swf to stage at begining of moviie
         Down();
    //PORTFOLIO BUTTON
    //adds eventlistner so that gallery.swf can be loaded
         MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    function Down(event:MouseEvent = null):void {
    // re adds listener for contact.swf and about.swf
         MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
         MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    //unloads gallery.swf from enter frame if users presses portfolio button in nav
         var requester:URLRequest=new URLRequest("carouselLoader.swf");
         loader = new Loader();
         loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
         function ioError(event:IOErrorEvent):void {
         trace(event);
         try {
         loader.load(requester);
         } catch (error:SecurityError) {
         trace(error);
         this.addChild(loader);
         loader.x = (stage.stageWidth - 739) * .5;
         loader.y = (stage.stageHeight - 500) * .5;
    // sure this is not the best way to do this - but it is unload external swfs
         loader.unload();
         loader2.unload();
         loader3.unload();
    // remove eventlistner and prevents duplication of gallery.swf
         MovieClip(root).nav.portfolio.removeEventListener(MouseEvent.MOUSE_DOWN, Down);
    //INFORMATION BUTTON
         //adds eventlistner so that info.swf can be loaded
         MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
         function Down1(event:MouseEvent = null):void {
         //this re-adds the EventListener for portfolio so that end user can view again if they wish.
         MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
         MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
         var requester:URLRequest=new URLRequest("contactLoader.swf");
         loader2 = null;
         loader2 = new Loader();
         loader2.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);    
         function ioError(event:IOErrorEvent):void {
         trace(event);
         try {
         loader2.load(requester);
    }      catch (error:SecurityError) {
         trace(error);
         addChild(loader2);
         loader2.x = (stage.stageWidth - 658.65) * .5;
         loader2.y = (stage.stageHeight - 551.45) * .5;
    loader.unload();
    loader2.unload();
    loader3.unload();
         // remove eventlistner and prevents duplication of info.swf
         MovieClip(root).nav.info.removeEventListener(MouseEvent.MOUSE_DOWN, Down1);
    //ABOUT BUTTON
         //adds eventlistner so that info.swf can be loaded
         MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
         function Down3(event:MouseEvent = null):void {
         //this re-adds the EventListener for portfolio so that end user can view again if they wish.
         MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
         MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
         var requester:URLRequest=new URLRequest("aboutLoader.swf");
         loader3 = null;
         loader3 = new Loader();
         loader3.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
         function ioError(event:IOErrorEvent):void {
         trace(event);
         try {
         loader3.load(requester);
    }      catch (error:SecurityError) {
         trace(error);
         addChild(loader3);
         loader3.x = (stage.stageWidth - 482) * .5 - 260;
         loader3.y = (stage.stageHeight - 492) * .5 - 140;
         loader.unload();
         loader2.unload();
         loader3.unload();
         // remove eventlistner and prevents duplication of info.swf
         MovieClip(root).nav.about.removeEventListener(MouseEvent.MOUSE_DOWN, Down3);
         stop();

  • Clear loaded pictures in xml gallery to load another set

    i cannot figure how to unload my already populated xml gallery, before loading new content :
    here the functions i want :
    //following 2 functions will be called by a button :
    // removes previously placed objects
    function clearLoadedPictures():void {
    // Load another ,xml to load new pictures set - ok : works fine
    function LoadNewPictures():void {
            i_g = 0;
               // xml data
                var xml_gallery:XML                = new XML();
                var xml_gallery_List:XMLList        = new XMLList;
                // XML data loader...
                var xmlUrlReq:URLRequest   = new URLRequest("xml/gallery2.xml");// gallery2.xml will replace gallery.xml already loaded
                var xml_gallery_UrlLoader:URLLoader = new URLLoader(xmlUrlReq);
                xml_gallery_UrlLoader.addEventListener(Event.COMPLETE, xml_gallery_Complete);
                xml_gallery_UrlLoader.addEventListener(IOErrorEvent.IO_ERROR, xml_gallery_LoadFailed);
    here the xml gallery code :
    var _mc:item;
    var total:int;
    var i_g:int;
    var id:int;
    var btn_Gallery_Ready:Boolean;
    var speedX:Number;
    var spaceR:Number;
    var img_gallery_Loader:Loader;
    i_g = 0;
               // xml data
                var xml_gallery:XML                = new XML();
                var xml_gallery_List:XMLList        = new XMLList;
                // XML data loader...
                var xmlUrlReq:URLRequest   = new URLRequest("xml/gallery.xml");
                var xml_gallery_UrlLoader:URLLoader = new URLLoader(xmlUrlReq);
                xml_gallery_UrlLoader.addEventListener(Event.COMPLETE, xml_gallery_Complete);
                xml_gallery_UrlLoader.addEventListener(IOErrorEvent.IO_ERROR, xml_gallery_LoadFailed);
                bottom24.gallery.content_mc.addEventListener(MouseEvent.ROLL_OVER, startScroll);
                bottom24.gallery.content_mc.addEventListener(MouseEvent.ROLL_OUT, stopScroll); //
    // xmlComplete function
            function xml_gallery_Complete(e:Event):void
            xml_gallery = XML(e.target.data); //
                xml_gallery_List = xml_gallery.item;  // <item> in gallery.xml
                total = xml_gallery_List.length();
                spaceR = xml_gallery.attribute("space"); // specified in gallery.xml file as is : <gallery space="119" speed="0.2">
                speedX = xml_gallery.attribute("speed");
                init_gallery();
            function xml_gallery_LoadFailed(e:IOErrorEvent):void {
                trace("Load Failed: " + e);
            function init_gallery()  //
                //bottom.gallery.content_mc.itemHolder_mc.
                _mc = new item(); //
                _mc.alpha = 0;
                //_mc.imgMask_mc.scaleY = 0;  // condition pour apparition des timbres ds la gallery - OLD
                _mc.imgMask_mc.alpha = 0; // condition pour apparition des timbres ds la gallery - NEW
                _mc.x = i_g * spaceR;
                _mc.btn.id = i_g;
                _mc.btn.mouseChildren = false;
                bottom24.gallery.content_mc.itemHolder_mc.addChild(_mc);
                Tweener.addTween(_mc, {alpha:1, time:0.8, transition:"easeOutExpo"});
                _mc.online_mc.alpha = 0; //invisible sans roll over
                if (xml_gallery_List[i_g].url != "")
                    _mc.btn.buttonMode = true;
                    _mc.online_mc.visible = true;
                    btn_Gallery_Ready = true;
                else
                    _mc.btn.buttonMode = false;
                    _mc.online_mc.visible = false;
                    btn_Gallery_Ready = false;
            var imgRequest:URLRequest = new URLRequest (xml_gallery_List[i_g].image); //
             img_gallery_Loader = new Loader(); // var imgLoader:Loader;
                img_gallery_Loader.load(imgRequest); //
                img_gallery_Loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, imgLoading);
                img_gallery_Loader.contentLoaderInfo.addEventListener(Event.COMPLETE, img_gallery_Complete);
                i_g++;
            function imgLoading(event:ProgressEvent):void // tiny preloader in bottom thumbs pics
        _mc.preloader_mc.width = Math.round(img_gallery_Loader.contentLoaderInfo.bytesLoaded / img_gallery_Loader.contentLoaderInfo.bytesTotal * 100);
            function img_gallery_Complete(event:Event):void
                _mc.imgHolder_mc.addChild(img_gallery_Loader);
                Tweener.addTween(_mc.imgHolder_mc, {_saturation:0.9, time:0.6});// desaturate scrolling thumbs
                //_mc.imgHolder_mc.alpha = 0.5; // test
                // apparition des timbres ds la gallery, ici fade in : - NEW
                Tweener.addTween(_mc.imgMask_mc, {"alpha":1, delay:i_g / 20, time:0.4, transition:"easeOutExpo"});// test
                // apparition des timbres ds la gallery, ici image apparait de haut en bas : - OLD
                //Tweener.addTween(_mc.imgMask_mc, {"scaleY":1, delay:i_g / 10, time:1, transition:"easeOutExpo"});
                // la ligne de preloader qui diminue vers la gauche :
                Tweener.addTween(_mc.preloader_mc, {"scaleX":0, delay:0, time:1, transition:"easeOutExpo"});
                _mc.btn.addEventListener(MouseEvent.ROLL_OVER, onMouseOver);
                _mc.btn.addEventListener(MouseEvent.ROLL_OUT, onMouseOut);
                _mc.btn.addEventListener(MouseEvent.CLICK, onMouseClick);
                if (i_g < total)
                    init_gallery();
    thanks

    hi,
    back to work,
    then i used a loop in the first clear function:
    var n:int = 0;
                  while (n < xml_gallery_List.length() -1) {
                      bottom24.gallery.content_mc.itemHolder_mc.removeChildAt(n); //
                    i++;
    and it remove all my previously loaded pictures,but it throw me an error :
    RangeError: Error #2006: The supplied index is out of bounds.
    at flash.display: DisplayObjectContainer/removeChildAt()
    it seems error come from the removeChildAt, but i can't figure out what's wrong
    i've tried to replace removeChildAt(n); by removeChild(n); and the loop crash Flash software....
    any suggestion ?

  • Image requests from flash gallery are not caching

    The image requests that happen from a flash gallery are not getting cached in Safari browser, they get cached properly in IE, Firefox & Chrome.
    For Example - Load the following gallery (http://www.monoslideshow.com/demo/) in Safari browser, and monitor the HTTP requests using Charles proxy tool or any other similar tool.
    The images are downloaded during the 1st iteration of the gallery, which is expected, but even for the further iterations the images are downloaded from the source, rather than taking from the cache.

    Hello All,
    It was disappointing not receiving a reply from anybody on
    the
    following.. Please provide me some insight.
    Thanks.
    Warm Regards,
    Parag Shah
    Parag Shah wrote:
    > Hello All,
    >
    > We are creating a drawing application. As usual, it has
    a canvas and all
    > the necessary tools. We do have an option viz. canvas
    size which allows
    > to have larger canvases. However, when the user chooses
    larger canvas,
    > the application size remains the same but the canvas now
    has scrolls
    > (using scroll pane) revealing more space by scrolling.
    Now, the problem
    > is while we save the canvas image. If the canvas size is
    minimal (so
    > that there are no scrolls) naturally everything which is
    seen is saved
    > as a JPEG file. However, when the canvas size is larger,
    only that much
    > part gets saved which is visible and fit within the
    viewing area. Of
    > course we can scroll and see the other part of the
    drawing but it saves
    > only the frame currently within the view and not the
    entire drawing.
    >
    > We are using Flash 8, AS 2.0 (which is inevitable
    looking into the
    > project requirements).
    >
    > Desperately seeking help!!!
    >
    > Thanks in advance.
    >
    > Warm Regards,
    >
    > Parag Shah

  • Flash Gallery Template not working as expected

    I am very new to Flash and barely know ActionScript. I have created a flash gallery using the in built template in Flash8, which works fine. The gallery forms part of my gallery page of a separate SWF flash site. I load the gallery using a loder component. Since the gallery navigation works by targeting the root folder, my site gets screwed up. The question is, how do i modify the ActionScript in the gallery.fla file (flash inbuilt template), so that once loaded into the main site, it doesnt target the root timeline, but targets its own timeline i.e. the gallery's own timeline. I hope i'm making sense?
    Please see below for the code in the Flash Gallery. PS: I didnt write the code - its inbuilt into the template:
    function updateFrame (inc) {
    // send slides to new frame
    newFrame = _level1._currentFrame + inc;
    _level1.gotoAndStop(newFrame);
    updateStatus();
    if (_level1._currentFrame == 1) {
      prevBtn.gotoAndStop(2);
    } else {
      prevBtn.gotoAndStop(1);
    if (_level1._currentFrame == _level1._totalFrames) {
      nextBtn.gotoAndStop(2);
    } else {
      nextBtn.gotoAndStop(1);
    function updateStatus () {
    _level1.statusField = _level1._currentFrame + " of " + _level1._totalFrames;
    function autoplayInit () {
    startTime = getTimer();
    hideControls();
    updateStatus();
    function autoplay () {
    if (autoplayStatus != 0) {
      // get the current time and elapsed time
      curTime = getTimer();
      elapsedTime = curTime-startTime;
      // update timer indicator
      indicatorFrame = int(4/(delay/(elapsedTime/1000)));
      indicator.gotoAndStop(indicatorFrame+1);
      // if delay time if met, goto next photo
      if (elapsedTime >= (delay*1000)) {
       if (_level1._currentframe == _level1._totalframes) {
        _level1.gotoAndStop(1);
       } else {
        _level1.nextFrame();
       autoplayInit();
    function hideControls () {
    nextBtn.gotoAndStop(2);
    prevBtn.gotoAndStop(2);
    updateFrame();
    autoplayStatus = 0;

    use this._lockroot=true in your template.

  • Need some help with a flash gallery

    Hello everyone :)
    I really stuck on my flash gallery, I purchashed it and set
    up the xml file and everything works fine, but when I upload it to
    my website and I add the flash to a page, it dont show up.
    Ive been told that the problem is that the gallery is trying
    to load the XML file at this location:
    http://www.islamichelp.org.uk/gallery_data.xml
    but theres not an XML file there.
    I havent got the orignal flash file because im using a
    template therefore I can't edit it. Is there any way I could change
    where it loads the xml file from??
    As u can see
    here
    the flash gallery works great, but I want to put it on my actual
    webpage.
    The flash gallery is on
    this
    page..
    Thank you in advance!

    Hi,
    Why dont you just upload the xml file (and images) into the
    folder in which the flash is looking for it?
    Thanks
    Alan

  • Embedding Adobe Lightroom 3 Flash Gallery into Website

    Exporting Photo Gallery from LR3 into DWcs5 via Insert>Media>SWF, it imports but is stuck loading. Help?
    This is what it's stuck as: http://voirlamour.com/weddings.html
    The images are all resized to max dimension of 800px, so it's not a size>loading issue. I've Put all files, even dependents (as that helped before).
    This is what the code looks like:
    <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-4… width="741" height="469">
    <param name="movie" value="Galleries/Weds/resources/gallery.…
    <param name="quality" value="high">
    <param name="swfversion" value="8.0.35.0">
    <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
    <param name="expressinstall" value="Scripts/expressInstall.swf">
    <param name="BGCOLOR" value="#FFFFFF">
    <param name="base" value=".">
    <param name="wmode" value="opaque">
    <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
    <!--[if !IE]>-->
    <object type="application/x-shockwave-flash" data="Galleries/Weds/resources/gallery.s… width="741" height="469">
    <!--<![endif]-->
    <param name="quality" value="high">
    <param name="swfversion" value="8.0.35.0">
    <param name="expressinstall" value="Scripts/expressInstall.swf">
    <param name="BGCOLOR" value="#FFFFFF">
    <param name="base" value=".">
    <param name="wmode" value="opaque">
    <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
    <div>
    <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
    <p><a href="http://www.adobe.com/go/getflashpl… src="http://www.adobe.com/images/shared/… alt="Get Adobe Flash player" width="112" height="33" /></a></p>
    </div>
    <!--[if !IE]>-->
    </object>
    <!--<![endif]-->
    </object>
    Help?

    The template that I'm using is a user created one, but basically the Pure White, but shut off rows and columns and turn all the font and everything but the photo borders and the button directions to white. You shouljd end up with nothing but the picture with a border and the buttons below it. Again, it was a lightroom flash gallery. If you look on the website now, I substituted a simpleviewer gallery, so don't use that as a reference anymore. =P What it basically showed up as was the spinning loading circle, but it worked in lightroom fine. Although! It did Not work in Lightroom's Preview in browser. The page opened and remained blank without the loading symbol.
    Identity Plate: Off
    Picture size: X-L (tried with all sizes, really)
    Quality: 80% (have increased and decreased)
    Sharpening: Standard (tried low already)
    Watermarking: Off
    There are 9 images 800px at max point apiece. I'm exporting, not uploading it, to my site root folder in DW for the main page. Then insert>media>swf so on and so forth. =]

  • Lightroom Flash Gallery Problem

    I created a flash web gallery in Lightroom and added it to
    dreamweaver cs3. When I opened the gallery index page to review and
    adjust in dreamweaver I got a message saying I needed to have Flash
    Player installed in my browser (It was) and scripting available for
    safari (it is). Could not get past this issue.
    When I used the same lightroom gallery only as html I had no
    problems editing and posting the index page and gallery to the web.
    Is there something I'm missing? Is this a Lightroom or
    Dreamweaver or wombat problem?
    Wally Wombat

    For some reason Dreamweaver won't support Flash in the program itself or something like that.  I went through the same thing once.  I dont remember trying it but you could open the index page and hit the live mode button and maybe it'll pop up how it should.  But if you uploaded it to the actual site and went to it in a browser i'm pretty sure it would look normal.  And I was just wondering...but how did you get your html gallery to load up on your website? i'm having the impossible difficulty of achieving that.  I paste the gallery folder into the site folder and i try to change links and html documents so they all correlate but i still get the 404 error when i try to go to it in the browser.  I semi-succeeded one time by moving the index.html files out of the gallery folder with the other html pages that i had but then since they weren't in the folder some of the stuff in the gallery did not work in the browser.  So if you have time I'd much appreciate some help!

  • Flash gallery related question...

    Hi,
    I have downloaded the free Flash Gallery/Slide Show which works fine using index.html file. But I would like to add it to my Flash_Website instead of using as seperate html file.
    How can I add it to my Flash_Website so that the slide show can be viewed inside my Flash File not in Web Browser using as index.html? Please do help me to solve this problem.
    Since I can't see any option to attach the zip file, please find below the link for this free XML Image Slideshow.
    http://www.flabell.com/flash-components#sorttype:date-sortmode:desc-filter:free-view:detai ls-onepage:no-perPage:10-page:2
    The second one with the following title:XML Image Slideshow
    Thanks in advance.
    Note: Actually the index.html file content to be written in somewhere in the .Fla file which runs the slide show. The following is the index.html content for your reference:
    <html>
    <head>
    <title>XML Image Slideshow</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="#ffffff" style="margin:0;padding:0;" scroll="yes">
    <script type="text/javascript" src="js/swfobject.js"></script>
    <script type="text/javascript">
    // JAVASCRIPT VARS
    // cache buster
    var cacheBuster = "?t=" + Date.parse(new Date());
    // stage dimensions
    var stageW = 560;//"100%";
    var stageH = 350;//"100%";
    // ATTRIBUTES
    var attributes = {};
    attributes.id = 'FlabellComponent';
    attributes.name = attributes.id;
    // PARAMS
    var params = {};
    params.bgcolor = "#ffffff";
    /* FLASH VARS */
    var flashvars = {};
    /// if commented / delete these lines, the component will take the stage dimensions defined
    /// above in "JAVASCRIPT SECTIONS" section or those defined in the settings xml
    flashvars.componentWidth = stageW;
    flashvars.componentHeight = stageH;
    /// path to the content folder(where the xml files, images or video are nested)
    /// if you want to use absolute paths(like "http://domain.com/images/....") then leave it empty("")
    flashvars.pathToFiles = "banner/";
    flashvars.xmlPath = "xml/banner.xml";
    /** EMBED THE SWF**/
    swfobject.embedSWF("preview.swf"+cacheBuster, attributes.id, stageW, stageH, "9.0.124", "js/expressInstall.swf", flashvars, params);
    </script>
    <table width="100%" height="100%" cellpadding="0" cellspacing="0">
    <td align="center">
    <!-- this div will be overwritten by SWF object -->
    <div id="FlabellComponent">
    <p>In order to view this object you need Flash Player 9+ support!</p>
    <a href="http://www.adobe.com/go/getflashplayer">
    <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player"/>
    </a>
    </div>
    </td>
    </table>
    </body>
    </html>

    You can use Loader class to achieve this. In your code you will need to load your preview.swf from your Flash_Website.
    Loader class help along with sample code is available here http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/Loader.ht ml?allClasses=1
    Google for loading/embedding swf file, e.g. http://www.google.co.in/search?hl=en&q=as3+embed+swf+inside+another+swf

  • Lightroom flash gallery

    I am trying to show images via lightroom flash gallery. When I view my site in a browser all ok, the slide show plays no problem. However when I make my site live I can see the page layout but the images do not load, a sign loading appears but continues forever. Can anyone help, cheers, Ted.

    Sean, thanks for the help, but I am still experiencing problems seeing my images using flash pages via lightroom 2. My hosting company say that it is  a scripting error with lightroom, indeed this is their most recent response -
    'Upon visiting tedfoxjoyce.co.uk, I can see there is a problem with your scripts which mean the images don't load, this is not a server side error.  Please contact your developers or the software developers for advice.'
    Any other advice you could offer would be again much appreciated, Ted

  • Non Display Of Flash Gallery In Web Preview

    Using lightroom 2.4 I created a flash gallery. I exported it to my local website. I created a link from the home page in Web Expression 2. When I follow the link I get a blank "design" screen in both Firefox and IE previews. There is no problem with an HTML gallery. As far as I know I have the latest version of Adobe Flash Player loaded correctly.
    Pete Price

    Using lightroom 2.4 I created a flash gallery. I exported it to my local website. I created a link from the home page in Web Expression 2. When I follow the link I get a blank "design" screen in both Firefox and IE previews. There is no problem with an HTML gallery. As far as I know I have the latest version of Adobe Flash Player loaded correctly.
    Pete Price

  • Embedding Adobe Lightroom 3 flash gallery iweb 09

    First things first...
    I'm a non .MAC user, currently hosting with Host Gator.
    Need exact step by step for getting my flash gallery to work on a particular iweb page. I created a folder called "flash" in my hosts servers root directory, then published the gallery out of Lightroom 3) to my host server, as mentioned above. The flash gallery files are now inside the flash folder.
    I have applied the HTML widget on the page I wish to display the gallery using this code...
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=" http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0, 0" width="550" height="400" align="middle"> <param name="movie" value="http://www.yoursite.com/flash/myflashfile.swf"> <param name="allowScriptAccess" value="always"> <embed type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" width="550" height="400" align="middle" src="http://www.yoursite.com/flash/myflashfile.swf" allowScriptAccess="always"></embed></object>
    I am unable to wrap my head around this stuff. I followed this tip http://iwebunlimited.com/iweb-tips/tip-1-flash-in-iweb/
    So lost!
    Please let me know if any further details are required from this end.
    Thanks

    I think I see your problem.
    Your file is not a stand alone swf file.
    Lightroom creates a folder containing an index.html file and two sub folders.
    What you actually need to do is address the index.html file.
    You could either create a link to that file and have it open a new page or use the folling code to produce an "Iframe" and load the page into the iframe.
    Below is the code. The link is to a lightroom folder I created as a sample.
    Change that to the proper address and it should work. If you apply it in Iweb you should see the result without having to publish.
    I played around with the width and height size to try to get an appropriate size.
    Change them if needed.
    If that's too small the link solution is the only other option I'm aware of.
    Hope the helps.
    Good Luck
    <iframe src=
    "http://web.mac.com/chuckusher/flashtest/index.html"
    style="width:700px; height:500px;
    border-width:0px;
    border-color:#990033;
    border-style:solid;"
    scrolling="auto" >
    </iframe>

Maybe you are looking for