Gallery dynamic llinks

is there anyway i can make each gallery item from a excelsheet link to a different Url?

Hi Michael,
Please let me know if I misunderstood your question. You want to have a gallery of items (E.g. Images) in which clicking on an image would launch a web browser to a specific Url, each image having its own Url ?
In your Excel spreadsheet, add a column (e.g. named LinkUrl) with the proper Urls. Then inside Siena click on the Image visual inside the Gallery template to select it and set its
OnSelect property formula to Launch(LinkUrl)

Similar Messages

  • NEED HELP remove Video Gallery

    I am importing the video gallery dynamically via Flash professional and in need of help how to remove the sound and where to put the code so the sound stops playing while viewing the otehr pages.
    package 
        import flash.events.*;
        import flash.display.MovieClip;
        import flash.display.Sprite;
        import flash.ui.Keyboard;
        import flash.filters.DropShadowFilter;
        import flash.net.URLLoader;
        import flash.text.*;
        import flash.text.TextField;
        import flash.text.TextFormat;
        import flash.text.Font;
        import flash.net.*;
        import flash.events.MouseEvent;
        import flash.display.Loader;
        import flash.display.BitmapData;
        import flash.events.ProgressEvent;
        import flash.display.Graphics;
        import flash.net.URLRequest;
        import fl.video.*;
        //import gs.*;
    //    import gs.easing.*;
        //Classes for guesture support for mobile devices
        import flash.ui.Multitouch;
        import flash.ui.MultitouchInputMode;
        import flash.events.TransformGestureEvent;
        //Custom classes
        import com.other.TextHandle;
        import com.other.Mp3Player;
        //Greensock tween class for better tweens
        import com.greensock.*;
        import com.greensock.TweenMax;
        import com.greensock.TweenLite;
        import com.greensock.easing.*;
        import flash.media.Sound;
        import flash.media.SoundChannel;
        import com.greensock.events.LoaderEvent;
        import com.greensock.plugins.*;
        TweenPlugin.activate([VolumePlugin]);
        public class Portfolio extends MovieClip
            //Declare movieclips for backgrounds
            var myBg1:MovieClip;
            var myBg2:MovieClip;
            var myBg3:MovieClip;
            var myBg4:MovieClip;
            var myBg5:MovieClip;
            var myBgHome:MovieClip;
            //Declare movieclips for nav buttons
            var myBtn01:MovieClip;
            var myBtn02:MovieClip;
            var myBtn03:MovieClip;
            var myBtn04:MovieClip;
            var myBtn05:MovieClip;
            var mybackBtn:MovieClip;
            var player:Mp3Player
            //var slideItem:SlideItem;
            var tempContainer:Sprite;
            var hiddenOptions:Boolean;
            var optionsMenu:MovieClip;
            var myXML:XML;
            var myLoader:URLLoader = new URLLoader();
            var myThumb:Loader;
            var myTextField:TextField;
            var myTxt:TextField;
            // Video Classes
            var thumbWidth:Number;
            var thumbHeight:Number;
            var thumbX:Number;
            var thumbY:Number;
            var videoX:Number;
            var videoY:Number;
            var myVideos:XMLList;
            var totalVideos:int;
            var videoContainer:MovieClip;
            var thumbs:MovieClip;
            var titles:MovieClip;
            var videoPlayer:FLVPlayback;
            // ImageGallery Classes
            public function Portfolio()
                myLoader.load(new URLRequest("myFirstXML.xml"));
                myLoader.addEventListener(Event.COMPLETE, processXML);
                // constructor code
                firstPage();
                makeMenu();
                homePage();
                /* EXAMPLE OF USING GESTURE SUPPORT ON A MOBILE DEVICE */
                Multitouch.inputMode = MultitouchInputMode.GESTURE;
                //slideItem = new SlideItem();
                /* Center the image */
                //slideItem.x = stage.stageWidth * 0.5;
                //slideItem.y = stage.stageHeight * 0.5;
                //addChild(slideItem);
                //listeners('add', slideItem); //see function for more detail
                // TextHandle Class for TextFields
                var Intro:TextHandle = new TextHandle("My Portfolio","Arial");
                //OR with more optional details e.g. var a:TextHandle = new TextHandle("some text","Cooper Black",150);
                addChild(Intro);
                //Mp3Player Class for loading in sounds
                player = new Mp3Player();
                player.play('DwightQ3.mp3');
                /*Blur filter API*/
                var dropShadow:DropShadowFilter = new DropShadowFilter();
                dropShadow.color = 0x000000;
                dropShadow.blurX = 3;
                dropShadow.blurY = 3;
                dropShadow.angle = 45;
                dropShadow.alpha = 0.5;
                dropShadow.distance = 5;
                var filtersArray:Array = new Array(dropShadow);
                Intro.filters = filtersArray;
            // VIDEO GALLERY
            public function VideoGallery()
                // constructor code
                var myXMLLoader:URLLoader = new URLLoader();
                myXMLLoader.load (new URLRequest("myVideoXML.xml"));
                myXMLLoader.addEventListener (Event.COMPLETE, processXML);
            function processXML (e:Event):void
                myXML = new XML(e.target.data);
                //Get attributes from XML document
                thumbWidth = myXML.@THUMB_WIDTH;
                thumbHeight = myXML.@THUMB_HEIGHT;
                thumbX = myXML.@THUMB_X;
                thumbY = myXML.@THUMB_Y;
                thumbX = myXML.@VIDEO_X;
                thumbY = myXML.@VIDEO_Y;
                //Get Element information from VIDEO tags
                myVideos = myXML.VIDEO;
                //Count the number of Elements with VIDEO tags
                totalVideos = myVideos.length();
                makeContainers();
                callThumbs();
                makePlayer();
            function makeContainers():void
                videoContainer = new MovieClip();
                addChild (videoContainer);
                thumbs = new MovieClip();
                thumbs.x = 20;
                thumbs.y = 400;
                thumbs.buttonMode = true;
                videoContainer.addChild(thumbs);
                thumbs.addEventListener(MouseEvent.CLICK,playVideo);
                thumbs.addEventListener(MouseEvent.MOUSE_OVER,onOverThumb);
                thumbs.addEventListener(MouseEvent.MOUSE_OUT,onOutThumb);
                titles = new MovieClip();
                titles.x = 20;
                titles.y = 330;
                videoContainer.addChild(titles);
            function callThumbs ():void
                for (var i:Number = 0; i <totalVideos; i++)
                    trace(myVideos[i].THUMB);
                    var thumbURL = myVideos[i].THUMB;
                    var thumbLoader = new Loader();
                    thumbLoader.name = i;
                    thumbLoader.load(new URLRequest(thumbURL));
                    thumbLoader.contentLoaderInfo.addEventListener (Event.COMPLETE,thumbLoaded);
                    //Change spaces for thumnails vertically
                    thumbLoader.x = (thumbHeight+90)*i;
                    var thumbTitle = myVideos[i].TITLE;
                    var titleTXT:TextField = new TextField();
                    titleTXT.text = thumbTitle;
                    titleTXT.y = thumbTitle;
                    //Change spaces for thumbnails horizontally
                    titleTXT.x = (thumbWidth + 1)*i;
                    titleTXT.width = thumbWidth;
                    titleTXT.height = thumbHeight;
                    titleTXT.wordWrap = true;
                    titles.addChild (titleTXT);
            function thumbLoaded (e:Event):void
                var myThumb:Loader = Loader (e.target.loader);
                thumbs.addChild(myThumb);
            function makePlayer():void
                videoPlayer = new FLVPlayback();
                videoPlayer.skin ="SkinUnderPlaySeekStop.swf";trace("noerror");
                videoPlayer.skinBackgroundColor = 0x0099FF;
                videoPlayer.skinBackgroundAlpha = 0.85;
                videoPlayer.x = 100;
                videoPlayer.y = 30;
                //240p settings for 16:9 resolution
                //width would = 320 on 4:3 resoloution
                videoPlayer.width = 432;
                videoPlayer.height=240;
                //480p settings for 16:9 resolution
                //.width would = 640 on 4:3 resoloution
                //videoPlayer.width = 854;
                //videoPlayer.height = 480;
                //1280x720p or 1920x1080p are unliely on most current mobile devices
                videoContainer.addChild(videoPlayer);
                videoPlayer.source = myXML.VIDEO.URL[0];
                //Skip some time in the video (Do not need this if you want to start at the beginning of video)
                videoPlayer.playheadTime = Math.random()*0;
                smoothVideo()
                videoPlayer.addEventListener(fl.video.VideoEvent.COMPLETE,completePlay);
                //Once recieved metadata then do something
                videoPlayer.addEventListener(MetadataEvent.METADATA_RECEIVED,onVideoDataRecived);
                //videoPlayer.addEventListener(VideoEvent.STATE_CHANGE,videoHandler);
            function smoothVideo()
                var myVideo = videoPlayer.getVideoPlayer(0);
                myVideo.smoothing = true;
            function onVideoDataRecived(e:MetadataEvent)
                trace(videoPlayer.totalTime);
                //trace(videoPlayer.bytesLoaded);
                //trace(videoPlayer.bytesTotal);
                //videoPlayer.playheadTime = 50;
            function playVideo (e:MouseEvent):void
                var videoURL = myVideos[e.target.name].URL;
                trace (videoURL);
                videoPlayer.source = videoURL;
                //videoPlayer.autoPlay = false;
            function onOverThumb (e:MouseEvent):void
                var myThumb:Loader = Loader(e.target);
                myThumb.alpha = 0.5;
            function onOutThumb (e:MouseEvent):void
                var myThumb:Loader = Loader (e.target);
                myThumb.alpha = 1;
            function completePlay (e:fl.video.VideoEvent):void
                videoPlayer.alpha = 0.2;
            function stopVideo(evt:MouseEvent): void {
            FUNCTIONS THAT:
                     RECEIVE THE MOUSE EVENTS FROM THE MENU
                     CLEAR THE MENU EVENT LISTENERS
                     CLEAR THE SCREEN
                     GOTO THE REQUIRED PAGE FUNCTION
            function gotoPage1(e:MouseEvent)
                clearMenuListeners()
                clearScreen();
                firstPage();
                loadImage(0);
                loadImage2(1);
                maketext()   
            function gotoPage2(e:MouseEvent)
                clearMenuListeners()
                clearScreen();
                secondPage();
            function gotoPage3(e:MouseEvent)
                clearMenuListeners()
                clearScreen();
                thirdPage();
            function gotoPage4(e:MouseEvent)
                clearMenuListeners()
                clearScreen();
                fourthPage();
            function gotoPage5(e:MouseEvent)
                clearMenuListeners()
                clearScreen();
                fifthPage();
                makeContainers(); trace ("moo");
                callThumbs(); trace ("boo");
                VideoGallery(); trace ("weee");
            function gotoHomePage(e:MouseEvent)
                clearMenuListeners()
                clearScreen();
                homePage();
                //player.play("DwightQ3.mp3");
            FUNCTIONS THAT:
                     MAKE THE PAGES
            function homePage()
                myBgHome = new BgStripes();
                addChild(myBgHome);
                makeMenu();
                trace("Homepage");
            function firstPage()
                myBgHome = new bgAll();
                addChild(myBgHome);
                mybackBtn = new backBtn();
                mybackBtn.x = 720;
                mybackBtn.y = 40;
                addChild(mybackBtn);
                mybackBtn.addEventListener(MouseEvent.CLICK, gotoHomePage); trace("firstpage");
            function secondPage()
                myBgHome = new bgAll();
                addChild(myBgHome);
                mybackBtn = new backBtn();
                mybackBtn.x = 720;
                mybackBtn.y = 40;
                addChild(mybackBtn);
                mybackBtn.addEventListener(MouseEvent.CLICK, gotoHomePage); trace("secondpage");
                myBtn04 = new btnDesign();
                myBtn04.x = 100;
                myBtn04.y = 100;
                addChild(myBtn04);
                myBtn04.addEventListener(MouseEvent.CLICK, gotoPage4);
                myBtn05 = new btnMedia();
                myBtn05.x = 400;
                myBtn05.y = 100;
                addChild(myBtn05);
                myBtn05.addEventListener(MouseEvent.CLICK, gotoPage5);
            function thirdPage()
                myBgHome = new bgAll();
                addChild(myBgHome);
                mybackBtn = new backBtn();
                mybackBtn.x = 720;
                mybackBtn.y = 40;
                addChild(mybackBtn);
                mybackBtn.addEventListener(MouseEvent.CLICK, gotoHomePage); trace("thirdpage");
            function fourthPage()
                myBgHome = new bgAll();
                addChild(myBgHome);
                mybackBtn = new backBtn();
                mybackBtn.x = 720;
                mybackBtn.y = 40;
                addChild(mybackBtn);
                mybackBtn.addEventListener(MouseEvent.CLICK, gotoHomePage); trace("fourthpage");
                videoContainer = new MovieClip();
                addChild (videoContainer);
                thumbs = new MovieClip();
                thumbs.x = thumbX;
                thumbs.y = thumbY;
                thumbs.buttonMode = true;
                videoContainer.addChild(thumbs);
                thumbs.addEventListener(MouseEvent.CLICK,playVideo);
                thumbs.addEventListener(MouseEvent.MOUSE_OVER,onOverThumb);
                thumbs.addEventListener(MouseEvent.MOUSE_OUT,onOutThumb);
            function fifthPage()
                myBgHome = new bgAll();
                addChild(myBgHome);
                mybackBtn = new backBtn();
                mybackBtn.x = 720;
                mybackBtn.y = 40;
                addChild(mybackBtn);
                mybackBtn.addEventListener(MouseEvent.CLICK, gotoHomePage); trace("fifthpage");
                    function clearScreen()
                //Clear all movieclips from the display list
                    while (numChildren > 0){ removeChildAt(0); }
            function clearMenuListeners()
                //Remove event listeners to prevent double ups when menu is added again
                myBtn01.removeEventListener(MouseEvent.CLICK, gotoPage1);
                myBtn02.removeEventListener(MouseEvent.CLICK, gotoPage2);
                myBtn03.removeEventListener(MouseEvent.CLICK, gotoPage3);
                mybackBtn.removeEventListener(MouseEvent.CLICK, gotoHomePage);
            function makeMenu()
                //Place buttons and add event listeners to receive mouse clicks
                myBtn01 = new mcAbout();
                myBtn01.x = 260;
                myBtn01.y = 500;
                addChild(myBtn01);
                myBtn01.addEventListener(MouseEvent.CLICK, gotoPage1);
                TweenMax.to(myBtn01, 0.5, {x:260, y:450});
                myBtn02 = new mcPortfolio();
                myBtn02.x = 400;
                myBtn02.y = 500;
                addChild(myBtn02);
                myBtn02.addEventListener(MouseEvent.CLICK, gotoPage2);
                TweenMax.to(myBtn02, 0.5, {x:400, y:450});
                myBtn03 = new mcContact();
                myBtn03.x = 540;
                myBtn03.y = 500;
                addChild(myBtn03);
                myBtn03.addEventListener(MouseEvent.CLICK, gotoPage3);
                TweenMax.to(myBtn03, 0.5, {x:540, y:450});

    use:
    package 
        import flash.events.*;
        import flash.display.MovieClip;
        import flash.display.Sprite;
        import flash.ui.Keyboard;
        import flash.filters.DropShadowFilter;
        import flash.net.URLLoader;
        import flash.text.*;
        import flash.text.TextField;
        import flash.text.TextFormat;
        import flash.text.Font;
        import flash.net.*;
        import flash.events.MouseEvent;
        import flash.display.Loader;
        import flash.display.BitmapData;
        import flash.events.ProgressEvent;
        import flash.display.Graphics;
        import flash.net.URLRequest;
        import fl.video.*;
        //import gs.*;
    //    import gs.easing.*;
        //Classes for guesture support for mobile devices
        import flash.ui.Multitouch;
        import flash.ui.MultitouchInputMode;
        import flash.events.TransformGestureEvent;
        //Custom classes
        import com.other.TextHandle;
        import com.other.Mp3Player;
        //Greensock tween class for better tweens
        import com.greensock.*;
        import com.greensock.TweenMax;
        import com.greensock.TweenLite;
        import com.greensock.easing.*;
        import flash.media.Sound;
        import flash.media.SoundChannel;
        import com.greensock.events.LoaderEvent;
        import com.greensock.plugins.*;
        TweenPlugin.activate([VolumePlugin]);
        public class Portfolio extends MovieClip
            //Declare movieclips for backgrounds
            var myBg1:MovieClip;
            var myBg2:MovieClip;
            var myBg3:MovieClip;
            var myBg4:MovieClip;
            var myBg5:MovieClip;
            var myBgHome:MovieClip;
            //Declare movieclips for nav buttons
            var myBtn01:MovieClip;
            var myBtn02:MovieClip;
            var myBtn03:MovieClip;
            var myBtn04:MovieClip;
            var myBtn05:MovieClip;
            var mybackBtn:MovieClip;
            var player:Mp3Player
            //var slideItem:SlideItem;
            var tempContainer:Sprite;
            var hiddenOptions:Boolean;
            var optionsMenu:MovieClip;
            var myXML:XML;
            var myLoader:URLLoader = new URLLoader();
            var myThumb:Loader;
            var myTextField:TextField;
            var myTxt:TextField;
            // Video Classes
            var thumbWidth:Number;
            var thumbHeight:Number;
            var thumbX:Number;
            var thumbY:Number;
            var videoX:Number;
            var videoY:Number;
            var myVideos:XMLList;
            var totalVideos:int;
            var videoContainer:MovieClip;
            var thumbs:MovieClip;
            var titles:MovieClip;
            var videoPlayer:FLVPlayback;
            // ImageGallery Classes
            public function Portfolio()
                myLoader.load(new URLRequest("myFirstXML.xml"));
                myLoader.addEventListener(Event.COMPLETE, processXML);
                // constructor code
                firstPage();
                makeMenu();
                homePage();
                /* EXAMPLE OF USING GESTURE SUPPORT ON A MOBILE DEVICE */
                Multitouch.inputMode = MultitouchInputMode.GESTURE;
                //slideItem = new SlideItem();
                /* Center the image */
                //slideItem.x = stage.stageWidth * 0.5;
                //slideItem.y = stage.stageHeight * 0.5;
                //addChild(slideItem);
                //listeners('add', slideItem); //see function for more detail
                // TextHandle Class for TextFields
                var Intro:TextHandle = new TextHandle("My Portfolio","Arial");
                //OR with more optional details e.g. var a:TextHandle = new TextHandle("some text","Cooper Black",150);
                addChild(Intro);
                //Mp3Player Class for loading in sounds
                player = new Mp3Player();
                player.play('DwightQ3.mp3');
                /*Blur filter API*/
                var dropShadow:DropShadowFilter = new DropShadowFilter();
                dropShadow.color = 0x000000;
                dropShadow.blurX = 3;
                dropShadow.blurY = 3;
                dropShadow.angle = 45;
                dropShadow.alpha = 0.5;
                dropShadow.distance = 5;
                var filtersArray:Array = new Array(dropShadow);
                Intro.filters = filtersArray;
            // VIDEO GALLERY
            public function VideoGallery()
                // constructor code
                var myXMLLoader:URLLoader = new URLLoader();
                myXMLLoader.load (new URLRequest("myVideoXML.xml"));
                myXMLLoader.addEventListener (Event.COMPLETE, processXML);
            function processXML (e:Event):void
                myXML = new XML(e.target.data);
                //Get attributes from XML document
                thumbWidth = myXML.@THUMB_WIDTH;
                thumbHeight = myXML.@THUMB_HEIGHT;
                thumbX = myXML.@THUMB_X;
                thumbY = myXML.@THUMB_Y;
                thumbX = myXML.@VIDEO_X;
                thumbY = myXML.@VIDEO_Y;
                //Get Element information from VIDEO tags
                myVideos = myXML.VIDEO;
                //Count the number of Elements with VIDEO tags
                totalVideos = myVideos.length();
                makeContainers();
                callThumbs();
                makePlayer();
            function makeContainers():void
                videoContainer = new MovieClip();
                addChild (videoContainer);
                thumbs = new MovieClip();
                thumbs.x = 20;
                thumbs.y = 400;
                thumbs.buttonMode = true;
                videoContainer.addChild(thumbs);
                thumbs.addEventListener(MouseEvent.CLICK,playVideo);
                thumbs.addEventListener(MouseEvent.MOUSE_OVER,onOverThumb);
                thumbs.addEventListener(MouseEvent.MOUSE_OUT,onOutThumb);
                titles = new MovieClip();
                titles.x = 20;
                titles.y = 330;
                videoContainer.addChild(titles);
            function callThumbs ():void
                for (var i:Number = 0; i <totalVideos; i++)
                    trace(myVideos[i].THUMB);
                    var thumbURL = myVideos[i].THUMB;
                    var thumbLoader = new Loader();
                    thumbLoader.name = i;
                    thumbLoader.load(new URLRequest(thumbURL));
                    thumbLoader.contentLoaderInfo.addEventListener (Event.COMPLETE,thumbLoaded);
                    //Change spaces for thumnails vertically
                    thumbLoader.x = (thumbHeight+90)*i;
                    var thumbTitle = myVideos[i].TITLE;
                    var titleTXT:TextField = new TextField();
                    titleTXT.text = thumbTitle;
                    titleTXT.y = thumbTitle;
                    //Change spaces for thumbnails horizontally
                    titleTXT.x = (thumbWidth + 1)*i;
                    titleTXT.width = thumbWidth;
                    titleTXT.height = thumbHeight;
                    titleTXT.wordWrap = true;
                    titles.addChild (titleTXT);
            function thumbLoaded (e:Event):void
                var myThumb:Loader = Loader (e.target.loader);
                thumbs.addChild(myThumb);
            function makePlayer():void
                videoPlayer = new FLVPlayback();
                videoPlayer.skin ="SkinUnderPlaySeekStop.swf";trace("noerror");
                videoPlayer.skinBackgroundColor = 0x0099FF;
                videoPlayer.skinBackgroundAlpha = 0.85;
                videoPlayer.x = 100;
                videoPlayer.y = 30;
                //240p settings for 16:9 resolution
                //width would = 320 on 4:3 resoloution
                videoPlayer.width = 432;
                videoPlayer.height=240;
                //480p settings for 16:9 resolution
                //.width would = 640 on 4:3 resoloution
                //videoPlayer.width = 854;
                //videoPlayer.height = 480;
                //1280x720p or 1920x1080p are unliely on most current mobile devices
                videoContainer.addChild(videoPlayer);
                videoPlayer.source = myXML.VIDEO.URL[0];
                //Skip some time in the video (Do not need this if you want to start at the beginning of video)
                videoPlayer.playheadTime = Math.random()*0;
                smoothVideo()
                videoPlayer.addEventListener(fl.video.VideoEvent.COMPLETE,completePla y);
                //Once recieved metadata then do something
                videoPlayer.addEventListener(MetadataEvent.METADATA_RECEIVED,onVideoD ataRecived);
                //videoPlayer.addEventListener(VideoEvent.STATE_CHANGE,videoHandler);
            function smoothVideo()
                var myVideo = videoPlayer.getVideoPlayer(0);
                myVideo.smoothing = true;
            function onVideoDataRecived(e:MetadataEvent)
                trace(videoPlayer.totalTime);
                //trace(videoPlayer.bytesLoaded);
                //trace(videoPlayer.bytesTotal);
                //videoPlayer.playheadTime = 50;
            function playVideo (e:MouseEvent):void
                var videoURL = myVideos[e.target.name].URL;
                trace (videoURL);
                videoPlayer.source = videoURL;
                //videoPlayer.autoPlay = false;
            function onOverThumb (e:MouseEvent):void
                var myThumb:Loader = Loader(e.target);
                myThumb.alpha = 0.5;
            function onOutThumb (e:MouseEvent):void
                var myThumb:Loader = Loader (e.target);
                myThumb.alpha = 1;
            function completePlay (e:fl.video.VideoEvent):void
                videoPlayer.alpha = 0.2;
            function stopVideo(evt:MouseEvent): void {
            FUNCTIONS THAT:
                     RECEIVE THE MOUSE EVENTS FROM THE MENU
                     CLEAR THE MENU EVENT LISTENERS
                     CLEAR THE SCREEN
                     GOTO THE REQUIRED PAGE FUNCTION
            function gotoPage1(e:MouseEvent)
                clearMenuListeners()
                clearScreen();
                firstPage();
                loadImage(0);
                loadImage2(1);
                maketext()   
            function gotoPage2(e:MouseEvent)
                clearMenuListeners()
                clearScreen();
                secondPage();
            function gotoPage3(e:MouseEvent)
                clearMenuListeners()
                clearScreen();
                thirdPage();
            function gotoPage4(e:MouseEvent)
                clearMenuListeners()
                clearScreen();
                fourthPage();
            function gotoPage5(e:MouseEvent)
                clearMenuListeners()
                clearScreen();
                fifthPage();
                makeContainers(); trace ("moo");
                callThumbs(); trace ("boo");
                VideoGallery(); trace ("weee");
            function gotoHomePage(e:MouseEvent)
                clearMenuListeners()
                clearScreen();
                homePage();
    videoPlayer.stop();
                //player.play("DwightQ3.mp3");
            FUNCTIONS THAT:
                     MAKE THE PAGES
            function homePage()
                myBgHome = new BgStripes();
                addChild(myBgHome);
                makeMenu();
                trace("Homepage");
            function firstPage()
                myBgHome = new bgAll();
                addChild(myBgHome);
                mybackBtn = new backBtn();
                mybackBtn.x = 720;
                mybackBtn.y = 40;
                addChild(mybackBtn);
                mybackBtn.addEventListener(MouseEvent.CLICK, gotoHomePage); trace("firstpage");
            function secondPage()
                myBgHome = new bgAll();
                addChild(myBgHome);
                mybackBtn = new backBtn();
                mybackBtn.x = 720;
                mybackBtn.y = 40;
                addChild(mybackBtn);
                mybackBtn.addEventListener(MouseEvent.CLICK, gotoHomePage); trace("secondpage");
                myBtn04 = new btnDesign();
                myBtn04.x = 100;
                myBtn04.y = 100;
                addChild(myBtn04);
                myBtn04.addEventListener(MouseEvent.CLICK, gotoPage4);
                myBtn05 = new btnMedia();
                myBtn05.x = 400;
                myBtn05.y = 100;
                addChild(myBtn05);
                myBtn05.addEventListener(MouseEvent.CLICK, gotoPage5);
            function thirdPage()
                myBgHome = new bgAll();
                addChild(myBgHome);
                mybackBtn = new backBtn();
                mybackBtn.x = 720;
                mybackBtn.y = 40;
                addChild(mybackBtn);
                mybackBtn.addEventListener(MouseEvent.CLICK, gotoHomePage); trace("thirdpage");
            function fourthPage()
                myBgHome = new bgAll();
                addChild(myBgHome);
                mybackBtn = new backBtn();
                mybackBtn.x = 720;
                mybackBtn.y = 40;
                addChild(mybackBtn);
                mybackBtn.addEventListener(MouseEvent.CLICK, gotoHomePage); trace("fourthpage");
                videoContainer = new MovieClip();
                addChild (videoContainer);
                thumbs = new MovieClip();
                thumbs.x = thumbX;
                thumbs.y = thumbY;
                thumbs.buttonMode = true;
                videoContainer.addChild(thumbs);
                thumbs.addEventListener(MouseEvent.CLICK,playVideo);
                thumbs.addEventListener(MouseEvent.MOUSE_OVER,onOverThumb);
                thumbs.addEventListener(MouseEvent.MOUSE_OUT,onOutThumb);
            function fifthPage()
                myBgHome = new bgAll();
                addChild(myBgHome);
                mybackBtn = new backBtn();
                mybackBtn.x = 720;
                mybackBtn.y = 40;
                addChild(mybackBtn);
                mybackBtn.addEventListener(MouseEvent.CLICK, gotoHomePage); trace("fifthpage");
                    function clearScreen()
                //Clear all movieclips from the display list
                    while (numChildren > 0){ removeChildAt(0); }
            function clearMenuListeners()
                //Remove event listeners to prevent double ups when menu is added again
                myBtn01.removeEventListener(MouseEvent.CLICK, gotoPage1);
                myBtn02.removeEventListener(MouseEvent.CLICK, gotoPage2);
                myBtn03.removeEventListener(MouseEvent.CLICK, gotoPage3);
                mybackBtn.removeEventListener(MouseEvent.CLICK, gotoHomePage);
            function makeMenu()
                //Place buttons and add event listeners to receive mouse clicks
                myBtn01 = new mcAbout();
                myBtn01.x = 260;
                myBtn01.y = 500;
                addChild(myBtn01);
                myBtn01.addEventListener(MouseEvent.CLICK, gotoPage1);
                TweenMax.to(myBtn01, 0.5, {x:260, y:450});
                myBtn02 = new mcPortfolio();
                myBtn02.x = 400;
                myBtn02.y = 500;
                addChild(myBtn02);
                myBtn02.addEventListener(MouseEvent.CLICK, gotoPage2);
                TweenMax.to(myBtn02, 0.5, {x:400, y:450});
                myBtn03 = new mcContact();
                myBtn03.x = 540;
                myBtn03.y = 500;
                addChild(myBtn03);
                myBtn03.addEventListener(MouseEvent.CLICK, gotoPage3);
                TweenMax.to(myBtn03, 0.5, {x:540, y:450});

  • Lightroom Flash Gallery in Flash Site

    I am working on a Photography Studio's website and was wondering if lightroom would be able to produce flash galleries that just show the image. I am wanting to load the .swf file for the gallery dynamically through the original flash site, wanting an outcome similar to http://ourlaboroflove.com
    Also, I am wanting the images to be loaded dynamically in the flash file because the images will be rather large and I would like to save as much initial load time as possible. Thanks for the help.

    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

  • Need dynamic Photo Gallery

    Hi
    I am new, not expert in flash. Knows only basic flash action
    scripting, can any body guide me about dynamic flash photo gallery.
    How can import images in flash from database.
    please help me, I need that urgently, all suggestions are
    welcome.
    Regards
    Harish

    Hey harish ... unfortunately, developing with flash has some
    serious trade-offs. The benefit is making a rich user experience.
    However, data integration can often be a much more involved
    process. Here are some suggestions for you.
    With .net you could publish a webservice. Flash has built a
    built in component for consuming webservices.
    Your .net guy should know what a webservice is and how to
    implement it.
    Alternatively, you could have a server side script that, when
    called, spits back an xml representation of the data you want to
    put into flash.
    for example:
    <root>
    <pic1 title="pic1Title" uri="/pics/pic1" ... />
    <pic2 ... />
    </root>
    or however you want to form your xml.
    Flash has built in support for consuming xml in this way
    through the xmlconnector component or even just the xml
    class.
    It would be nice if there was a built in way to communicate
    directly with databases.
    Flash wanted to make their product vendor nuetral so as far
    as I know, there is no way to make a connection directly with a
    database with flash out of the box.
    I know there are third party addons you can purchase that
    will help you do that as another option as well.
    One thing that has worked well for me in situations similar
    to what you are discussing is using the apache xindice database
    combined with the xml class in flash.
    The xindice database is an open source project.
    It is a database designed specifically to store xml
    documents.
    http://xml.apache.org/xindice/
    I use java and xindice is built in java, but it has two
    api's. One for developers writing in javaee and one for developers
    writing in other languages.
    Or hey, you could always drop a few grand on coldfusion :-)
    Probably not the answers you want, but I hope it helps
    anyway.

  • Dynamic Photo Gallery in Flash using AS3.0 and XML, but it doesn't work and missed up my app.

    Hi,
    I am creating an iPad app using AS3. The app contains three sections.
    One of those sections (chocolate sources)contains Dynamic Photo Gallery using XML. The photos, thumbnails, and text in this section are loaded from XML.
    I faced may issue when I tried to run this app:
    The gallery photos didn't show up
    The thumbnails (buttons to navigate the photo gallery) didn't show up at all. (The thumbnails should show up under the photo gallery box.)
    The text doesn't show up (the text should be in every photo as describtion)
    I want to include Swipe in the photo gallery, how can I do that?
    When I click on "Chocolate Sources" button, the photo gallery appears in every section, here are print screens describe what I mean:
    The photo gallery covers the home screen too.
    Here is my XML:
    <?xml version="1.0" encoding="utf-8"?>
    <sources>
              <section>
                        <details>
                                            Cocoa tree exists in the tropics area, such as Central and South America.
                                  </details>
                                            <image>
                                                      <url>coca1.jpg</url>
                                                      </image>
                                                      </section>
              <section>
                        <details>
                        Cocoa is supplied in many countries such as Indonesia, Ghana, Brazil, Ecuador and Cameroon.
                        </details>
                                  <image>
                                  <url>coca2.jpg</url>
                                  </image>
                                            </section>
              <section>
                                  <details>
                                  Dark chocolate helps to relax and reduce the stress and blood pressure because it has antioxidants elements, which helps in vasodilatory process.
                                  </details>
                                            <image>
                                            <url>coca3.jpg</url>
                                                      </image>
                                                                </section>
              <section>
                        <details>
                        Chocolate provides energy and hyperactive sometimes because it contains high level of caffeine and sugar.
                        </details>
                                  <image>
                                  <url>coca4.jpg</url>
                                            </image>
                                                      </section>
              <section>
                        <details>
                        Chocolate could be mixed with many different flavors, such as mint, strawberry, orange, banana, vanilla, hazelnut, almond, coconut, and etc.
                        </details>
                                  <image>
                                  <url>coca5.jpg</url>
                                  </image>
                                            </section>
              <section>
                        <details>
                                  Chocolate is expressing of well hospitality and good time due to its lovely taste.
                                  </details>
                                            <image>
                                            <url>coca6.jpg</url>
                                                      </image>
                                                                </section>
    </sources>
    And here is my Action Script for "Chocolate Sources" section:
    stop();
    function Choco1(evt:MouseEvent): void {
              gotoAndStop('16');
    choco_btn.addEventListener(MouseEvent.CLICK,Choco1);
    function Souc1 (evt:MouseEvent): void {
              gotoAndStop ('31');
    souc_btn.addEventListener(MouseEvent.CLICK,Souc1);
    function ShopIn1 (evt:MouseEvent):void {
              gotoAndStop('46');
    shops_btn.addEventListener(MouseEvent.CLICK,ShopIn1);
    import flash.net.URLLoader;
    import flash.net.URLRequest;
    import flash.events.Event;
    import flash.display.MovieClip;
    import flash.display.Loader;
    import fl.motion.MotionEvent;
    import flash.events.MouseEvent;
    import flash.sampler.NewObjectSample;
    import flash.text.TextFormat;
    var xmlLoader: URLLoader = new URLLoader (new URLRequest("sources.xml"));
    xmlLoader.addEventListener(Event.COMPLETE, finishedXmlLoader);
    var xmlFile:XML;
    var xextend:int = 10;
    var gal:galary = new galary ();
              gal.x = 85;
              gal.y = 165;
              addChild(gal);
    var txfe: TextField = new TextField ();
    txfe.x = 25;
    txfe.y = 45;
    var tformat:TextFormat = new TextFormat ();
    tformat.bold = true;
    tformat.color = 0xFFFFFF;
    tformat.size = "18";
    tformat.font = "Arial";
    txfe.defaultTextFormat = tformat;
    addChild(txfe);
    function finishedXmlLoader (e:Event): void{
              xmlFile = new XML (xmlLoader.data);
              var leng:int = xmlFile.image.length();
              txfe.text = xmlFile.image.details[0];
              for (var i:int = 0;i<leng;i++){
                        var b:thumbs = new thumbs ();
                        b.x = xextend;
                        b.y = 480;
                        b.buttonMode = true;
                        b.details = (i+1).toString();
                        addChild(b);
                        b.addEventListener(MouseEvent.MOUSE_OVER, theMosover);
                        b.addEventListener(MouseEvent.MOUSE_OUT, theMosout);
                        b.addEventListener(MouseEvent.CLICK, onMosClick);
                        var bloader:Loader = new Loader();
                        bloader.load(new URLRequest("thumbs/" + (i+1) + ".jpg"));
                        b.addChild(bloader);
                        xextend += b.width + 50;
    var loader:Loader = new Loader ();
    loader.load(new URLRequest ("pictures/coca1.jpg"));
    gal.addChild(loader);
    function theMosover(m:MotionEvent):void{
              m.currentTarget.alpha = 0.5;
    function theMosout (m:MouseEvent):void{
              m.currentTarget.alpha = 1.0;
    function onMosClick(m:MouseEvent):void{
              var loader:Loader = new Loader();
              loader.load(new URLRequest("pictures/" + m.currentTarget.details + ".jpg"));
              gal.addChild(loader);
              txfe.text = xmlFile.image.details[int(m.currentTarget.details) -1];
    I need an urgent help to fix the errors and make this section work well.
    thanks.

    try:
    txfe.text = xmlFile.section[int(m.currentTarget.details) -1].details;
    instead of
    txfe.text = xmlFile.image.[int(m.currentTarget.details) -1];
    and add your thumbs to gal, not the stage.  when you're done with the gallery, remove gal.

  • Dynamic photo gallery in flex

    superb post for a Dynamic photo gallery using a xml generated flex application http://flexlearner.wordpress.com/2009/09/04/dynamic-photo-gallery-in-flex/

    try:
    txfe.text = xmlFile.section[int(m.currentTarget.details) -1].details;
    instead of
    txfe.text = xmlFile.image.[int(m.currentTarget.details) -1];
    and add your thumbs to gal, not the stage.  when you're done with the gallery, remove gal.

  • Support for file tag in XSLT to create dynamic pages  - Gallery type 'Flash'

    Based on my understanding, when you export, LR Web engine looks for transformer.xslt by default if the gallery type is HTML. It allows to use <file name="outputfilename.html"> tag in this transformer.xslt to create new files.<br /><br />But to my knowledge I don't see the above defaults working if the gallerytype is Flash. Why? I don't understand why LR is restricting the Flash based galleries from creating dynamic output files via XSLT.<br /><br />I tried setting xmlTransformer file name to transformer.xslt in galleryInfo.lrweb and leaving xmlPath to blank but this doesn't seem to work. If I give some dummy XML name, it creates the xml in that name, but ignores creating new files I mentioned in the <file> tag in xslt.<br /><br />Can someone please explain if there are any alternates or if possibly fixed in the next release ?

    Are you the one who commented out the code you're looking for ?//String desc = StringFactory.getString(attributes.getValue("desc"));You just have to modify you AttributeObject class to hold a new field : String description. And then, it's up to you to create a new constructor or a new setter method.
    Btw, this is not a Swing related question.

  • 1.6 Dynamic Photo Gallery

    I previously used the 1.5 version to make a Photo Gallery and
    added the following piece of code to show captions to the photos:
    <div id="picture">
    <div id="mainImageCaption"
    spry:detailregion="dsPhotos">{@caption}</div>
    <div id="mainImageOutline" style="width: 0px; height:
    0px;"><img id="mainImage" alt="main image" /></div>
    This does not appear to work in the new 1.6 Dynamic version
    of the Gallery, which I wish to use as a much more efficient
    method. Any ideas how to add this feature (do gallery_init.js,
    gallery_xds.js or screen.css need adapting)?

    Hi,
    I was able to get the caption to show up with a few minor
    changes to few of the files. The changes I made do not make the
    caption appear on only the first image when in slideshow mode.
    After the first image, they'll appear. Also, If you click on the
    thumb, they'll show up. Find the changes with the file names below:
    ================== index.html =================
    1) in the div with id thumbnails, add the following to the
    <a> tag: id="{ds_RowID}"
    2) In the div with id picture, add another div with id
    captionText:
    <div id="picture">
    <div id="captionText"></div>
    <div id="mainImageOutline"><img id="mainImage"
    alt="main image" src=""/></div>
    </div>
    ================== gallery_init.js ===============
    1) modify the signature of InitializeGallery function to take
    in the dataset as a parameter:
    function InitializeGallery(ds)
    2) replace the gThumbViewer.addObserver with the following:
    gThumbViewer.addObserver(function(notificationType,
    notifier, data)
    if(!data)
    return;
    if (notificationType == "onSelect")
    gImageViewer.setImage(data.href);
    var row = ds.getRowByID(data.id);
    Spry.$('captionText').innerHTML =
    row['photos/photo/@caption'];
    ========================= gallery_xds.js =================
    change the call to InitializeGallery function (line 86) by
    passing in the data set:
    InitializeGallery(dsPhotos);
    ======================= XML files ==================
    add in your caption text as an attribute of the photo tag,
    just like path, thumbpath, etc are.
    ====================== SpryThumbViewer.js ==========
    in the Spry.Widget.ThumbViewer.prototype.select function,
    modify the calls to notifyObservers to accpet 'a' instead of
    'a.href':
    if (a)
    //this.notifyObservers("onSelect", a.href);
    this.notifyObservers("onSelect", a);
    if (img == imgs[0])
    this.notifyObservers("onFirstSelect", a);
    if (img == imgs[imgs.length - 1])
    this.notifyObservers("onLastSelect", a);
    I think that's about it. Give it a try and let me know if
    there are any other problems.

  • Dynamic photo gallery script?

    Can anyone suggest a good photo gallery script?
    My client is a photographer and needs a user-friendly system
    where he can
    create galleries, upload images. He also needs to assign
    usernames/passwords
    to each gallery. I was going to use Coppermine, but it has
    too many bells
    and whistles. I need to keep it very simple.
    Thanks for you help.
    J.P. Luisi
    Lulu Digital Design
    Making You Stand Out Online!
    www.luludigital.com
    905-832-2428

    Sorry for not beeing to respond to your issue sooner, but i'm having some deadlines that needed to be worked on.
    This works to display the dynamic Galleries but, the links do not connect to the specific galleries.
    Can anyone please help with this?
    Can you resend me the url again, as i needed clear my inbox because i reached maximum amount of messages.

  • Dynamic Photo Gallery with Static Links

    The Dynamic Photo Gallery has a Dynamic List Menu generated from the galleries.xml file.
    I would like to load the Dynamic Galleries with a link if possible. Currently I have 3 Galleries.... China, Eqypt & Paris
    Dynamic Code:
    <select name="gallerySelect" id="gallerySelect" onchange="dsGalleries.setCurrentRowNumber(this.selectedIndex);" spry:repeatchildren="dsGalleries" spry:choose="choose">
            <option spry:when="{ds_RowNumber} == {ds_CurrentRowNumber}" selected="selected">{sitename}</option>
            <option spry:default="default">{sitename}</option>
          </select>
    I am using some code from V1 that generates a Gallery List as follows:
    <ul spry:repeatchildren="dsGalleries">
      <li><a href="#{ds_RowNumber}" onclick="dsGalleries.setCurrentRowNumber(this.href.replace(/\#/g,''));">{sitename}</a></l i>
          </ul>
    This works to display the dynamic Galleries but, the links do not connect to the specific galleries.
    Can anyone please help with this?
    Thank you,
    W Bell

    Sorry for not beeing to respond to your issue sooner, but i'm having some deadlines that needed to be worked on.
    This works to display the dynamic Galleries but, the links do not connect to the specific galleries.
    Can anyone please help with this?
    Can you resend me the url again, as i needed clear my inbox because i reached maximum amount of messages.

  • Dynamic Image Gallery Issue

    Hello All!
    I am creating a dynamic image gallery, but when my external
    images load in the empty movie clip, all the images are loading in
    the same size/dimension. Does anyone know how I can command the MC
    to load the images in different sizes, another words - to load them
    according to its own size?
    here's the AS
    onClipEvent (load)
    function imageMove()
    var _loc1 = this;
    for (i = 1; i <= num_of_image; i++)
    mc = _loc1["image" + i];
    if (i < hit)
    tempx = small * (i - 1) + 30;
    temps = small - 5;
    mc.useHandCursor = true;
    else if (i > hit)
    tempx = big + small * (i - 2) + 30;
    temps = small - 5;
    mc.useHandCursor = true;
    else
    tempx = small * (i - 1) + 150; //distance of how far out the
    displayed image jumps.
    temps = big - 5; //distance between the displayed image and
    thumbnails.
    mc.swapDepths(1000);
    display = txt
    mc.useHandCursor = false;
    } // end else if
    mc._x = mc._x + (tempx - mc._x) / 3; //number of pixals on
    x-axis the displayed image moves over to right side before growing
    big.
    mc._width = mc._width + (temps - mc._width) / 3; //number of
    pixals on x-axis the displayed image moves over to left side before
    growing big.
    mc._height = mc._width * 4 / 3;
    if (Math.abs(mc._width - temps) <= 1)
    title._x = hit < 5 ? (_loc1["image" + hit]._x + big / 2) :
    (_loc1["image" + hit]._x - big / 2 - 100);
    title._y = 100;
    } // end if
    } // end of for
    } // End of the function
    function loopHye()
    if (hit != num_of_image)
    ++_global.hit;
    else
    _global.hit = 1;
    } // end else if
    } // End of the function
    getURL("FSCommand:allowscale", false);
    big = 300;
    //Large image width (400 works best for my portfolio site)
    small = 60;//Small image width (40 works well for my
    portfolio site)
    num_of_image = 8;//Total number of images
    timeGap = none;//Speed (speed of gaptime when each image is
    displayed automatically. "2000" is default of this original file.
    larger the number the slower the image changes. (type in "none"
    will stop automatic images from changing.
    _global.hit = 0;//First displyed image number (type "0" to
    stop images from growing out)
    txt = [" ", "image1", "image2", "image3", "image4", "image5",
    "image6", "image7", "image8"];//insert text of each images between
    for (i = 1; i <= num_of_image; i++)
    attachMovie("image", "image" + i, i);
    loadMovie("image/" + i + ".jpg", this["image" +
    i].tar);//image folder path
    mc = this["image" + i];
    mc._x = small * (i - 1) + 30;
    mc._y = 200; //where on the axis should the displays be.
    mc._width = small - 5;
    mc._height = mc._width * 4 / 3;
    this["image" + i].onRelease = function ()
    clearInterval(interval);
    _global.hit = this._name.substr(5);
    interval = setInterval(loopHye, timeGap);
    } // end of for
    interval = setInterval(loopHye, timeGap);
    onClipEvent (enterFrame)
    imageMove();
    check out the file
    http://www.wendiland.com/Gallery122b.fla
    this is what the current gallery looks like
    http://www.wendiland.com/print2.html
    I'd appreciated if someone replies with any sort of
    suggestions! thanks in advance!!!
    - W£NDI

    if you google with "dynamic image gallery", you'll find a lot
    of
    tutorials & examples including pre-programmed solutions
    if you prefer to do it yourself, you need to deal with
    dynamic sites. DW
    help chapters Preparing to Build Dynamic Sites, Making Pages
    Dynamic &
    Developing Applications Rapidly can also help to understand
    in fact you don't need a database, the images can be read
    from the
    folder they're stored. that way to update a gallery you only
    need to
    remove/replace/add images. one folder for each gallery
    and the application development forum is best suited for your
    question
    BTW, some nice photos in your page
    hth,
    jdoe
    uvi wrote:
    > I'm trying to create a dynamic image gallery that is
    updated from a database, i
    > managed to create a simple mysql database
    > using phpmy admin, so I could update my image gallery
    more often, I saw
    > something that I like but I have no idea how to create
    it here is the example:
    >
    http://flight001.com/store/trip.htm?itemid=307&sid=201&page=2
    > I didnt manage to create this with dynamic table from
    within dreamweaver 8,
    > maybe I just don't know how,
    > this is the link to a gallery on my website:
    >
    http://www.yuvallavy.com/work/scenic/scenic.htm.
    I need all the help I can get
    > I'm using dreamweaver 8 on a Mac and using PHP/MySql
    server model.
    >

  • 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

  • Dynamic gallery won`t display once uploaded on FTP

    Hi, I builded this dynamic gallery page that display the
    pictures using an UI Loader component.
    When I test the movie in Flash the gallery loads and displays
    the external picture with no problems. However, once the html and
    SWF file are upoladed on line you can see everything correctly but
    the clickable thumbnails won`t open any picture.
    In the FTP I`m keeping the same exact path as my directory.
    The code says
    btn1.addEventListener(MouseEvent.CLICK, ldr1)
    function ldr1 (e:Event) {
    my_ldr.source = "PICTURES/FASHION/fashion1.jpg";
    So, I have a PICTURES folder in the same directory as the SWF
    and HTML document and inside of it I have the FASHION folder
    containing the pictures called "fashion1", "fashion2", and so
    forth...
    I can send more code if necessary. It seems a pretty
    straightforward process and it should work, but I can gigure out
    why is not working.
    Anybody have any idea why?
    Here` s the website in progress
    http://www.erinbarry.co.uk/staging/home.html

    I see in the directory tree of your web host that all of your
    jpg's have all caps for their extensions (fashion1.JPG not
    fashion1.jpg). If you change the path in the Flash or change the
    filenames this will work. Often, your local computer OS doesn't
    care about caps vs no-caps, whereas web servers often do care, and
    in this instance your web server does.
    To test this, if you put "
    http://www.erinbarry.co.uk/staging/PICTURES/FASHION/fashion1.jpg"
    into the browser path you get a "404 Not Found" error. If you
    change it to "
    http://www.erinbarry.co.uk/staging/PICTURES/FASHION/fashion1.JPG"
    you get the image.

  • Dynamic list of .Mac Web Gallery into iWeb

    Hi guys,
    I would like to know we can incorporate a dynamic list of all my .mac web galleries so that it appears in iWeb.
    For example, in my .mac gallery, I have these four galleries:-
    1. Picnic shots
    2. Wedding shots
    3. Pet shots
    4. Zoo shots
    I want this entire list to be shown in iWeb, and it should be dynamic in such if I change the title of the gallery, it changes in iWeb as well. Or when I modify and add new galleries in my .mac , it should be reflected in my iWeb.
    I just want the list to appear, not the gallery widget. Thanks!!

    Assuming it's possible to do at all outside of Apple, I suspect that it would require some sophisticated programming on the server where your site is hosted. If you are hosted on .Mac, I doubt such programming is possible. However, if you are hosted on a non-.Mac server, perhaps someone here can suggest an approach.
    Possibly Apple will provide that feature in a future version of iWeb and you can request it via this feedback form:
    ...in +Feedback Type+ choose +Enhancement Request+.
    Meanwhile, you've probably guessed already that the non-dynamic solution is to set up text hyperlinks in iWeb to your Galleries and update those links manually as necessary.

  • Dynamic Gallery in Flash

    Hello everyone,
    I'm trying to build a dynamic gallery in flash, but I need some help on how to implement some special tactics. The downside of it is, its a two step process.
    For starters, my ulimate goal is to build a horizontal scrolling gallery thats similar to the Microsoft Surface touchtable interface as shown here: http://news.cnet.com/2300-1041_3-6211837.html, but implements the transitions of the Pastel Stories header as shown here: http://www.pastelportal.com/stories/
    When the centerpeice icon is in the center focus, its larger than the rest of the icons and you can move your mouse from left to right to scroll through the gallery. Ive seen some variations of this, but none of them offer what I'm trying to accomplish. The main image is not focused in the center and/or the images arent spaced out evenly enough.
    The second part of this process, its kind of difficult. You see when the user clicks on the icon, it takes them to a sublayer where they can view the photos in the same similar fashion as the initial gallery. The only problem is the transition. You can see the transition and/or flash component I'm trying to accomplish in the pastel stories header swf.
    If anyone knows of any ideas on how to implement these tactics or knows of any tutorials or any "for-purachase" files, please let me know! Thanks!

    try:
    txfe.text = xmlFile.section[int(m.currentTarget.details) -1].details;
    instead of
    txfe.text = xmlFile.image.[int(m.currentTarget.details) -1];
    and add your thumbs to gal, not the stage.  when you're done with the gallery, remove gal.

Maybe you are looking for

  • Itunes no longer works after installing 11.1.4

    I installed Itunes 11.1.4 and noww ITUNES will not work. I have uninstalled all apple products and reinstalled, No Luck I have even tried a system restore point three different dates still no luck. I have even gone to Filehippo web site and tried to

  • Can't access Pages documents

    Hi guys; I can't seem to access my Pages documents in iCloud. They aren't on iCloud Drive (I know to stay away from that for now) When I go to icloud.com I click on the Pages icon and it tells me to upgrade to Yosemite. (I could probably drive to Yos

  • Mail from Preview application?

    I often scan using the Image Capture application and sometimes would like to email a file after I've checked it in Preview. Is there a way within Preview to send the currently open file as an email attachment? One would think this can be done with an

  • How to connect macbookpro to tv

    How do I connect the macbook pro to tv?  What do I need?

  • Organizer can't change meeting time in iCal

    I have a bizare issue with a user in iCal. He makes an appointment and invites other users from within the domain and outside to a meeting. When he tries to change the meeting at some later time, he is presented with the error "There was an error wit