PDA

View Full Version : scrolling 3d thumbs as a movie clip



snake
September 25th, 2003, 11:31 PM
I have a 3d rotating thumbnail movieclip. and I wish to be able the rotated it in both -x and +x directions. It loops, but I need to be able to controle the direction with a scrollover technique.

any ideas??

Thanks in advance

Rob

kode
September 25th, 2003, 11:49 PM
Welcome, snake. :)

Would you post your code or attach the FLA? You really need to provide some more details. :P

snake
September 25th, 2003, 11:51 PM
post your email and i'll send you the file

Rob

kode
September 26th, 2003, 12:11 AM
If the file is too big to be attached, why don't you just upload it to your server and give me a link to it? :-\

snake
September 26th, 2003, 12:12 AM
its not actuall its 500k


I really would appreciate the help, i'll email the file, or you can see an example of the effect here at this site

http://www.ericbean.com/

kode
September 26th, 2003, 12:22 AM
I'd prefer if you upload it to your server, but I sent you my address through a Private Message (http://www.kirupaforum.com/forums/private.php?s=). :sigh:

And I still don't get what you're trying to do, though. :P

kode
September 26th, 2003, 01:22 PM
Oh! I see...

The problem is quite simple, you tweened the whole thing! You should code it!! ;)
Check out this open source by Jared Tarbell (levitated.net (http://www.levitated.net/)): Cylinder Image Display (http://levitated.net/daily/levCylinderImageDisplay.html).


However, you still can fake it, even if you tweened it.

onClipEvent (load) {
var frame = this._currentframe;
var speed = 5;
}
onClipEvent (enterFrame) {
var diff = this._x-this._parent._xmouse;
frame += Math.min(Math.max(-speed, Math.round(speed*diff/this._x)), speed);
frame += frame<1 ? this._totalframes : frame>this._totalframes ? -this._totalframes : 0;
this.gotoAndStop(frame);
}

snake
September 26th, 2003, 02:00 PM
oh mu GOD, your incredible
THANK YOU SOOOO MUCH!!!

Rob

kode
September 26th, 2003, 02:28 PM
;)

No problem. :P

holePUNCHED
October 5th, 2003, 02:06 PM
kode, I've d/led that source code. I don't know if you have really looked much at it, but I really can't find a way to customize it with my pics. I'm almost to the point of actually buying the component on flashcomponents.com Is the free example above something that a fairly new person could handle? I saw there were multiple movie clips, and explored them all, I just don't know where to begin. I appreciate any help you can give.

kode
October 6th, 2003, 12:53 AM
Actually, I haven't. :P

I created something like that a few months ago... I'm not sure if I still have the FLA, though. :-\
In case I don't have the FLA anymore, I'll download Jared Tarbell's FLA and try to help you. ;)

kode
October 8th, 2003, 04:01 AM
Ok. I couldn't find my FLA, so I decided to create the whole thing again. :P

It's fully customizable; play around with the value of the variables defined in the first lines of the code, put each image on its own frame in the movie clip images_mc and you're done. ;)

snake
October 20th, 2003, 12:40 PM
i was just wondering how you would go about putting objects or text in the middle of the rotating pictures. I have accomplished this but I had to export for action script on first frame. This causes problems with the preloader.

if there is a way, hope to hear back from you.
I like the methode yuo used to accomplish this Kode


Rob

kode
October 20th, 2003, 02:09 PM
... Merged threads. :sigh:

Put the title (or the object) into the movie clip instance center_mc. :)

And if you're wondering why it didn't work when you tried it, run a search in the forum because it has been asked many times.