IDE :: How To Rotate In 3D
Apr 28, 2009How to rotate in 3D [URL]
View 1 RepliesHow to rotate in 3D [URL]
View 1 RepliesI am having some dificulty making a path for this enemy i'm trying to create... cause i want him to rotate + move, then stop, then shoot, then rotate back and move off screen... Its easier if you see it.. you can download the swf file in the zipped archive to demonstrate what i mean. I did it there with tweens. Anyway.. i tried and make it but i'm a little stuck on the stopping part... you can also see what i did in the fla file attatched...
View 1 RepliesI'm working on an e-greeting card. I want to transition the point of view from the top (aerial) view of a gift box to the side profile view of the gift and zoom out simultaneously. Similar in effect to changing a camera angle from top and zoomed in to low angle and zoomed out. Can somebody point me in the right direction to create the object and make the 3D rotation?
View 2 RepliesI'm trying to create some animations, I put some text in it, but when I tried to rotate the text within the animation, it doesn't work. The text stands inside the animation only when the animation is in its original form, and while it's rotating the text is gone
View 3 RepliesI have a mc that I need to be rotating on itself every other frame, so I did something like this on the MC :
[AS]
onClipEvent(enterFrame)
{
this._rotation += 8;
}
[/AS]
The thing is that it rotates aroung its upper left corner. So how do I specify that I want it to rotate from the middle of the MC ?
I'm trying to make a dummy from a circular menu that reacts (rotate) to mouse movement, I uploaded a fla example, different colors, size, etc, but essentially the same in
function; but for now I'm freezed how to do somethings, I'm not a programer or actionscripter, but I want to learn.Currently using CS3 and AS2, downloading the FLA example may help.
Ok, in the "fla", you will see a circle who rotates versus mouse movement (I would like to make a delay rotation for a smooth feelling when mouse is moving, those like "_x += (_xmouse/5)" but with rotation. Other thing I would like to do,is... that the movement stops progressively a few degrees before the mouse reach de cian angles(a1,a2), and then, the circles doesn't move if the mouse is moving under those angles, like a... an inactive area(U1), and if it could work with instances.
I have a movie clip that is rotated when a button is clicked:
Quote:
mc_rightBtn.addEventListener(MouseEvent.CLICK, onRotateRight);
function onRotateRight(evt:MouseEvent):void {
var myTweenRotation:Tween = new Tween(mc_gallery, "rotation", Elastic.easeOut, 0, 90, 5, true);
}
The problem I have is that when the the right button (mc_rightBtn) is clicked again, the rotation starts from the original position. Ideally I would like the rotation to continue from its current position.
CS3 rotate and duplicateMovieClip?
View 2 RepliesI am using the following script in AS3 in order to rotate an MC around its center:[code]Works great, only rather than a CLICK, I would like the mouse to cause the MC to rotate in response to the mouse's movement up and down the y-axis of the MC I want to rotate. How can I write a script so that the mouse location in relation to the y-axis of a specific MC will trigger something?
View 1 RepliesI'm using Flash CS4 and AS3 and trying to get this cube to look as though it's actually in 3D space. [URL]. I know that because it's really two dimensional I'm dealing with the panels being on set layers and I need them to dynamically figure out what panel should be brought to the front. I don't really even know how to tackle this... Is there code I can use to get it to constantly check what should be on top? How would it even test this?
View 5 Repliesi have one display Container with textfield.When I rotate my displayContainer , my textField disappear. Is there any solution so that my textField cold rotate ?
View 3 RepliesI'm trying to get three images to rotate around each other. two objects in the background one in the foreground. They will change scale as the one object comes forward and the other comes back. I put each object(movieclip) on a seperate layer, and created motion tweens for each one (scaling and position.), I tried to use the setchildindex command to get them to move positions at certain keyframes, but when I added the set index command on one MC ( just on the first frame), and that movieclip stops, but the others play.Added it to the other two the animation stops entirely.
Can you use this command on a manual motion tween? or will I need to build it with tweens in AS3?
I'm trying to do something that I thought was standard/easy in flash. I would like to rotate photos on my Dreamweaver website homepage (dissolve from one photo the next) - like a slideshow. How do I do this and then incorporate into Dreamweaver?
Is it using Flash animation, or Flash slideshow/photo gallery? Can I embed that right into my homepage?
botonDerecho.addEventListener(InteractiveScene3DEvent.OBJECT_PRESS, giraDerecha);
private function giraDerecha(e:InteractiveScene3DEvent):void
{
[code].....
I wanted to write a simple 3d image rotating around the y-axis as the Image carousel. I can place all the photo around the axis but I can't get the main image facing towards the screen. I mean the z-axis isn't pointing towards the screen. Instead, the z-axis is towards the top left corner. How do I make the z-axis pointing perpendicular to the screen?
View 1 RepliesI want to rotate a sprite in 3d using AS3. The example below, tells how to do rotate an image using MXML and AS3, however, I want to do it through pure AS3
View 2 RepliesI am having problems with this Flash movie of an draggable, rotatable XML blog. I have got the XML stuff working OK. I'm just having problems making the drag-to-rotate thing work. I want it to be able to be moved around the page like a piece of paper and rotated such.
View 1 RepliesI want to write a function to make a movie clip rotate 90 degrees but I can't figure it out. I'm using as3
View 1 Repliesi have a segment of a circle that i want to rotate within another circle (by clicking on it). if this segemnt reaches a certain point i want it to rotate back to another point and then it should go back until the first set point. basically it should go back and forth between two points
var myRotation:Number = 0;
segment.onRelease = function() {
myRotation += 10;
[Code].....
How can i rotate in 3d form the center?[code]....
View 1 RepliesI am wondering how I can make a top viewed char, that is rotating after my mouse. With an enter frame function or something?
View 1 RepliesI'm not real great with actionscript, but Im trying to get a MovieClip Symbol to Rotate continously, while it fades in and out, using actionscript. I have the Symbol Rotating, but cant find a fade script that I can understand .[code]...
View 4 Replieshow could i make the whole movie start rotated? i am using the movie on mobile,.. so is there any function that make it full screen and rotated ?
View 1 RepliesI am working on a car game in flash where you see the car from a top view and you go straight ahead all the time on an endless road.
The game so far is built in the way that I have a image of a car that's the main car and the road is a image itself that keep switching with another image of the road and when you play it it looks like the car is moving very fast. But actually the car is not moving at all except for when you move it yourself by going right or left.
When turning right I do not want the car to simply move to the right, but I also want it to rotate a bit so it looks more realistic when turning.[code]...
I am having problems finding a way to rotate an object with mouse movement when the mouse is down, and stop the rotation when the mouse is released.
I can do drag and drop ok but this doesn't help at all.
Im new in actionscript. How can i rotate like in 3d my movieclip? I loaded photo to movie clip and i would like to make photo gallery with nice image rotation.
View 7 RepliesI want to rotate (animated of course) a movieclip and stop the rotation with an easing out when I rollover a button. On roll out i want the movieclip to return to its previous state.
[URL]
make some kind of Compass and I want to know how I could make the needle spin around its own axis with one of the ends following the mouse pointer. how could I do that?
View 4 RepliesHow to rotate a textfield in as3?
View 14 RepliesI'm in a bit of a pickle with this problem. How the heck can I create a function which rotates a uint value gradually through all colors? E.g, start with red, fade to yellow, then green, blue etc. over time then back to red.een rattling my noggin (and google) now for a while but come up with noBthing that wouldn't be insanely long-winded. There must be an easy-ish way to do this?
View 5 Replies