Professional :: Moving A Graphic Across The Stage, Using A Png Image?
Mar 15, 2011
I am trying for moving a graphic across the stage, using a png image of a vehicle created in photoshop. Top to bottom travel takes 2 secs and stage is 767 pixels height.24fps is default and I have timeline at 48 frames long.Test movie sees very noticeable jerkiness in the motion, I expected one smooth movement up the screen, I sort of see two windscreens etc. Now I seem to recall that 25fps in video editing sees smooth motion as the human eye cant't perceive individual frames at that rate. What should I be doing to get a png to run smooth ?I tried doubling the fps and timeline length, it got a bit better, I kept doubling such and each time it improved, I hit the limit at 120fps. Its acceptable now but that seems wrong to have to do that, Timeline is going to be massive as actual movie to be 20 secs. Are there settings to be made somewhere to smooth things and use 24fps ?Png is 20kb, background image is 1.28Mb as a png. Envirographics
View 5 Replies
Similar Posts:
May 29, 2010
As the title says, how do you animate the resizing and moving of graphic symbols without making the other objects go invisible? I'm using Flash CS4. Here are the bizarre, unexplainable problems I've had before. First of all, here's my basic scene. It's 6 rectangles and 8 half-circles. [URL]. First thing I tried doing was applying a Classic Tween (since Motion Tween did nothing and Shape Tween was disabled). However, what that did was turn every object in the entire work space into one giant object for no reason at all, which certainly isn't what I wanted. [URL]. What I realized is that in order to avoid having all of the objects merged into one, I had to create a brand new file first. [URL].
Next, I added in a blank keyframe and a Classic Tween while the workspace is still empty. [URL]. Then finally copy/paste the objects into the first frame from the first file: [URL]. Now I paste those shapes again into the target frame and resize one of the diagonal shapes: [URL]. Then I moved that rectangle to a new position: [URL]. However, when I preview the animation, only the animating object shows up... everything else is invisible. [URL]. Also, if I try moving a different object, the rectangle will start spinning for no reason. [URL]. How can I animate this object without making everything else go invisible and keep the object from spinning out of control?
View 1 Replies
Mar 12, 2012
Is it possible to have a stationary video (ex: of spokesperson) move across the stage, in a manner that would appear to have a "panning camera" effect? I've attempted to produce this effect by simply importing the video as an imbedded video, then dropping a new layer into the timeline, and then simply placing a new keyframe where I'd like the video to begin a panning camera effect, but it starts the video over again where I've place the new keyframe. Is it even possible to acheive this sort of effect through Flash or can I only do this in AE or Premiere?
View 5 Replies
Apr 2, 2009
I know how to animate with Flash, and I know the basics of Actionscript 2.0 enough to make simple games.I have a project to do which I wanted to do with Javascript/CSS, but instead I'd like to hone my Flash skills to do it.If someone could point me in the right direction that would be awesome! I'm making an image move in a path about a web page without regard to other content on the page.I was thinking that I could make a Flash vid with a transparent background and lay it over the page.If so, how do I make a transparent background? If that's not the solution, can I even do this with Flash?
View 2 Replies
Feb 15, 2010
I would like to create something similar to this: and only need a few things to complete it.What is missing is to make the whole flash movie (the white area, including the watches and cursor) move from left to right and right to left depending on the movement of the cursor (round circle) .. Panning effect I have attached the file i am working on..maybe that makes it easier to understand
View 5 Replies
May 29, 2011
I want to make a image move how would I go about it, I have a image of a machine and I want the blade to move do i need adobe flash pro to do it.
View 1 Replies
Aug 7, 2010
I have made a simple Drag and Drop map, where its the map being dragged by the mouse. The thing is, i need to have a grid of buttons on this map, which you can click. But since im dragging the actual map, my buttons wont follow. They stay where they are.An example would be the united states world map, then each state is a button i can click. A problem would be that if the entire map is covered in buttons, then my mouse cant drag the background map as im selecting a button when i drag. perhaps i can make the buttons drag the map instead?This is the code for dragging the map:
Code:
Map.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
Map.buttonMode = true;[code]..........
View 1 Replies
Oct 7, 2011
I drew a line (stepVoltage) in a fla using the graphics class. Once drawn, I want to move it to the right in an update function, but am having trouble. I tride just moving the line with statements like stepVoltage.x = newX; stepVoltage.y = newY; but this didnt work. Then I tried to delete the previous line and draw a new one with a clear () function (see below) but this blocked the next drawn line from showing up.
The code:
var stepVoltage:Shape = new Shape ();
stepVoltage.graphics.lineStyle(2,0x000000);
addChild (stepVoltage);
[Code]....
View 1 Replies
Sep 7, 2010
I'm making a mockup for a client and I need to Load the .swf with the exact stage size so the graphic elements do not float outside the loaded movies stage area. [URL]Basic load code I'm using...
Actionscript Code:
import flash.display.*;var adLoader1:Loader = new Loader();adLoader1.load(new URLRequest("100828_budlight_texas_fight_728x90_jn.swf"));adLoader1.x = 313;adLoader1.y = 162;addChild(adLoader1);var adLoader3:Loader = new Loader();adLoader3.load(new URLRequest("100828_budlight_texas_fight_300x615_jn.swf"));adLoader3.x = 738;adLoader3.y = 0;addChild(adLoader3);
View 3 Replies
Jun 2, 2003
basically this is the code i got from a kirupa tutorial and i just want the graphic to be moved on the x axis
onClipEvent (enterFrame) {
getlimits = _root.normalpic.getBounds(_root);
//get the limits of the normal pic movie
[code].....
View 3 Replies
Jun 23, 2010
I have a movie file which has 600 frajmes on top of that I have a layer (Shape Layer Image) which is transparent like glass. This glass layer comes from right side of the stage and it should stop in the middle of the image. It is looping. My actionscript 3 code for stop simply disappears the image after a moment. Actually it should stay on stage without looping. How can I do that?
View 1 Replies
Dec 31, 2010
i've created a rotating banner with images and wanted to increase the stage size so i can put an opaque larger image in the background and have the other images rotate on top of it. when i made the stage larger i'm having difficulty selecting the other photos so i can center them back on the on the stage. i was able to get the first image centered but i only see the outline of the other images.
View 3 Replies
Jun 23, 2011
The following code I found on website is for working with the image which is in library. But how to modify it to work with the image on stage. Because I don't want to use it from the library.
Is it the AS2 code or AS3. If it is AS2 code how to modify it to work with AS3.
[Code]....
View 5 Replies
Oct 24, 2010
I have a moving vehicle on the stage, which should change directions according to where I click on the stage.I already made it work using this formula:var angle:Number = Math.atan2(dy,dx)*180/Math.PI+90;However, I need the car to tween to the correct angle, instead of just "jumping" to it. While this is easy enough to do, the car sometimes takes the longer turn (especially when I click in the bottom-left quarter of the stage), and it seems unnatural.
View 0 Replies
Nov 5, 2010
I've been thinking about the possibility of using Flash to create designs through ActionScript and tools that I could use at runtime. Is there any way of saving the stage elements as an image that I can use for print output later, preferably as a vector image?I realise the better option would probably be to learn how to script in java script or another language that can be used with a drawing application such as Illustrator, but I'm curious about what sort of options I have to do it through Flash.
View 1 Replies
Oct 18, 2010
I am trying to load an external .swf (actually it is only an image that I published as a swf file, not a complicated movie) but I get errors. I am trying to load the .swf into a movieclip and the movieclip appears on the stage. I have put the code in frame 1 where the image should appear (in the movieclip). The code that I used is below and works fine with a .jpg and when I load it directly on the stage, that is to say, when I put the code in a frame on the stage. Why does it not 'work' right now?
I have added 'parent' in 'parent.event.target.content.y = 200;' in the first frame of the movieclip timeline, to make sure that it will appear on the (main)stage. The error that i get is this one:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at galerie2010_fla::mcBallon1_11/frame1()
This is the code in frame 1 in mcBallon1:
var imageRequest1a:URLRequest = new URLRequest("images/SWFoverig/ballon1_702x368.swf");
var imageLoader1a:Loader = new Loader();
imageLoader1a.load(imageRequest1a);
addChild(imageLoader1a);
imageLoader1a.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete1a);
function onComplete1a(event:Event):void{
parent.event.target.content.y = 200;
parent.event.target.content.x = 205;}
View 2 Replies
Feb 8, 2010
Everytime I'm trying to drag an image from the library to the stage, the program crashes. I've been sending the crash logs to Adobe many times, but never got any solution from them.
In the log there a line that says:
<crash exception="EXCEPTION_ACCESS_VIOLATION" instruction="0x0c4feb66>
I'm working with 10.0.2, I thought the latest update will fix that, but it doesn't. Changing the UI from Essential to Classic doesn't help
View 6 Replies
Nov 16, 2009
I have this footer image, that I want to align to the bottom of the stage, however I'm getting errors. As you can see I have an ADDED_TO_STAGE listener in the constructor function.
[Code]...
View 3 Replies
Aug 28, 2010
I have been struggling with this with CS4 and CS5. I am working on an animation with a couple of characters comprised of several pngs I converted to symbols. When one characters symbols overlap another characters the swf file shows the stage color rather than the background image I have placed in the file. I can publish it as an html with the option of playing it windowless transparent and it will remove this problem. But I would like to just be able to play the swf file without this issue.
View 2 Replies
Sep 26, 2011
I added a graphic to the stage and I need to access it from actionscript
View 1 Replies
Feb 21, 2012
I need the ActionScript (2.0): 1) When rolling over a moving image (like a filmstrip), I want the image to stop and then it zooms into a larger image. 2) Then when you click on the larger image, it goes to another URL page in my webiste.
View 9 Replies
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
Jan 24, 2012
i have created a slideshow in AS3 scripting to pan images from left to right or right to left. The issue i have on the slideshow is some stutter effects when the set of images are panning from left to right by one after another. Is there anyway to make the panning smoother than the jittery effect.
about using graphic acceleration for smooth effect. What is graphic acceleration and how it helps to achieve the smooth movement of images.
[Code]...
View 3 Replies
Feb 22, 2011
I'm having trouble setting up a Graphic object (a solid filled rectangle) to be masked with an image that gets loaded at runtime. I've managed to get it to work with the following code:
<?xml version="1.0"?>
<s:Application xmlns:fx="[URL]"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
creationComplete="init()"
[Code] .....
Setting the PNG inside the <s:mask> makes the stage render nothing, while adding the mask programmatically in the init() method causes correct behaviour. It took me quite a while to figure this out and I'd like to understand what it is that I'm doing incorrectly in the MXML approach, as that seems to be what is being done in the Cookbook (other than me using an Image and the example using a Group wrapped BitmapImage).
View 1 Replies
May 6, 2010
I have displayobject with vector and image data And I am trying to scale it in order to get big jpeg out of it with JPGEncoder.The thing is that once I am resample it using the Bitmap class (Matrix) and with draw method it's getting pixelated.How can I take a container with vector graphic and bitmap image and rescale it to bitmapdata without getting things pixled.This is the displayobject:The image in the center is high resolution image which I resize and all the other elements are vector graphic.Since the image is high resolution and all the other elements are vectors if I just call the scaleX property of the displayobkect it increase the contenier size and it all looks very good. But if I want to take a bitmap data out of it it's look terrible, The fonts getting pixelated and even the photo.I will like to know it there is a way to do it without getting things pixelated.
View 0 Replies
Mar 23, 2012
I have a problem with scaleX and scaleY. When I use them for images created by photoshop their graphic decrease a lot. I use scaleX and scaleY for changing the size of image so scaleX equal with scaleY. Is there another way to change the size of image in actionscript without decreasing graphic?
View 9 Replies
Mar 11, 2009
I am creating an image gallery with thumbnails on the right inside a symbol so that they can all fade in at the same time, and the bigger images on the left that also fade in. I can only fit 8 thumbnail images at a time, and want to have more than that. So I'll add an arrow below the thumbs so that when you click on it, you can see the other thumbs. I have the first 8 thumbs on the first frame of a symbol and the rest on the second frame.
My problem is that the symbol that contains the thumbs is a graphic symbol, so that the thumbs in it, that are button symbols can be clicked on. I tried using button and movie clip symbols for the thumbnails container but then the buttons (thumbs) can't be clicked any more. That was not a problem till I had to add more than 8 thumbs, cause i need to give the container an instance name, and graphic symbols can't have one.
Here is the link to download the .fla [URL]
In case I didn't make my self clear, what I need is to know if there's a way to have a movie clip or button symbol that can have buttons in it that can be clicked on.
View 1 Replies
Oct 8, 2008
Someone told me once that every function in Flash has some associated actionscript being executed behind the scenes, e.g. converting a graphic to a symbol or drawing a pentagon on the stage. This person also told me that there is somewhere in which you can view said ActionScript as it's being executed. How can I do this? I deem such a feature necessary to do the projects I have been given, especially having very little experience with AS.
View 1 Replies
Jun 30, 2011
i wan to change and resize image object in graphic or button dynamiclly, how?
View 3 Replies
Mar 10, 2010
Is there anything a graphic symbol can do, that a movie clip can't? So many tutorials I look at, use Movie Clips for so many things, including one frame objects, and buttons etc...So, is there any benefit to ever using a graphic symbol over a movie clip?
View 3 Replies