Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1

    Default Creating a slideshow from external images

    I have to create a flash movie in which external images fade in and out on their own. I'll be using large size images and I can format them all the same, but I need to do this without having to rebuild the swf every time images are introduced.

    I know this has to have been done before. Can anyone help? I'm pretty new to flash, especially programming sides of it.
    IP

  2. #2
    Join Date
    Nov 2004
    Location
    Israel
    Posts
    2,538

    Default Re: Creating a slideshow from external images

    You have various ways to do so. If you are not familiar with Actionscript then it would be hard for any of us to instruct you. I can give you a link to follow some of the tutorials.
    http://tutorialoutpost.com/count/5113
    http://www.frunder.com/tutorials/flash/blureffect/
    http://learnflash.com/wp/

    Browse the links - the last one has video tutorials I think you will find them useful.
    You also have a paid site http://www.cartoonsmart.com/advanced_smart_topics.html

    Hope this helps.

    Availor
    IP

  3. #3
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,917

    Default Re: Creating a slideshow from external images

    Michael,

    I think one of the main disadvantages of this would be the delay time in loading the next external image. Not to bad on a broadband connection but useless on a dial up connection.

    I can do it with buttons but as a self running image it may take some coding.

    However actionscript.org have a great tutorial HERE that might solve your problems.
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
    IP

  4. #4

    Default Re: Creating a slideshow from external images

    Thanks a lot for those links, that actionscript link in particular. This is going to be a local based flash file, not an interet based one. My company has some software that can play media and embed flash. This will be the best way to create the slideshow I have of a couple hundred images I think.

    If you have any other suggestions, let me know, but thanks very much.
    IP

  5. #5
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,917

    Default Re: Creating a slideshow from external images

    Michael,

    A local based slideshow should be fairly easy to create.

    I suggest the following:

    On layer 1 create an mc to load image No 2.
    Directly above it on layer 2 have an mc load image No 1.
    On Layer 3 create a mask layer to mask layer 2.

    In the mask layer create a movie clip mask that starts by showing all the photo on layer 2, then have it tween until it hides layer 2 (photo1) thus revealing layer 1 (photo2) below it.

    At the end of the mask tween, have layer 2 load photo2 and layer 1 load photo3 and the tween rewind to frame1.

    Continue this sequence as often as required.

    You will need to set up a timing routine to stop themovie between tweens.

    You might be able to use a text file to input the totalPhotos value variable.
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
    IP

  6. #6
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,917

    Default Re: Creating a slideshow from external images

    Michael,

    I attach a zip file of how I would do this.

    Download the file, unzip it and open the fla file (Flash8) or view the swf file in the standalone player.

    In Flash choose export as projector file type. This will now run as a standalone player on any computer.

    To increase the number of photos just edit the text file named "numberofphotos.txt" by changing the value of "photoNumbers=" to whatever value you want. Apart from the number of photos don't alter the text in any other way. Save the text file on completion.

    This way you never have to edit the Flash file again.

    You could change the transistion(?) tween to whatever and as many as you want by creating new ones and randomising their selection.

    Hope this helps.
    Attached Files Attached Files
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
    IP

  7. #7
    Join Date
    Nov 2004
    Location
    Israel
    Posts
    2,538

    Default Re: Creating a slideshow from external images

    very nice technique Egg thank you
    IP

  8. #8
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,917

    Default Re: Creating a slideshow from external images

    Cheers Availor,

    I forgot to mention that you could put a timer routine into the script, which could be altered from within the text file as well if required.

    ie &staticTime=20
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
    IP

  9. #9
    Join Date
    Nov 2004
    Location
    Israel
    Posts
    2,538

    Default Re: Creating a slideshow from external images

    &staticTime - I dont know what this is... I know a Timer command which is set to miliseconds.
    IP

  10. #10
    Join Date
    Jun 2002
    Location
    Dunoon, Scotland
    Posts
    4,778

    Default Re: Creating a slideshow from external images

    If you have Flash 8 Pro there is a template, resources & tutorial ot help to do it straight off.
    Design is thinking made visual.
    IP

 

 

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
  •