Photo Gallery up date

How I get an update for photo gallery I have a message that requires an update feature that my laptop is not current. Thank you

Which computer? Which Windows? Which message? We're blind.
-Jerry

Similar Messages

  • Spry Photo Gallery Html Data Set InLine Content

    To whom that may know.
    I, the confused have wasted several long hours trying to
    understand how adobe did this.
    http://labs.adobe.com/technologies/spry/demos/gallery_pe/static_hd/china.html
    Ok, before that you think I am a total idiot. Please look at
    the code. I have made this page several time using program like
    photoshop, fireworks and dreamweaver....all using xml. This page
    uses html data set that is on the page. Which after looking and
    many example...all the example consist of a data table. I have
    looked at the javascript for many files in the code. I even
    downloaded their actual js files to see if they change something. I
    am assuming that they are using css to place the data to read...I
    just don't see where the "ds1" statement comes into play when you
    look at this code. I thank you all in advance for your time and
    expert opinions.
    P.S. My sample page does show all the thumbnails and links
    and after I downloaded their css it does show the background to be
    black. But nothing else shows.

    To whom that may know.
    I, the confused have wasted several long hours trying to
    understand how adobe did this.
    http://labs.adobe.com/technologies/spry/demos/gallery_pe/static_hd/china.html
    Ok, before that you think I am a total idiot. Please look at
    the code. I have made this page several time using program like
    photoshop, fireworks and dreamweaver....all using xml. This page
    uses html data set that is on the page. Which after looking and
    many example...all the example consist of a data table. I have
    looked at the javascript for many files in the code. I even
    downloaded their actual js files to see if they change something. I
    am assuming that they are using css to place the data to read...I
    just don't see where the "ds1" statement comes into play when you
    look at this code. I thank you all in advance for your time and
    expert opinions.
    P.S. My sample page does show all the thumbnails and links
    and after I downloaded their css it does show the background to be
    black. But nothing else shows.

  • Data not dynamically updating in photo gallery

    The page in question is
    this
    photo gallery.
    The primary issue is when one thumbs through the images, the
    "photoID" does not update. It remains at the first "photoID" that
    is encountered, and in this case, it is 729. The "title",
    "description" and so forth remain locked to the first entry as
    well, yet the photograph updates "@path".
    I've been working at this for almost two days and have tried
    almost every possible combination. I've copied over the older
    framework files from my other site (which has this working
    successfully), modified it to work in this instance, and it fails
    here. The XML output is correct.
    function photogallery(){ //Photo gallery
    ?>
    <div class='right'>
    [Snip out collapse panel...]
    <div
    spry:detailregion="dsGallery">{photoID}</div>
    <div id="mainImageOutline"><img id="mainImage"
    alt="main image" src="{@path}" /></div>
    </div>
    <div class='left'>
    <div id='previews'>
    <div id='controls'>
    <div id='transport'>
    <a href='#' class='previousBtn'
    title='Previous'><img src='/res/images/buttons/rewind.png'
    alt='[skip-back]' border='0' /></a>
    <a href='#' class='playBtn' title='Play/Pause'
    id='playLabel'><span class='playLabel'><img
    src='/res/images/buttons/play.png' alt='[play]' border='0'
    /></span><span class='pauseLabel'><img
    src='/res/images/buttons/pause.png' alt='[pause]' border='0'
    /></span></a>
    <a href='#' class='nextBtn' title='Next'><img
    src='/res/images/buttons/fastforward.png' alt='[skip]' border='0'
    /></a>
    </div>
    </div>
    <div id='thumbnails' spry:region='dsGallery'>
    <div class='thumbnail' spry:repeat='dsGallery'><a
    href='{@path}'
    onclick=\"dsGallery.setCurrentRow('{ds_RowID}')\"><img alt=''
    src='{@path}' width="80" height="80" /></a></div>
    </div>
    </div>
    </div>
    <div style='clear: both;'> </div>
    <?
    }

    Even doing that was no help unfortunately. Here is an
    extended snippet,
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml"
    xmlns:spry="
    http://ns.adobe.com/spry">
    <head>
    <title>Urban Up, a web-site by Sherman
    Cahal</title>
    <meta http-equiv="Content-Type" content="text/xml;
    charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="style.css"
    media="screen" />
    <script type="text/javascript"
    src="includes/SpryAssets/SpryEffects.js"></script>
    <script type="text/javascript"
    src="includes/SpryAssets/SpryDOMUtils.js"></script>
    <script type="text/javascript"
    src="includes/SpryAssets/SpryImageLoader.js"></script>
    <script type="text/javascript"
    src="includes/SpryAssets/SpryNotifier.js"></script>
    <script type="text/javascript"
    src="includes/SpryAssets/photogallery/SpryThumbViewer.js"></script>
    <script type="text/javascript"
    src="includes/SpryAssets/photogallery/SpryImageViewer.js"></script>
    <script type="text/javascript"
    src="includes/SpryAssets/photogallery/SprySlideShowControl.js"></script>
    <script type="text/javascript"
    src="includes/SpryAssets/photogallery/gallery_init.js"></script>
    <script type="text/javascript"
    src="includes/SpryAssets/xpath.js"></script>
    <script type="text/javascript"
    src="includes/SpryAssets/SpryData.js"></script>
    <script type="text/javascript"
    src="includes/SpryAssets/photogallery/gallery_xds.js"></script>
    <script type="text/javascript">
    var dsGallery = new Spry.Data.XMLDataSet("<? echo
    $tmpfname; ?>", "/gallery/photos/photo");
    </script>
    </head>
    function photogallery(){ //Photo gallery
    ?><div class='right'>
    <div spry:detailregion="dsGallery">{photoID}
    <div id="mainImageOutline"><img id="mainImage"
    alt="main image" src="{@path}" /></div>
    </div>
    </div>
    <div class='left'>
    <div id='previews'>
    <div id='controls'>
    <div id='transport'>
    <a href='#' class='previousBtn'
    title='Previous'><img src='/res/images/buttons/rewind.png'
    alt='[skip-back]' border='0' /></a>
    <a href='#' class='playBtn' title='Play/Pause'
    id='playLabel'><span class='playLabel'><img
    src='/res/images/buttons/play.png' alt='[play]' border='0'
    /></span><span class='pauseLabel'><img
    src='/res/images/buttons/pause.png' alt='[pause]' border='0'
    /></span></a>
    <a href='#' class='nextBtn' title='Next'><img
    src='/res/images/buttons/fastforward.png' alt='[skip]' border='0'
    /></a>
    </div>
    </div>
    <div id='thumbnails' spry:region='dsGallery'>
    <div class='thumbnail' spry:repeat='dsGallery'><a
    href='{@path}'
    onclick=\"dsGallery.setCurrentRow('{ds_RowID}')\"><img alt=''
    src='{@path}' width="80" height="80" /></a></div>
    </div>
    </div>
    </div>
    <div style='clear: both;'> </div>
    <?
    And the XML file that is created:
    <?xml version="1.0" encoding="utf-8"?>
    <gallery base = "">
    <photos id = "images">
    <photo path="
    http://www.urbanup.net/content/20070629/photos/1_13_251.jpg">
    <photoID>729</photoID>
    <title>Downtown</title>
    <description><![CDATA[]]></description>
    </photo>
    <photo path="
    http://www.urbanup.net/content/20070629/photos/1_19_3.jpg">
    <photoID>834</photoID>
    <title></title>
    <description><![CDATA[A shared common area divides
    the new homes along South Mill.]]></description>
    </photo></photos></gallery>

  • How do I get the old photo gallery version back in my photos, don't like the date thing currently there

    DDon't like new version of photos by date, want old photo gallery version is that possibke

    You can revert to the previous Search Bar scheme like this.
    Open up '''about:config''' ''(typed in the Location Bar)''
    Right-click and toggle this preference to '''''false'''''
    '''browser.search.showOneOffButtons'''
    Then restart Firefox.

  • STATIC "HTML Data Set Photo Gallery" with CAPTIONS

    Because of search engines and validation I would really like to use the STATIC "HTML Data Set Photo Gallery" http://labs.adobe.com/technologies/spry/demos/gallery_pe/static/china.html.
    But I definitely need captions for the Photos. I found possibilities to add them via XML, but not for the HTML-Version.
    As far as I got I think I have to edit this function from "gallery_hds.js" and add some RegEx, to extract caption text.
    function PhotosFilter(ds, row, rowIndex)
        var tnStr = row.thumbimg;
        if (tnStr)
            row.path = tnStr.replace(/.*<a[^>]*href="?([^"]*)"?.*/i, "$1");
            row.thumbpath = tnStr.replace(/.*<img[^>]*src="?([^"]*)"?.*/i, "$1");
        return row;
    In the following rows within the html-document
    <span class="thumbnail"><a href="../../gallery/galleries/paris/images/paris_02.jpg"><img src="../../gallery/galleries/paris/thumbnails/paris_02.jpg" alt="paris_02.jpg" /></a></span>
    I would insert text before the closing span-tag (or before the closing a-tag?) - like so
    <span class="thumbnail"><a href="../../gallery/galleries/paris/images/paris_02.jpg"><img src="../../gallery/galleries/paris/thumbnails/paris_02.jpg" alt="paris_02.jpg" /></a>Here is some HTML Text</span>
    This text must be extracted via RegEx - similar to the rows within the if-Statement of the upper mentioned function "PhotosFilter". But here my RegEx-knowledge is definitely to short!
    Thank you very much in advance for any help or suggestion.
    Angela Fengler

    Because of search engines and validation I would really like to use the STATIC "HTML Data Set Photo Gallery" http://labs.adobe.com/technologies/spry/demos/gallery_pe/static/china.html.
    But I definitely need captions for the Photos. I found possibilities to add them via XML, but not for the HTML-Version.
    As far as I got I think I have to edit this function from "gallery_hds.js" and add some RegEx, to extract caption text.
    function PhotosFilter(ds, row, rowIndex)
        var tnStr = row.thumbimg;
        if (tnStr)
            row.path = tnStr.replace(/.*<a[^>]*href="?([^"]*)"?.*/i, "$1");
            row.thumbpath = tnStr.replace(/.*<img[^>]*src="?([^"]*)"?.*/i, "$1");
        return row;
    In the following rows within the html-document
    <span class="thumbnail"><a href="../../gallery/galleries/paris/images/paris_02.jpg"><img src="../../gallery/galleries/paris/thumbnails/paris_02.jpg" alt="paris_02.jpg" /></a></span>
    I would insert text before the closing span-tag (or before the closing a-tag?) - like so
    <span class="thumbnail"><a href="../../gallery/galleries/paris/images/paris_02.jpg"><img src="../../gallery/galleries/paris/thumbnails/paris_02.jpg" alt="paris_02.jpg" /></a>Here is some HTML Text</span>
    This text must be extracted via RegEx - similar to the rows within the if-Statement of the upper mentioned function "PhotosFilter". But here my RegEx-knowledge is definitely to short!
    Thank you very much in advance for any help or suggestion.
    Angela Fengler

  • Can a Photo Gallery be created using the Meta Data with a Widget or Lightroom ?

    I want to create a website with a bunch of photo galleries, but I have to have the Titles and Descriptioins from the Meta data used. 
    Can Muse import Lightroom Photo Gallery's web pages?
    Or, Is there a widget to do this?

    So your saying import a Gallery from Lightroom using Muse's slideshow widget, which ignores titles/descriptions? 
    I'm finding it very difficult to understand why Muse would not use this information as it clearly shows the File Names in Asssets.
    The workflow seems simple: Take A picture, Bring it into Lightroom, Adjust and enter WHAT it is with Titles and Descriptions, use it ALL in a website.
    I've got some 500 photos.
    Re-entering Titles/Description information everytime it's used in a website is not something anybody should have to do.
    Please help, there has to be a better way to do this.
    I'm eager to buy Adobe's product to do this if it can be done.
    Adobe is too smart to leave out something so simple with MUSE.

  • Photo Gallery display by date uploaded

    I would really like to have the photo gallery display images by date uploaded not alphabetical. I know this isn't possible but I remember somewhere on the old forum someone posting a workaround for this issue. Does any one know a workaround? I'm sure it had something to do with renaming the files.
    Thanks
    Karl

    Hi Sidney, thanks loads for your reply. If i try your method the most recent image still wont be placed at the beginning eg.
    If today's date is 01022012 then tomorrows date will be 02022012 which will still be placed after 01022012
    Eg
    01022012
    02022012
    Thanks again but is there any other method?
    Karl

  • Photo gallery with Thumbnail View in Flex 3

    Hello everyone
    I very urgently need an answer to a very simple qeuestoon. I have been trying really hard since days to get a solution to this simple problem but in vain.
    I am building an application in Flex 3. I simply want to create a photo gallery with a thumbnail where when the user clicks on a thumbnail, the image is shown in the canvas/tab navigator box next to it. The images are stored in a local folder (in src) are ARE NOT on available on any web link.
    The Vbox with the thumb image and the .xml file has been created. But when I click on the thumbnail, the full image cannot be seen in the application. I dont know if this is a problem with data binding or what.
    Please help!!!
    Thanks a ton.

    Check the folder structure
    Flash is not able to get some file thats why the IO Error.
    trace the url path just before u load the file and u will be abel to find whether that file is in specified folder or not.
    http://www.darshanrane.com

  • Photo gallery problems in Vista IE

    Hi there,
    I've made Spry Photo Gallery which works fine on Mac(Safari, Opera, Firefox) on Windows 2000 pro IE but don't work on Vista IE.
    I can not find a problem. Can anyone help!

    It is an HP dv6040ca that has vista 64-bit on it. It has a NVIDIA sata driver, that I have tried to up date today.
    Drat. HP has been offering a Microsoft Standard Dual Channel PCI IDE Controller Update/Rollback that has been helping with this sort of thing on desktop models (32-bit), but they aren't offering it on notebooks.
    Are you up to date on that BIOS update they are offering? (They don't say what it does, but it might be worth a crack.)
    Software & Driver downloads: HP Pavilion dv6040ca Notebook PC (Vista 64-bit)

  • Trying to create a photo gallery... with little knowledge of Flex

    Hey Guys,
    I am trying build a photo gallery and I am having the hardest time.
    Is there anything out there that helps people from scratch ?
    I need help learning where to store the images... IE... jpegs
    and the right syntax to call up the code...
    Path info etc...
    I tried to hack two of the following programs but in the case below the program could not find the files...
    I am looking for an easy way to get started any help would be great
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" verticalScrollPolicy="off" horizontalScrollPolicy="off"   initialize="init()"  applicationComplete="startitup()" backgroundGradientColors="[0xffffff, 0x00808C]"  >
    <mx:HTTPService id="movieRequest" url="data/otrdata.xml" result="movieHandler(event)"/>
    <mx:Glow id="glowImage" duration="200"
            alphaFrom="1.0" alphaTo="0.5"
            blurXFrom="0.0" blurXTo="15.0"
            blurYFrom="0.0" blurYTo="15.0"
            color="0x00FF00"/>
        <mx:Glow id="unglowImage" duration="200"
            alphaFrom="0.3" alphaTo="1.0"
            blurXFrom="15.0" blurXTo="0.0"
            blurYFrom="15.0" blurYTo="0.0"
            color="0x0000FF"/>
    <mx:Fade
        id="fade"
        target="{myImage}"
        duration="400"
        alphaFrom="0"
        alphaTo="1"/>
    <mx:TextArea x="463" y="156" height="326" width="387" id="myText" fontSize="14" editable="false"/>
        <mx:Image x="23" y="157" width="432" height="325" id="myImage" scaleContent="true"   complete="fade.play()"/>
    <mx:Tile direction="horizontal" borderStyle="inset"
                horizontalGap="10" verticalGap="15"
                paddingLeft="10" paddingTop="10" paddingBottom="10" paddingRight="10" x="62" y="70" width="750" height="77">
                <mx:Repeater id="rp" dataProvider="{movieData}">
                    <mx:Image height="49" width="50" rollOverEffect="{glowImage}"  rollOutEffect="{unglowImage}"   mouseUpEffect="{unglowImage}" toolTip="{rp.currentItem.subtitle}" source="{rp.currentItem.icon}" click="mygothere(event.currentTarget.getRepeaterItem ())" />
                </mx:Repeater>   
                </mx:Tile>
                                        <mx:Label x="78" y="485" id="sourceTag0" width="333" textAlign="center" fontSize="14"/>
    <mx:Label x="23" y="24" id="sourceTag1" fontSize="18" fontWeight="bold" width="281"/>
    <mx:Image x="801" y="14" id="navimage1" source="@Embed(source='images/icons/Urbm.jpg')"  rollOverEffect="{glowImage}"  rollOutEffect="{unglowImage}"   mouseUpEffect="{unglowImage}" width="43" height="32" click="myMainget('All'),myNumfind(0)"/>
    <mx:Label id="labelall" x="813" y="50" text="All" rollOverEffect="{glowImage}"  rollOutEffect="{unglowImage}"   mouseUpEffect="{unglowImage}" width="43" height="18" click="myMainget('All'),myNumfind(0)" />
    <mx:Image x="383" y="14" rollOverEffect="{glowImage}"  rollOutEffect="{unglowImage}"   mouseUpEffect="{unglowImage}" source="@Embed(source='images/icons/Buddy.jpg')" width="38" height="32" id="navimage2" click="myMainget('Home'),myNumfind(0)"/>
    <mx:Label x="382" y="49" text="Home" rollOverEffect="{glowImage}"  rollOutEffect="{unglowImage}" click="myMainget('Home'),myNumfind(0)"/>
    <mx:Image x="435" y="14" rollOverEffect="{glowImage}"  rollOutEffect="{unglowImage}"   mouseUpEffect="{unglowImage}" source="@Embed(source='images/icons/buildingjob.jpg')" width="45" height="32" id="navimage3"  click="myMainget('City Life and Rhetoric'), myNumfind(0)"/>
    <mx:Label x="430" y="49" text="Rhetoric" rollOverEffect="{glowImage}"  rollOutEffect="{unglowImage}"   mouseUpEffect="{unglowImage}"  width="56" height="19"   click="myMainget('City Life and Rhetoric'), myNumfind(0)"/>
    <mx:Image x="491" y="14" rollOverEffect="{glowImage}"  rollOutEffect="{unglowImage}"   mouseUpEffect="{unglowImage}" source="@Embed(source='images/icons/slums.jpg')" width="46" height="32" id="navimage4"  click="myMainget('3 Perspectives'), myNumfind(0)" />
    <mx:Label x="494" y="49" text="3 Pers" rollOverEffect="{glowImage}"  rollOutEffect="{unglowImage}"   mouseUpEffect="{unglowImage}"  width="46" height="19"   click="myMainget('3 Perspectives'), myNumfind(0)"/>
    <mx:Image x="550" y="14" source="@Embed(source='images/icons/Buddy.jpg')" width="38" height="32" id="navimage5"/>
    <mx:Label x="547" y="49" text="History"/>
    <mx:Image x="602" y="14" source="@Embed(source='images/icons/Buddy.jpg')" width="38" height="32" id="navimage6"/>
    <mx:Label x="601" y="49" text="Today"/>
    <mx:Image x="650" y="14" source="@Embed(source='images/icons/Buddy.jpg')" width="38" height="32" id="navimage7"/>
    <mx:Label x="648" y="50" text="Future"/>
    <mx:Image x="700" y="14" source="@Embed(source='images/icons/Buddy.jpg')" width="38" height="32" id="navimage8"/>
    <mx:Label x="693" y="50" text="Opinions"/>
    <mx:Image x="751" y="14" source="@Embed(source='images/icons/Buddy.jpg')" width="38" height="32" id="navimage9"/>
    <mx:Label x="746" y="50" text="Builders"/>
    <mx:Script>
    <![CDATA[
    import mx.rpc.events.ResultEvent;
    import mx.collections.ArrayCollection;
    import flash.events.Event;
            import mx.events.DropdownEvent;
            public var mynewnum:String="Home";
             private function changeEvt(event:Event):void {
             mynewnum=event.currentTarget.selectedItem.label;
             trace(mynewnum);
                   filterByCategory2();
    public function startitup():void{
    myImage.source ="images/Buddy.jpg";
    myText.htmlText="<b>Over-the-Rhine</b> is not only at the center of the Cincinnati community, but it is also at the center of a lot of controversies. This area has become a breeding ground for social issues. Issues of equality, crime, affordible housing, poverty, violence, and economic growth have recently been argued. Although these topics are the current issues facing Over-the-Rhine, this is not the first time many of these issues have been see by Over-the-Rhine. It seems that history is repeating itself once again. So where does the community go from here? Are there any answers. The questions one must consider are simple. Will Over-the-Rhine be in the same position thirty years from now? Is the current Over-the-Rhine community being treated fairly by the city? Do the urbanist movement, the people's movement, and the CDC have the best interests of the community in mind? How can the city deal with these issues without causing a fight within the community? Can Over-the-Rhine become a community where everyone is happy?";
    sourceTag1.text = "Home";
    sourceTag0.text ="A Look into the Over-the-Rhine Community";
    public function myNumfind(num:Number):void{
    myImage.source =movieData[num].image;
    myText.htmlText=movieData[num].text;
    sourceTag1.text = movieData[num].title;
    sourceTag0.text =movieData[num].subtitle;
    public function mygothere(event:Object):void{
    myImage.source =event.image;
    myText.htmlText=event.text;
    sourceTag1.text = event.title;
    sourceTag0.text = event.subtitle;
    public function myMainget(myhere:String):void{
    mynewnum=myhere;
    filterByCategory2();
    public function filterByCategory2():void
    movieData.filterFunction = catFilter2;
    movieData.refresh();
    public function catFilter2(item:Object):Boolean
    if(mynewnum=="All"){
    return true;
    }else{
    return item.cat == mynewnum;
    [Bindable]
    private var movie:String;
    [Bindable]
        public var selectedItem:Object; 
    [Bindable]
    public var movieData:ArrayCollection;
    private function init():void
    movieRequest.send();
    private function movieHandler(event:ResultEvent):void
    movieData = event.result.otrdata.mydata;
    filterByCategory2();
    private function formatPositionToolTip(value:int):String{
    var result:String = (value % 60).toString();
            if (result.length == 1){
                result = Math.floor(value / 60).toString() + ":0" + result;
            } else {
                result = Math.floor(value / 60).toString() + ":" + result;
            return result;
    ]]>
    </mx:Script>
    <mx:Label x="316" y="39" text="Menu" fontSize="12" fontWeight="bold" fontStyle="italic" color="#000000"/>
    <mx:HRule x="364" y="49" width="480" strokeWidth="2" strokeColor="#000000"/>
    </mx:Application>

    I'd recommend linking your flex app to a PHP file, it'll automatically handle all the photos for you without you having to embed them all. Keeps the app size small and lets you add more pictures without having to alter any code. Here's the example code of a very simply image gallery that i'd build on if i was making a photogallery.
    Flex:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="getPictures.send()">
        <mx:HTTPService id="getPictures" url="getPictures.php" method="POST" showBusyCursor="true"/>
        <mx:TileList dataProvider="{getPictures.lastResult.Pictures}" width="500" height="500" x="349" y="129">
            <mx:itemRenderer>
                <mx:Component>
                    <mx:Image width="200" height="200" source="{data.imagePath}"/>
                </mx:Component>
            </mx:itemRenderer>
        </mx:TileList>
    </mx:Application>
    PHP:
    <?php
        foreach (glob("*.png") as $filename)
            print "<Pictures><imagePath>".$filename."</imagePath></Pictures>";
    ?>

  • Need Help Removing XML Photo Gallery on Button Click

    Hi, I'm new to flash so this might seem like a dumb question, but I'm right in the middle of designing a photography site and need some help.  I have 4 buttons in my timeline that go to the corresponding frame labels when clicked, above each frame label is a keyframe with actionscript applied to it, that will load an external XML photo gallery. I need the current photo gallery that's on the screen to disappear when I click on a new button to load the new XML photo gallery.  this is the code that will be above each frame label with a few changes, then below this is the code for my buttons. Any help is greatly appreciated. Thank you  Code: Select all var imageX:XML; var imageList:XMLList;  var canvas:MovieClip = new MovieClip(); var picLoader:Loader; addChild(canvas); canvas.x = -155; canvas.y = 160;   var req:URLRequest = new URLRequest("gallery.xml"); var imageLoader:URLLoader = new URLLoader(); imageLoader.addEventListener(Event.COMPLETE, onComplete); imageLoader.load(req);  function onComplete(e:Event):void { imageX = new XML(imageLoader.data); imageList = imageX.image; picLoader = new Loader(); picLoader.contentLoaderInfo.addEventListener(Event .COMPLETE, imageLoaded); picLoader.load(new URLRequest (imageList[0].url)); }  function imageLoaded(e:Event):void  { canvas.addChild(picLoader); }    Code for the buttons in different keyframe.  Code: Select all stop();  kids_btn.addEventListener(MouseEvent.CLICK,onKidsClick); couples_btn.addEventListener(MouseEvent.CLICK,onCouplesClick); portraits_btn.addEventListener(MouseEvent.CLICK,onPortraitsClick); bellies_btn.addEventListener(MouseEvent.CLICK,onBelliesClick);  function onKidsClick(e:MouseEvent):void { gotoAndStop("kids"); }  function onCouplesClick(e:MouseEvent):void { gotoAndStop("couples"); }  function onPortraitsClick(e:MouseEvent):void { gotoAndStop("portraits"); }  function onBelliesClick(e:MouseEvent):void { gotoAndStop("bellies"); }

    Hi, I'm new to flash so this might seem like a dumb question, but I'm right in the middle of designing a photography site and need some help.  I have 4 buttons in my timeline that go to the corresponding frame labels when clicked, above each frame label is a keyframe with actionscript applied to it, that will load an external XML photo gallery. I need the current photo gallery that's on the screen to disappear when I click on a new button to load the new XML photo gallery.  this is the code that will be above each frame label with a few changes, then below this is the code for my buttons. Any help is greatly appreciated. Thank you  Code: Select all var imageX:XML; var imageList:XMLList;  var canvas:MovieClip = new MovieClip(); var picLoader:Loader; addChild(canvas); canvas.x = -155; canvas.y = 160;   var req:URLRequest = new URLRequest("gallery.xml"); var imageLoader:URLLoader = new URLLoader(); imageLoader.addEventListener(Event.COMPLETE, onComplete); imageLoader.load(req);  function onComplete(e:Event):void { imageX = new XML(imageLoader.data); imageList = imageX.image; picLoader = new Loader(); picLoader.contentLoaderInfo.addEventListener(Event .COMPLETE, imageLoaded); picLoader.load(new URLRequest (imageList[0].url)); }  function imageLoaded(e:Event):void  { canvas.addChild(picLoader); }    Code for the buttons in different keyframe.  Code: Select all stop();  kids_btn.addEventListener(MouseEvent.CLICK,onKidsClick); couples_btn.addEventListener(MouseEvent.CLICK,onCouplesClick); portraits_btn.addEventListener(MouseEvent.CLICK,onPortraitsClick); bellies_btn.addEventListener(MouseEvent.CLICK,onBelliesClick);  function onKidsClick(e:MouseEvent):void { gotoAndStop("kids"); }  function onCouplesClick(e:MouseEvent):void { gotoAndStop("couples"); }  function onPortraitsClick(e:MouseEvent):void { gotoAndStop("portraits"); }  function onBelliesClick(e:MouseEvent):void { gotoAndStop("bellies"); }

  • Photo gallery lost after 2.2 update

    Hi all! I received the 2.2 upgrade for my Moto DROID on 8/16. Everything seemed to be fine until the next day... my photo gallery of about 50 pics were missing!! I installed Astro from the market and I can see the 'files' but can't seem to figure out how to recover them. Found something on a different forum but was being told to "select them all and click delete". I realize I'm a techno-tard, but wouldn't 'deleting them' actually do just that?!  PLEASE, PLEASE! Can anyone help?!
    Thanks!

    I have provided some information below that may be helpful in recovering the pictures on your device. You do not want to delete them as this may permanently remove them from the device.
    Plug the Motorola Droid into your computer using the USB cable that came with your device. Once it is connected to (both your phone and computer), put it into the Mass Storage mode. I have provided that step in the article below: http://search.vzw.com/?do=viewdoc&id=27198
    2.      Once the Mass Storage mode is enabled, it will create a drive for you to access on your computer.
    3.      The photos should be in the DCIM folder under Camera. (***If they were downloaded images, they would be under the Download folder)
    4.      Try accessing the files on your computer to see if they come up. (***If they do, try pulling them into a file on your computer (to ensure you have them physically). I would also backup anything else on the card that you could possible lose at this point.
    5.      If the files show up, but you cannot view them, I would recommend removing and reinserting the SD card on the device. To complete this step, I have provided the instructions below:
    ****First unplug the device from the USB cable, and unmount the SD card. Select Menu > SD card & phone storage > Unmount SD card. Then follow the step below
    http://search.vzw.com/?do=viewdoc&id=26488&p=-1
    ****Once the SD card is out, it may be a good idea to soft reset the device as well. I have provided the article for that below:
    http://search.vzw.com/?do=viewdoc&id=26596&p=-1
    Insert the card and try to access the pictures once again. ***If it fails once again, and if you had backed up all of your files, I would recommend reformatting the card. *** This procedure will erase all data on the memory card. It is recommended to back up the data at this point if you have not done so already.
    To complete the format, please follow the instruction below:
    http://search.vzw.com/?do=viewdoc&id=26553&p=-1
    I hope this helps!

  • Photo Gallery Demo Problem

    I'm trying to understand the Photo Gallery demo so I can
    replicate the function for use on various sites. I've copied the
    html, xml, javascript and some of the photo file elements to my
    hard drive. I initially modified the file structures to something
    more of my liking, but had some problems with the links. I've since
    mimicked the structures so I can reduce the initial errors, but I
    am stumped at the var dsGallery and var dsPhotos statements that
    dynamically link to the China, Paris and Egypt photo databases. In
    the original dynamic definition, DreamWeaver only parses the
    dsGalleries XML definition, not defining the dsGallery and dsPhoto
    nodes. I wasn't too concerned about that given the variable nature,
    but nothing except the pull-down menu and controls displayed in the
    browser. DreamWeaver shows correct parsing of the dsGalleries XML,
    dsGallery and dsPhoto nodes only when I eliminate the dynamic
    linking and set it to one of the static links (Egypt). This fails
    in the browser to link to the data, giving a display that shows the
    correct number of empty thumbnail frames but without the displayed
    photos, no Spry effects, and no large photo display. I'm sure I
    have multiple reference errors, but I don't see them. Any ideas?
    Initial Photo Demo page:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!-- Copyright (c) 2006. Adobe Systems Incorporated. All
    rights reserved. -->
    <html xmlns="
    http://www.w3.org/1999/xhtml"
    xmlns:spry="
    http://ns.adobe.com/spry">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=ISO-8859-1" />
    <title>Gallery</title>
    <link rel="stylesheet" type="text/css"
    href="../css/screen.css">
    <script type="text/javascript"
    src="../SpryAssets/xpath.js"></script>
    <script type="text/javascript"
    src="../SpryAssets/SpryData.js"></script>
    <script type="text/javascript"
    src="../SpryAssets/SpryEffects.js"></script>
    <script type="text/javascript">
    var dsGalleries = new
    Spry.Data.XMLDataSet("galleries/galleries.xml",
    "galleries/gallery");
    var dsGallery = new
    Spry.Data.XMLDataSet("galleries/{dsGalleries::@base}{dsGalleries::@file}",
    "gallery");
    var dsPhotos = new
    Spry.Data.XMLDataSet("galleries/{dsGalleries::@base}{dsGalleries::@file}",
    "gallery/photos/photo");
    </script>
    <script src="../SpryAssets/gallery.js"
    type="text/javascript"></script>
    </head>
    <body id="gallery">
    <noscript><h1>This page requires JavaScript.
    Please enable JavaScript in your browser and reload this
    page.</h1></noscript>
    <div id="wrap">
    <h1 id="albumName"
    spry:region="dsGallery">{sitename}</h1>
    <div id="previews">
    <div id="galleries" spry:region="dsGalleries">
    <label for="gallerySelect">View:</label>
    <select spry:repeatchildren="dsGalleries"
    id="gallerySelect"
    onchange="dsGalleries.setCurrentRowNumber(this.selectedIndex);">
    <option spry:if="{ds_RowNumber} == {ds_CurrentRowNumber}"
    selected="selected">{sitename}</option>
    <option spry:if="{ds_RowNumber} !=
    {ds_CurrentRowNumber}">{sitename}</option>
    </select>
    </div>
    <div id="controls">
    <ul id="transport">
    <li><a href="#" onclick="StopSlideShow();
    AdvanceToNextImage(true);"
    title="Previous">Previous</a></li>
    <li class="pausebtn"><a href="#" onclick="if
    (gSlideShowOn) StopSlideShow(); else StartSlideShow();"
    title="Play/Pause" id="playLabel">Play</a></li>
    <li><a href="#" onclick="StopSlideShow();
    AdvanceToNextImage();" title="Next">Next</a></li>
    </ul>
    </div>
    <div id="thumbnails" spry:region="dsPhotos dsGalleries
    dsGallery">
    <div spry:repeat="dsPhotos"
    onclick="HandleThumbnailClick('{ds_RowID}');"
    onmouseover="GrowThumbnail(this.getElementsByTagName('img')[0],
    '{@thumbwidth}', '{@thumbheight}');"
    onmouseout="ShrinkThumbnail(this.getElementsByTagName('img')[0]);">
    <img id="tn{ds_RowID}" alt="thumbnail for {@thumbpath}"
    src="galleries/{dsGalleries::@base}{dsGallery::thumbnail/@base}{@thumbpath}"
    width="24" height="24" style="left: 0px; right: 0px;" />
    </div>
    <p class="ClearAll"></p>
    </div>
    </div>
    <div id="picture">
    <div id="mainImageOutline" style="width: 0px; height:
    0px;"><img id="mainImage" alt="main image" /></div>
    </div>
    <p class="clear"></p>
    </div>
    </body>
    </html>
    Fixed reference version:
    <head>
    var dsGalleries = new
    Spry.Data.XMLDataSet("Graphics/galleries/galleries.xml",
    "galleries/gallery");
    var dsGallery = new
    Spry.Data.XMLDataSet("Graphics/galleries/egypt/Egyptphotos.xml",
    "gallery");
    var dsPhotos = new
    Spry.Data.XMLDataSet("Graphics/galleries/egypt/Egyptphotos.xml",
    "gallery/photos/photo");
    </script>
    Supporting files galleries.xml and Egyptphotos.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <galleries>
    <gallery base="Graphics/galleries/egypt/"
    file="Egyptphotos.xml">
    <sitename>Egypt</sitename>
    <photographer>Don Booth</photographer>
    <contactinfo>
    http://www.adobe.com</contactinfo>
    <email>[email protected]</email>
    <security><![CDATA[]]> </security>
    </gallery>
    ... duplicate China and Paris declarations
    </gallery>
    </galleries>
    <?xml version="1.0" encoding="UTF-8"?>
    <gallery
    base = ""
    background = "#FFFFFF"
    banner = "#F0F0F0"
    text = "#000000"
    link = "#0000FF"
    alink = "#FF0000"
    vlink = "#800080"
    date = "1/10/2006">
    <sitename>Egypt Gallery</sitename>
    <photographer>Don Booth</photographer>
    <contactinfo>
    http://www.adobe.com</contactinfo>
    <email>[email protected]</email>
    <security><![CDATA[]]> </security>
    <banner font = "Arial" fontsize = "3" color =
    "#F0F0F0"> </banner>
    <thumbnail base
    ="../../gallery/galleries/egypt/thumbnails/" font = "Arial"
    fontsize = "4" color = "#F0F0F0" border = "0" rows = "3" col =
    "5"> </thumbnail>
    <large base ="../../gallery/galleries/egypt/images/" font
    = "Arial" fontsize = "3" color = "#F0F0F0" border = "0">
    </large>
    <photos id = "images">
    <photo
    path = "egypt_01.jpg"
    width = "350"
    height = "262"
    thumbpath = "egypt_01.jpg"
    thumbwidth = "75"
    thumbheight = "56">
    </photo>
    </photos>
    </gallery>

    Please delete this posting. I've found the full original
    information in the v1.6 pre-release information and will compare to
    that baseline.

  • Photo Gallery ....disable a previous button once it reaches img zero

    I have made a simple photo gallery that reads from external XML file. The gallery allows the user to see the next image by clicking the next button as well as the previous image by clicking the previous button.
    I need a bit of code that would disable the previous button when its at the first image, and disable the next image once the user is on the last image.
    This is what I have thus far:
    var xmlRequest:URLRequest = new URLRequest("wImgData.xml");
    var xmlLoader:URLLoader = new URLLoader(xmlRequest);
    var imgData:XML;
    var imageLoader:Loader;
    var rawImage:String;
    var rawH:String;
    var rawW:String;
    var imgNum:Number = 0;
    var checkSec:Timer = new Timer(1);
    var numberOfChildren:Number;
    xmlLoader.addEventListener(Event.COMPLETE, xmlLoadedF);
    next_btn.addEventListener(MouseEvent.CLICK, nextImgF);
    prev_btn.addEventListener(MouseEvent.CLICK, prevImgF);
    master_mc.buttonMode = true;
    function xmlLoadedF(event:Event):void{
        checkSec.start();
        checkSec.addEventListener(TimerEvent.TIMER, checkerF);
        imgData = new XML(event.target.data);   
    function packagedF():void{
        checkSec.start();
        checkSec.removeEventListener(TimerEvent.TIMER, checkerF);
        rawImage = imgData.image[imgNum].imgURL;
        numberOfChildren = imgData.*.length();
        rawW = imgData.image[imgNum].imgW;
        rawH = imgData.image[imgNum].imgH;
        imageLoader = new Loader;
        imageLoader.load(new URLRequest(rawImage));
        master_mc.addChild(imageLoader);
        imageLoader.x = (stage.stageWidth - Number(rawW)) /2;
        imageLoader.y = (stage.stageHeight - Number(rawH)) /2;
    function checkerF(event:TimerEvent):void{
        if(imgNum == 0){
            packagedF();
        }else if(imgNum < numberOfChildren){
            imageLoader.unload();
            packagedF();
        }else{
            imageLoader.unload();
            imgNum = 0;
            packagedF();
    function nextImgF(event:MouseEvent):void{
        checkSec.addEventListener(TimerEvent.TIMER, checkerF);
        imgNum++;
    function prevImgF (event:MouseEvent):void{
        checkSec.addEventListener(TimerEvent.TIMER, checkerF);
        imgNum--;

    All you need to do is remove the listeners in the event handlers for the buttons. I'll use previous as an example.
    function prevImgF (event:MouseEvent):void{
        checkSec.addEventListener(TimerEvent.TIMER, checkerF);
        imgNum--;
         if(imgNum == 0){
              //at first
              prev_btn.removeEventListener(MouseEvent.CLICK, prevImgF);
    You'd do the same to the next button's listener when the imgNum == the number of images. You'll also need to add the previous listener back to the button when they press next.

  • Photo Gallery Auto Start

    I've gone through the photo gallery tutorial:
    http://www.adobe.com/devnet/dreamweaver/articles/spry_photo_album.html
    And it worked just fine for me. But now I'd like to create a
    photo gallery for a homepage that loops through a couple of images.
    I've looked at the demo and the script found in gallery.js.
    I'm not sure where to put the
    StartSlideShow() function to get the slide show to loop
    through the images without a user interfacing with it.
    Can some one point me in the right direction?
    Thanks

    Hi Paul.Wrightson,
    The photo album tutorial you mentioned is a *very* basic
    implementation. The one that you see in the demo section here:
    http://labs.adobe.com/technologies/spry/demos/gallery/index.html
    is a bit more complex because it uses effects etc. So what
    I'm wondering is if you want to use the "basic" version or the
    "demo" version. You can't just use the functions from the "demo"
    version with the markup you have in the "basic" version.
    If its the "basic" version you want, then it is a matter of
    just setting a timer that changes the current row of the data set
    every time it fires.
    If its the "demo" version, all you'll need to do is generate
    a photos.xml file like you see in the gallery/galleries/*
    directories, and edit the galleries.xml file so that it refers to
    your photos directory.
    We used Photoshop's web album feature to generate the XML,
    thumbnails etc.
    In any case, let me know which version you are trying to use.
    --== Kin ==--

Maybe you are looking for