5 Replies Latest reply on May 22, 2008 6:43 PM by tobycraftse

    flash animation

    tobycraftse
      How can flash developer make the small square block (bottom) that form a ring, been forced to move in a circle?
      http://www.oniva.com/upload/1356/cir.jpg

      How to do animation makes many small squares move in circle (each square form a layer)?

      I also saw graphics object move in 3D circle with zoom in / zoom out (each graphics form a layer), do people do it frame by frame using hand?
      http://www.oniva.com/upload/1356/hou.jpg

      How can people do it so smoothly with frame by frame using hand??

      flash script attached -
      http://www.oniva.com/upload/1356/circle.swf
      http://www.oniva.com/upload/1356/circle.fl
        • 1. Re: flash animation
          clbeech Level 3
          in both of these cases you would be far better off using scripting and math in order to accomplish these goals - doing it on the timeline would be next to impossible.

          to move items in a circle - create a single block with the registration point in relation to the radius of the circle (same with the smaller blocks) then use script as in: block_mc._rotation = x; to move the block. it will take some math and a few algorithms to determine the 'movement' of the blocks, and when blocks are in contact, and so on. but this would be far more dynamic and much simpler than using the timeline.

          the other item you mention (3D) is called a 'carousel' and there are many tutorials on how to construct one - search here and google it. it is not done using the timeline - it's achieved with scripting.
          • 2. Re: flash animation
            tobycraftse Level 1
            but both 3D circle motion and 2D circle motion, i looked into the fla file, they all use frame by frame to do it, it looks like it's not impossible to do and the motion is really great - take a look at the time line

            http://www.oniva.com/upload/1356/hou2.jpg

            I am sure my friend finish the motion frames in 1 - 2 days, that's acceptable i guess.
            • 3. Re: flash animation
              Ned Murphy Adobe Community Professional & MVP
              My guess would be it depends on who's paying for those days to get it done. And if another object had to be added at some point, then each piece/frame would have to be repositioned manually.

              Chances are a mathematical approach would take some fraction of the time and the motion could be even smoother, but the only way to know for sure is to try it and see. The mathematical approach would also provide a learning experience that would benefit the creator's skill set.
              • 4. Re: flash animation
                tobycraftse Level 1
                good point,

                1) math approch - if never need to be change, code can re-used
                2) frame by frame approch - need change everything from start if things/scene need to be change

                is that true?
                • 5. Re: flash animation
                  tobycraftse Level 1
                  are there chance people is using 3rd party software to do the animation? I heard swift3D can do 3D stuff then export to flash frame by frame automatically
                  http://www.erain.com/products/swift3d/

                  also take a look at the animation of the circle (make from 7 square, each square move in circle perfectly) is there any third party tool people using and then export to flash (is it very possible?)
                  http://www.oniva.com/upload/1356/bo.jpg
                  http://www.oniva.com/upload/1356/circle.swf

                  otherwise, it would be too hard to do it frame by frame using hand isn't it? (if you take a look at the Timeline) everything of the 7 box is do my hand!
                  http://www.oniva.com/upload/1356/bo.jpg
                  http://www.oniva.com/upload/1356/circle.swf