Transparent Animation Help

Ask a Question related to Macromedia Director Basics, Design and Development.

  1. #1

    Default Transparent Animation Help

    I'm trying to figure out a way to load several frames of animation from an external file and display it in Director. I need to use a knockout color (or something equivalent) as the animated image isn't square (i.e. I need to see behind the edges of animated image.) I need a fairly automatic way of doing this as I'll have 100's of these things that get loaded based on the user's choice.

    My first instinct was to use an animated GIF for each of the animations, but from what I read in the documentation Director does not support "Background Transparent" in animated GIFs.

    Any suggestions on alternative methods? How can I load a mulit-frame animation from an external file and display it in Director with transparency?

    Thank you for the suggestions.
    - Lars


    _Lars_ webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. animation help from max
      can anyone reccomend any good tutorials on how to blend seperate animations? The files are w3d exported from max I have a charcter set up and...
    2. sit animation
      My rigged character's bone animation works well. In one of them he goes from standing to sitting on the ground to standing again. In Director, he...
    3. animation "open" onPress( animation "close" ) go to Frame "myFrame"
      I have searched hi and low for the answer and nothing has helped me as of yet. My Main timeline is sectioned off by keyframes that are 10 frames...
    4. Drag/Drop with transparent Flash animation (flash 5 vs mx)
      I am building a web application which lets you drag and drop flash objects over a user-defined local image, but I'm having trouble with Flash's...
    5. keyframe animation detected on a resource that will marge -this animation willbe lost
      hi, sorry for the question but need a quick fix for it. i am exporting from max 5, a quick animation of a shark tail moving but on export i am...
  3. #2

    Default Re: Transparent Animation Help

    Director treats pure white parts of an image as transparent when using
    trans ink setting, or only 'outer' white areas with matte ink, there can
    be a 'halo' problem with graphics that have antialiased to white art.

    Director can also import the alpha channel of photoshop files for clean
    antialiased outlines on any background.

    You can import images at runtime either by using importintomember
    command, or by changing the file property of a linked external bitmap
    initially set to a 'plaeholder' file.



    If the outline shape is fixed, you could use a mask sprite to define the
    visible area, masks may be 1 (, 4?) or 8 bit grayscale images.
    JB Guest

  4. #3

    Default Re: Transparent Animation Help

    So I worked about 12+ hours on this yesterday and came up with a good solution.

    Basically I created an external tool program (in c#) where you point to each of the still frames you want to use for an animation along with other data (such as whether you want it to loop, freeze on the last frame, disappear etc). The tool then exports a XML file with an animation name and associated animation data.

    On the Director end, I have an animation object that loads the XML file. When animation is used, the animation object loads the individual frames and plays them back with the parameters defined in the tool.

    The nice thing is that I can create an animatation out of PNG files so I can get full transparency.


    _Lars_ webforumsuser@macromedia.com Guest

Posting Permissions

  • You may not post new threads
  • You may 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