Basic photo gallery

hmmm... i am having a silly problem trying to create a basic
photo gallery using actionscript only. everything is working quite
fine, except the part when i am trying to use the movie clips as
buttons to load their respective images in the empty movie clip.
whatever movie i click will load the last image in the array, which
is perfectly logical since i am telling it to load the image in the
last position in the array because it's associated with the
variable in the for conditional. the issue is that i'm not being
able to figure out a solution to this problem.
any help is greatly appreciated.
p.s: if anyone knows of a good xml-driven photo gallery
tutorial, please let me know. thanks.

thanks again for the help!

Similar Messages

  • Duplicate files appearing in Windows Photo Gallery under Vista Home Basic.

    I am suffering a bout of duplications in my Windows Photo Gallery under Vista. I am getting duplicates, triplicates and quadruple versions of the original file.
    Despite turning off all Autoplay media types to 'No Action', I get random duplicates when I try to enter update pictures from camera or memory chip through a USB port. There is no 'Enter Updates Only' option, and Microsoft says that this is unnecessary as
    duplication is prevented. The duplicates however appear with 'copy' in the file name after the image numbering system. My preference is to view the memory contents via 'Computer' - select and open the port, and view, then copy and paste into Photo
    Gallery.  Photo Gallery kicks in to view the chip correctly, but often/always (?) promptly uploads uncommanded. It did not used to do this, only in the last year or two.
    What do I do, it is driving me crazy ?  

    Hi,
    As I know, for Duplicate issue, it might be caused by a corrupted database, please try to rebuild it as a test.
    Close Windows Photo Gallery
    First show hidden files.Navigate to C:\Users\Usename\AppData\Local\Microsoft\Windows Live Photo GalleryRename “Pictures.pd” to “Pictures.pd.old” (without quotes) and reopen Windows Photo Gallery.
    Yolanda Zhu
    TechNet Community Support

  • How do I do a very basic CSS customization on the standard Photo Gallery Module lightbox?

    Hi,
    All I want to do is make the text description that appears when you click on a picture within the standard photo gallery a different colour.
    If I view source on a gallery page I see the CSS file used is Catalyststyles/lightbox.
    Any help would be appreciated.

    Thanks Liam,
    I found that I can target that Caption in my style sheet by adding a the style:
    #imageData #caption
    my new style here

  • Photo Gallery thumbnails in business catalyst render in different sizes in different browsers

    Photo Gallery thumbnails in business catalyst render in different sizes in safari and chrome but are fine in firefox. What is the issue with Safari? I have tried the different algorithm options such as fill_proportional etc and firefox is the only browser that displays correctly. I thought safari was the most standards compatible browser - what's the problem here?

    Hi,
    If you have seperate XML file but with the same basic structure then you can change the XML a Spry dataset refers to and regenerate the spry region without reloading the full page.
    So on my photo gallery page I can change the album the photos are shown from via the seturl sprydata function as below.  dsPhotos being my Spry dataset that points to the relevant XML dataset with my image references and captions etc.  My XML is actually dynamically generated from Picasa RSS feeds (and RSS feeds are XML) but the principle will be the same with your static XML.
    First I add an event listener for when someone clicks on an album (the li tag within my div with the id "albums" holds a photo and title for each album.)
    function Albums()
    var myalbums = Spry.$$("#albums li", "TabbedPanels1")
    var rows = dsAlbums.getData();
    var setListener = function( element, value )
      Spry.Utils.addEventListener( element, "click", function(){ showAlbum( value ); },false );
    for( var i = 0, length = myalbums.length; i < length; i++ )
      setListener( myalbums[i], i );
    Then this is the code which changes the photo album to be shown. (when the user clicks the relevant album)
    function showAlbum(i)
    pauseShow();
    pImage = 'No';
    var rows = dsAlbums.getData();
    var albumid = rows[i]["albumid"];
    var url = "xml/PicasaAphotoFeed.asp?albumid=" + albumid;
    dsPhotos.setURL(url);
    dsPhotos.loadData();
    var rowcount = dsAlbums.getRowCount() - 1;
    var nextalbum;
    var navnext;
    var n;
    The page is here www.thehmc.co.uk/photo5.html is you want to see it in context.
    In your case showAlbum would switch between Frank.xml or Wolfie.xml depending on how you decide to name your xml datasets.
    Regards
    Phil

  • Need help embedding photo gallery swf into main swf...

    So I am attempting to create a website in flash and have the
    main swf created for that. However, I've also created a photo
    gallery in a separate swf which I want to embed into one of the
    scenes in the main swf. I tried importing directly to stage, but
    quickly realized that the timeline from the photo swf would not get
    carried over. Basically, I know that it has to be accomplished
    using AS, but don't know what that script would be. Any help would
    be appreciated!

    OK, well, that wasn't really a tutorial as much as it was
    just a huge section of code I couldn't make sense of. Anyways,
    instead of loading the gallery externally now I decided to just
    make it in the actual main swf. So, basically, in the section of
    the main swf reserved for the gallery I created an empty movie
    clip, went inside the clip, created layers for script, thumbs and
    photos. The photos themselves were in a movieclip of their own.
    Each photo has a small fade in accomplished by staggering the
    keyframes for each photo with a stop(); action on the last frame of
    each photo where it comes to full opacity. The thumbnails are back
    in the main movieclip where each button has code telling it to go
    to the beginning of each photos transition and play. It is supposed
    to play until it hits that stop action, but it won't play at all.
    Suggestions?

  • Photo Gallery Help

    I'm kinda in a hurry to get this site up and running and i need to cut a few corners. Does anyone no where i can get a template for a photo gallery. My site is a Dreamweaver site, but if had to use a flash image gallery that wouldn't be a problem. I basically wanna plug my words and captions in and be done with it. Any help? I still want it to look nice though.

    jQuery, Lightbox, Ajax, Flash
    http://www.1stwebdesigner.com/resources/57-free-image-gallery-slideshow-and-lightbox-solut ions/
    Photo Gallery Creation Software
    http://www.JAlbum.net
    If you want fast (5 minutes), buy Image Gallery Magic
    http://www.projectseven.com/products/galleries/hgmagic/features.htm
    http://www.projectseven.com/products/galleries/hgmagic/index.htm
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • Photo Gallery - CS4 - Book?

    I'm looking for an ActionScript 3 book that also includes a
    sample or
    tutorial on how to build a dynamic (xml) photo gallery. I've
    built
    simple xml galleries but the problem I'm having being able to
    page left
    or right when there are too many tumbnails to fit in the
    given space.
    http://slideshowpro.net/ is the
    sort of gallery I need.

    I don't know of a book or tutorial, but you could probably
    find a tutorial online via Google.
    The basic approach would be to have a movieclip that contains
    the thumbnails and change its x value to shift things as a group.
    You could use an actionscript tween for the movement to get a
    similar effect as the site you pointed to.

  • 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 ==--

  • Photo Gallery Slideshow

    I’m currently looking into updating our company
    website. It was originally built in FrontPage and is just a basic
    frames site.
    The guy who built it used a function in FrontPage called
    Photo Gallery and used the slideshow option to create the following
    images on the page:
    http://www.bluchip.gg/bc403.htm
    I would like to do a similar thing in Dreamweaver but I'm
    going to need it to be really really easy so the other guy can do
    it.
    The FrontPage Photo Gallery was very simple in that all you
    had to do was add the images you wanted and it would resize them
    all to your spec and then create the slideshow.
    Is there anything in Dreamweaver (CS3) that does the same or
    maybe an add-on?
    Any help would be gratefully received.

    > Is there anything in Dreamweaver (CS3) that does the
    same
    Not really. Do you have Fireworks as well?
    > or maybe an add-on?
    I have used the ImageGalleryMagic extension from PVII - it's
    mighty
    simple....
    http://www.projectseven.com/
    A word of advice. Avoid frames at all costs.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Syztemlord" <[email protected]> wrote in
    message
    news:fpc500$hn0$[email protected]..
    > I?m currently looking into updating our company website.
    It was
    > originally
    > built in FrontPage and is just a basic frames site.
    >
    > The guy who built it used a function in FrontPage called
    Photo Gallery and
    > used the slideshow option to create the following images
    on the page:
    >
    http://www.bluchip.gg/bc403.htm
    >
    > I would like to do a similar thing in Dreamweaver but
    I'm going to need it
    > to
    > be really really easy so the other guy can do it.
    >
    > The FrontPage Photo Gallery was very simple in that all
    you had to do was
    > add
    > the images you wanted and it would resize them all to
    your spec and then
    > create
    > the slideshow.
    >
    > Is there anything in Dreamweaver (CS3) that does the
    same or maybe an
    > add-on?
    >
    > Any help would be gratefully received.
    >
    >

  • 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.

  • NEWBIE: Flash photo gallery! Images are pixelated:(

    Greetings everyone. I created a Flash photo gallery using
    gifs. While most of the images are acceptable visually, a bunch of
    them are quite pixelated.
    I read online that I am supposed to use vector graphics
    whenever possible, but not all images where created as vector
    graphics.
    I have a few questions:
    If I create the image in illustrator, what format should I
    save it as to be used in a Flash gallery? If I create the image in
    Photoshop what format should I save it as?
    Lastly, is it true that Flash will load vector graphics
    quicker than gifs?
    Any info would be appreciated! Oh yeah, my site is
    inthemixgraphics.com

    if you create an illustrator file, actually drawing with the
    tools rather than just importing a bitmap and exporting it again,
    it will indeed give you a vector file you can work with. you can
    even export it as images that are readable by flash-- however,
    you'll get the best looking stuff if the vector is basically
    rewritten in flash. Import a (dot)eps file into flash, and break it
    apart. Look at how the objects maintain their shape.
    Now publish the thing and look at the bandwidth viewer. Is
    the filesize much smaller than if you imported the .jpg? It should
    be, but at least there is a way to check it.
    I get the most pixalation from images when I'm forced to
    scale .png's down by less than a perfect %. Its weird.
    If you're loading externally, I'm not entirely sure the
    correct process to bring an optimized vector in, as my thoughts are
    that it would be the actual size of the .eps image (or .swf if you
    can export to that) itself.
    --I hope this makes some sort of sense, and if it doesn't
    you'll have to forgive me.
    HmcH.

  • Photo Gallery with captions?

    Hey folks
    I've added the new version of the dynamic photo gallery to my
    site. It works great! But, I'd like to be able to have a caption
    under each photo.. can anyone help?
    I made a div under it, added a style, it displays just fine
    and in the right place, I just can't get it to read the captions
    from the XML file.
    The HTML is basically just
    <div>{name}</div>
    And then my XML looks like this..
    <photos id = "images">
    <photo
    path = "1.jpg"
    width = "400"
    height = "320"
    thumbpath = "1-t.jpg"
    thumbwidth = "100"
    thumbheight = "80"
    name = "pic1">
    </photo>
    <name>Pic1</name>
    <photo
    path = "2.jpg"
    width = "343"
    height = "400"
    thumbpath = "2-t.jpg"
    thumbwidth = "86"
    thumbheight = "100">
    </photo>
    <name>Pic2</name>
    </photos>
    But it's not showing the text inside the <name> tag..
    can anyone help me get this working? I'm really stuck
    :(

    the SEARCH option does miracles
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=602&threadid =1298486&highlight_key=y&keyword1=caption

  • Photo gallery able to reorganise into subcategories + adding new images via in-browser editing

    Hi,
    I'm looking for a photo gallery which has the ability to reorganise the images displayed based on subcategories or tags. For example I want to add a gallery which contains photos of a clients projects. The client wants site visitors to be able to shuffle the gallery to view only for example "stone walls" or "timber decking". A tagging system would be handy rather than having to load the photos into each subcategory.
    The other consideration is that my client needs to be able to add new images with tags using the in-browser via Business Catalyst. So far I have only succeeded in replacing existing images rather than adding new images.
    Is there such a widget for Muse or are there anyother widgets for wordp-ress or other which could be embedded to tdo the job.
    Thanks in advance,
    Jimmy

    Hi Jimmy
    If I am not wrong, basically you want to provide users an option to select category of images which they want to show up on page.
    From Muse we cannot tag or categorize them , also photogallery module in BC does not provides this option, but there is a workaround with web apps.
    You can create a web app and then web app items as images and then categorize them. On page insert the web app with categories drop down, so when users will select the category those web app items would be displayed on page. Additionally you can add custom fields in web app to search using keyword.
    With editing , clients can login to BC admin and then using photogallery module or web app module ( if used ) to edit the images, add new ones. IBE cannot be used to add new ones but to replace existing ones.
    Helpful Links :
    http://helpx.adobe.com/business-catalyst/partner/web-apps.html
    http://helpx.adobe.com/business-catalyst/partner/building-web-apps-part-1.html
    Thanks,
    Sanjit

  • Creating a photo gallery like the China Gallery in Adobe Labs. How?

    I have photos in several categories (I'll use 2, "frank" and "wolfie" as examples here). What I'd like to do is build a photo gallery like the China Photo Gallery shown in the Adobe Labs site, where the user can switch between categories without going to a different page. Here's what I've done so far and how I'm stuck:
    I created a photo gallery with the instructions in the tutorial "Building a photo album with the Spry Framwork". I then inserted a Tabbed Panels widget for navigating between the categories.
    I set up an XML file as follows:
    /* frank category */
    <photo
    path = "001p.png"
    width = "467"
    height = "467"
    thumbpath = "001p.png"
    thumbwidth = "85"
    thumbheight = "85">
    </photo>
    /* wolfie category */
    <photo
    path = "001f.png"
    width = "467"
    height = "467"
    thumbpath = "001f.png"
    thumbwidth = "85"
    thumbheight = "85">
    </photo>
    To create the div holding the thumbnails for the "frank" category, I entered the following:
    <div class="thumbdiv" spry:region="dsGallery"><img src="thumbnails/frank/{@thumbpath}" spry:repeat="dsGallery" spry:setrow="dsGallery" class="thumbs" /></div>
    To create the div where the full size images will be displayed, I entered the following:
    <div class="mainpic" spry:detailregion="dsGallery"><img src="images/frank/{@path}" onload="MM_effectAppearFade(this, 1500, 0, 100, false)" /></div>
    Then, in the tabbed panel set for the "wolfie" category, I did the same thing, substituting "wolfie" for "frank". However, since there is only one xml file, spaceholders for all of the thumbnails appear in the thumbnail div for the frank category. I realize that I'll probably need to create a separate xml file for each category, but how do I set it up so the correct xml file is accessed when the link in the tab is clicked? Or am I approaching this all wrong?
    From reviewing the source for the China gallery, it appears that they set up links to different xml files instead of Tabbed Panels. How does that work? There are also some javascript files I can't find anywhere on Adobe's site.
    Thanks

    Hi,
    If you have seperate XML file but with the same basic structure then you can change the XML a Spry dataset refers to and regenerate the spry region without reloading the full page.
    So on my photo gallery page I can change the album the photos are shown from via the seturl sprydata function as below.  dsPhotos being my Spry dataset that points to the relevant XML dataset with my image references and captions etc.  My XML is actually dynamically generated from Picasa RSS feeds (and RSS feeds are XML) but the principle will be the same with your static XML.
    First I add an event listener for when someone clicks on an album (the li tag within my div with the id "albums" holds a photo and title for each album.)
    function Albums()
    var myalbums = Spry.$$("#albums li", "TabbedPanels1")
    var rows = dsAlbums.getData();
    var setListener = function( element, value )
      Spry.Utils.addEventListener( element, "click", function(){ showAlbum( value ); },false );
    for( var i = 0, length = myalbums.length; i < length; i++ )
      setListener( myalbums[i], i );
    Then this is the code which changes the photo album to be shown. (when the user clicks the relevant album)
    function showAlbum(i)
    pauseShow();
    pImage = 'No';
    var rows = dsAlbums.getData();
    var albumid = rows[i]["albumid"];
    var url = "xml/PicasaAphotoFeed.asp?albumid=" + albumid;
    dsPhotos.setURL(url);
    dsPhotos.loadData();
    var rowcount = dsAlbums.getRowCount() - 1;
    var nextalbum;
    var navnext;
    var n;
    The page is here www.thehmc.co.uk/photo5.html is you want to see it in context.
    In your case showAlbum would switch between Frank.xml or Wolfie.xml depending on how you decide to name your xml datasets.
    Regards
    Phil

  • Photo Gallery Porgram

    Hi everyone, hope you are all well.
    I am hoping someone here will be able to help me with a
    problem I am having with a photo gallery program I am trying to
    create.
    I am using Macromedia Director MX 2004.
    So basically what I am trying to create is a photo gallery
    where the user can upload pictures and photographs from their
    computer/laptop/USB stick/CD/DVD etc into the program.
    So when the user views the album the first picture will
    appear as a large photo with a text box beside it containing a
    discription. Underneath this is thumbnails of the rest of the
    photos in the album and the user can scroll back and forwards and
    select a thumbnail to be displayed as the large photo on the
    screen.
    My problem is I haven't been able to find anywhere a
    behaviour, piece of lingo or anything that will allow pictures to
    be scrolled.
    I already know how to use the custom scrollbar within
    director but this has only worked with text and scrolling up and
    down, not left and right.
    I have thought of putting the photos into some sort of
    textbox or something and getting it to move left and right but the
    problem is I wont know how many photos the user will upload into
    the album.
    Can anyone help me and/or point me in the direction of a
    director example so I can see how it works and the lingo behind it?
    Many thanks

    cast member name : script filmStrip manager
    global gFilmStripMgr
    property pFilmStrip
    property pIconImg
    on new me
    me.initData()
    return me
    end
    on initData me
    baRegister("sharp",2294439)
    pIconImg = [:]
    pIconImg[#orderList] = []
    pIconImg[#maxSpeed] = 15
    pIconImg[#leftLimit] = -300 --
    왼쪽으로 이 값에
    도달하면 재 배열을
    한다...
    pIconImg[#rightLimit] = 100 --
    오른쪽으로 이 값에
    도달하면 재 배열을
    한다...
    pIconImg[#curPos] = -100 -- 이
    값에서 시작을
    한다...
    pIconImg[#distance] = 200 -- 각
    아이콘 사이의
    거리...
    pFilmStrip = [:]
    pFilmStrip[#folderList] = baFolderList( _movie.path )
    pFilmStrip[#curFolderNum] = 1
    pFilmStrip[#fileList] = []
    pFilmStrip[#startNum] = 1 -- 플름
    스트립의 왼쪽
    첫번째 리스트
    번호...
    pFilmStrip[#fileNum] = 1 -- 현재
    보여주는 파일의
    이름...
    me.resetFileList()
    pFilmStrip[#folderText] = member("text folderName")
    end
    on resetFileList me
    -- 현재 지정한
    폴더의 파일
    리스트를
    갱신해준다.
    curFolderName =
    pFilmStrip.folderList[pFilmStrip.curFolderNum]
    pFilmStrip.fileList = baFileList( _movie.path &
    curFolderName, "*.*" )
    -- 필요 없는
    종류는 걸러준다...
    repeat with i = pFilmStrip.fileList.count down to 1
    file_Name = pFilmStrip.fileList
    file_extension = file_Name.char[file_Name.length -
    2..file_Name.length]
    case file_extension of
    "jpg", "avi" :
    -- 이 두가지
    파일만 허용한다...
    otherwise :
    pFilmStrip.fileList.deleteAt(i)
    end case
    end repeat
    pFilmStrip.fileNum = pFilmStrip.fileList.count --
    이래야지
    화면에서는
    처음것부터
    보이겠지...
    pIconImg.curPos = -100
    end
    on viewFolderName me
    -- 현재 폴더 이름
    보여주고...
    pFilmStrip.folderText.text = me.getCurFolderPath()
    end
    on getCurFolderPath me
    -- 현재 폴더의
    경로를 반환한다.
    curFolderName =
    pFilmStrip.folderList[pFilmStrip.curFolderNum]
    return _movie.path & curFolderName
    end
    on getImgPath me, orderNum
    -- 현재 폴더의 큰
    그림 이미지를
    반환...
    curFolderPath = me.getCurFolderPath()
    curFileName = me.getFileName(orderNum)
    imgFilePath = curFolderPath & "\" & curFileName
    return imgFilePath
    end
    on getFileName me, orderNum
    -- 파일 이름을
    반환한다...
    -- 왼쪽부터 지정한
    번호번째의
    이미지를
    돌려준다...
    listNum = pIconImg.orderList.getOne(orderNum)
    if listNum = 0 then listNum = 2
    curListNum = listNum + pFilmStrip.fileNum - 1
    if curListNum > pFilmStrip.fileList.count then
    -- 끝번보다 크면
    1번으로...
    curListNum = curListNum mod pFilmStrip.fileList.count
    if curListNum = 0 then curListNum =
    pFilmStrip.fileList.count
    end if
    if pFilmStrip.fileList = [] then exit
    curFileName = pFilmStrip.fileList[curListNum]
    return curFileName
    end
    -- ********************** public **************************--
    on register me
    if voidP(gFilmStripMgr) then
    gFilmStripMgr = me.new()
    else
    gFilmStripMgr.initData()
    end if
    end
    on destory me
    (the actorList).deleteOne(gFilmStripMgr)
    gFilmStripMgr = void
    end
    on registSpriteOrder me, orderNum
    -- 각 필름 스트립
    스프라이트의 순번
    리스트를
    저장한다...
    pIconImg.orderList.add(orderNum)
    end
    on moveFolder me, moveDirection
    case moveDirection of
    #prev : -- 이전폴더...
    그런데 처음
    폴더까지 가면 다시
    마지막으로...
    pFilmStrip.curFolderNum = pFilmStrip.curFolderNum - 1
    if pFilmStrip.curFolderNum < 1 then
    pFilmStrip.curFolderNum = pFilmStrip.folderList.count
    end if
    #next :
    -- 다음폴더...
    그런데 마지막
    폴더까지 가면 다시
    첨으로...
    pFilmStrip.curFolderNum = pFilmStrip.curFolderNum + 1
    if pFilmStrip.curFolderNum > pFilmStrip.folderList.count
    then
    pFilmStrip.curFolderNum = 1
    end if
    end case
    -- pIconImg = [:]
    pIconImg.orderList.sort()
    -- pIconImg[#maxSpeed] = 15
    -- pIconImg[#leftLimit] = -300 --
    왼쪽으로 이 값에
    도달하면 재 배열을
    한다...
    -- pIconImg[#rightLimit] = 100 --
    오른쪽으로 이 값에
    도달하면 재 배열을
    한다...
    -- pIconImg[#curPos] = -100 -- 이
    값에서 시작을
    한다...
    -- pIconImg[#distance] = 200 -- 각
    아이콘 사이의
    거리...
    -- pFilmStrip = [:]
    -- pFilmStrip[#folderList] = baFolderList( _movie.path )
    -- pFilmStrip[#curFolderNum] = 1
    -- pFilmStrip[#fileList] = []
    pFilmStrip.startNum = 1 -- 플름
    스트립의 왼쪽
    첫번째 리스트
    번호...
    pFilmStrip.fileNum = 1 -- 현재
    보여주는 파일의
    이름...
    -- me.resetFileList()
    me.resetFileList()
    me.viewFolderName()
    end
    on getIconImgPath me, orderNum
    -- 현재 폴더의
    아이콘 이미지를
    반환...
    curFolderPath = me.getCurFolderPath()
    iconFolderPath = curFolderPath & "\icon\"
    curFileName = me.getFileName(orderNum)
    iconFilePath = iconFolderPath & curFileName
    return iconFilePath
    end
    on getIconPos me, orderNum
    -- 각 아이콘의
    해당 좌표를 찾아서
    반환한다...
    listNum = pIconImg.orderList.getOne(orderNum)
    newLocH = pIconImg.curPos + (listNum - 1) *
    pIconImg.distance
    return newLocH
    end
    on setMove me, speed
    -- 이것은 지정한
    스피드의 속도로
    기준이 되는 좌표를
    이동하는 것이다...
    -- 그런데 전체
    갯수가 1개밖에
    안되면 어쩌누...
    멈춰야겠지...
    if pFilmStrip.fileList.count <= 4 then exit --
    화면에 보여주는게
    4개니까...
    pIconImg.curPos = pIconImg.curPos +
    integer(pIconImg.maxSpeed * speed)
    if pIconImg.curPos < pIconImg.leftLimit then
    pIconImg.curPos = pIconImg.curPos + pIconImg.distance
    -- 첫번째 오더에
    있는 넘을 맨 뒤로
    보내준다...
    firstNum = pIconImg.orderList[1]
    pIconImg.orderList.deleteAt(1)
    pIconImg.orderList.add(firstNum)
    -- 왼쪽의 기준
    파일을 바꿔준다...
    pFilmStrip.fileNum = pFilmStrip.fileNum + 1
    if pFilmStrip.fileNum > pFilmStrip.fileList.count then
    -- 끝번보다 크면
    1번으로...
    pFilmStrip.fileNum = 1
    end if
    else if pIconImg.curPos > pIconImg.rightLimit then
    pIconImg.curPos = pIconImg.curPos - pIconImg.distance
    -- 마지막 오더에
    있는 넘을 맨
    처음으로
    보내준다...
    tempList = [pIconImg.orderList[pIconImg.orderList.count]]
    repeat with i = 1 to pIconImg.orderList.count - 1
    tempList.add(pIconImg.orderList)
    end repeat
    pIconImg.orderList = tempList
    -- 왼쪽의 기준
    파일을 바꿔준다...
    pFilmStrip.fileNum = pFilmStrip.fileNum - 1
    if pFilmStrip.fileNum < 1 then
    -- 1번보다 작으면
    끝번으로...
    pFilmStrip.fileNum = pFilmStrip.fileList.count
    end if
    end if
    end

Maybe you are looking for