dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: how to move an image, and also a portion of the image

  1. #1
    Junior Member
    Join Date
    Feb 2001
    Posts
    5

    Angry

    i'm a newbie.

    i'd like to be able to have a car move across the screen and also have the wheels turn at the same time. is this easy to do? thanks,

    keith

  2. #2
    the traveler
    Join Date
    Aug 2000
    Location
    West Hartford, CT
    Posts
    638
    you need an image of the body of the car, and then 2 (or 4?) separate images for the wheels. import your graphics through .png format to retain an alpha channel for transparency. then make movie clips containing your wheel graphics and make a long tween, and set rotate to 1. now make a new movie clip and insert your car body and the wheels all on different layers. now you have 1 movie clip which you can tween across the stage.

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