ActionScript 3.0 :: Papervision - Allow User To Spin Globe By ClickDrag

Jun 21, 2009

I've got a globe which I'm adding markers too and then I allow the user to spin the globe by click-dragging it. Actually, the globe and markers don't move, the camera moves around them. Anyways, what I need is to be able to spin the camera around to a markers position when it's clicked on.

Code:
package {
import flash.display.BitmapData;
import flash.display.Loader;
import flash.events.Event;
import flash.events.MouseEvent;
[Code] .....

View 2 Replies


Similar Posts:


ActionScript 2.0 :: Spin The Globe - Globe Cannot Play Backward ?

Jul 10, 2006

my boss gave me the difficult project. he wants me spin the globe.now i can spin the globe forward and backward. but has one error that the globe cannot play backward continuous when my mouse is move more than 1/2 of stage width.it's should be

forward :: frame 1, 2, 3, 4, ..., 24
backward :: frame 24, 23, 22, 21, ..., 1

no have error when play on frame 1 - frame 23

find the error when play frame 24

it is forward :: frame 1, 2, 3, 4, ..., 24 and not play backward and the problem can found when play until the last frame.here is code

Code:
stop();
//forward
MovieClip.prototype.playForward = function() {[code]........

View 1 Replies

Actionscript 3.0 :: Globe Done In Papervision

Jul 2, 2009

I have done globe in papervision - basically sphere + material (image of political map) over it.Now, I need to make every country on my globe interactive, what means, I need somehow create event listeners for lots (at least 15) of small areas on my globe, and if I click those areas, something will happen (say, additional info windowwill come out)I googled a lot and found a lot of things describing some realted stuff (hotspots?), but since I am quite new in flash/actionscript/papervision, could I, please, get some introductory idea how my problem might be solved?

View 1 Replies

Interactive - When The User Mouses Over The Globe Is Stops Rotating - Button

Jul 9, 2009

I made an interactive rotating globe that shows all the continents (using CS3 and AS3). The globe rotates automatically. When the user mouses over the globe is stops rotating and they can use left/right arrows to rotate it manually to get to a continent. When the mouse rolls over a continent (Australia for instance) it changes color and should be clickable and go to a website but it's not working. It doesn't return any errors. The basic structure of it is this:

[Code]...

View 3 Replies

Actionscript 3 :: Load A Papervision/Flex Application (SWF) As A Material On A Papervision Plane?

Mar 24, 2011

I am trying to build a portfolio application similar to the used by Whitevoid. I am using Flex 4 and Papervision3D 2. I have everything working except for one issue. When I try to load an external SWF as a material on one of the planes, I can see any native Flex or Flash components in their correct positions, but the papervision objects are not being rendered properly. It looks like the viewport is not being set in the nested swf. I have posted my code for loading the swf below.

private function loadMovie(path:String=""):void
{
loader = new Loader();
request = new URLRequest(path);

[Code]....

Below I have posted two pictures. The first is a shot of the application running by itself. The second is the application as a MovieMaterial on a Plane. You can see how the button created as a spark object in the mxml stays in the correct position, but papervision sphere (which is rotating) is in the wrong location.

View 1 Replies

ActionScript 2.0 :: F8 Flash Globe Carousel

Feb 14, 2009

I am trying to develop a Flash globe carousel and I need some help in doing so.A normal carousel moves along a circle.I am trying to develop a Flash carousel that moves in every direction along the lines of a globe. You can see attached a normal carousel that I have created. I have tried to upgrade it to a globe carousel but I am having problems in doing so.It is not easy but I am sure that there are people here that understand trigonometry and can point me in the right direction.

View 1 Replies

ActionScript 1/2 :: Globe Rotation Script?

Aug 18, 2009

I've created a 2D globe in Flash which automatically rotates clockwise very slowly using actionscript. On the globe there are sign posts which rotate with the globe, each sign post will link to another url. I would like to allow the user to spin the globe faster when they click the left mouse button while moving the mouse in a downward motion but once they've spun the globe faster it should then gently slow back down to its original speed.

View 5 Replies

ActionScript 3.0 :: Earth 3D Globe - 360 Degree Rotation

Mar 17, 2011

I created a 3D globe in 3DS Max, put on render and would like to now be able to this object using the mouse to offend 360 degrees on one axis. Unfortunately, I do not know how to go about it.

View 0 Replies

ActionScript 3.0 :: Map / Surface Separating From 3D Ball (Globe)

Dec 16, 2010

I'm about to make an animation where a whole world map separates from globe/ball. Kind of coating/jacket that opens from 3d ball to plain 2d surface.

View 1 Replies

ActionScript 3.0 :: Particle System Snow Globe Boundaries

Jan 26, 2011

I've made a particle system snow globe and right now I have snow blowing across the stage, but I want to have the snow blow around only within the snow globe which is placed in the middle of the stage. I made a movie clip (area_mc) that I want to use as the boundary for where the particles can float.

View 0 Replies

Flash To Make Letters Come From Around Globe Just Like On Universal Intro?

Oct 10, 2011

Is there a way in flash to make the letters come from around the globe just like on the Universal intro? [url]...

View 1 Replies

IDE :: Ball - Globe Rotation Based On Mouse Position

Nov 30, 2009

I have created a globe that rotates with no problem, but what I am trying to do is to control the direction of the rotation based on the mouse position. For example, if the mouse is to the right of the globe, it rotates towards the right and if the mouse in on the left, the globe rotates left. When the mouse is over the globe, it should stop.

View 1 Replies

ActionScript 3.0 :: Extreme Zoom From Globe To Close-up Satellite Imagery?

Aug 3, 2009

I'm trying to create a flash application which displayes 20 locations on a U.S map. Right now I have a satellite image of the U.S, and if you click on a location it zooms and you see a close up. I am achieving this effect by playing a short flv video captured from google earth.The first frame is identical to the map image, then it rapidly zooms in (about 1 second) to the location, the last frame is the same as the satellite imagery of the location.It looks pretty good, but each zoom video is 1 to 2mb to achieve video quality which matches the satellite imagery and looks good with such extreme movement.The problem is the flash presentation is too large with all the videos, can I achieve the same affect with images?Something like a deep zoom effect?Is an image zoom technique practical considering I'm zooming into the whole country image way beyond a single pixel of the image all the way down to satellite imagery?

View 1 Replies

ActionScript 3.0 :: Away3D And Resize Stage - Keep The Globe In The Same Relative Spot With The Graphic Behind It

Dec 10, 2010

I made a spinning globe with Away 3D which sits in front of a 2D graphic in a specific spot. The swf is going to exist as part of a web-page. When a user hits "zoom in" or "zoom out" on there browser (looked at FF and IE) and refreshes the page, the 2D graphic is zoomed and stretched. The spinning globe is also magnified, but falls out of position... in this case, down and to the right. I put my original re-jiggering steps to put the globe in place in an onResize() method, called by stage.addEventListener(Event.RESIZE, onResize);

[Code]....

Even if I wanted the globe to stay dead center on the stage, I don't know how to do this. What kind of calculation do I need to make in my onResize() method? Do I move the view or do I need to move something else? Can someone explain what is happening to the viewport or the camera when the stage is resized?

View 3 Replies

F8 :: Spin A Product 360 Degrees?

Nov 1, 2007

Wanting to spin a product 360 degrees.

View 1 Replies

Make My Sphere Constantly Spin?

Apr 9, 2010

I am making a splash screen for a program and I have a picture in my head of a spinning sphere with pictures on it.I've already made my sphere and mapped my design onto the sphere in illustrator, although it is not as clear as I wanted.How do i get the sphere into flash and animate it to spin continuously?

View 1 Replies

Professional :: Make A MovieClip Spin?

Oct 21, 2010

CS3 used to have this nice autorotate function where you could make a MovieClip spin - great for vehicle wheels and the like.  Has this been deprecated in CS4?  Can't seem to find it...

View 3 Replies

Professional :: How To Spin 3D Objects Interactively

Aug 11, 2011

I'd like to import 3D objects into Flash, so that people can interactively click + drag to spin them. Example: [URL]
The first images at the top.
- o 8 o - * - o 8 o -
Are there ways to accomplish this, other than buying "freespin 3d"?

View 4 Replies

ActionScript 2.0 :: 360 Product Spin With Callouts

Nov 4, 2010

Is there any flash tutorial explaining how to do a product 360 spin with callouts (I already have the photos).

View 0 Replies

ActionScript 2.0 :: How To Get Object To Spin Once Then Stop

Jul 29, 2005

I'm having a bit of a problem with this rotating object. It loops and never stops. I searched and found similar problems, but if I'm not mistaken most loops where done with tweens, unlike this one.
Code:
onClipEvent (enterFrame) {
i = getProperty(this,_rotation);
setProperty(this,_rotation,i + 7);
}
I basically want the planet to spin once, and then stop.

View 14 Replies

ActionScript 2.0 :: 360 Degree Spin In Flash?

Jan 17, 2006

i seen this over at 24 -7 and would like to use this effect on a site of mine, [URL].. does anyone know how to do the rotation spin that this site does i have looked around but think i am looking for the wrong thing lol.

View 4 Replies

IDE :: Spin - Grab An Object And Move It Around

Jul 26, 2007

anyone saw some open-source or tutorial where u can grab an object and move it around and at the same time rotate the object deppending on the place you grab it. some physics maybe. like a cd-case moving on ice

View 10 Replies

ActionScript 3.0 :: Design A Car Wheel Or Rim To Spin?

May 27, 2010

how to design a car wheel or Rim to spin?

View 1 Replies

Make This Wheel Spin Randomly When Clicked?

Oct 22, 2008

Looking to make this wheel spin randomly when clicked.The goal is to put in a smart board file, so i'd like to have the background of the wheel transparent

View 17 Replies

Professional :: Slowing Down The Animation So That It Does Not Spin So Fast?

Feb 8, 2011

I have a Flash animation of the Yin Yang symbol that is rotating clockwise in a circle.  The image is rotating a bit fast for my project. Could someone tell me how to go about slowing down the animation so that it does not spin so fast?   I am currently using CS3.

View 1 Replies

ActionScript 3.0 :: Making A Windmill Spin When Mouse Is Over?

Dec 22, 2008

I'm trying to make a windmill spin when a mouse is over it, and the closer to the center, the faster it spins. Is that possible?

View 3 Replies

ActionScript 2.0 :: Spin Object With Ease On It's Axis?

Jul 16, 2009

wanna spin an object on its axis 45 degrees each time by pressing 4 buttons, so 1st button moves it 45 degrees, 2nd button moves a further 45 degrees and so on...I've got the sliding of an object left to right or up and down nailed to this code

onClipEvent (load) {
_root.newposition = "null";
}

[code].....

View 7 Replies

ActionScript 3.0 :: PV3D Causes Movieclip To Spin Uncontrollably?

Feb 6, 2010

I have this script that creates a Tiltviewer effect and it works perfectly as long as you're on the page. However, if you switch focus to another browser window or tab, it begins to spin wildly and even takes a while to recover when the user comes back to the page.

ActionScript Code:
/* ----------  PV3D  ---------- */
import org.papervision3d.events.InteractiveScene3DEvent;
import org.papervision3d.materials.BitmapMaterial;

[Code].....

View 0 Replies

ActionScript 2.0 :: 360 Product Spin With Callouts Tutorial?

Nov 9, 2010

Any resources available out there how to put such a thing together.

I see them all over the web, but have never implemented a 360 with callouts.

View 1 Replies

ActionScript 2.0 :: MC Spin As Faster As The Preloader Grows

May 2, 2007

I have a star as MC on the preloader, and I�d like to the it spin as faster as the preloader grows...

[Code]...

View 2 Replies







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