Rotate a 3d sphere?

Posted on 2004-11-29
Last Modified: 2012-08-13

Hello, new to Actionscript. In an effort to learn I've assigned myself a made up project and I have no idea where to start, as it seems an incredibly complicated task. I will try to explain:

A game where I would have a 3 dimensional sphere with dots on it, each of which I would like to store its coordinates. Each dot represents a question, and each time a question is answered correctly it will draw line to another dot on the sphere. The coordinates of the users answered dots will be stored and when they return the movie will start by drawing a line connecting all the correctly answered dots. In the end when the questions have all been answered the drawing between the dots will reveal a pattern like on a christmas bulb.

This is just to try and learn how to take a 3 dimensional object and draw a line across points of it's surface depending on what coordinates have been stored in the users profile. At the same time I draw a line a need to know how to rotate the object to it's next position.

Does this make any sense? I know how to save data, get it back and draw lines on a 2D surface but not while using a 3 dimensional object

Any help in the right direction is appreciated!!
Question by:animated405
    LVL 27

    Expert Comment

    Well, I have not yet seen an object rotating with curves, faking real 3D. I can give you this to try something while looking for something better..

    Just include it in the first frame of a new movie..
    LVL 10

    Accepted Solution

    That does seem extremely complicated.  About the best info I know of simulating 3d in actionscript is at, the page can be found here:

    As complex as those are, they aren't anywhere near what you're describing, but hopefully it will be helpful.

    Author Comment


    Thank you very much. I don't think what I want to do is really possible. If it is I'd really like to know how to do it. I figured out a way to accomplish a similar effect using a combination of 2 dimensional imagery that just wont be as rich as I would ideally like.

    Anyway, that's a great site and I came across I lot of other great turorials after reading through some of those.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
    In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
    In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
    The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now