Professional Web Applications Themes

Panning Large Images - Macromedia Director Basics

Hello everyone, I'm working on a project where the client wants to pan very large images left to right across the screen. This is easy enough to do but they aren't happy with the motion of the pan. The crux of the problem is two-fold: #1 - The images are close to 3000 pixels wide and the stage is 800 x 600. So the moving the image that far in less than 7 seconds and achieving absolutey smooth motion is pretty hard. #2 - Since the image is SO LARGE it seems to be very draining on processor speed and ...

  1. #1

    Default Panning Large Images

    Hello everyone,

    I'm working on a project where the client wants to pan very large images left to right across the screen. This is easy enough to do but they aren't happy with the motion of the pan. The crux of the problem is two-fold:

    #1 - The images are close to 3000 pixels wide and the stage is 800 x 600. So the moving the image that far in less than 7 seconds and achieving absolutey smooth motion is pretty hard.

    #2 - Since the image is SO LARGE it seems to be very draining on processor speed and gets real chunky.

    The only thing that I can come up with to "trick" Director into performing this is to cut in image into 3 (1000 px wide) images, pan each image in it's own channel and adjust the transparencies of them to make it look like it's one seamless image.

    Does anyone know of a better idea? This client has sat in on Director demos and seen how beautiful the motion can be but I"m sure they weren't looking at images this size! Is there a resource anywhere that deals with using large images?

    Thanks so much!
    jessicuh


    jessicuh webforumsuser@macromedia.com Guest

  2. #2

    Default Re: Panning Large Images

    Well, I personally would use imaging lingo to complete this. To do this look up 'copyPixels'

    Another way (one I have personally never done) is to cut your image up into small parts (much like you did but even smaller). I would guess 200x200 squares are ok perhaps 400x400. What ever you chose. Set your Stage to the large image WxH (so 3000x3000). Place all your pieces so they look like the one big image. Now this is the key, make a flim loop out of all those sprites. Delete your setup sprite tiles and just use the Film Loop.

    The benefits here:
    1) Imaging Lingo not required for those non programmer types
    2) All you have to move around is the film loop rather than 100 or so sprites.
    3) Director only has to keep 9 or so 200x200 images in memory and push them around rather than a single 3000x3000 image. Director unloads any of the tiles that are not visible on Stage so it does a lot of memory management for you.

    Hope this helps


    Charles Parcell
    Team Macromedia Volunteer for Director MX
    ----
    Web Forums
    ----
    Feature Request & Bug Form
    Charles Parcell webforumsuser@macromedia.com Guest

  3. #3

    Default Re: Panning Large Images

    oh and set your stage back to 800x600 of course :P


    Charles Parcell
    Team Macromedia Volunteer for Director MX
    ----
    Web Forums
    ----
    Feature Request & Bug Form
    Charles Parcell webforumsuser@macromedia.com Guest

Similar Threads

  1. Viewiing Large Images of Thumbnails on Same Page
    By Sid Childers in forum HTML & CSS
    Replies: 2
    Last Post: January 22nd, 03:45 AM
  2. linking large amounts images from thumbnails to largerimages
    By rosmd in forum Macromedia Dynamic HTML
    Replies: 4
    Last Post: June 28th, 03:48 PM
  3. can't select large images!
    By marccus in forum Adobe Photoshop 7, CS, CS2 & CS3
    Replies: 2
    Last Post: August 4th, 04:14 PM
  4. problem with large images!!
    By marccus in forum Adobe Photoshop 7, CS, CS2 & CS3
    Replies: 3
    Last Post: July 29th, 08:26 AM
  5. WHAT COMPUTER IS BEST FOR LARGE IMAGES ?
    By John Georgiou in forum Adobe Photoshop 7, CS, CS2 & CS3
    Replies: 1
    Last Post: June 26th, 03:39 PM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139