Model can rotate and toggle between texture / wireframe mode

  • dhau
  • Born
  • Born
  • dhau
  • Posts: 2

Post 3+ Months Ago

http://www.danielhau.com/temp/3d.zip

Any idea how and what this is done with besides the obvious (flash)

Thanks.
  • [SteF]
  • Beginner
  • Beginner
  • [SteF]
  • Posts: 58
  • Loc: Belgium

Post 3+ Months Ago

I think this:
2 movieclips:
- movieclip1:
:: - different frames for every state of the car
:: - it stops at every frame unless it's playing
:: > example: if (playing!=true) stop();
- movieclip2:
:: the same as movieclip1, only these states are of the wireframe mode

when you press wire, it changes between those 2 movieclips
rotate to the left goes 1 frame back, and to the right goes 1 frame forward
  • lostinbeta
  • Guru
  • Guru
  • User avatar
  • Posts: 1402
  • Loc: Philadelphia, PA

Post 3+ Months Ago

Yep, I think Stefs got it, but I have a different theory on the frames.

While they rendered each angle in a 3D program and imported each image into Flash on a different frame, I don't think they have it stop on every frame by using an if statement.

I believe they use the nextFrame() and prevFrame() functions.

this.nextFrame() is the same as this.gotoAndStop(this._currentframe+)

this.prevFrame() is the same as this.gotoAndStop(this._currentframe-1)

And when they want it to play, they just call this.play().

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 2 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.