Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2006
    Posts
    5

    I Need Help With Images Next-prew

    Hi !

    Im very new in this please help me i have trouble

    I have 2 page.

    On first page have button to page 2

    On page 2 i wont Image object and 3 buttnons.
    1button - next image
    2button - prew image
    3button - back to page 1
    I have folder in my prject IMAGESOS with 1000 images
    I need when open page 2 show image in image object first alphabetic
    when clik next buton show second alphabetic image if clik prew button
    show image alphabetic-1
    What is code to page 2 for image object and button next and prew

    Sorry for my english is not a good !
    Thanks!

  2. #2
    Join Date
    Nov 2006
    Posts
    5

    I Need Help With Images Next-prew

    Hi !

    Im very new in this please help me i have trouble

    I have 2 page.

    On first page have button to page 2

    On page 2 i wont Image object and 3 buttnons.
    1button - next image
    2button - prew image
    3button - back to page 1
    I have folder in my prject IMAGESOS with 1000 images
    I need when open page 2 show image in image object first alphabetic
    when clik next buton show second alphabetic image if clik prew button
    show image alphabetic-1
    What is code to page 2 for image object and button next and prew

    Sorry for my english is not a good !
    Thanks!

  3. #3
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    1,843
    To order images alphabetically is a bit complicated, but if you can rename them with sequential numbers (pic1.jpg, pic2.jpg, etc..), it gets easier.

    Lets say you have 1000 images in the Docs/images directory inside your project. Name them as above.

    Put an image object in your Page2.

    In the onShow event of the page, put the following actions:
    i=1;
    Image.Load("image1", "Autoplay//Docs//images//pic"..i);

    Then in the onClick event of the NEXT Button, put the following actions:
    i = i+1;
    if(i>1000) then
    i = 1;
    end
    Image.Load("image1", "Autoplay//Docs//images//pic"..i..".jpg");

    Then in the onClick event of the PREVIOUS Button, put the following actions:
    i = i-1;
    if(i<1) then
    i = 1000;
    end
    Image.Load("image1", "Autoplay//Docs//images//pic"..i..".jpg");

    Good luck

    Yossi

  4. #4
    Join Date
    Nov 2006
    Posts
    5

    I Need Help With Images Next-prew

    Thanks!

    I try this but i need show in alphabetic witout rename pictures it's posible?

    it's possible like background image change on button it's not nessery
    change image on image object without image object 2 button for changing
    background image NEXT and PREVIOUS image alphabetic?

    I don't know thing do?
    when clik on buton on page 1 open page 2 and
    like object image be global variabe name is SOS.
    first value of SOS is first alphabetic image.
    Button NEXT chanche SOS value and show on image object next alphabetic image, Button PREVIOUS chanche SOS value and show on image object previous alphabetic image

  5. #5
    Join Date
    Nov 2006
    Posts
    306
    http://www.indigorose.com/forums/sho...ight=slideshow

    P.S.: Try to use the search button

    Greets,
    Casper

Similar Threads

  1. HELP! still 16 pages, 167 kbs in images = 30 meg project?
    By publishers in forum Autorun MAX! 2.1 Discussion
    Replies: 5
    Last Post: 09-08-2006, 07:10 PM
  2. Example: Creating Animated Images
    By Corey in forum AutoPlay Media Studio 5.0 Examples
    Replies: 1
    Last Post: 03-04-2006, 12:44 AM
  3. Button Maker: Extract Images?
    By jeffschuler in forum AutoPlay Media Studio 6.0
    Replies: 2
    Last Post: 10-20-2005, 04:09 PM
  4. How to align images ?
    By RAZS in forum AutoPlay Menu Studio 3.0
    Replies: 2
    Last Post: 12-14-2001, 08:36 AM

Posting Permissions

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