Help with Portfolio Slideshow

I'm fairly new to ActionScript 3.0 so forgive me if this question is easy, but I'm having issues with my portfolio slideshow.
I have a few thumbnails and when you click on one the image slides in from the right. That part is fine. What I really want is for the user to click on a different random thumbnail and have the current image slide out as the new image slides in. My code so far:
arizona1_btn.addEventListener(MouseEvent.CLICK, arizona1Clicked)
function arizona1Clicked(event:MouseEvent) {
if(currentFrame == 45) {
gotoAndPlay(46);
if(currentFrame == 70) {
gotoAndPlay(71);
gotoAndPlay(5);
Basically, when arizona1_btn is clicked I want it to ultimately go to frame 5 where it'll play the image sliding in the from the right. The if(currentFrame) code is meant to tell it that if it's on one of the other two images, which stop at 45 & 70, then it should play the next frame with the images sliding out.
As of now, images they don't slide out, they just disappear as the next images rolls in. I know it has to do with my if(currentFrame) code, but I'm not sure how to fix it.
I know this is probably a quick fix, but I'm new and need help fast.
Thank You!
Message was edited by: Frederick Stahl

usually, to check the currentframe, you need to use a loop (like Event.ENTER_FRAME) to repeatedly check for the currentframe.

Similar Messages

  • Help with Dynamic Slideshow

    I am a Flash novice but I've been trying my hand at building
    a dynamic slideshow for a friend's portfolio site. You can preview
    the
    porfolio
    page here.
    The arrows (prev/next) advance the images pulling from a
    directory using actionscript. I have attached the actionscript. It
    works quite nicely, but my question relates to the small thumbnails
    along the right side of the page.
    My question:
    When a visitor clicks on one of the thumbnails, how do I get
    the thumbnails to load the corresponding image into the movie clip
    (or stage) on the left? Currently, all of the thumbnails are linked
    to the images using GET URL.
    I haven't loaded all of the thumbnails yet as I wanted to see
    if anyone had any ideas before I start building the rest of the
    page.
    Thanks!
    Jason

    not bad, but a couple of things. The use of the keyword
    'this' within your code could get you into a little trouble with
    scope. When used within a method it can apply to the Object on
    which the method has been called on, and not the main timeline
    scope, although it is still working for you here. Also it is being
    compounded by the fact that you have constructed your methods using
    prototyping, which further defines the scope of 'this' to the
    Object that the method is being applied to, again, still working
    for you here. Usually we would define 'named functions' (methods)
    to handle these oprations rather than using prototyping, since
    prototyping constructs a 'universal' method that comes part of the
    parent class that the prototype it is called on. With prototypes
    you can call a method on any instance at any given time from
    anywhere within the scope of your document, yet again, still
    working for you here ...
    I would remove all references of 'this' and construct these
    as named methods, rather than prototypes, and maybe save some
    problems down the road.
    But to the question:
    From within the thumbnail's on handler (which you must be
    setting up manually) you need to assign the pIndex to the value
    corrsponding to the thumb, and then call the 'changePhoto' method,
    and pass 0 for d.
    But because you have these built as prototypes you'll need ot
    be careful how you call the method, and assign the var value, I
    think:
    _level0.pIndex = #; //thumb index number
    _level0.changePhoto(0);
    just to make sure it's not being applied to the thumb's
    scope. Hope 'this' helps LOL!! :)

  • Basic help with photo slideshow?

    Hi
    I am new to adobe after effects and I have recently purchased a file from videohive (http://videohive.net/item/photo-album-v2/44575) which is great.  I am trying to tweak it a little and as I am new to after effects, I would love to ask anyone for some basic help?  I will be leaving the country in 2 weeks to get married and my UK wedding reception will be a week after I return so I am in pretty much a hurry to get a slideshow rendered and put onto dvd to play in the reception.  I have mastered how to render in PAL format and get onto DVD but I am having a little trouble with basic elements such as adding keyframes.
    The file has 13 placeholders which I have replaced with my own photos. Two of which are replaced with avi videos instead of jpg. This works fine but I would like to stop the camera movement on say photo 7 and zoom in a little on the video, play the video (approx 40 seconds) then return the photo back in place and resume your camera movement.  This will be repeated for one other photo (photo 9) where the video is approx 60 seconds.  Could you possibly help me how I can do this?  I am also adding music to play throughout from start to finish and I would also like to pause (or fade volume) whilst the avi video placeholder is playing, then resume after playback.  I know this may sound a lot to ask but I know that with the knowledge - it will only take me about 30 mins work once I know what to do.  Any help you can offer will be fantastic. I am proficient with Adobe Flash so I understand the jargon of timelines etc.
    Thank you for any help anyone could provide in my panic to get complete.
    Best regards
    Sean.

    *woohoo* Here's to the ones daring marriage... For your  problems there is a number of ways to tackle them, but the specific solution may depend on how the template works. As David already said, for audio you'd be better off using Premiere, but assuming you have just a single track that realyl only requires fades, AE should serve your needs. You can reveal the audio volume by tapping the L key when the respective layer in your composition is selected, then enable the stopwatch icon to add keyframes. Layers can be trimmed by simply dragging their ends, duplicated with Ctrl+D and split by using Ctrl+Shift+D, so it should be perfectly possible to extend your audio as needed, assuming you increase the comp duration first via the composition options. For the images to come into view, you could simply scale them up. Of course the project is based on 3D layers, so it would look a lot better if you animated the camera to dolly in, but if you have no experience in AE, that may make more of a mess than it's worth. Therefore I simply recommend you create a photo flash/ film burn transition - add a  white solid with a slight color tint, set it's blending mode to add, animate it's opacity and while it's fading out, fade in your full screen video. If done in 32bpc, this can look quite real and since it's a separate effect, it won't interfere with the rest of the animation.
    Mylenium

  • Help with photo slideshow feature

    Hi there
    I'm currently going through a redesign of my site from the antique-word to th enew iweb version. I'm still on a free server so when any page loads up, an advert will load up at the top of each page. Not a problem on the homepage, but its has a consequence on the slideshow feature when opening up an enlarged image. Take a look at my site:
    http://www.turboboost.netfirms.com/mac/index2.html
    .....going to the silverstone page and click on any of the images. You'll notice that the enlarge image loads up, but I can't scroll down to get to the buttons at the bottom.
    Any help, thanks
    Sarfraz

    Did exactly what you said. Opened up a new script
    editor, pasted the line in. Pressed the run button it
    came back saying this:
    File path:to:non Mac SS Enhancement.app: wasn't
    found.
    That because you didn't replace path:to the actual path of non Mac SS Enhancement.app (where you put it)
    It was in my previous post.
    Thought that was odd, so I renamed the app file, and
    did the same with your script and still did the same
    thing. Shoulr it matter where the app file is located
    on my drive.
    The original script stops at the the third line
    down:
    if (bkgnd_style as string) contains "on run" then
    You lost me here, how did you get to there?
    --> if (bkgnd_style as string) contains "on run" then
    did you run non Mac SS Enhancement.app from Script Editor?
    that won't work, the app has to be launched by itself or from another script, and not from Script Editor.

  • Help with Photo Slideshow

    I would like to create a photoslide show with Premiere Elements 4. I did once in the original version many years ago, but I am having trouble find the best way to create. Does anyone know a good tutorial on how to do this. I know how to import the media, but had trouble creating transitions for the photos without having to create one between each photo. I also want to import music. Rather than set the time of the show, I would like Premiere to choose the photo length based on the time of the music in the show.
    Any assistance, or if someone could point me in the right direction, would be great.
    Thanks for your assistance.

    I have an article on creating slideshows using both Premiere Elements and Photoshop Elements, MD. It's available in the members are at Muvipix.com.
    The basics are that you (a) want to make sure your photos are no larger than 1000x750 pixels. This gives you best performance with highest photo quality. And (b) you import the photos into either program and either simply assemble the stills on your timeline or use the automatic Slideshow Creator. To use Create Slideshow in Premiere Elements, gather all the photos in the project media panel, right-click and select Create Slideshow.
    My article discusses in greater detail all of the options and which might be the best methods and techniques.
    http://www.muvipix.com, a site set up by a number of experienced Premeiere Elements users with some support from Adobe, offers one of the most friendly, helpful forums on the web and includes a large number of complimentary products including tutorials, tips, DVD templates, stock footage, motion backgrounds and sound effects. And, for a small annual fee which we use to keep the site up and running, you can have unlimited downloads from our ever-growing library of high-end tutorials, tips and products.

  • Help with js slideshow

    Hey guys,
    Im putting in a slideshow to my site. Its js, nothing fancy. The code is be posted below. Im working on a pretty big site for my employer so before adding it to that one, i tried it on another older site and everything worked great. Then I added it to the new one, which is built with asp.net, and nothing appears. if i take away the js and css files for the slideshow, a border will appear around where the slideshow should be. The links associated with the images work as well, but when I add the two files back, nothing agian. the image folder i believe is where it should so  this isnt really make sense unless i missed something. I would post the link to the site but it isnt live yet. Any suggestions would be excellent. Thank you
    <link rel="StyleSheet" href="mBanner.css" type="text/css" />
    <script type="text/javascript" src="mBanner.js"></script>
    <script language="javascript">
                            banner1 = new Banner('banner1');
                            banner1.add("IMAGE", "banners/1.jpg", 9, 178, 555,"manish.htm");
                            banner1.add("IMAGE", "banners/2.jpg", 9, 178, 555,"manish.htm");
                            banner1.add("IMAGE", "banners/3.jpg", 9, 178, 555,"manish.htm");
                            banner1.add("IMAGE", "banners/4.jpg", 9, 178, 555,"manish.htm");
                            banner1.add("IMAGE", "banners/5.jpg", 9, 178, 555,"manish.htm");
                            banner1.add("IMAGE", "banners/6.jpg", 9, 178, 555,"manish.htm");
                            banner1.add("IMAGE", "banners/7.jpg", 9, 178, 555,"manish.htm");
                            banner1.add("IMAGE", "banners/8.jpg", 9, 178, 555,"manish.htm");
                            document.write(banner1);
                            banner1.start();
                    </script>

    problelm solved! I had the files/fodler in a sub folder. A little confusing to why it wouldnt work being the page was in a sub folder but anyways
    Thanks

  • Need help with Photo Slideshow Tips for FCPx

    How do i create a background/generator/effect similar to this for my still images for my photo slideshow presentation? Im just using ken burns effect for now and I cannot find a plug-in that would give this background effect for my photos. help please!

    you're in the fcp studio forum not fcpX.   This is where you want to be
    https://discussions.apple.com/community/professional_applications/final_cut_pro_ x

  • Need help with automatic slideshow

    I made an automatic slideshow that switches frames at a set
    interval but now i want to load each frame from an extrenal swf and
    add a preloader for each frame, how do i tell the slideshow to wait
    until the frame is loaded before it proceeds to the next frame, but
    still have the movieclip be automatic. Also the slideshow can be
    controlled mannually so i also want to know how to disable the
    manual control till each frame is loaded.

    Here is some of the action script for the slideshow.
    This first bit sets up the automatic interval transitions in
    the main movie timeline
    function nextImage()
    mc_slide.mc_transition.play();
    } // End of the function
    function waitImage()
    clearInterval(slideTimer);
    var slideTimer = setInterval(nextImage, timer * 1000);
    nextImage();
    } // End of the function
    function pauseSlide()
    mc_slide.mc_quicktransition.gotoAndPlay(2);
    } // End of the function
    var timer = 8;
    var pauseTime = 20;
    var slideTimer = setInterval(nextImage, timer * 2000);
    stop ();
    the movieclip loaders that load each movie clip are embedded
    with the transition animation.
    this is the code in the embedded mc-it loads the 1st movie
    clip and allows the user to manually jump to any of the other movie
    clips.
    emptyMC.loadMovie("frame1.swf");
    var pageAddress = "about:blank";
    btn1.onRelease = function ()
    _parent.pauseSlide();
    gotoAndStop(1);
    btn2.onRelease = function ()
    _parent.pauseSlide();
    gotoAndStop(2);
    btn3.onRelease = function ()
    _parent.pauseSlide();
    gotoAndStop(3);
    btn4.onRelease = function ()
    _parent.pauseSlide();
    gotoAndStop(4);
    stop();
    I need to know how to put the code for the automation of the
    slideshow pause until each movieclip has finished loading and also
    at the same time disable the manual control of the movie clips
    before they are fully loaded.

  • Anyone out there who might help with iPhoto/ slideshow/ music to youtube?

    i'm basically a techno-moron but i've been able to figure out how to make a slideshow, add music, save it and upload to youtube. except that once it's on youtube, the music's no longer there. help?

    Welcome to the Apple Discussions.
    Was the music purchased from the iTunes sStore?
    Regards
    TD

  • I need help with iPhoto slideshow.  I can't "save" changes. Particularly the rotate feature.  I rotate a photo 90 degrees... and the next time I play it...it's back to original.  Sideways!  Very frustrating.

    How do I save changes on iPhoto slideshow.  I rotate a photo... then it reverts back to original (sideways) next time it plays.

    With the amount of information you've provided it's impossible to offer a solution.  We can't see your computer so we need to know the details of your problem and setup, i.e.:
    what version of iPhoto are you using?
    what system version are you running?
    is your slideshow from an album or from the slideshow mode?
    what theme are you using?
    what fixes have you tried?
    where is your library located?
    did you apply any updates or upgrades just prior to the problem occurring?
    are you running a "managed" or "referenced" library?
    what type of Mac?
    how much free space on your boot drive?

  • Need some help with a slideshow (?)

    Im doing a flash video and want to do a neat slideshow that is automatic and kind of highlights each item that is shown.
    Let me explain a little further and maybe some of you understand what i am talking about.
    Imagine there is a circle with 10 items on. Lets say 10 different nikon cameras. Now i want to rotate these 10 cameras so that one is shown at a time for like 5 seconds then rotate to the next camera like a circle.(i only want 1 camera showing at a time as i said). I have seen some flash ads with this effect and i am very curious to learn how to do this but i dont really know what kind of tutorial i need to read/watch in order to make this slideshow. Hoepfully someone out there understands what im talking about.

    http://blog.theflashblog.com/?p=188

  • Need help with simple slideshow

    Hi everyone,
    I'm a complete newbie at Flash and trying to build my first
    movie, just a basic slideshow. I have about a dozen jpegs all same
    size, and I just want a basic fade out and fade in the next one, no
    user interractivity necessary. I imported the jpegs into the
    FlashMX (v6) environment, converted to graphic symbols, created a
    movie clip symbol for each image, and set up the fade in/fade out.
    Each individual movie clip works OK, but I can't figure out how to
    arrange my movie clips to display in succession in the main
    timeline. I can set frame 1 as a keyframe and place a movie clip in
    that frame, test the movie, and the clip plays. I put a keyframe in
    frame 2 and put the next movie clip in that frame, then nothing
    works. Any suggestions? If someone could just explain the basic
    principal of playing several movie clips in succession, or just
    point me in the right diresction, I would be very grateful.
    Thanks much,
    Dave

    Here is some of the action script for the slideshow.
    This first bit sets up the automatic interval transitions in
    the main movie timeline
    function nextImage()
    mc_slide.mc_transition.play();
    } // End of the function
    function waitImage()
    clearInterval(slideTimer);
    var slideTimer = setInterval(nextImage, timer * 1000);
    nextImage();
    } // End of the function
    function pauseSlide()
    mc_slide.mc_quicktransition.gotoAndPlay(2);
    } // End of the function
    var timer = 8;
    var pauseTime = 20;
    var slideTimer = setInterval(nextImage, timer * 2000);
    stop ();
    the movieclip loaders that load each movie clip are embedded
    with the transition animation.
    this is the code in the embedded mc-it loads the 1st movie
    clip and allows the user to manually jump to any of the other movie
    clips.
    emptyMC.loadMovie("frame1.swf");
    var pageAddress = "about:blank";
    btn1.onRelease = function ()
    _parent.pauseSlide();
    gotoAndStop(1);
    btn2.onRelease = function ()
    _parent.pauseSlide();
    gotoAndStop(2);
    btn3.onRelease = function ()
    _parent.pauseSlide();
    gotoAndStop(3);
    btn4.onRelease = function ()
    _parent.pauseSlide();
    gotoAndStop(4);
    stop();
    I need to know how to put the code for the automation of the
    slideshow pause until each movieclip has finished loading and also
    at the same time disable the manual control of the movie clips
    before they are fully loaded.

  • Help with Portfolio PDF

    I was given a page PDF.  The 2 pages in it are updates to a 10 or so page PDF.  I am using Acrobat Pro 9.5.1.  It appears the original 10-page PDF is saved in some sort of "Portfolio" format.  When I open it, I see this PDF Portfolio window:
    There on the right side are the options for the layout of the "Portfolio" PDF and other stuff pertaining to the format of a Portfolio PDF.  However, I can't see previews of any of the pages. I can't seem to import the 2 new pages to replace the 2 old ones. Any ideas?

    Email is not the best way to transfer e-documents; it can get damaged, misdirected, or lost.
    Far safer is to use a file sharing service like Acrobat.com, Dropbox, Google Drive, ..., then send the download link via email.

  • Help with photo slideshow and deleting photos!!!

    I wanted to know how you make a photo slideshow on the ipod and I also wanted to find out how to delete photos off of the ipod. I got them on but some I didn't want on there. How do I get them off?

    Deleting photos? Easy.
    The photos get on your nano through iTunes.
    In iTunes you need to change the Preferences.
    Plug in the nano, launch iTunes, open Preferences.
    Look at the Photo tab - this will tell you what is being synced onto the nano.
    Change this or remove the syncing altogether.
    Hope that solves your question.
    Have a look at this link for the iPod for Dummies:
    iPod 101
    lots of useful information there including photo slideshows.
    Regards
    Colin R.

  • I need your help with a decision to use iPhoto.  I have been a PC user since the mid 1980's and more recently have used ACDSee to manage my photo images and Photoshop to edit them.  I have used ProShow Gold to create slideshows.  I am comfortable with my

    I need your help with a decision to use iPhoto.  I have been a PC user since the mid 1980’s and more recently have used ACDSee to manage my photo images and Photoshop to edit them.  I have used ProShow Gold to create slideshows.  I am comfortable with my own folder and file naming conventions. I currently have over 23,000 images of which around 60% are scans going back 75 years.  Since I keep a copy of the originals, the storage requirements for over 46,000 images is huge.  180GB plus.
    I now have a Macbook Pro and will add an iMac when the new models arrive.  For my photos, I want to stay with Photoshop which also gives me the Bridge.  The only obvious reason to use iPhoto is to take advantage of Faces and the link to iMovie to make slideshows.  What am I missing and is using iPhoto worth the effort?
    If I choose to use iPhoto, I am not certain whether I need to load the originals and the edited versions. I suspect that just the latter is sufficient.  If I set PhotoShop as my external editor, I presume that iPhoto will keep track of all changes moving forward.  However, over 23,000 images in iPhoto makes me twitchy and they are appear hidden within iPhoto.  In the past, I have experienced syncing problems with, and database errors in, large databases.  If I break up the images into a number of projects, I loose the value of Faces reaching back over time.
    Some guidance and insight would be appreciated.  I have a number of Faces questions which I will save for later. 

    Bridge and Photoshop is a common file-based management system. (Not sure why you'd have used ACDSEE as well as Bridge.) In any event, it's on the way out. You won't be using it in 5 years time.
    Up to this the lack of processing power on your computer left no choice but to organise this way. But file based organisation is as sensible as organising a Shoe Warehouse based on the colour of the boxes. It's also ultimately data-destructive.
    Modern systems are Database driven. Files are managed, Images imported, virtual versions, lossless processing and unlimited editing are the way forward.
    For a Photographer Photoshop is overkill. It's an enormously powerful app, a staple of the Graphic Designers' trade. A Photographer uses maybe 15% to 20% of its capability.
    Apps like iPhoto, Lightroom, Aperture are the way forward - for photographers. There's the 20% of Photoshop that shooters actually use, coupled with management and lossless processing. Pop over to the Aperture or Lightroom forums (on the Adobe site) and one comment shows up over and over again... "Since I started using Aperture/ Lightroom I hardly ever use Photoshop any more..." and if there is a job that these apps can do, then the (much) cheaper Elements will do it.
    The change is not easy though, especially if you have a long-standing and well thought out filing system of your own. The first thing I would strongly advise is that you experiment before making any decisions. So I would create a Library, import 300 or 400 shots and play. You might as well do this in iPhoto to begin with - though if you’re a serious hobbyist or a Pro then you'll find yourself looking further afield pretty soon. iPhoto is good for the family snapper, taking shots at birthdays and sharing them with friends and family.
    Next: If you're going to successfully use these apps you need to make a leap: Your files are not your Photos.
    The illustration I use is as follows: In my iTunes Library I have a file called 'Let_it_Be_The_Beatles.mp3'. So what is that, exactly? It's not the song. The Beatles never wrote an mp3. They wrote a tune and lyrics. They recorded it and a copy of that recording is stored in the mp3 file. So the file is just a container for the recording. That container is designed in a specific way attuned to the characteristics and requirements of the data. Hence, mp3.
    Similarly, that Jpeg is not your photo, it's a container designed to hold that kind of data. iPhoto is all about the data and not about the container. So, regardless of where you choose to store the file, iPhoto will manage the photo, edit the photo, add metadata to the Photo but never touch the file. If you choose to export - unless you specifically choose to export the original - iPhoto will export the Photo into a new container - a new file containing the photo.
    When you process an image in iPhoto the file is never touched, instead your decisions are recorded in the database. When you view the image then the Master is presented with these decisions applied to it. That's why it's lossless. You can also have multiple versions and waste no disk space because they are all just listings in the database.
    These apps replace the Finder (File Browser) for managing your Photos. They become the Go-To app for anything to do with your photos. They replace Bridge too as they become a front-end for Photoshop.
    So, want to use a photo for something - Export it. Choose the format, size and quality you want and there it is. If you're emailing, uploading to websites then these apps have a "good enough for most things" version called the Preview - this will be missing some metadata.
    So it's a big change from a file-based to Photo-based management, from editing files to processing Photos and it's worth thinking it through before you decide.

Maybe you are looking for

  • Logic 7 songs sound different in Logic 8 - why?

    i am not guessing. bounce, phase invert, mix the two, and it is really strange. what i've seen quickly, that the adaptive limiter plugin has changed a little. setting a -0.1dB ceiling in 7 causes -0.1dB peak, in 8, it will be 0. but there must be som

  • How to increase font size in acrobat pro 10

    how do I increase the font size in Acrobat Professional 10 in a pdf file that is downloaded from the internet?

  • ServletContext-Gentral Exceptrion

    "hai All ,           this exception some time occur and get hungs please help it out,           thanks           Thu Apr 11 14:45:28 CEST 2002:<E> <ServletContext-General> Servlet failed with Exception           java.lang.RuntimeException: IOExceptio

  • Office 2008 crashes after 10.6.5 install

    I just upgraded a computer from 10.5.8 to SL 10.6.5 Everything is working fine except the Office 2008 suite. All the application crash at the splash screen. They all start fine if I start in safe mode. I've cleaned up the fonts, deleted all startup f

  • Having trouble sending photos

    I can't seem to send a photo either as a text or as an email.  I have clicked "Send as email" when the photo is on the Tour screen, but then I just get a red "x" saying error message.  I have tried attaching the photo after composing an email, but I'