Manipulating MovieClips with ActionScript

Ask a Question related to Macromedia Flash Ad Development, Design and Development.

  1. #1

    Default Manipulating MovieClips with ActionScript

    "Zorro" <Looking@You.dot> wrote in message
    news:12oti4tqf1m9ab3@news.supernews.com...
    >I am creating exercises to improve my ActionScript 2.0 abilities with such
    >things as functions and loops.
    >
    > It does not take much ability to utilize ActionScript to move a MovieClip
    > across the stage, or resize a MovieClip, or change the alpha of a
    > MovieClip, etc.
    >
    > The reason for this post is to request assistance in increasing
    > controllability of MovieClips.
    >
    > For example,
    >
    > suppose I want to move a MovieClip across the stage and then stop it at a
    > particular place and time on the stage, or
    >
    > resize a MovieClip and then stop the resizing at a particular place and
    > time on the stage, or
    >
    > change the alpha of a MovieClip and then stop it at a particular place and
    > time.
    >
    > All the above can be readily accomplished using timeline manipulation,
    > such as tweens and keyframes. However, there should be more power in
    > pursuing the same via actionscipt.

    Zorro Guest

  2. Similar Questions and Discussions

    1. MovieClips in 3d max
      Is it possible to create movieclips in Max, or movieclip like objects, so that you can nest animations. For example: Player movieclip, wich...
    2. as 2: oop movieclips from xml
      Hello all, Let me preface this with, I'm new to ActionScript 2, but not with OO concepts. I'm trying to dynamically generate all of my MovieClip...
    3. MovieClips
      I had 5 different scenes. Then I converted them to movieclips and deleted the scenes. But must there be a forced scene anyway at the beginning -...
    4. actionscript: manipulating lines & curves
      I've created a movieClip and drawn some curved lines in it... is it possible to alter the points and curves of a line once you've drawn it?... or...
    5. too many movieclips?
      Hi, I'm working on a site in which the transitions from section to section are randomly chosen from a small pile of video clips. The structure of...
  3. #2

    Default Re: Manipulating MovieClips with ActionScript

    Read about Tween class in Flash help.
    You will find some nice examples there

    Użytkownik "Zorro" <Looking@You.dot> napisał w wiadomo¶ci
    news:12p13s6dlep8p55@news.supernews.com...
    > "Zorro" <Looking@You.dot> wrote in message
    > news:12oti4tqf1m9ab3@news.supernews.com...
    >>I am creating exercises to improve my ActionScript 2.0 abilities with such
    >>things as functions and loops.
    >>
    >> It does not take much ability to utilize ActionScript to move a MovieClip
    >> across the stage, or resize a MovieClip, or change the alpha of a
    >> MovieClip, etc.
    >>
    >> The reason for this post is to request assistance in increasing
    >> controllability of MovieClips.
    >>
    >> For example,
    >>
    >> suppose I want to move a MovieClip across the stage and then stop it at a
    >> particular place and time on the stage, or
    >>
    >> resize a MovieClip and then stop the resizing at a particular place and
    >> time on the stage, or
    >>
    >> change the alpha of a MovieClip and then stop it at a particular place
    >> and time.
    >>
    >> All the above can be readily accomplished using timeline manipulation,
    >> such as tweens and keyframes. However, there should be more power in
    >> pursuing the same via actionscipt.
    >
    >

    Łukasz Jedynak Guest

  4. #3

    Default Re: Manipulating MovieClips with ActionScript

    Hi Zorro,

    Agreed that you can do those examples via the timeline, and that they
    are more easily achieved that way rather than in actionscript.

    Using Actionscript, helps in cases where you have to deal with animation,
    that is dynamic,

    for example, an animation that reacts to the user input.


    One example, is a scroll navigation slider , with "easing" built in for
    scrolling content.

    for such a case, the designer, has no way to predict, where the user will
    drag the slider to.

    yet at the same time, he must provide an "easing" effect.

    Therefore, scripting to control the movieclips behaviour is needed.


    My advice,is to use script when it makes the project you are doing more
    maintainable, or easier to manage.

    and not to use script when, an animation can do the job just as well, as it
    makes the file harder to understand, and to maintain,

    especially if it were to be handled by someone other than yourself in
    future.


    On a side note, if you wish to build up your foundation in
    actionscripting, you can visit "actionscript.org" and "kirupa.com"

    These 2 sites have many good examples to help you.

    If possible do not go to "flashkit.com", as alot of the examples are for
    version 4 and 5, using many depreciated methods of scripting.


    I hope this helps you, and that my last para, didnt digress to much =P


    "Zorro" <Looking@You.dot> wrote in message
    news:12p13s6dlep8p55@news.supernews.com...
    > "Zorro" <Looking@You.dot> wrote in message
    > news:12oti4tqf1m9ab3@news.supernews.com...
    > >I am creating exercises to improve my ActionScript 2.0 abilities with
    such
    > >things as functions and loops.
    > >
    > > It does not take much ability to utilize ActionScript to move a
    MovieClip
    > > across the stage, or resize a MovieClip, or change the alpha of a
    > > MovieClip, etc.
    > >
    > > The reason for this post is to request assistance in increasing
    > > controllability of MovieClips.
    > >
    > > For example,
    > >
    > > suppose I want to move a MovieClip across the stage and then stop it at
    a
    > > particular place and time on the stage, or
    > >
    > > resize a MovieClip and then stop the resizing at a particular place and
    > > time on the stage, or
    > >
    > > change the alpha of a MovieClip and then stop it at a particular place
    and
    > > time.
    > >
    > > All the above can be readily accomplished using timeline manipulation,
    > > such as tweens and keyframes. However, there should be more power in
    > > pursuing the same via actionscipt.
    >
    >

    kevin Guest

  5. #4

    Default Re: Manipulating MovieClips with ActionScript

    I had, actually, read through the help files tween class before my post,
    which leaves a lot for the reader to have to figure out on his own. However,
    I did re-read through it again after your reply and was fortunate enough to
    find the solution to my question. Now I am able to utilize the tween class.
    Thanks for the reply.

    "Łukasz Jedynak" <ljedynak@op.pl> wrote in message
    news:emu31s$qt8$1@news.onet.pl...
    > Read about Tween class in Flash help.
    > You will find some nice examples there

    Zorro 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