Scrolling Thumbnails Photo Gallery AS 2.0: Flash Tutorial!

Posted by admin on October 23rd, 2009 and filed under picture gallery | 25 Comments »

Check this video out at Hi-Res here: http://www.tutvid.com/tutorials/flash/tutorials/scrollThumbGal.php

In this tutorial we will build off of the the scrolling thumbnails video and take it to the next level by building a fully functional gallery with a bonus randomizer button. Learn about using variables and rounding numbers and navigating time lines within a flash movie with actionscript. Have fun with this one! Please check out the site http://www.tutvid.com

Duration : 0:23:56


[youtube i1EJpc68EIs]

25 Responses

  1. TRSdowntownskter Says:

    i can not get the …
    i can not get the images to appear when i click the thumbnails, i over looked everything so many times and everything is perfect. what could be the reason for this? and i made this in a already made document cause im making a layout but that shouldnt effect it. help!

  2. danigottlieb Says:

    why is this not …
    why is this not doing the random part?

    random_btn.onRelease = function (){
    var picNum:Number;
    picNum = Math.ceil(Math.random()*10);
    _photos.gotoAndStop (”img”+picNum);

    }

  3. lightleakmedia Says:

    This seems to be …
    This seems to be working in the ImageBarInside movie clip, but I cannot get the AS 3.0 working in the actions layer of Scene 1. Please help, I am losing my mind!!!!

  4. Dinzy Says:

    I’m having the same …
    I’m having the same problem it would really help if you guys could explain how you sorted this problem?

    it’s driving me crazy i’ve done the tutorial 3 times now and i just can’t get the pics to pop up when the thumbnail is pressed…

  5. nessquik95 Says:

    theres another …
    theres another video on it… check out his website

  6. MexicoABoomersGuide Says:

    How would one make …
    How would one make the gallery start with a photo already showing

  7. mall0602 Says:

    I think this is a …
    I think this is a great video but I was wonder how do you make the image become a clickable image like go to a website or video after the image shows up???

  8. 101GATMAN Says:

    i dont already have …
    i dont already have the scorlling thumbnails i got flash cs3 were can i learn how to make the thumbnails?

  9. morgane2 Says:

    this is the as3 …
    this is the as3 code for this tut

    var frameNum:Number;

    function photoChange():void
    {
    MovieClip(root).photos.gotoAndStop(”img”+frameNum);
    }

    btn1.addEventListener(MouseEvent.MOUSE_UP, function(){frameNum=1;photoChange()});
    btn2.addEventListener(MouseEvent.MOUSE_UP, function(){frameNum=2;photoChange()});
    btn3.addEventListener(MouseEvent.MOUSE_UP, function(){frameNum=3;photoChange()});

  10. SwordSkill2 Says:

    Is it any way to …
    Is it any way to name a variable according the value of another variable?
    For example, I wanna name a variable “numberslot” and another named “slot:nnumslot” so that if numslot would be “5″ then the name of the “slot” would be “slot:5″

  11. MrDecember55 Says:

    you’re so generous. …
    you’re so generous. God bless you

  12. ThePerezmilton Says:

    when i click my …
    when i click my image doesnt display why i can’t figure this out :( i spend i swear a whole freaken day i would loose my marbles if it was a small mistake?

  13. obeeah Says:

    Hi, thanks for the …
    Hi, thanks for the tutorial, but am having difficulties applying images so they open when the thumbnail’s clicked on, I don’t know what to do

  14. stromgolz Says:

    Hi, I have the same …
    Hi, I have the same problem I made the tutorial 3 times and when I click on thumbs the big pictures is not coming out :| could you help me plz?

  15. agnusongs Says:

    there are some …
    there are some changes that you must do when using AS 3.0, like
    root. to this.
    onEnterFrame to enterFrame
    it worked for me =)

  16. DestroyerOx Says:

    wait so all 2.0 …
    wait so all 2.0 comamnds work on 3.0 but not all 3.0 commands work on 2.0?

  17. andyandyyipyip Says:

    [_root.] means [ ...
    [_root.] means [this.]

  18. bhartha2007 Says:

    Hi everyone,

    I am …
    Hi everyone,

    I am working on AS3, in this video, tutvid accesses root by _root.photos.gotoAndStop(”framename”). How do you do that is AS3.

    Thank you

  19. anshumanwashere Says:

    I’m not a great …
    I’m not a great flash animator …i’m pretty basic..and i try to learn new things thru the internet. i wuld like to mail u my work. its nothing great…but i have applied this thing that i learnt today in it.

  20. anshumanwashere Says:

    alright..i figured …
    alright..i figured out the problem i was facing earlier…and the whole thing now plays smooth as a hot knife thru butter……

    SIMPLY BRILLIANT. I have learnt so much. thanks a ton. and ure a great instructor…!! almost feels as if we know each other. thanks mate!

  21. tattoo46738 Says:

    if you send me a …
    if you send me a private message i will give you my email address and you can send me a copy of your fla and i will take a look at it and figure out what you are doing wrong and explain it to you if you want me to.

  22. CatchPaco Says:

    Okay, Ive watched …
    Okay, Ive watched this 50 times and Ive been working on this for 3 days and something is not working for me. I can usually figure this stuff out but Im about to pull my hair out. I am still on the part of making pics pop up when you click on the button, nothing is coming up. My script says no errors so I think it might be a labeling error, but Ive checked everything. I also have it as a symbol on my timeline (where video is home page is the symbol on mine). Can someone help?

  23. YanSuperman Says:

    hey.. I get to know …
    hey.. I get to know what’s the problem. it’s actually the _root. something something. coz.. my picture were inside a photogallery movie symbol. so I have to _root.photogallery.photos. something something ! yeah ! it works ! thank you so much !

  24. tattoo46738 Says:

    if it was workn …
    if it was workn before you added the fader the error is probably there. Take the script out that plays the fader and see if your pics appear. If they do look at your fader and see what you did wrong when you set it up.

  25. YanSuperman Says:

    HELP ! I really …
    HELP ! I really need help here… please. when I click on the button the img does not seem to appeear ! I tried alot of times.. I’m so upset about it. please help me out here.

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.