Professional :: Simple Animation Using X And Y Axis

Aug 22, 2010

My problem relates to an animation that uses the x and y axis.
for(loop =0; loop < 5; loop++){
boxName = "box" + loop;
attachMovie("box", boxName, 10 * loop);
var randomPlace:Number= random(500) + 550;
var NumX:Number = randomPlace;
[Code] .....

What the code above does is displaying small boxes that are moving from the right to the screen to the left, and then they come back again (like a loop I suppose) and each time a 'box' re-appear, it starts off at a random place at the very top of the screen. I want to make it that it drops just from the top to the screen to the bottom. ( Like snow falling from the sky). But I can't get my ahead around the x / y axis. Also, the size of my frame is 550x400.

View 3 Replies


Similar Posts:


Professional :: Rotate A Symbol On The X Axis Multiple Times For An Animation

Jun 6, 2011

I am trying to rotate a symbol on the x axis mulitple times for an animation I am doing. The problem is everytime I try to do a complete rotation, the symbol rotates fine until I hit 180 degrees, but once I go past that mark, the symbol just starts rotating backwards. Is there a certain way I have to do this in order to get a complete rotation in one direction?

View 1 Replies

Professional :: Create A Very Simple Animation Using Two Images, One Of A Broken PC And One Of A Fixed PC?

Apr 5, 2010

I've used Flash before to create animations but it has been a long time. I've been asked to create a very simple animation using two images, one  of a broken PC and one of a fixed PC. I want the broken PC to come in from the left and then fade into the  fixed image of the PC which will be centred. I know this is very very simple but I can not for the life of me  remember how to do animation, motion tweening etc. I have the two images and I've tried importing them, converting them to movie symbols etc but  it doesn't go to plan. The animation needs to be between 1 - 3 seconds long at 12 fps. The document size is 550 x  400, standard I believe. I am using Macromedia Flash 8 Professional.

View 3 Replies

Flash :: Rotate Animation In Z Axis?

Jan 13, 2011

THere are 3d carousels in Web Sites for displaying image galleries which require that images are rotated in the z axis. My requirement is to do the same but for a complete flash animation so that the flash animation is displayed slightly tilted in the z-axis

The kind of tilt I am talking about is similar to the tilted images in [url]...

My requirement is to play a flash animation inside the image of a mobile phone which is tilted hence to fit the animation inside the screen of the mobile phone image, the animation also needs to be tilted

View 2 Replies

Get Simple Animation To Play In IE?

Jun 11, 2009

I am having trouble getting a simple animation to play properly, on a site designed by someone else, in IE. It works fine in Mozilla and Safari. In IE, on some computers, it shows up but there is a prompt about downloading a Shockwave add-on. On other  computers it doesnt show up at all. Going from Mac to PC is also presenting problems. I'm freelance, so it's not like I'm in the office with these other people, so I only know what's going on with the 3 pc's I have at my disposal; which is as described above.

View 3 Replies

Professional :: Simple Sound Player - Visitor To Hear The Sound And Be Able To Apply Simple Controls?

Aug 1, 2011

Flash is not in my toolset, but I am an old Director jock and have spent some hours dipping my head into the Flash manual.  I suppose that makes me a promising beginner-level poster. I'm working in CS5.
 
I need to make a simple Flash-based sound player for a website for a newly-released novel (http://www.bearriverbooks.com/index.html).  I want the user to click on what appears to be an icon (or image), which kicks open a simple controller and starts playing a sound file (a radio interview, which I will probably export using Flash's voice compression).  Nothing fancy.  Just want the visitor to hear the sound and be able to apply simple controls (stop/start/rewind/volume).
 
I can learn ActionScript, I suppose, since I used to dream in Lingo, but my life would be a lot simpler if I could just publish a controller without having to roll my own.  I'd like to think there's a magic button somewhere that can do this, but I haven't found it yet.

View 4 Replies

Simple Flash Animation Using 100 Percent CPU?

Sep 10, 2007

My Flash animation using 100% CPU. I don't know why? It is a simple animation i.e. done in an ecard at: Valentine Ecard. I have not used any script in it nor it has too much animation in it. The frame rate is 12.

View 0 Replies

ActionScript 3.0 :: Simple Animation Is So Choppy?

Jul 14, 2011

why this simple animation is so choppy? http:[url].....I have set cacheAsBitmap = true

View 4 Replies

ActionScript 3.0 :: Make A Simple Animation?

May 2, 2009

I want to make a simple animation. It works for two or three times, but after that everything goes wrong.

PHP Code:

globe.buttonMode=true;
globe.addEventListener(MouseEvent.ROLL_OVER, move_in);
function move_in (e:MouseEvent):void
{

[code]....

View 3 Replies

CS4 - Trying To Make A Simple Walking Animation Symbol?

Aug 12, 2009

I've searched everywhere online, and can't find the help for this!
 
I've found some videos, but they did not seem to offer any sort of help for me.
 
I still cannot for the life of me figure out how to take 3 images, and make them into a simple walking animation and to convert that to one symbol.
 
Can anyone offer their help to me please so I can get my project going?
 
I'm using CS4, and all articles I can find are of the older versions of flash.

View 2 Replies

How To Make A Simple Animation Within Text Area

Dec 6, 2009

I am getting familiar with the Flash animations I am trying to make a simple animation within the text input area i.e.

1.FAN BASE
2.FA NBASE

What I want is the letter N to move slowly towards letter B.I have done motion tweening but it doesn't work -either the whole text is moving left right  or the letter N is simply skipping to the second position without smooth animation.( there's no error on motion tween by the way)

View 4 Replies

ActionScript 3.0 :: Simple Card Flip Animation?

Oct 13, 2010

not sure if this is the right place to post this question but here goes!  I want to create a simple card flip animation whereby a card slides onto the screen from the right, flips over to reveal a different picture on the other side, flips back and then slides off screen.  In fact, the full animation will involve two cards, sliding onto the screen one after the other, then flipping one at a time, flipping back one at a time and then only ONE of them sliding off screen, to the left or right depending on which side of the screen they are on.  Can anyone tell me whether this is possible using Flash CS5?  I am a total novice at this, and having spent hours and hours on  it, I have so far only managed to get a card to slide onto the screen and flip but I don't know how to get it to show a different picture on the other side.

View 8 Replies

Actionscript :: Flash Create A Simple Animation

Jun 27, 2010

I really don't want something sophisticated, in fact I want the simplest animation for learning purpose:I just want to move a shape on a straight line.Is it possible to do so in pure actionscript (with flex sdk only) by creating a timeline programmatically or without creating timeline ?

View 1 Replies

Recreate Simple Flash Animation Using Script?

Sep 4, 2010

I came a across a really sharp intro effect I'd like to try and create in jQuery, mootools or prototype[url]... (Just the spin in effect) So in a sense, I want to spin in the main content div of the page.

View 3 Replies

ActionScript 3.0 :: Rendering Latency In A Simple Animation?

Nov 28, 2010

I used to code with "Processing" so maybe I keep the same habbit when I code in AS3. I'm not really sure how to animate in a good way using Enterframe. I made a not so complex animation and I am suprised that there is a very bad latency when I run it. Maybe there is something I don't understand when I write Graphics.

At each Enterframe, I write a black rectangle with a 0.3 alpha to progressively erase old lines and just after I draw new lines.

Are these these Graphics lines and Graphics rectangles stay in memory? Do I have to delete it when they visually disapear from the stage?

Code:
package
{
import flash.display.MovieClip;
import flash.events.Event;

[Code].....

View 4 Replies

Actionscript 3.0 :: Creating Simple Text Animation Using XML

Mar 5, 2009

I've been trying to create a simple text animation using XML and AS3 that I would like to run similar to the swf I've attached with this post. I've tried to look for tutorials similar to this that I can follow but I haven't found anything yet.I can get the xml to load up but I haven't been able to get the name to animate separately. The xml is structured like so.[code]

View 2 Replies

ActionScript 2.0 :: Gallery - When Add A Simple Animation The Images Appear On Top Of Each Other

Jun 1, 2007

I have this image gallery that basically puts one image next another in 3 columns 8 rows. The images are selected randomly and so on.... The problem is I have no problem when the code is written without the bezierSlideTo..The images appear next to each other. When I add a simple animation the images appear on top of each other. I can't seem to find where I am making the mistake.

[Code]...

View 1 Replies

ActionScript 3.0 :: Construct Coordinates With Distance In Meters On The X-axis And Time In Seconds On The Y-axis

Nov 27, 2011

I am trying to construct coordinates with distance in meters on the x-axis and time in seconds on the y-axis, without using the timeline. How can I draw the divisions on the x-axis and y-axis ? Or I better draw the whole thing.

var my_shape:Shape = new Shape();addChild(my_shape);
my_shape.graphics.lineStyle(3, 0xFF0000, 1);my_shape.graphics.moveTo(50,50);my_shape.graphics.lineTo(50, 300);my_shape.graphics.lineTo(500, 300);

View 9 Replies

ActionScript 2.0 :: Make An Object Move Along Y Axis Once It Has Reached Its X Axis Target?

Mar 2, 2005

I'm trying to grasp how functions and motion tweening works.

Heres my question. How do i make an object move along the y axis once it has reached its x axis target?

HEre is the code, that i got from here.

and what in this code is making the MC ease out?[code]...

View 14 Replies

ActionScript 3.0 :: Tweens Objects Return To Their Original Position - Start Jumping Between Y Axis 200 And Y Axis 83?

Aug 7, 2009

I've put together this simple code for an SWF with three roll over images (called: Training, Resources and Contact).When I roll over Training I would like the symbol Training_txt to tween its alpha to 1 (from 0) and tween its y axis to 220 (from 83).When I roll out of Training I would like to run the two tweens in reverse.
 
This works fine for each of the three roll over images, so long as each tween is allowed to fully execute before a new tween is started. The problem arises if i quickly move the mouse curser between the three roll over images before the previous tweens have finished executing.In this instance, the tweened objects start to behave erratically. They usually return to their original position as per the roll_out tween but then start jumping between y axis 200 and y axis 83 (without tweening - they just appear).

Code below -
 
stop();
import fl.transitions.Tween;
import fl.transitions.easing.*;[code]..........

View 1 Replies

Creating A Simple Rising Number Flash Animation?

Feb 25, 2011

I'm doing a simple commercial animation for school and it is about raising gas prices.I wanted to animate numbers rising but can't find ANYTHING close to what i need

View 5 Replies

Animation Simple Flip With Flash Doesn't Work

Feb 26, 2011

I am trying to create a simple animation, juste a picture that need to move from left to write while rotating around the vertical axis.I tried just to have the first position normal and the final position scaled at -100% in width but it also distort and move up and down.I already did that in acstionscript but not just graphicaly.

View 2 Replies

Flex :: Stacked Bar Chart With Date As X-axis And Names As Y-axis?

Apr 13, 2012

I'm making a chart where the x-axis needs to have dates and y-axis names. The lenght of the bar is longer when the date is later. But I want to stack multiple bars on eachother. for example This is the code I have so far

<fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;

[code].....

View 1 Replies

ActionScript 3.0 :: Simple Black Line On White - Whip Animation

Jan 13, 2011

I have simple black line on white. It needs to crack like a whip. And it needs to recoil nicely. I'm not sure if top-notch tweening would do the trick. Or maybe a dense 'Inverse Kinematics' bone structure. Or if actionscript is the best course. I'm using a pen-tool/bezier-curved line right now and trying to shape tween with hints? I've never been bad at math, but I'm not a programmer and it's been a while.

View 1 Replies

Professional :: How To Set X Axis Inside Symbol

Aug 28, 2010

I need to set the X axis 0 to the left of the stage, and I dont know how to do it.

View 3 Replies

Professional :: Rotate In 3D By 360 Degree Both On X And Y Axis

Feb 8, 2011

I've got a 3D model at hand, which I have imported as a movie and an image sequence of each frame depending on which is necessary. I basically would want to rotate it by 360 degree both on the x and y axis on a canvas as well as having that done manually, such as having to drag my mouse to control which direction the model rotates in. Can I do this in Flash?

View 5 Replies

ActionScript 3.0 :: Simple Animation - Error #1009: Cannot Access A Property Or Method?

Mar 26, 2009

I am trying to make a simple animation using Movie Clips and AS3.

What I have is multiple Movie Clips in the main timeline. I tried to use the following code on the last frame of each movie clip timeline to play the next one. In this case mc_1.

MovieClip(root).mc_1.gotoAndPlay();

Here is the error i get:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at akg_160x600_2_fla::text1_1/frame60()

I didn't think I need a function or declaration for this to work. What am I doing wrong. Every search I do pertains to using a button which I can see would require a function, var, and eventListener. I can't find anything for a looping animation with no buttons???

View 1 Replies

Professional :: Finding The Length Of A Plane Along The Z Axis?

May 10, 2010

if I take a square, turn into a Movie Clip, addjust the Perspective Angle, and the Vanishing Points.  Then I rotate the square along the x axis so that the square is now a plane laying on the z axis.  How do I get the length of the Movie Clip?  I need to know when a plane starts and ends on the z axis.  I also need to get the width.

View 13 Replies

Professional :: Rotate A Object Around Center Axis?

Oct 4, 2010

I'm using CS3 with ActionScript 3.0.  What I want is simple, and I've done some searching but nothing that can get me the right results.  I'm going to post a link that does exactly what I want:This rotates the circular object around a center point in a way that you can distort the object yet is still remains turning in a circular motion  A simple motion tween rotating the image will only work if the object is perfectly round, so distorting the object to make it more straight or curved won't work with a simple tween.  I want to do exactly what is happening here (with my own object), is there some AS3 behind the scenes here making this turn on a center point??

View 5 Replies

Professional :: Drag And Drop Axis Lock?

Dec 13, 2011

I am creating animations in Flash 5.5 for use in Captivate 5.5.  I have created a drag-and-drop animation for a horizontal line and a vertical line, to act as moveable "straight edges" for use on complicated charts. How do I lock the horizontal line to just move along the Y axis, and the Vertical line to just move along the X axis?  (I'm a relative newbir working in Flash.) 

View 8 Replies







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