Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




How To Rotate An Selfmade Objekt 360°



Hi there,

i have a package in 3dmax, now i want in flash with the pics from 3dmax do something like this:

http://www.suurland.com/modelviewer...modelviewer.htm

how can i do this? ist here any usefull tut. Or how can i do it.

thanks
zheelo



FlashKit > Flash Help > Flash MX
Posted on: 08-21-2002, 12:50 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

How To Use Classes For Selfmade Components
Hi,
I have developed few components to reuse my codes (all codes in fla). It is very helpful for me. Now I want to use classes (compiled swc with as files) for my components. It is woking in normal fla files but whenever i compiled it into component it stops working without any error.
Plese help me how can i use classes to my components.

Regards,
Gunjan

Rotating Objekt?
Hi, got an MC that should rotate to 40 degree after I klicked a button. The rotation speed should be soft. I used this AS
Code:
button_1.onPress = function() {
hintergrund._rotation = 40;
};
button_2.onPress = function() {
hintergrund._rotation = 20;
};
button_3.onPress = function() {
hintergrund._rotation = 0;
};
button_4.onPress = function() {
hintergrund._rotation = -20;
};
button_5.onPress = function() {
hintergrund._rotation = -40;
};
to rotate it to 40 or 20 degree in one step. Does somebody knows which codelines or variables I have to add to make it rotate soft and in more than just one step?
THX defcon79

5 Drag Objekt And Telltarget
Hallo,
sorry for my english, I`m from germany :-D
i hope you can help me with my problem in Flash4.
now my problem:
I have made a player there the user can put 5 cd in and than will play it.
All 5 cds goes in the player and play theres no problem!
I have 4 cds in one row and the one Nr 5 under this row, but only this cd5 does not go to her target than she comes out of the player.
Can this a problem with the rows?

JUHU I have found it, oh IŽm so stupid

Claudia

[F8]Objekt Moving Along Drawn Line
Hi guys,

I need help with the early stages of a simple flash game. There is an object that falls down from above, this object is supposed to move along a line which is drawn while the object is falling.

Implementing the falling object and the ability to draw lines is no problem, but how do you tell flash to make the object move along the drawn line once it collided with it?

Thanks in advance for any helpful advice.

-eclaw

(application/x-shockwave-flash-objekt)
I have this address: "www.laudes.nu" but if you go to the page youŽll see that the title is "(application/x-shockwave-flash-objekt)" which I donŽt like. It is also impossible to view the source code.

I have created a fla-file called index.fla, a swf-file called index.swf, and a html-file called index.html which has the title "Laudes - December" in the <head>. The swf-file and the html-file are on the webbserver.

Everything looks fine, except for the title, when I go to "www.laudes.nu". In order to see the correct title (and to be able to view the source code) I have to write: "www.laudes.nu/index.html".

Why and how do I solve the problem (I donŽt want to write "/index.html")????

How Do I Make The Mouse Cursor Push Away An Objekt?
I would like to make an objekt "run away" from the cursor. For exampel a button that is "unclickable" because it moves away as soon as the cursor is getting close.

How To Make An Objekt Follow The Cursor In A Menu?
Hi everyone!

I`m very new in flashscripting and in scripting what so ever!
I have a large homepage projekt i`ve been working on for a very
long time so now i have most of the peices and animations done,
But i cant script and do interactivity im very novice in that.

So straight to the thing! I wonder how you make an objekt
follow the cursor when you navigate thruegh a menu insted
of the usual that a link highlights on mouseover or change color.
It shall ONLEY apear on mouse over with an infade and as i said
it shall follw the cursor BUT!!! I want it to be a little rubberband
effekt. And as the user takes the cursor away it fades away softly!

I have an almost perfekt example of a swedish homepage that i found.
Check out the pink underline that follows the cursor.

http://markus-2.rah.se/index.asp

Someone mentioned it could be enterFrame script
with x_mouse and y_mouse but it didn`t work!
But well its as most the scripting i do cause im new in it!

Help!!!

Simple Circle Rotate (Ring, Donut Rotate)
Why this simple rotation doesn't look nice?

Download FLA Movie

The animation it's a simple ring/donut, thats rotate around it's own axis.








It's a simple 2D animation, do you have some tips to do that rotation?

Many... Many Thanks!

