Results 1 to 4 of 4

Thread: Thumbnail gallery problem

  1. #1
    Join Date
    Nov 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thumbnail gallery problem

    When i press a thumbnail number for example 9 it should scroll through pictures either left or right to get to a selected picture number ( www.kfgallery.us) what coordinates should i add to this script?

    on (release) {
    if (_root.xkoord>-554) {
    _root.xkoord -= 418;
    }
    }

    This only moves to the left or right one picture at a time

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    You are using the co-ordinates wrong. You are assigning a co-ord's to the currently viewable picture, and you have applied the script to the arrow buttons. I don't know what you have on the thumbnails, but I assume you have used a mask and the images are one continuous MC?

    Or you are loading through XML and tweening the slide. Depending on your codes on the thumbs and the method you use to display the pics there are different ways to scroll through them. Some better than others.

    Give me a few more details and I will give you some options.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  3. #3
    Join Date
    Nov 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    The script i used was already in the arrow buttons and there is no code what so ever on the thumbnails. I tried to play with that short script that arrow button uses, another words i tried to apply that script into each thumbnail and add another portion of coordinates, but i am just a beginning person. The only major scripting that i have done is a contact form . I though this is going to be an easy one. Today is a third day that i am playing with it. I thought of buying a book since i couldn't find any thing on the internet, but is book going to help me with this at all? So there is no code on the thumbnails This is just one problem but now since you mentioned xml i started to wonder that i cannot just add pictures to flash file since it is going to be loading forever, so to make the thumbnails working and adding xml code to it is another . Any suggestions?

  4. #4
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    To use the thumb nails you will need to give them code. You will also need to give the top left corner of each picture a registration point and that picture an instance name. Then on the thumbnails you can call the scrolling function to go to the co-ordinates of said picture.

    It's a little complex but nothing too hard.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •