Flash - Creating Animating Sphere Representing Earth?

Feb 9, 2010

I want to create an animating sphere representing the earth but here is the catch I want the users to be able to spin it round in real time, what tools will do the trick?

View 3 Replies


Similar Posts:


ActionScript 3.0 :: Equation For Animating A Point Around A Sphere?

Jul 25, 2011

if anyone has any info on animating a point around a "sphere" with actionscript. If anyone has an actionscript equation defining this motion

View 4 Replies

Actionscript 3 :: Representing A Monopoly Board In Flash?

Aug 1, 2010

I'm brand new to Flash (and game programming, really), but want to learn a bit of it. My overall learning project is to create a Monopoly clone in Flash. nfortunately, I'm struggling to get over even my first hurdle-how to create the board graphically, and how then to deal with it in the code. So far, my thoughts are to break the board down into the different sizes of tiles (the normal property ones, the corner 4 and a large one for the middle section), then somehow place these all in the correct position relative to each other and keep that positioning correct as the pieces (and thus the camera view) move about the board.

Is this a good approach, or is there a better one? where I can find a tutorial specifically on creating board games in Flash (any sort really, wouldn't have to be Monopoly but just a game that has a board which tokens move across - and preferably which has to pan as well).

Also, as an aside, is there any way to have a dynamically coloured rectangle in a flash MovieClip (like you can have dynamic textboxs)? I ask because it would be useful if there was, as I could generate every property tile with just one MovieClip which took a name, a value and a colour...

View 4 Replies

ActionScript 3.0 :: Flash OK What On Earth Does Mean?

Jul 8, 2010

So I was using a handy dandy tutorial that I'd found and I came across A double equals sign ==

Code:
if (numPoints == 0) {
point1.x = evt.localX;
point1.y = evt.localY;
drawBoard.addChild(point1);
numPoints = 1;

it was used like that to create a drawing board for other objects to be drawn.

View 3 Replies

ActionScript 3.0 :: Flash Doesn't Like MC Name 'earth'

Apr 7, 2011

This is really stupid and unimportant but things like this bug me and make me want to know why they happen. I made a movieclip named "earth1" and put an instance on the stage named "earth". If I refer to "earth" in code I get "1046: Type was not found or was not a compile-time constant: earth." If I use any other name such as "earth12" or "earthMC" it works fine. So I already have a "solution", but what's wrong with the name earth?

View 2 Replies

Flash :: Make Google Earth Like Map In It?

Mar 7, 2012

I am studying land surveying and cartography and I am doing my final project. I am trying to make a google  earth like map in Flash.I already have the map , in the form of swf  files.

View 1 Replies

Flex :: Google Earth API For Flash?

Nov 15, 2010

are there any Flash/Flex API for Google Earth like the Map API? i haven't seen an API in Google earth API official page. or is there any way to use all the features of its javascript API with actionscript/flex.

View 1 Replies

ActionScript 3.0 :: 3D Rotation For Earth Object In Flash?

Aug 27, 2010

I have earth object how I can rotate into 3d in flash with 3d feature or shall i need to use papervision 3d?

View 3 Replies

ActionScript 2.0 :: Load Images Like Flash Earth?

Mar 15, 2007

[URL]I have a huge image .. about 16 mb JPG. It is a map of big housing society and i need to make an flash application that should work like Flash Earth to display , pane , zoom like Flash Earth. want to load that image in such a way thay it load in lower resolution and become detailed on zooming . What should i use to make that application working.

View 3 Replies

Javascript :: Flash - Extend KmlPlacemark In The Google Earth API?

May 20, 2011

I'm trying to extend KmlPlacemark in the Google Earth API. Google uses factory methods to create the objects so I can't do something like this:

KmlPlacemark.prototype.foo = fuction(){...}

I tried to simply add methods to each of the objects after they were created

function foo(){...}
placemarkObj.foo = foo;

but it throws

Error: Trying to add unsupported property on NPObject!

View 2 Replies

Xml :: Representing Nested Folders As DisplayObjects

Apr 21, 2011

I'm working on a world builder that will load a toolkit which is represented by an xml document. The document will look similar to the following:[code]Now, I want to be able to represent this structure in flash. Vertical layout is easy enough, simply placing the elements from top to bottom. It gets mind-boggling when I need to do the following:Be able to click any folder and have all its children hidden/shown.Position the elements horizontally based on hierarchical position (indent children of folders, children of the child folders, etc)Position the folders/tools vertically when folders above and in the same "directory" are hidden.It either sounds a lot easier than it is, or I'm missing a vital and obvious step.Just to save confusion - when I make reference to "folders" and "tools", these are a MovieClip which is a simple block with text over it, like:[code]

View 1 Replies

Actionscript 3.0 :: Flash - Sphere To Rectangle Collision Detection?

Apr 19, 2010

for the past two weeks I've been working on coming up with a collision detection system for my game in flash CS4. No matter what I try for some reason I just can't seem to do it, and I don't know how to fix it. This has never been an issue for me, I would even settle for basic rectangle to rectangle collision if I could, but no matter what I do I end up screwing it at all up. Somehow the collision detection either doesn't work at all, works for one side and jumps the guy through the wall on any other side or I think at one point it worked for two sides as long as I didn't hold down more than one movement key.

I've constantly scrapped what I've done over and over, right now I have no source code to present. I'm totally lost and confused, and my deadline for getting this done is today in a few hours. I really wanted to figure this out on my own but honestly I just don't see what I can do, I've got sphere to sphere collision detection working perfectly for my player and other spheres, but the walls are squares lined up to form long rectangles, and I just can't seem to get it to work. I'm dynamically loading the square-wall blocks as tiles to form a dynamically loaded map, and then I'm iterating through each individual block to determine if collision has occurred with the player. I think somehow I'm not managing the results right, or maybe I somehow need to be able to determine which direction the player hit the wall from, but I just don't know how to do it.

I've been staring at the screen for the past 3 hours trying to work something out but nothing is coming to me, example from a flash-type game or something similar I would be very grateful! (I've done this countless times in C++, C#, and java. I don't get what is going on in flash :-(((( )

View 2 Replies

Actionscript 3 :: Create 3D Cylinder - Sphere And Cone Using Flash 10?

Dec 6, 2010

I want to create a 3D cylinder, sphere, cone using Actionscript for Flash Player 10. Is there any available class? I also want to know how to paint gradient, wrap text and texture around them. It would be nice if these class have these functions. I can't use non DisplayObject in this project so PV3D is not an option

View 2 Replies

ActionScript 3.0 :: Representing 3D Objects - Processing Power?

May 20, 2010

I'm making a 3D program and I've already made the back end which calculates where each object's polygons should be. However, I can't seem to find a quick way of drawing them without having to remove and redraw them each time, which I'm sure would take a lot of processing power, knowing the way that Flash does things. So is there a way to draw a shape (a quad in this example) and then alter the shape's color and the position of all of its corners in the next frame without taking a huge load of processing power? I would really like to be able to do this to at least 20 polygons, hopefully more, within the span of one frame at 20 fps.

View 3 Replies

ActionScript 3.0 :: No Faceleft Position In Any Of Numbers Representing Frames

Aug 10, 2010

I'm having a problem that is kind of hard to explain. I have a player character on the stage and a player class controlling the character. He moves right responding the the keyboard input fine, but when he moves left, the character has to face right for one sequence during the animation. There is no faceleft position in any of the numbers representing frames in the array controlling the walk left animation so I don't know why the player character is doing this. Here's some of the code I am using.[code]

View 3 Replies

Professional :: Music Game - MovieClips Representing Notes Of Piano

Jan 18, 2011

I am programming a music game where there are five movieclips (acting as buttons) representing five notes of a piano. When the user clicks on each one, they play a note. I would like to know how I can program it so that if the user clicks a specific five note sequence, it will trigger an animated movieclip in the timeline.

Example:
Note_1 + Note_4 + Note_2 + Note_5 + Note_3 = Animation_movie
I am using Flash CS4 and Actionscript 3.

View 4 Replies

Jquery :: Create Google Earth Zoom In?

Jan 27, 2010

Is there any way to create a zoom in to a location like Google Earth for a site?

I think, I can do this with a slide show in Flash or jQuery, but I would like to know if there is a better alternative way!

View 2 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

IDE :: Map Of The Earth - If Someone Will Click USA On The Map, He Will Be Redirected To A Different Page, Relevant To USA?

Feb 11, 2009

i am trying to make a new website where i want to add the map of the earth.My problem is that i want to make each country on the map, a different link. so for example if someone will click USA on the map, he will be redirected to a different page, relevant to USA.

View 3 Replies

Javascript :: Integrate Google Earth Feature Into Flex?

Dec 18, 2010

i have successfully integrated Google earth with Flex using ExternalInterface.call("javascriptMethodName") method and writing the javascript stuff in the html file which embeds the swf file. it ran and loaded Google earth successfully.

<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script src="http://earth-api-samples.googlecode.com/svn/trunk/lib/kmldomwalk.js" type="text/javascript"> </script>

[Code].....

this is a snippet of that html file but when i add something like to the html file:

var directionsService = new google.maps.DirectionsService();

View 1 Replies

ActionScript 3.0 :: Failed To Display The Animation Of Earth Object

Dec 16, 2011

package examples {
import away3d.animators.Animator;
import away3d.animators.BonesAnimator;
import away3d.containers.ObjectContainer3D;
import away3d.containers.Scene3D;
import away3d.containers.View3D;
[Code]....

that is actually a tutorial that i got from internet. but, when i tried to change the object, i failed to display the animation of my earth object. i wonder, what is the 'default' means in that code.

View 0 Replies

ActionScript 3.0 :: No Errors But Can't See Sphere

Nov 22, 2009

Code:
package {
import flash.display.Sprite;
import org.papervision3d.cameras.Camera3D;

[Code].....

I've imported the correct folder in my Edit->Prefences->ActionScript 3.0 settings. I've instantiated an object and it compiles, and I'm not getting any errors but, nothing shows up on the screen.

View 1 Replies

ActionScript 3.0 :: Possible To Clear 3d Sphere?

Aug 27, 2010

I'm doing 3d gallery in AS3 and i have run in to huge problem. After ActionScript creates 3d sphere it doesnt go away no mater if i go forward or backwards in timeline.

View 0 Replies

Animating A Gif In Flash?

Jul 25, 2009

I have imported the gif which has now split into different snapshot screens of each frame.Down the right hand side I can see "draw" tools which I want to use to edit the clip. When I click on a tool like a paintbrush then I click on a frame to paint on the frame...... it doesn't let me do it. It lets me draw, but when I release my finger off the mouse it dissapears.

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

ActionScript 3.0 :: Render Sphere From Inside?

Jan 28, 2009

How would you do it? Or, else, how would you create a world? I.e. what I need is to place the sphere in the way the distance form the camera to it's center is less then the sphere's radius.

View 2 Replies

ActionScript 3.0 :: 3D Rotating Sphere Texture?

Dec 29, 2010

i'm trying to achieve the effect of a rotating sphere given a regular 2D texture. the best thing i've seen is a tutorial on emanueleferonato.com which gives this result: emanueleferonato dot com /downloads/mapping09.swf as you can see, it works pretty well when you're moving left/right OR up/down. it fails to simulate realistic rolling when going in any diagonals (since it's a very simplistic illusion). how to render such a sphere given any point on a mercator projection and then have the sphere rotate in an arbitrary (but fixed) direction? this is a bit advanced math stuff.

btw, if anyone's interested, i figured a better displacement map than what is used in the link i showed

i started my search again and immediately bumped into this: [URL] it's library called BitmapSphere and it does exactly what i need it to! also, could admin edit this and put together the link or something? i find it highly annoying that i need 50 posts before being able to post a link

View 7 Replies

Professional :: Flash Not Animating In IE?

May 13, 2010

I have a html file that is referencing a swf.This swf, in turn, is referencing a php file to get prices etc, and display them inside the swf animation.This works fine in Firefox and Chrome, but for some reason won't work in IE.[URL]

View 10 Replies

ActionScript 3.0 :: Overlaying 1 Bitmap Image On Another On A 3d Sphere?

May 24, 2009

The basic concept: I want to at runtime overlay (or paste or whatever) one bitmap image asset onto another. The original image asset is a texture on a 3d sphere.Example:3D Sphere with earth texture applied to it. Put a cloud on the earth texture and have cloud move along the earth.

Caveats:Can't use any composite materials because I take a serious perf hit. Want to try working only with bitmaps to see if it is faster.I've gotten this far but don't know how to fill rectangle with jpeg file and certainly have no idea where to go from here..earthBitmap= new BitmapData( 256, 256, true); fillRect will only do a color ... I need what fills a rect with jpeg image and how to edit a bitmap on the fly.

View 2 Replies

ActionScript 3.0 :: Rotate A Sphere With The Mouse On The X And Y Axis?

Nov 6, 2009

I am trying to rotate a sphere with the mouse on the x and y axis but the sphere keeps 'roll'ing and flipping it all around.

package {
import flash.display.Sprite;
import flash.events.Event;
import flash.events.MouseEvent;

[code]....

View 1 Replies







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