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


Similar Posts:


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

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 :: 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

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.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

ActionScript 3.0 :: 3D Globe Image Gallery - Navigate To Url From Image Thumbnail?

Oct 30, 2011

I have found an excellent tutorial and source file for a 3D image gallery. However I would like to make the thumbnail click thorugh to a url link when pressed rather than loading the image into the gallery.
 
Currently the images load in through actionscript. Is there a way to amend this script so you can specify that a thumbnail clicked links through to a url, like you would with a normal button instance rather than loading the image. Here is a link to the file and tutorial. The actionscript is on the top layer within the file.[URL]...

View 9 Replies

Flash :: Math Equations For Random Snow In A Snow Globe?

Oct 24, 2010

I've been experimenting with this and I haven't been able to come up with an adequate solution. Hoping one of you Mathletes can point me in the right direction. I'm building a Snow Globe in ActionScript 3 and I need to come up with a set of equations to control two level of snowflakes - one level random, and the other interactive where a user can click on them.For the random snow, I need to have it create certain number of random x/y positions at the bottom of the globe, which is a circle with a radius of around 300. Then when the shake action occurs, They should randomly float toward the top, then fall back to a random position at the bottom of the circle again.

For the interactive snow, I need it to randomly layout, but I don't want flakes to overlap so that its easier to interact with them.

View 1 Replies

ActionScript 3.0 :: 3D Globe Image Gallery / Navigate To Url From Image Thumbnail

Oct 30, 2011

I have found an excellent tutorial and source file for a 3D image gallery.However I would like to make the thumbnail click thorugh to a url link when pressed rather than loading the image into the gallery.Currently the images load in through actionscript. Is there a way to amend this script so you can specify that a thumbnail clicked links through to a url, like you would with a normal button instance rather than loading the image.Here is a link to the file and tutorial. The actionscript is on the top layer within the file.URL...

View 9 Replies

ActionScript 3.0 :: Car Skidmarks In Papervision

Oct 19, 2009

I asked this question in papervision 3d forums, but nobody replied. So. I am writing a 3D application with actionscript 3 and papervision 3D. But I have stuck on one problem, I can't figure out, how to place skidmarks (decals?) on an object. The only method I can think of is drawing directly to BitmapData (texture). What would you suggest to draw a textured skidmark on ground (plane primitive)?

View 1 Replies

Actionscript 3.0 :: Put Text In Papervision?

Jul 27, 2009

i was trying to put text in papervision but am having touble.

View 4 Replies

Get Papervision Development Tool?

Aug 21, 2009

Is there any development tool that has the papervision3d classes buit-it, so i can get hints when i'm writing th code as i get hints for as3 code?

View 2 Replies

IDE :: Importing 3d Animation With Papervision

Feb 12, 2009

I am new to Papervision, and am experimenting on importing animated 3ds max models into my project.I can export a model (with no animations) into Collada format, and import it using Papervision, with no problems. But when I try to import a model with animations, i get this error:[code]I am using Flash CS 4 / Papervision3D Public Beta 2.0 - Great White / 3D Studio Max 2009 (with the New Collada Plugin).

View 7 Replies

ActionScript 3.0 :: PaperVision 3D .. CPU Performance?

Jan 4, 2011

I am trying to develop a game based on papervision and flash.the very basic idea of the game is that some 3D objects are falling from the sky and you have to catch them .. At a time there can be as many as 20 of such 3D objects on the stage.Now the problem is that these 3D objects are causing too much CPU usage .. I was hoping if there was another way to do the same thing and which causes less of performance issues ...

1.I have two classes suppose A and B

2.the class A calls class B

3.class B initiates a 3D sphere whenever it is called .. the Sphere has a bitmap image material .. and it rotates along the X axis on every enter frame event

4.class A has a timer function which moves the 3D object in the Y direction and also destroys it when the object reaches a specified Y position ..here are the code snippets ...

Class A :Code:
public function onTick(e:TimerEvent)
{
if(Math.random() < spawnrate)[code]......

View 2 Replies

ActionScript 3.0 :: Where To Put The Material Jpg [papervision]

Apr 11, 2011

trying a simple papervision tutorial and swf stops rendering by mat = new MovieMaterial(rec);

[Code]...

View 2 Replies

ActionScript 3.0 :: Setup Planes With Papervision?

Oct 30, 2009

how to setup Planes with papervision, then retrieve them later?I've set up the 3d scene like this:

PHP Code:

var con:Sprite = new Sprite();
con.x = this.width * 0.5;
con.y = this.height * 0.3;
holder.addChild(con);

[code]....

but none of these methods seem to work,, possibly because you can't do the same things to Planes that you can to movieclips...(?)the scene.numChildren seems to work though.

View 1 Replies

Flex :: Rendering Glitches With Papervision?

Oct 31, 2009

Has anyone seen rendering glitches with Papervision?

seee the flash movie at [URL].. which demonstrates the problem.

View 2 Replies

Flash :: SWF Loading In An SWF Containing A Papervision Scene

Apr 25, 2010

I have an SWF loading in an SWF containing a papervision scene.I've done it before yet problem is, I get an error - I'm not sure what the issue really is.[code]

View 3 Replies

Flash :: Importing DAE Files To Papervision?

Sep 14, 2010

i created a 3d model using sketchup and exported it as a DAE file.

then i try to import the model into papervision, but the model never appear.

when i use the DAE file provided in the examples, it works. only when i tried to create my own models, it doesn't work. does this have anything to do with sketchup?

View 2 Replies

Flash :: Using Papervision To Create A 3d Game

Oct 22, 2010

now i need to add a health bar and countdown timer on the screen. how am i going to do it? adding a plane in the 3d scene? the health bar is always on the top right corner of the screen. is there anyway of NOT using 3d concept to implement this. i mean i could do it with a plane keep changing it's texture to show the status of the character. is there any cleaner way of doing it?

View 1 Replies

Flash :: Papervision 3d Development Alive?

Dec 18, 2010

So I wonder if papervision 3d development alive? Any google code or ght..?

View 1 Replies

Actionscript 3 :: Create A Carousel With Papervision?

Jan 23, 2011

how to create a carousel like his with papervision. I created one but the planes just go round and round. I was wondering if it's possible for the planes to keep the same angel as the example of the link. I do not want the plane to rotate itself on the y axis but just move on the X/Z axis just going around an object in the middle.

View 1 Replies







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