Actionscript 3.0 :: When The 3-d Function Gets Added It Starts Tween All Weirdly Shape?
Jul 21, 2009
I have a question regarding TweenMax and the way it tweens MovieClips. Here is what I have.
1. I have a rectangle movie clip on stage (width:20, height:20). When you click it, it expands (to width:650, height:350) and gets a 3-d function attached so it reacts to mouseXY position (like Lees 3-d photo tutorial). This part works fine.
2. I click it again and it retracts to its original small size (width:20, height:20). This also seems to work fine.
Problem: When I click it again it expands (to width:650, height:350), but when the 3-d function gets added it starts tween all weirdly shape and not the way it is intended.Here is my class
Code: Select allpackage
{
import flash.display.Sprite;[code].........
View 2 Replies
Similar Posts:
Jul 15, 2009
I want to know if there is a way to add an ease function to a movieclip that has a tween added on the stage already? is there a way to specify the number of frames that I want it to ease? For example, say my tween runs for 25 frames, but I want the easeIn to only last for 5 of thoes frames, and resume it's normal speed for the last 20 frames.
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
Jul 1, 2010
I am adding rectangles dynamically and have first added them to movie clips so that they can receive mouse events.But I am having trouble accessing their position on stage.If I set the position of the movie clip that contains them, the x coordinate returned is always 0.Is there a way to get the position of the shape and/or movie clip container.
View 4 Replies
Feb 6, 2010
i have a class that creates circles randomly placed at stage, i want then to move those circles and make them bounce off the stage, i know how to do that, the problem is that when i add a new shape into my stage, that shape, has an "x" value of 0, no matter where it appears, how can i check the real "x" value of that shape within the stage, so i can continue with the bouncing check...
ActionScript Code:
package
{
import flash.display.MovieClip;
import flash.display.Graphics;
[code]....
so i just want to know the "real" "x" and "y" positions of my Shape attached to stage to attach a ball to stage i use the createBall method called from my fla....
View 2 Replies
Jul 14, 2009
What I'm trying to do is when I click on a button, the Tween will scroll to screen to the left and play a video. But if the user clicks on the button again before the tween is done, it seems that the event is being catched twice and will screen to the left twice and play two video instead of one.
View 1 Replies
Sep 1, 2010
how do I keep something invisible until the frame of it tween starts then keep it visible until its unloaded?
onEnterFrame = function()
{
a1._visible = false;
}
if(Key.isDown(Key.SPACE))
{
a1.gotoAndPlay(2);
a1._visible = true;
}
View 1 Replies
Apr 28, 2003
how to shape tween with actionscript.
View 9 Replies
May 10, 2009
I'm trying to create a shape tween to take a line from a point to another point. I can get it to work if I leave the line short but if I try to take it to a point the shape tween doesn't work.
View 1 Replies
Aug 9, 2009
I am trying to shape tween from a simple vector object to a number of complex vector objects, but the same problem occurs when trying to go from one simple object to two.
Instead of slowly/smoothly splitting the initial object into two, it just copies them and they move apart from each until reaching the final two object forms. As if this wasn't bad enough, they are also connected by a random straight line. Ugly.
I guess I can understand why this happens, but is there no way to tell it to make the transition in another way? Shape hints tend to make the problem even worse.
View 2 Replies
Sep 2, 2009
I have two vector graphics I imported to my stage and want to do a shape tween between them. But shape tween is grayed out. The images are imported Illustrator EPS's. I attached two screenshots.
Attachments: Picture 1.jpg (144.1 K)
Picture 2.jpg (141.9 K)
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 7, 2009
Hi;I have a shape tween between 5 different drawings that I want to convert to a mc. How do I do this?
View 3 Replies
Apr 6, 2011
I'm using shape tweens to morph one shape into another:While I enjoy some of the choices Flash makes for animating the transformations,I am wondering if you can control it in any way, or even have flash generate a different transformation.That demo shows about what I know, which amounts to: applying shape tweens for morphing; and motion tweens for 2d spinning, and basic movement from point A to point B.
View 2 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
Mar 25, 2009
For those of you who know how to shape tween TEXT, you can do it by breaking it apart(under the MODIFY tab) in the GUI part of Flash. In AS3 however, you can't do that.
End Result wish - To simply have the text font increase in size starting from say, font size of 10 to 300 as if it is coming out of the screen. Imagine a dot, and then imagine the dot shape tweening out to become a large dot until it fills up your screen, now imagine your text box being able to do the same thing.
Here is my dilemma:
[Code]...
View 9 Replies
Aug 5, 2009
I've been using the motion editor for my Motion Tweens, but as you probably know, I can't use the motion editor on a Shape Tween. Is there no way to do this? I just want it to slowly ease in.
View 6 Replies
Mar 22, 2011
I am using GTween to tween multiple tweens one after the other (Ex: casino slots). I am tryng to give the effect of reel spinning in casino slots. First, started with two tweens for 3 symbols per each tween, 1 tween will be shown on the screen and other will be added above it which is not shown as the reel shown area is masked. I am trying to add new tweens on completion of each previous tween, but due to the starting delay when each Tween is added, there are showing some gaps between the symbols in reels.
how to avoid the starting delay when a new tween added.
View 2 Replies
Jun 14, 2009
i put a shape tween on the timeline that shrinks a shape a certain number of pixels in a given time. my problem is that it shrinks too smoothly in the movie! I need it to shrink in a step by step fashion, and i'd like to be able to specify the number of steps. i'm hoping that there's a simple parameter that i can use to do this. or may be there would be a way to slow down this tween? by changing the fps locally without effecting the rest of the movie? i will need a solution that will work for motion tweens too, but imagine that the principle will be the same also, as a second question, is it possible to tween a bitmaps tint color style so that it changes from say red to green over a number of frames?
View 5 Replies
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
Nov 11, 2009
I imported to library a jpg (of a book). I simply want it to "grow" abit. I converted it to symbol, placed it in a keyframe. Made a new key frame at the end. But when I try to insert a shape tween, that choice is greyed out.
View 3 Replies
Dec 8, 2009
It is very frustrating to move the diamond shape of the motion tween or to even delete an unwanted diamond shape on the timeline.
View 9 Replies
Apr 21, 2010
I create a shape with Pen Tool and convert it to MovieClip.now i want to reshape the first shape through a tween.I can't use Subselection tool.
View 3 Replies
Apr 21, 2011
I want to shape tween multiple objects on the same layer. When they are placed independently from each other all the time on the canvas, I have no problem to make them morph into the other shapes in the ending keyframe.
However, when some of the objects are crossing each other in either the starting or ending keyframe, they don't morph smoothly but quite funnily. Funny phases are nested between the intended starting and ending tages.
See the images below. What should I do to prevent this?
[Code]...
View 1 Replies
Apr 21, 2011
I want to shape tween multiple objects in the same layer. When each objects are placed independently within within distance from each other, I have no problem to make them morph into the other shapes in the nex keyframe.However, when some of the objects are intersecting each other in either, they don't morph smoothly but quite funnily. Funny phases are interpolated between the intended starting and ending stages.See the images below. What should I do to prevent this?
View 1 Replies
Sep 22, 2011
I am running Mac OS X, I recently added a shape tween to one of my fla's and I click save, the save bar pops up but when I re-open the file, everything is fine except the shape tween that I added earlier. The shape tween will not save but saves in the swf.
View 1 Replies
Feb 19, 2012
I am trying to start with a circle and have that circle gradually become a spiral, but I only want the shape to tween from the end of the spiral, rather than the whole shape itself, is there a way to do this without frame by frame animation in Flash CS5?
View 1 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