Flash :: Shape Tween / Transform While Maintaining Bottom (Y) Position?
Jun 28, 2011
I'm trying to shape tween a movie clip of a rocket blasting off. I want it to "squash" before liftoff, and then "stretch" as it lifts off. When I tween this on the timeline with the transform tool, I can "squash" the rocket, and the base of the rocket stays on the "ground". This is what I want. However, for reasons I won't go into, I need to do this in AS3, as opposed to on the timeline. When I use a "height" tween, though, the movieclip height changes, but it shrinks/stretches at the bottom (locked at the top). Is it possible to do what I want with the tween class? Do I need to use something besides "height"?
[Code]...
View 3 Replies
Similar Posts:
Jun 4, 2009
I'm trying to create a shape tween, in which I use the envelop transform. Somehow, when I change the position of the points on the left side of the object, the object rotates during the shape tween; if I change the position of the points on the left side, everything goes the way it should be. I recorded the screen while displaying the problem, I hope it is clear this way: [URL]
View 3 Replies
Dec 22, 2007
how can you tween so that an object changes it's shape instead of position..
View 1 Replies
May 3, 2011
I was wondering if there any way to change movieclip shape, when it on stage by as2.
View 1 Replies
Oct 18, 2010
I'm using Flash CS4. Everything functions as it should when CS4 previews the swf after compiling it. However, after embedding the flash item in a webpage, if the textArea loses focus within the flash piece, the textarea's built-in UIscrollbar resets to the very top. Here's the kicker: if I add a FOCUS_OUT event listener to the textArea to store the current scrollbar value, I find that the scrollbar value has been reset to minimum even before the FOCUS_OUT event is triggered! WTF? I think this is occurring because the textArea's htmlText propery is dynamically populated. Adobe AIR has advanced methods for handing HTML, but not simple AS3, oh no. How obnoxious. What can be done?
View 1 Replies
Nov 11, 2011
I will have three seperate pages for the motion tween, mask effect and shape tween... would you make the seperately, in a different scene, as a symbol or on the same scene with the website.
View 2 Replies
May 1, 2009
my movieclip button was working perfectly as a motion tween. Can you use shape tweens as movie clip buttons? I just made that change, and kept my code:
[Code]....
View 1 Replies
Jan 25, 2010
I am facing a problem in one of my animation with flash CS4 - I have nested a Shape Tween in a Motion tween to get more control over the easers and effects, unfortunately I am not able to view on the timeline of my Motion Tween the action of the Shape tween nested inside.
It only show the first shape of the Shape Tween during the entire Motion Tween and that is really a problem for me because I need to see the final frame result of that Shape tween to be able to position it in a precise way on my scene according to other instances.
[Code]..
View 1 Replies
Sep 26, 2009
I'm using Flash CS4 on a MacBook Pro with Snow Leopard OS X 10.6.1.I've added two shape tweens on two layers in my main timeline. The SWF tests fine. All is good.I close the document.I open it up again and the tween shapes are gone and there are only regular frames between the transitional shapes in their respective keyframes.I've already added shape hints, and they are completely restored when I convert the intermediary frames back to shape tweens.Exporting to SWF after restoring the shape tweens works fine.
Closing and then opening the FLA still results in the shape tweens reverting back to regular frames.Exporting an SWF from the newly opened document shows no shape tweening as it is gone from the main timeline.Is this a bug or am I doing something wrong?
View 5 Replies
Nov 3, 2011
I want to make a Shape Tween where a text of a small size increases in size. I followed a tutorial, and I did what it tells me: I put the starting text in the first frame, create a blank keyframe at the end where I put the bigger text, I then use the selection tool to right-click on both text objects in the video clip and select Break Apart which I do twice, and then I should be able to create a proper Shape Tween... but when I click on a random free and either right-click or go to Insert, Shape Tween is greyed out. How come? I also tried the other Tweens, but they don't do anything.
View 5 Replies
Jun 18, 2010
If I have made a motion tween on an object on a level I can't then in the frame right after the motion tween make any Shape Tween on the same level and object.
View 0 Replies
Sep 14, 2009
I need to have 2 kinds of masks, one with a registration point in the top left so that when I tween its height it expands downwards, and one with a registration point in the bottom left so that when I tween its height it expands upwards?how do i do that, with code ofcourse?i have made something but i dont know if its the right way:(this expands downwards, but i dont know how to get it to expand upwards)
Code:
import gs.TweenLite;
var subMask:Shape = new Shape();
[code]......
View 4 Replies
Aug 16, 2011
If I shape tween between two rectangles like so:On frame 5 I have the following:
trace(width);
trace(height);
trace(getRect(this));
[code].....
View 2 Replies
Mar 17, 2011
I am working on to slide a movieclip across the stage.The movie clip is five times the width of the stage and I am using the Tween Class to move it across the stage when a button is pressed.The interaction I want is that when the button is pressed the movie clip moves a certain amount.If the button is pressed again it moves further.The script I have come up with though is taking the movieclip back to the original position of the movieclip and then moving it as opposed to moving it from the position it reached after the first button click.I have tried a few things but nothing is working.The script I am using at present is:[code]
View 5 Replies
Oct 27, 2009
I am trying to understand the thinking behind motion tweening using AS3 (rather than doing it on the timeline).I am trying to create a simple platform game, and while this is simply a learning project, I have an movieclip instance on the stage, and using basic x+5 logic I can get the instance to move left and right on the stage accordingly.Trying to make the instance 'jump' is a bit trickier. This is the code I am using:
ActionScript Code:
import fl.transitions.Tween;
import fl.transitions.easing.*;
import fl.transitions.TweenEvent;[code].....
I thought this code would move the instance from it's current y-position and tween it to it's highest jump point. From here I planned to use a MOTION.FINISH event to tell it to tween back to it's original position.Something strage happens though, rather than tween from the current y position and move up, the instance instantly transforms it's position to y+100 and then tween back to the original position. So it kind of turns out that it is the second part of the jumping action that I want to create.
View 2 Replies
Jan 23, 2010
I have a tween set on a timer:
var manTimer:Timer = new Timer(1000,14);
manTimer.addEventListener(TimerEvent.TIMER, moveMan);
function moveMan(e:TimerEvent):void {[code]....
I just need to make the tween's position relative to it's current position, as opposed to starting at the stage's 0 position then moving the the stage's -40 position. It needs to start at its current position the move -40 from that position.
View 1 Replies
Mar 8, 2009
dude how do i make it so new Tween(maio_mc, "_y", Elastic.easeOut, 5, 132, 3, true);
load from the bottom and not the top to bottom??
i tried -_y -y ?
Is it possible for me to set a location from where the tween starts from?
View 2 Replies
Mar 6, 2010
With the Flash Player that comes with CS3 and on my PC XP Pro laptop.I want the player controls to appear at the _bottom_ of the video not on top of the video and not under (behind) the video.
- my video is 640 x 480
- so I modified the "properties" tab at the bottom of the screen to 640x480... (it was 550x400)
- but that just makes everything larger when I click File > Publish
- and then look at the video in Internet Explorer... the Player Controls are still _On Top_ of the video.
I guess I need to learn how to
- Make the stage bigger
- Position the Player controls below the actual video
View 1 Replies
Mar 28, 2012
I want to create a textfield that is either N number of pixels from the bottom of the stage or 90% from the top of the stage.
Basically i want the textfield to always appear near the bottom of the stage. What property of the TextField() object do I configure to achieve this?
View 1 Replies
Jul 25, 2009
At the moment my canvas in 1000x600 and the script, which make the ripple image distortion, covers 1000x300 pixels. The area where this script animates is at the top half of the canvas..Can someone tell me how to position the Script at the bottom of page rather than the top? [code]
View 2 Replies
Oct 1, 2009
Is there any way using tween scale to scale a MovieClip from 'top right' to 'bottom left' as oppsed to 'top left' to 'bottom right'?
View 5 Replies
May 21, 2007
I'm trying to position an MC to the bottom ( that's the simple part ) of the stage that has an initial height and width of let us say 10px height and 30px width. Ok, and now i want to scale ( stretch ) and tween the MC at the same time until it gets to Stage.height. I'm not really sure about how to do this one, i tried using some conditions, some whiles but it seems that flash kinda crashes so that's not cool.
i want the whole MC to keep on resizing ( stretching and tweening again ) on stage resize... how to tween and scale the MC at the same time ( by tweening i mean just like like a motion tween but the only problem here is that the height would be dynamic ).
View 1 Replies
Mar 28, 2010
tween from one position to mouse position
View 1 Replies
Feb 4, 2011
I'm working on a AS3 and Box2D game with moving platforms. The platforms are animated in Flash, and in actionscript I can read in their current position and adjust the physics bodies to match.However, there's always a delay, where the animation is one frame ahead of the physics. I wanted to fix this by reading in the clip's current position, storing it for later, and then putting the clip back to its position at the last frame.
But when I do this, it systematically refuses to budge. I coded up a simple test with a single moving box to test the idea, and I get the same problem ("movingBox" is a symbol that animates a single "box" symbol within it):
package
{
import flash.display.*;
import flash.events.*;[code].............
View 1 Replies
Sep 24, 2010
I need to be able to position the controls at the very bottom of the screen and have the controls stretch from left to right - anyone know the code to acheive this?
View 9 Replies
Aug 14, 2007
I have a stand alone projector file that I am working with. I am trying to figure out how to position certain elements at the top, bottom and sides of the frame so that when the projector is viewed on different machines those elements will remain in the same position.
The file I am working with will be full screen and I have figured that part out. But I need to create a navbar for the top and another bar at the bottom of the screen. If you look at the drawingart site and you resize the browser all the elements stay the same size too. I need to achieve this effect as I am creating this file to work on all size screens.
View 3 Replies
Oct 7, 2010
I've used the Tween Class to put together an image gallery scroller. As you can see in attached example the top 3 images are the same as the bottom 3. For a reason. The tween class shifts the images from top to bottom. At which point the total images clip should shift back to the top and continue from there. These would make it appear as if the images rotate. I've used this code:
[Code]....
View 1 Replies
Mar 20, 2009
I have my flash site working ok, but want the pop up browsers that are sized to pop up in the centre of the screen, instead of the bottom! Anyone know how to fix this? I'm using the following code on buttons:
on (release) {
getURL("javascript:CultWear=window.open('http://www.stevedawson.org.uk/cultweargallery.html','CulWea','width=1133,height= 425,left=425,top=1133,screenX=1133,screenY=425');C ultWear.focus();void(0);");
}
and this is the site so far.... [URL]
View 6 Replies
Sep 10, 2010
In actionscript3,using the ScrollPane component and the TweenLite package, would it be possible to animate to a particular scroll position?
View 2 Replies
Apr 28, 2003
how to shape tween with actionscript.
View 9 Replies