Rotate
Can someone help me with this?
I made a input field box, and I line next to it. I have to make the line rotate according to the degree I put in the input box. Is it even possible to do it with actionscript or do I need the help of PHP?

Sonia

Rotate
Hi

How can I with a SIMPLE script

rotate a movieclip and set the speed


:-) have a nice day

PAUK

Rotate MC
Hi, I posted here several days ago and received no helpful responses??
I Have 2 clips, one called menu_01 and one called rotate. I would appreciate any help on how to get buttons on rotate clip to control rotation of menu_01 clip.
I'm looking for some action script for the buttons to rotate menu_01 90 degrees smoothly in either direction.
I'm lost with the action scripting and looking for some direction..
thanks..

(by the way.. I'm using flash mx)

Rotate MC
I've posted twice in the flash newbies with no luck.. hopefully someone here can help.

I Have 2 clips, one called menu_01 and one called rotate. I would appreciate any help on how to get buttons on rotate clip to control rotation of menu_01 clip.
I'm looking for some action script for the buttons in the rotate.fla to rotate menu_01 90 degrees smoothly in either direction.
I'm lost with the action scripting and looking for some direction..
thanks..

Rotate
I was wondering... is it possible to make the text rotate form left to right and do a whole circle. By that I mean filp around and all sorts of stuff. If I am confusing I have some examples at http://www.angelfire.com/games/mypagejosh/ But I want to loop and go all the way around.

Thanks in advance!!!

Can't Rotate MC
sorry if this is too basic - but I appreciate any help.
I have an existing swf 600 X 80 in size (created earlier, so I no longer have the fla)
I want to load it vertically into another movie.
This script is not working:

onClipEvent(load){

set(_rotation, getProperty("/movieClip", _rotation));

setProperty("/movieClip", _rotation, Number(_rotation)+90);

}

Can anyone help? Many thanks!!!!!

Using AS To Rotate A Mc?
hi there, i have a movie clip of a cd, and i want it to start spinning as if it were playing in a cd player?

how would i go about making it start off spinning slow then getting faster and then continue at a steady rate?

Help Me Rotate This Mc
i'm using mx pro 2004 and wanted to just rotate a movie clip.

My movie is so simple but just does not work. This is the code i'm using:
.................................................. ..

on (release){
my_mc.rotateTo(180,3,"easeoutback");
}

.................................................. ..

All i have is this action on a button, and a movie clip (my_mc)
Help!!!!

If Rotate?
Im making a site, one that the menus side around when different buttons are clicked, anyways, I'm using RPEE equations for nice smooth transitions Anywho, for one thing I want my menu to rotate, and the problem is, after that, if someone clicks a button everything will still be rotated, I think this involves an if statment to get it right, but I've never used one before

So For button one it retracts a box, slides one out and move's the movieclip its in, and rotates it.


Quote:




on (press) {
this._parent.motion.slideTo(90,0, .4, "ease0utelastic");
this._parent.visual.slideTo(-288.9,0, .4, "ease0utelastic");
this._parent.slideTo(300,50, 1, "ease0utelastic");
this._parent.rotateTo(90,1, "ease0utelastic");




And for button two, the one that has to recognize that the movieclip is rotated, and rotate it back I have this.


Quote:




on (press) {
this._parent.visual.slideTo(90,0, .4, "ease0utelastic");
this._parent.motion.slideTo(-288.9,0, .4, "ease0utelastic")
this._parent.slideTo(130,100, 1, "ease0utelastic");




So I need to add a way for it to rotate the movie back only if it was originally loaded. Any help please?

Rotate
I just need the command to make something rotate is it like:

Code:
_root.MC._rotate -= 6
??

Rotate
dear friend i want to rotate globe horizontal.plz let me know.

thanks
aman

Rotate Help
Hey Guys! I learned how to use flash in school long before actionscripting ever came into the picture so this is my first attempt . . .

I was trying to make a hydro meter so I used a clock tutorial and got things set up to look the way I want however my needle, which I would like to be moving continuously around the dial, is jumping like a second hand. I guess I thought I would just be able to speed it up to look like continuous movement but not so far.

Help? Here is the actionscript I'm using.

clock.onEnterFrame = function():Void {
var clockTimeate = new Date();
var seconds:Number = clockTime.getSeconds();
this.secondHand._rotation = seconds*6;
}

Rotate
hey,

i'm using the mx tween class and having trouble with the rotate property.

TWO QUESTIONS:
1) What is the proper syntax for this property?
2) Does Adobe/Macromedia document the available properties for their mx tween class?


******here's a sample**********

new TweenDelay(holder.starburst4_mc, "_rotate", easeOut, 0, 1020, 2, 0, true);

3D Rotate
Hello,

I am trying to make a movieclip on the stage rotate on its center axis. Just as if you had circle (or something) in After Effects and make it spin on its Z(?) axis. This is for a flash banner so I can't use a jpeg sequence exported from AE.

Has anyone out done this with actionscript or is there a compentent out there?

Thanks!!!!!!

Rotate
sorry but none of us helps me i want to male a flash game like on the page http://www.saunalahti.fi/~paca/flash/Tykki_en.htm but with the cannon to rotate when i move the mouse please help

Even Rotate
hi, i am having problems with the rotation of an object in flash: i have got a motion tween rotating it but it gradually slides off course, to get an idea - it is the avatar on my MySpace:

http://www.myspace.com/swordfishsoundsystem

? thanks

Rotate JPG Or PNG
Hello
I'm doing a website and a i have to put some images imported from a file (by actionscript), the problem is that the images must be rotated, but when i rotate the images loses quality, for example the lines look like stairs lol. (sorry my bad English, lol). The image looks great when strait, but when rotated... :s

What i'm doing wrong? I import the image to a holder by loadMovie, the holder is the exact size of the image and i have tried to import jpg and png, and the problem is the same... I have tried to put the jpeg quality to the max and the movie quality to the best... No changes...

Can any one help me?

Rotate PNG ?
is it possible to rotate a png without loose quality ?

3d Rotate
Hi, does anyone know how I can rotate (motion tween) an object so that it is not a flat rotation. I would like the object to be three dimensional (I mean like a thick circle not a paper thin one).

3d Rotate
xI've been hired to make a flash intro for a dutch website.

The client wanted a nice effect on his logo to start the intro, he said "something like I duno make it rotate or something cool"... well I know what he means do you lot? Becuase I'm having trouble with it... I'm very new to flash but have made a few good flash banners for people but this effect is new to me.

http://www.xboxpoint.com/how2freelance/clients/Dikkop/logo.jpg

There's his logo, he wants to D to rotate, as you can see in so many template monster flash templates. I was wondering if anybody knew how to do this and could teach me, or if anyone has any suggestions for an easier yet "cool" effect I could do as it's still early days for me with flash... p.s. he wants it finished by tomorrow.

Rotate MC's Cw En Ccw
Hello,

I have a question about rotating movieclips:


If I click on mc1, then mc1 has to go to the position of mc3, mc3 has to go to the position of mc2. The same thing must happen when I click on mc2, it has to move to the position of mc3 and mc3 has to move to the position of mc1. I would like to create some kind of infinitive effect by rotating the mc's. In a later stadium I want to fill the mc's with pictures. But I don't know a proper solution in as. Could somebody help me with this, or does anyone know an example? Thnx in advance.

Ordell

See Rotate
i look http://www.wet-tshirt-worldcup.com/ i want to know code to procesed it .
it is wonderful for me and who have tutorial it. Thanks..............

Rotate ONCE
I want something to rotate ONCE only when the left key is pressed, but i can't figure it out. Can anyone please help?

How Do U Rotate 360?
How do u make something rotate 360? Do you need a keyframe at 180? Or is there an easier way?

While i'm here

Claudio, thanks for everything u've helped me with as well as many others in Kirupa ^^

AS 2 3D Rotate
Hi

See this link of the car rotating

http://autos.yahoo.com/2008_lexus_rx_350_awd-360/

How could I achieve this?

Thanks

3d Rotate
Hi, does anyone know how I can rotate (motion tween) an object so that it is not a flat rotation. I would like the object to be three dimensional (I mean like a thick circle not a paper thin one).

3D Rotate
Hey,
I would like to know, how to create a 3d rotating effect, using a simple shape like this one here, i wold like to get the "CD rotating effect":

http://elcardesign.com/fhelp/1.JPG
, then, to create the "CD" rotating effect, i transformed it, by stretching one corner out, and made it look like if it were at an angle, and platter.

http://elcardesign.com/fhelp/2.JPG

Then, this is how i'd like it to rotate:

http://elcardesign.com/fhelp/3.JPG

The red arrows show the direction i want each half to move, and the yellow dot would be the pivot.

Any similar pre-made flashes?
Any suggestions?

Thanks

Rotate Button
hi, just drop a little question here ..
does anybody know how to drag an oject into a specific path?
once i saw a button that can be drag along in a circle path ...

thanks in advance,

Rotate Object More Than 360
I am trying to make a motion tween where an object rotates completely around and then stops in another rotated position so this would be greater than 360. Flash 5 automatically changes any rotation greater than 360 to whatever the angle is with no full rotation (if that makes any sense at all)

Rotate In Actionscript
I need to know the script to rotate an object with actionscript, any help is appreciated.

Can I Rotate A MC Using Actions Only?
Is it possible to rotate a MC using just action scripting? If so please explain.

Thanks for your help!

Rocko

How Can I Rotate A Coin?
Hi people!

You know when you make a coin rotate on a table... well, I want to make that but the point of view I want is not the zenit, but the one you have with your eyes at the same height as the coin, that is, looking at the coin horizontally. How can I?

You know, I want that "coin" to have three different drawings, the one with the "face", the one with the "cross", and the thin edge line. Is it possible or is it I'm asking too much and I'd better try it with another program (which one better?) and then import it to Flash?

Thanks

How Do I Rotate And Scroll?
If i have a 3D cube and i want to rotate it all the way round, how do i do this? And also how do i scroll down text with a scroll bar?

Rotate A MC By MouseEvent
Hey board,

how would you code the following action:

there is a ball-MC on the stage and when i would press the MC and move the mouse clockwise oder counterCW the ball-MC should be following my move CW or CCW.

Would be like a volume button to move left- or rightwards.
can anybody give me a hint how to code that?

thanks!

Zacky

ROTATE IMAGES?
anyone know how to custom rotate an image to any position??

thanks in advance!

How Come Only Some Of The Boxes Rotate?
I have this matrix code that layers out the mc "mat" 5 by 5 so 25 in all in a grid. Why does the prototype only work on half of them (or about half). The script is in the first keyframe and on the stage only one mc named "mat".
I can get the top half to rotate or the bottom half to rotate but not all at once. Have I somehow got the code wrong?

stop ();
_root.mat._visible = 0;
for (i=1; i<6; i++) {
for (j=1; j<6; j++) {
_root.mat.duplicateMovieClip(j*i, j*6+i);
_root[i*j]._x =100+j*55;
_root[i*j]._y = 25+i*55;
}
}
Movieclip.prototype.rotate=function() {
_rotation +=5;
}

//code on "mat" mc.
onClipEvent(enterFrame){
rotate()
}

Rotate Using Specified Axis
Hey,

How do I tell an object to rotate along a specified axis? I did "edit center" and while it rotates just fine using the rotate tool in the toolset, the _rotation script rotates it using the original center.

any help would be greatly appreciated

Help - Rotate .swf Files?
Is it possible to rotate .swf files. For example on our home page we are trying to sell three different but related products, so that each time the user logs onto our site a different swf file appears.

thanks

Drag And Rotate
hi everyone,
i have an arm that i want to be able to drag and rotate. i know that to drag the arm with limits you have to use something like this:

on (press) {
arm.onPress = function() {
startDrag(arm, false, 129, 50, 400, 304);
};
}
on (release) {
arm.onRelease = function() {
stopDrag();
};
}

this only drags the arm within those boundaries, how can drag the arm so it rotates at a maximum angle of 45 degrees.

for a visual description please go here:
http://members.rogers.com/madizm/arm.html

thanks in advance

Drag And Rotate
Hi,

I have been trying in the past few days to do this, I have no idea on how to get started.

I want to drag and rotate an object within 45 degrees, no more or no less. I can drag the object but i can't get it to rotate.

I have attached the file i'm working with.

And here is what I mean:
http://members.rogers.com/madizm/arm.html

Rotate Two MC To Face Each Other
Hi there,
I have movie clips wondering the screen and when they come across each other they stop.

But I would love them to rotate and face each other.

any ideas anyone or examples
cheers, stu

Copyright © 2005-08 www.BigResource.com, All rights reserved