A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: rotating images

  1. #1
    Junior Member
    Join Date
    Dec 2002
    Location
    Atlanta
    Posts
    3

    rotating images

    Okay...just got the demo version, so I am a certified newbie! What I want to do is rotate a letter inside my company logo but make the logo itself stand still.
    I just tried to attach the image but was forced to put the site address here. What I want to do is have the "f" in the logo at the top left of the screen rotate in the logo circle(did that make sense?). Is this possible with KM?

    Thanks, Kev
    Attached Images Attached Images

  2. #2
    Senior Member
    Join Date
    Jun 2001
    Posts
    289
    Heya, Kev.

    Yes. Until someone better qualified to answer this comes along, here is one simple way.

    Either create the logo sans the letter using the drawing tools or import a jpeg of the logo with the letter removed.

    Create (draw, or if your fonts permit, use the text tool) the letter, position over the logo.

    Duplicate the frames, and with each duplication, rotate the letter/shape until it is back at the original upright position. For example, 90 degrees each time. There is a tool in the toolbar to do this, or "transforms" --> "rotate right 90" as well, with the letter selected.

    Hope this covers what you were asking for.

  3. #3
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    Use the rotate effect under Effects to rotate the single letter to avoid the pulsating shrink problem.

  4. #4
    Senior Member
    Join Date
    Apr 2001
    Posts
    262

    Re: rotating images

    You mean something like this?
    Attached Files Attached Files

  5. #5
    Junior Member
    Join Date
    Dec 2002
    Location
    Atlanta
    Posts
    3

    YES!

    That is EXACTLY what I meant! Maybe instead of the "f" rotating , it could spin or tumble. How cool! Now here's the hard part....can you teach me how to do that?

  6. #6

    Easy

    That's easy to do, all's it takes is some action script knowledge...look:

    First, make the "F" and the circle movie clips.

    Now, in the actions of the circle movie clip, put this actionscript:

    Code:
    onClipEvent(enterframe) {
    this._rotation-=8;
    }
    Mess with the "8" to differ the speed.

    In the "F" movie clip, put this actionscript:

    Code:
    onClipEvent(enterframe) {
    this._rotation+=8;
    }
    Once again, mess with the "8".

    That should do it..

    Then again, you could just make lots of frames, or the rotate effect.
    The following statement is true.
    The above statement is false.

    Thats burns my mind.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center