Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8432503
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T06:08:38+00:00 2026-06-10T06:08:38+00:00

I am using Flash(as2 or 3 doesn’t matter). I would like to know the

  • 0

I am using Flash(as2 or 3 doesn’t matter). I would like to know the match behind the moving eyes or possibilities to use default flash tools to make eyes move.

Eyes:

Eyes

My biggest concern is eye shapes. They are not circural not ellipse. My second concern is the lightning on puppils. Can someone give me a hint how should I implement that?

My method
I would cut the puppils out as well as lightning. Then use these formulas for rotate the puppils around the origin point(center of eyes):

x = x * cos(angle) - y * sin(angle)
y = x * sin(angle) + y * cos(angle)

That would work well if eyes would be circular but not in this case, so I could modify the y formula to give more elliptic rotation.

Any advice is really appreciated. Thank you.

CONCLUSION
Based on ezekielDFM advice, I made the eyes move with a classical tween(360 frames). It worked perfectly. I did 4 tweens for the eyes, to be more circural movement. Then calculated the angle between mouse and the eye with Math.atan2(diffY,diffX) and did gotoAndStop(angle). Worked like a charm. Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T06:08:40+00:00Added an answer on June 10, 2026 at 6:08 am

    You can create a timeline animation of the eye on a guide path moving in a circle around the edge of the eye. Make the animation 360 frames long and start it with the eye roughly at 0 degrees. Check the angle of the mouse from center point of the eye to get a angle and between 0 and 360 degrees. Finally, gotoAndStop the frame from the angle value.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have completed a simple contact form using Flash CS5 and AS2. Instead of
The ide i am using is flash cs3. the as2 swf contains a tween
I have two Flash banner ads, built in CS5.5, using AS2, that will be
I have an AS2 Flash SWF that is calling another AS2 Flash File using
I'm using MovieClipLoader to load an external as2 swf file into my as2 flash
I was working with javascript and flash communication with AS2 using ExternalInterface. This works
I have a flash file and am using google's suggested method for as2 event
im playing an rtmp stream using netConnection and netStream of flash as 2.0. The
I'm using Flash Builder to build an AIR android app. To prevent the app
I'm using Flash Builder 4.6 to make an iOS app.. It's going fairly well,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.