ActionScript 2.0 :: Rotating The Images In '3D', Similar To A Merry-go-round?

Aug 15, 2007

I am creating an animation for a client.I have images of a statue from different angles.I am rotating the images in '3D', similar to a merry-go-round or how the planets circle the sun.I have five separate images, all separated equally by degrees on the circle path (orbit, if you will)

Code:

onClipEvent(load){
y=200;
speed=1;[code].....

Each image is on its own layer on the stage inside the same swf/fla. I'm using the actionscript to animate them. It works, however, I'm having issues with swapping with layers.Basically, imagine that the images are like planets orbiting the sun (the sun would be the center point of the z axis). Right now, the layers are determined by the stacking order I have in the fla file. So, when the first images moves in front of the 'sun' - it should be the top layer, and then, when it circles behind the 'sun' - it should go to the bottom layer. I need the image to be the top layer for 180 degrees, and then the bottom layer (when it goes behind the 'sun') for 180 degrees.

The image also needs to be behind the next images starting to circle the front of the 'sun'. (remember, I'm using the word 'sun' as the center of the z axis).The above code is placed on the instance of the first movie clip which contains the first statue image.Similar code (with different angles and different swapDepths statements) is placed on each instance for the remaining four movie clips. I have 5 total. (see link for swf file)I do need to keep the stacking order somewhat intact, based on the order the statues rotate - but I do need for each one to go to a different lower layer when going behind the 'sun' and then moving up to a higher layer when going in front of the 'sun'.

View 5 Replies


Similar Posts:


ActionScript 2.0 :: 3d Spinning Images - Merry-go-round Effect?

Nov 22, 2007

This is my first post and wanted to say what a great site, i found the above tutorial and wanted to know how i would go about adding different images to the panes instead of having the same image repeated.I've added the below bit of actionScript from the page that i think i have to alter but don't know how to..

"// attach each pane in a loop and arrange them in a
// circle based on the circumference of the circle
// divided into steps[code]....

View 3 Replies

ActionScript 3.0 :: Rotating Round Y Axis Changes Size Of Object?

Oct 14, 2009

I have an flv file which I am playing through an flv playback component. The flv has a width of 320 pixels, however I wish to dynamically control the width of this flv, therefore I have placed it in a movieclip, and set the width to an arbitrary figure (400 in the example below). All of this works fine.

If I then decide to add a function to spin the Movie clip round 360Deg on the Y access, by the time my Movie Clip has done a full circle it is smaller than it was (now 361 pixels).

If I keep the Movie Clip at the same width as the original flv, there is no problem, and if I reduce the width before the spin, then post spin the Movie Clips width is wider.

Code:
import fl.video.*;
var vid:FLVPlayback;
vid = new FLVPlayback();
vid.source = "Media/Some.flv";

[Code]......

View 0 Replies

ActionScript 2.0 :: Character Movement Though Rotating Round Surface?

Feb 10, 2008

i want a character to move on a globe. the movement of the character is shown though not by shifting the positions of the caharcter but by the rotation of the surface of the globe. buttons are used to move leftward and rightward.

Also, there are three layers of the globe to show depth. how would i script it so that the layers of the globe rotate at different speed?

i've uploaded a zipped of a fla file.

View 3 Replies

ActionScript 2.0 :: Rotating Menu - Components To Building Menus Similar?

Jun 12, 2006

Does anyone know of any other tutorials or components to building menus similar to these..[URL]...

View 2 Replies

Find Similar(images To 3D Flash) Service / A Script?

Dec 6, 2010

About 1,5 years ago, met with a Web site. On the website you can upload multiple pictures of the object taken from different sides, and the site gave me a flash movie with my object but in 3D. Very similar to what it is now showing photos in Google maps.

Tell me where I can find a similar service or a script?

View 1 Replies

ActionScript 3.0 :: Tween To Similar Images Imported From Fireworks?

Jul 22, 2011

I made a logo for my website in Fireworks (I tried it in Flash as well, but I couldn't create even a similar one). I imported images and made the intro part. I made a new timeline for every image and tween them the slide in, rotate, etc. At the last frame I gave my movie a "stop();" command. I'm here right now.

I would like to add a shiny effect now which slides over the logo every 4-5sec. I know I have to do some mask thing, but I'm not sure how to start. Should I select everything at the last frame and create a movie clip and then inside that movie clip create a mask? would that work this way?

[URL]

I wanted that background to flow or move a bit, but I can't make a similar image in flash and if I import another image from fireworks I can't tween them. Does anyone know how to tween to similar images imported from fireworks?

View 3 Replies

ActionScript 2.0 :: Math.round() - Round A Number To 4 Digits

Mar 27, 2005

how do you round a number to 4 digits... so 3.45356345345 is 3.456 and 1 is 1.000

View 5 Replies

Rotating Images In A Circle?

Jun 22, 2009

I have been given the task to create something similar to the flash navigation on the link below. I have tried googling things such as "flash image rotation", "flash rotation circle", etc?[URL]

View 1 Replies

Fix Transition In Rotating Images?

Nov 28, 2009

how i could make the transition from my last photo to the first photo a more correct transition. maybe my explanation was difficult to understand??  take a look at these two sites(owendawsonphotography.com / owendawsonpga.com) and look at the rotating slide show. when the last image fades out it goes to complete white and the first image comes in at full opacity. I want it to look like the other transitions in the slideshow.

View 1 Replies

Flash 10 :: Carousel Images Are Not Rotating

Jul 16, 2011

My carousel is all setup and working fine on my site. there is one thing that it is not doing. the images should automatically rotate. the properties are all set in the xml file and look like the following[code]...

View 0 Replies

IDE :: Images Rotating Around Center Point?

Dec 10, 2009

how to do an effect like the one seen on this page?: http:[url]....

View 1 Replies

ActionScript 3.0 :: Add Preloaders For Images On A Rotating Menu?

Sep 8, 2009

Able to direct me in the right direction as to how to go about adding preloaders for images on a rotating menu.

I am not after any kind of complex animation loader, just simple text that says 'Image Loading'

I have a few thoughts which are;

1.create moveclip with the words 'loading Images' some how load this in the background of main holder that loads images in so that when image loads it loads over the text 'Image loading' technically not a loader just text in the background.

2.create moveclip with the words 'loading Images' that when image loads in the text is replaced by image that loaded in? [code]...

View 5 Replies

ActionScript 3.0 :: Click-and-drag Rotating Images?

Nov 11, 2009

I built one of those click-and-drag rotating images. basically you click on it and drag left to right and it will scroll through a series of images in the timeline to make it appear like the object in the images is rotating he problem is I want to be able to click-and-drag the mouse up-and-down, AND left-and-right. Right now I can program it to do one or the other, but not both. if i put left,right,up,AND down in the code it ignores one or the other.

Code:
photos.stop();
var startX:Number;

[code]........

View 8 Replies

ActionScript 2.0 :: Rotating Images Connected To Buttons

Mar 2, 2010

I want to create the same effect that is on this website: [URL]. There are four links below the rotating images. when you mouse over each button the image changes. It changes over top of the previous one. When I create this effect, it seems to jump back to the background and then it fades to the image. I want the image to fade over top of whatever image is already there.

I tried using loadMovie and have each image load on top of the other level but the only problem is that once a movie is loaded on top of another you can't call that previous image up again. It's like once you load level 10 over level 5 then level 5 can't be seen again until you refresh the page. Is there a way to just tell it to loadMovie over the current level without actually calling that level?

View 1 Replies

Professional :: Adding Images In Rotating Banner?

Mar 18, 2012

What's the quickest way to add/replace an image in a rotating banner using CS5.5?

View 14 Replies

ActionScript 3.0 :: Rotating Linked Images Within A Template?

Mar 3, 2011

I am trying to create a rotating 4 image flash file (which that I can do) with each of the images to link to different locations (which I can do) but my question now that that is complete is....

How can I swap out the images & the links based upon what site it is showing on in terms of a template. Currently we utilize one main template across 50+ sites & each of them would like 4 different images/links rotating - is this possible and if so how in the world would I do it?

View 0 Replies

ActionScript 3.0 :: Create Such Rotating Images Effect?

Dec 29, 2010

How can I create such rotating images effect using AS3? Using Flash CS4.

[URL]

View 4 Replies

Professional :: Make An Object Look Like It's Rotating In 3D With Multiple Images?

Nov 8, 2010

I have multiple angle images of an object and I want the result to be the same as the link here. [URL] I don't know flash at all but it seems like there would be a simple program (even if I have to pay) that allows me to import the images, set the rotation speed and other settings and then hit export to .flv file or something. Does anyone know of a program to do this, or a simple method?

View 3 Replies

ActionScript 3.0 :: Making ECommerce Header With Rotating Images?

Jan 24, 2011

I am trying to make a eccomerce header with rotating images that are linked in flash CS4. My problem is I get this error #1009 and I am not sure why. btn1 works fine but btn2 says its null and I check spelling and its correct for my instnace for button. It is the same for btn3-5 with the error.

btn1.addEventListener(MouseEvent.MOUSE_UP, goLayersSite);
function goLayersSite(event:MouseEvent):void {
var slideShow1:URLRequest = new URLRequest ("[URL]");
navigateToURL(slideShow1);}
btn2.addEventListener(MouseEvent.MOUSE_UP, goLayersSite01);
[Code] .....

View 1 Replies

Actionscript 3 :: Rotating Images Wit Odd Pixel Sides Length?

Aug 10, 2010

If you have an image whose sides are even for example 48 x 24 you may do this and you are just fine:

matrix.translate(-24, -12);
matrix.rotate(Math.PI);
matrix.translate(24, 12);

But if you have an image of size something like 49 x 25, then there is a problem with those odd pixels, how to compute when and where to add or remove those odd pixels so image gets allways perfectly rotated?

View 1 Replies

ActionScript 3.0 :: Image Quality Suffers When Rotating Images

Dec 14, 2010

I am having a quality issue when rotating images dynamically loaded into movieclips. I am not resizing them. I am only rotating them. I have tried applying smoothing to the bitmaps, but that has not helped.

View 2 Replies

Actionscript 3.0 :: Photo Panels Tutorial - Images Are Not Rotating?

Apr 9, 2010

I am following the 3d flash panels tutorial located here. My ActionScript matches exactly to the tutorial at 11:54 excepting the document size because it is different in my document.

Code: Select allpackage [code]..........

I have the TweenLite com folder in the folder that the FLA is located in, and my document class is named PhotoPanels as in the movie, but my images are not rotating as they do in the tutorial at this point.

View 3 Replies

Javascript :: Resizing / Cropping / Rotating And Adding Text To Images In Rails

Apr 20, 2011

I need to include a feature on an app I'm building that allows the user to upload an image and manipulate it in various ways including adding text. This is basically a way to design custom printed merchandise as is already found on many websites and will be overlayed on a background image of whatever is being customised e.g. T-Shirt.The basic requirements are: resize, crop and rotate image against background. Overlay and change position/colour/style of text against image. Preview the final design against the background.

I know that flash is possibly the best solution but I was really hoping to avoid it and use Jquery instead. While there is plenty out there for resizing and cropping images with javascript there doesn't seem to be anything that fits my needs.

View 3 Replies

ActionScript 2.0 :: Create Simulated 3D Rotating Set Of Images - Change Scale, Depth, And _y Based On _x?

Jun 26, 2007

I'm looking to create a rotating set of images, simulated to look 3D... that can rotate either left or right, reactive to someones mouse location.

The path of the images would look like a flat oval, and as the images came to the forefront, they would be at full scale, have the lowest position (high _y), have the highest depth (appear in front of everything else) and be dead center _x.

As they slide left or right, they would reduce everything by a relative 50% to the final shift (scale, _y, and depth) until they got to the end, moving in an upward arc following the oval path. When they got to the end, and kept rotating beyond (move in the opposite _x. but appear to follow the flow of the arc), continuing to decrease in scale, _y, and depth.

View 1 Replies

ActionScript 2.0 :: Rotating Menu With Non-Rotating Labels?

Nov 1, 2005

I have a rotating menu that sets the selected button to the 3:00 position once clicked. I need the labels for the buttons to stay in the upright position as they rotate with the button. I have attached an image. Anyone know of an action script that would keep the labels upright?

View 8 Replies

ActionScript 2.0 :: Round 4.239 To 4.24?

Dec 4, 2004

I want to round 4.239 to 4.24

View 2 Replies

ActionScript 2.0 :: What Is Math.round() Do

Apr 29, 2010

What is math.round() do? In kirupa's Random numbers tutorial, he explained the use of math.floor(), but said round() was for another time. Yet I see that, and not .floor() in use in the random movement tutorial.

View 1 Replies

Make Something Flip All Way Round?

Dec 12, 2007

I have a graphics object.I want it to doa full turn all the way round.To give the impression that it's turning around.What I can do is create an object, put another instance on a key frame later, and on that instace simply flip the object horizontoally.When I play the animation...It has the effect of doing half the turn.what I want is something that flips all the way round!I've played with trying to do this...But i just cant get it to work.

View 1 Replies

ActionScript 3.0 :: Round Up To The Nearest X?

Jul 2, 2009

how to round up to the nearest X?

eg. I want to round up to the nearest multiples of 90

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved