Xml photo galleries

Hi,
I have one category set up to load photos via xml.
I want to be able to click on another category and load
another set of photos.
How do I set up my actionscript to do this?
Should I use the same xml file, or make a second one?
I attached my file.
Thanks so much!

You can add a drop shadow filter by creating a new variable
at the top of the code:
var dropShadow:DropShadowFilter = new
DropShadowFilter(PARAMETERS);
You can test different parameters to change the appearence -
see this page on the livedocs, or look at Flash help for the
accepted parameters:
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Liv eDocs_Parts&file=00001633.html
I thought you would be asking about making a fade transition,
it aways makes it look much better.
I would definitely recommend downloading the "Tweener"
library and placing the "caurina" folder in the same folder as your
FLA or in your "global ActionScript directory". This tutorial will
teach you all about Tweener:
http://www.gotoandlearn.com/player.php?id=45
Attached code includes a fade in and out transition on the
images and adds a drop shadow to the thumbnails.
I also realised (after testing for the first time!) that the
thumbs were lining up vertically instead of in columns and I
corrected the following 2 lines of code:
thumb.x = xOffset + (thumbWidth+xspacing)*i; //j becomes i
thumb.y = yOffset + (thumbHeight+yspacing)*j; //i becomes
j

Similar Messages

  • AS3 xml photo gallery

    I'm fairly new to flash, and after reading a few online
    tutorials on trying to make xml photo galleries (specifically the
    one here:
    http://www.tutorio.com/tutorial/simple-flash-xml-photogallery)
    I'm trying to figure things out.
    I want to make something similar, but have the photos line up
    in columns (not rows), and once there are a certain number of
    photos in a column (in this case, 6) have them load into another
    column.
    I have been trying to mess around with the AS given in the
    tutorial as well as what I've been reading on the net, and here is
    what I have so far:
    I'm loading the images and thumbs through the images.xml
    file. On my stage I only have 2 movie clips (loader &
    thumbnails) and a dynamic text field (title_txt). Any thoughts??? I
    really am new to this, but I'm trying hard to figure it out - I'm
    at the point now where I need help.
    Thanks!
    Mike ([email protected])

    You can add a drop shadow filter by creating a new variable
    at the top of the code:
    var dropShadow:DropShadowFilter = new
    DropShadowFilter(PARAMETERS);
    You can test different parameters to change the appearence -
    see this page on the livedocs, or look at Flash help for the
    accepted parameters:
    http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Liv eDocs_Parts&file=00001633.html
    I thought you would be asking about making a fade transition,
    it aways makes it look much better.
    I would definitely recommend downloading the "Tweener"
    library and placing the "caurina" folder in the same folder as your
    FLA or in your "global ActionScript directory". This tutorial will
    teach you all about Tweener:
    http://www.gotoandlearn.com/player.php?id=45
    Attached code includes a fade in and out transition on the
    images and adds a drop shadow to the thumbnails.
    I also realised (after testing for the first time!) that the
    thumbs were lining up vertically instead of in columns and I
    corrected the following 2 lines of code:
    thumb.x = xOffset + (thumbWidth+xspacing)*i; //j becomes i
    thumb.y = yOffset + (thumbHeight+yspacing)*j; //i becomes
    j

  • AS2 xml photo gallery

    I'm fairly new to flash, and after reading a few online
    tutorials on trying to make xml photo galleries (specifically the
    one here:
    http://www.tutorio.com/tutorial/simple-flash-xml-photogallery)
    I'm trying to figure things out.
    I want to make something similar, but have the photos line up
    in columns (not rows), and once there are a certain number of
    photos in a column (in this case, 6) have them load into another
    column.
    I have been trying to mess around with the AS given in the
    tutorial as well as what I've been reading on the net, and here is
    what I have so far:
    I'm loading the images and thumbs through the images.xml
    file. On my stage I only have 2 movie clips (loader &
    thumbnails) and a dynamic text field (title_txt). Any thoughts??? I
    really am new to this, but I'm trying hard to figure it out - I'm
    at the point now where I need help.
    Thanks!
    Mike ([email protected])
    ***

    you want to use:
    thumbnail_mc["t"+k].removeMovieClip();  // where k is defined as in your createEmptyMovieClip() method.

  • Lightroom photo galleries and their swf files

    I have a question about using the photo galleries that lightroom exports in flash catalyst.  what I'm trying to do is use multiple photo galleries for different states in my flash application (www.negativeselfimage.com is the site).  flash catalyst allows you to import as many swfs as you want, but the problem is the gallerydata.xml files, and the images folders, which are different for every gallery I export.  I mucked my way around in flash builder to point to custom folders I built, so each swf file is in its own folder with its own materials.  however, the swf file seems to be looking for gallerydata.xml in an absolute directory. 
    my basic question is, how can I get that swf file to either point to a relative path place (it should still be relatively the same) or allow me to change to where it points to?
    either that, or -- if this seems like the wrong path -- how can I use multiple lightroom swf galleries in one flash catalyst or flash builder application? 
    thanks,  aemilia

    I've the same question... FC is quite nice, but they have to develop more, I think

  • Xml photo gallery loop

    Hi,
    I have photo galleries loading via an xml file.
    Right now, it stops at the last photo. I would like it to
    "loop" back to the first photo instead of stopping and vice versa
    for the previous button.
    Here is my code for next and previous buttons.
    Thanks!
    function nextImage() {
    if (p<(total-1)) {
    p++;
    if (loaded == filesize) {
    picture._alpha = 20;
    picture.contentPath = image[p];
    picture_num();
    if(!auto_dsbl){
    slideshow();
    function prevImage() {
    if (p>0) {
    p--;
    picture._alpha = 20;
    picture.contentPath = image[p];
    picture_num();

    Try this:
    function nextImage() {
    if (p<(total-1)) {
    p++;
    if (loaded == filesize) {
    picture._alpha = 20;
    picture.contentPath = image[p];
    picture_num();
    if(!auto_dsbl){
    slideshow();
    } else{
    p=0;
    if (loaded == filesize) {
    picture._alpha = 20;
    picture.contentPath = image[p];
    picture_num();
    if(!auto_dsbl){
    slideshow();
    function prevImage() {
    if (p>0) {
    p--;
    picture._alpha = 20;
    picture.contentPath = image[p];
    picture_num();
    } else{
    p=total;
    picture._alpha = 20;
    picture.contentPath = image[p];
    picture_num();
    Cheers,
    Gorka
    http://www.AquiGorka.com/blog

  • Help! Multiple Bridge Web Photo Galleries in my site

    RunI am in need of some help and I posted this in Bridge and didn't get an answer.
    I have a website and I used bridge to make my photo galleries. I downloaded the photo galleries bridge made into two different temporary folders outside of dreamweaver and then changed the name from index.html to "deck.html" (photos of a deck we built) and "of.html" (photos of an outdoor fireplace we built). Everything worked fine. I copied the deck.html file and the resources folder into my site folder and then linked a thumbnail of the deck to the deck.html file. Everything worked fine and the gallery loaded.
    Now, I know that I can't put the resources folder into my site of the of.html gallery due to the same name so I changed it to resources2. I then put the of.html and resources2 folder into my site folder. I then checked the code to find where it was pointing to the resources folder to change it to resources2. This is what i did:
    changed <script src=resources... to <script src=resources2...
    I then linked a thumbnail of the outdoor fireplace to the of.html, but the deck.html gallery loaded
    I am assuming that I am not changing the code correctly to link to the group.xml file which contains the images to load and the other files in my resources2 folder. When the link is clicked it loads the original deck.html gallery and I thought that somewhere in the AC_RunActiveContent.js it must be linking to the resource folder and not the resouces2 folder. I have searched through all the files in the resources2 folder and the of.html and I can't find where to change the code.
    Please, any help would be appreciated. Also, if there is some other way to do this let me know.

    Maybe I can explain this better....
    the group.xml file has the information for what images to load. When previewing the outdoor fireplace web gallery "of.html" it loads the "deck.html" web gallery. I believe this is because in one of the files it is requesting the info from the group.xml file from the resourses folder. I need to find where the code is that directs it to the group.xml and change it to group2.xml and rename that group.xml file for "of.html" to group2.xml in the resourses2 folder.

  • Problem when importing two photo galleries with the same name. Please Help!

    Hi Guys,
    I'm not a pro in dreamweaver so I would appreciate if your answer wouldn't be too technical...
    Anyway I have experienced a problem. Heres the sotory, I have been making a websie in DW and used Adobe Bridge CS5 to create a photo gallery SWF file that I would use for my website. The problem is that I want to use two different photo galleries on two different pages however when I save my second photo gallery in bridge, it saves every file with the exact name as the first photo gallery I created and is working fine... Thus when I try to import the photo gallery files into my website folder structure, I find that it asks me to rename them because the files from the first photo gallery are called the exact same names.. Now obviously when I try to rename them dreamweaver gets confused and goes to the wrong folder and uses the images from my first photo gallery in the second one.
    So I guess my question is how can I organize my folder structure to be able to import multiple galleries without dreamweaver getting confused because bridge names all the files the same. Or how could I save the files through bridge so that they have different names and will work fine when I import into DW...
    Thanks and sorry for the essay,
    Patrick

    #1 You cannot have two files / folders or galleries with the same name.  Redo your image Galleries with different names.
    #2 SWF (flash) is not visible to iPhone, iPad, iTouch, Android or other web devices that don't support Flash Player.  These users will see nothing.  You might wish to explore other photo gallery / slideshow options that rely on jQuery instead of Flash technology.  Some links below.  A Google search will reveal many others.
    jQuery WOW Slider
    http://wowslider.com/
    jQuery Cycle
    http://www.malsup.com/jquery/cycle2/
    jQuery Nivo Slider
    http://dev7studios.com/nivo-slider/
    Nancy O.

  • 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"); }

  • Help with structuring SQL databases for multiple photo galleries..help!?!

    Hello all,
    As a new PHP/SQL developer I have found great technical assistance from both this forum and from David Powers and his wonderful books. I am at a crucial point in my web development and although I believe I know which direction I need to go, I am still uncertain and so I appeal to you all for your help, especially David Powers.
    The website I am building is one which will house many photo galleries. I was able to successfully modify the code provided in David Powers’ book ‘php Solutions’ so that I got the photo galleries constructed and working in the manner I desired.
    That being said, a person browsing my website will be presented with a link to see the photo galleries. There will be five (5) categories in which the photos will be separated, all based on specific styles. Now that I have the galleries working, I need to know how to structure things so that I can create a page, like a TOC (table o’ contents) that shows all photo galleries by displaying a thumbnail image or two along with the description. Perhaps I’ll limit the TOC page to only show the latest 25 galleries, arranged with the most current always on top.
    The way I have my galleries set up, I have a separate database for each one, containing the photo filenames and other relevant data. To build my TOC structure, should I have an overall database that contains each gallery database filename along with category? This is where I have no idea what I’m doing so if my question sounds vague, please understand I have no other idea how to ask.
    The site will grow to the point of having hundreds, if not thousands of photo galleries. I simply want to know how to (organize them) or otherwise allow me to build a method to display them in a TOC page or pages.
    I know this is a bit dodgy, but with some info and questions back from you, I feel confident that I should be able to get my point across.
    Lastly, I am still developing this site locally, so I have no links to provide (though I feel that shouldn’t be necessary right now).
    Many sincere thanks to you all in advance,
    wordman

    bregent,
    I'm chewing this over in my head, reading up on DB's in 'phpSolutions' and I think that things are slowly materializing.
    Here is the structure of the website that I have planned:
    MAIN PAGE
    User is presented with a link on the main page to select photo galleries (other links are also present). Clicking the link takes them to the Category Page.
    CATEGORY PAGE
    On this page, the User will then have 5 choices based on categories (photo style). CLicking any of these 5 links will take them to respective TOC pages.
    TOC PAGE
    On this page, the user is greeted with a vertical list of galleries or photosets; one to three thumbs on the left, a small block of descriptive text on the right (ideally containing date/time info to show how recent the gallery is). Newest galleries appear at the top. Eventually, when there are tens or hundreds of galleries in any given catrgory, I'll need to adopt a method for breaking up the qualntity in groups (we can pick 20 for example) that can be scrolled through using a small navbar. This will keep the TOC Pages from getting endlessly long and avoid endless scrolling. User selects a gallery on this page to view.
    THUMBNAIL PAGE
    On choosing a gallery, a thumbnail page is generated (I have this working already)
    IMAGE PAGE
    On selecting any thumbnail in the grid, the user is taken to the full-sized photo with a navbar and photo counter at the top. Navlinks allow forward and back, a link to the first image, a link to the last image and one link back to the thumbnail page. (I have this working already).
    I provide this info in an effort to help understand the basic structure of my site. The description above is as close to a step-by-step illustration as possible.
    Thank you!
    Sincerely,
    wordman

  • Photo galleries

    Is there a way to make the photo gallery thumbnails larger? I don't see a way to customize them, it says in the help section that you can click on customize and edit the thumbnail sizes. I don't see a customize button.
    http://helpx.adobe.com/business-catalyst/partner/create-photo-gallery.html
    Insert the photo gallery in a page
    Open the page in editing mode by selecting Site Manager > Pages, and clicking the page in the tree view.
    Place the cursor in the content editor where you want to insert the photo gallery.
    In the Modules tab of the Toolbox found on the right of the editor, select Photo Galleries.
    Select your photo gallery from the list. If you want to change the properties of the photo gallery, click Customize and adjust the properties.
    Click Insert.Business Catalyst inserts a placeholder tag representing the module. Example:{module_photogallery,32174}. When you publish the page, the module replaces the placeholder tag.
    Click Publish or Save Draft.

    Have you solved this yet?
    You customize the gallery when you add it to a page ...

  • Error in creating XML photo gallery with Flash CS4 and AS 3.0

    Hello, all. I've been creating an XML photo gallery with Flash CS4 and AS 3.0 following a tutorial. I followed the instructions step-by-step but at the end I got the following error message instead:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
    Could anyone in the community assist me as to how to solve the problem? The script has no errors and last time I checked all the applicable files (the .xml file, the .jpg files, the .swf and the .fla file) are in my Documents folder on the Mac.
    Looking forward to your suggestions!

    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

  • How to get MobileMe photo galleries into iWeb or from Aperture?

    I currenlty use MobileMe for an iWeb  published site, on which I have a link to a several dozen photo galleries, all pub;ished from Aperture.  iPhoto has an iWeb "button", but Aperture does not so far as I can see.  I am trying to find the easiest way to keep all of my stuff intact once MM dies next year.  How can I migrate, not link, my MM photo galleries into iWeb, and/or publish them from Aperture into iWeb?  Once I have the photo galleries as part of iWeb, then I'll be able to use it to publish to another web hosting service.  Thanks!

    Do you have the original image files used to make up those MMe Galleries?  If so you can group them into albums in iPhoto and use the iWeb Album page or Photos page and ignore the MMe galleries.
    If the files are in Aperture and there's no Aperture section in iWeb's Media Browser you will have to export those files out of Aperture as originals and drag them either into iPhoto or into an iWeb photos page.  I don't use Aperture so an unsure of what can be done between Aperture and iWeb.
    If those galleries are the only copy of the photos you have you'll need to download the file (if the gallery allows it) and import into iPhoto before going into iWeb.
    OT

  • XML Photo Gallery - Loader won't load :(

    Hi,
    I'm trying to make an XML Photo Gallery type thing. For each
    'Product' it creates a new instance of a MovieClip from the
    library, 'XmlItem' which contains a Loader Component and Dynamic
    Text.
    The Product Title goes into the Dynamic Text perfectly. The
    problem is with the Loader Component. It simply REFUSES to load the
    images. There's an exception. If I deliberately cause a syntax
    error in the Loader Component's code, then the pictures load! What
    the hell?
    Oh, also I'm having trouble with the placement of the XmlItem
    instances... For each of them, what position is _x relative to?
    Thanks very much in advance for any help,
    Tim.
    Code:

    my_ldr must exist on all frames or, if you navigate to a frame where it doesn't exist, you must create another loader with the "new" constructor.  in the later situation, you'll need to (re)define your button actions too because the new loader will need to before referenced in the button listener functions.  even if you use the same name, my_ldr, you'll probably need to re-define your buttons.

  • Purpose: to create photo galleries to insert or not items: 1) with phocagalery, it works 2) with the transfer via lightroom, I do not see the downloaded files but if I want to create a directory folder with the same name, he said he is already, I see noth

    purpose: to create photo galleries to insert or not items:
    1) with phocagalery, it works
    2) with the transfer via lightroom, I do not see the downloaded files but if I want to create a directory folder with the same name, he said he is already, I see nothing in the media in content management
    Can you help me

    Mahsa21,
    We are glad that we were able to resolve the international calling plan issue for you.  If you need assistance,please  reach out to us.
    thanks,
    Tonya D.

  • Increasing photo quality in Web Photo Galleries

    I create Photo Galleries (Create->Photo Galleries) and FTP them to an ISP for family to view. However the quality of the photos is low(ish). I have tried every Type and Style I can find in Elements. How do I increase the size (and therefore quality) of the photos in Photo Galleries to (say)100K per photo. If this isn't possible, what are the alternatives? Thanks!

    Robin,
    There are different layouts of galleries (PSE5), which display images of
    different pixel dimensions and file size.
    For instance, in my case, the first gallery when choosing a template,
    "Standard (Small Thumbnails): A paginated grid of small thumbnails on the
    left and a preview image on the right" displays images in the 60 - 70 KB
    range, at a size of 480x320 px. Another gallery, "Slideshow: Slideshow-only
    gallery that scales to fit the browser window" uses larger images, 636x424
    px at right around 100 KB.
    The quality of these two image sizes is probably similar, the file size
    difference is due to variation of the pixel dimensions.
    When using the second gallery above, or another one that uses the large file
    size, you can actually go in and exchange the relatively low quality images
    with a set of the same images that you would have manually sized and saved
    at a better quality. I just ran a test and substituted the 100 KB images
    with a set of 180 - 200 KB pictures at 800x533 px. They have to have the
    exact same file names as the original set. They are located in:
    C: ...\Untitled_Gallery\resources\media\08slideshow\large
    This sounds like a tedious procedure, but if you have edited a set of
    images, you can run the gallery creation with that set and turn around and
    replace the files.
    Juergen

Maybe you are looking for

  • Iprint error on iPad! Please help!

    Iprint won't print from safari on iPad. When I open a PDF & select 'open in hp iprint' it opens the iprint app but does not show me the PDF. I can open it through iBooks but then I don't have many print options. Please help!

  • There is no possibility for multiple selection in the new Pages?

    It used to be a great way: mark different lines by pressing the command-key and change something for all the highlighted lines. Is this really no longer possible in the new Pages? Ifeel like in the 90's...

  • Transfering Settings with Migration Assistant

    Can anyone tell me what "settings" are transferred when using migration assistant to set up a MacBook Pro (by either migrating from another MacBook Pro or from a time machine backup)? It always asks if you want to transfer 1) applications, 2) documen

  • Is It Possible to use Call Function in update task in perform on commit

    Hi Friends, I have to send an email once the commit work is done. so i am writing code like this, Perform send_email on commit. form send_email. call function 'SO_NEW_DOCUMENT_SEND_API1' in update task endform. endform. .... ( Some other code) commit

  • Delivery Note to Subcontract creation error "Essential transfer parameters

    Hi I am facing issue in return delivey Delivery Note to Subcontract creation error "Essential transfer parameters are missing in record:000001". Could you please let me know the casue of this error and where exactly i can see error. Regards vikcy