ActionScript 2.0 :: How To Distort MovieClip Into Perspective Shape
Dec 12, 2004I have a movie clip with a square inside. I want to use actionscript to distort the movie clip into a perspective shape, like this: [URL]
View 1 RepliesI have a movie clip with a square inside. I want to use actionscript to distort the movie clip into a perspective shape, like this: [URL]
View 1 RepliesI have a movie clip with a square inside. I want to use actionscript to distort the movie clip into a perspective shape, like this: [URL]
View 2 RepliesAll I want to do is have a word start as a normal word, and then distort into a U shape, like the word is smiling. I've been googling and tutorialing and all I have come up with is breaking the word up and then using the distort tool, but it distorts every corner of every letter, isn't there a way to distort the whole word just a little? Also, when I "create shape tween" the text dissapears and when I "create motion tween" it needs to turn into a graphic so then I cant even use the distortion tool. What do I do?
View 2 RepliesIm unsure if this is possible, but I'm looking for a way to distort a rectangle to become a curved shape,So far I can do this through using a variety of masks and blends, to create the illusion, but the as the shape isn't really distorted. Thus artifacts in the image are not distorted.
View 8 Replies[URL]. In this site, we can change the distort the shape of the text. We can do something like we can do in photoshop. How to do this?
View 1 RepliesI have a movieclip that I load a jpg image into. I can rotate the movieclip & scale it in x & y directions which is great BUT has anyone got any ideas how I could distort it into a trapezium using actionscript?[code]Scaling the y is fine, but I effectively want to scale the x dimension by different amounts depending on what the y position is.
View 3 RepliesHere i am looking to skew and distort the Movie Clip dynamically.is this possible to do?
View 1 Replieshow to use sandy to distort a movieclip.
View 5 Repliesim searching for a class or way to disort my movieclip like this. but all i can found are ac1 or ac2 workarounds . it must work with flash player 9
View 3 Repliesneed to draw the shape of a existing movieclip which is irregular shape.
View 2 Repliesneed to draw the shape of a existing movieclip which is irregular shape.
View 1 RepliesId like to know if there is a way to do a shape hitTest.Not as the normal hitTest would do, but shape colliding another shape, not the rectangleof a movieclip.It can be in a movieclip.
View 23 RepliesI would like to have a MovieClip that has a bit of depth. I can't use rotationX, rotationY or rotationZ because I have to use Flash CS3. The first image is what I have now, a flat movieclip. The second is what I should have.
I already tried using a matrix, but that didn't work. I posed a question about it, and there somebody sugested that I should use a 3D engine to get the result I want.
[Code]...
I need a movie clip that will stay in the same place on the x axis, but will scroll up and down with the page viewer on a website. staying in view.
View 1 RepliesThis is the third thread I've written for my current project (1st was answered perfectly, 2nd failed [but I still figured it out anyways]) but I'm not sure if there is a solution to this problem. I can't really explain my problem, so once again I've included a helpful animation to show you what I mean. Bear in mind that the pale-blue box represents the movie clip's borders, and those borders are usually changed to include the animation (instead of the borders moving with the animation, the borders get bigger).
For the animation problem, I've already got a solution: create an invisible movie clip that has the exact size and shape of the animated movie clip and make it follow the movie clip as it animates, and make the hitTest check the invisible movie clip instead of the animated one. As for the rotation problem, well, I don't know how to fix it. Is there a way to change that?
I have a class; "Game".I have a bitmap in the library; "Grass"I want to be able to run a function from the main timeline that uses the bitmap inside of a movieClip.My current attempt is as follows; I make an instance of "Game" and have an .as file for Game that has:PHP Code:
package {
import flash.display.MovieClip;
import flash.display.Shape;
[code].....
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 RepliesI was wondering if there any way to change movieclip shape, when it on stage by as2.
View 1 RepliesI 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 RepliesI am having a problem getting color value of MovieClip's color on stage. This movie clip contains simple colored square drawn by Rectangle Tool.[code]...
View 0 RepliesImagine you have a chessboard type setup, made of separate squares. Each square is clickable, therefore, it can change colour, something can happen etc.... what I need is to be able to create a new sprite / movieclip / shape, that will appear over the square I have just clicked. If you click the next sqaure, this new movieclip / shape will change colour and cover the two sqaures I just clicked.
To summarise, this new shape is created whenever a square is clicked. The shape gets bigger and covers which ever square is clicked. Think of something like a slime-monster getting bigger and covering the squares which are clicked.
I am tracing a line between two movieClips (called pontoA and pontoB) using the following code:
var my_shape:Shape = new Shape();
addChild(my_shape);
my_shape.graphics.lineStyle(4, 0xFFFFFF, 1);
[code]......
I know how to use the Bitmap transformation matrix to manipulate an image using ActionScript, but I cannot �distort� an image. I can only scale and skew.
I did a bit of research before posting my message, and I found a very complicated process of using Fuse along with Sandy (custom class) and some other custom classes. But there must be an easier way.
I simply want to distort an image like in the example below (I am referring to the one with the caption "No")
How can I distort a Loader in AS2?
View 6 RepliesHow do I make this effect... to Drag a CD image, (about 300x300 pxls) to the right of the stage and at the same time, while dragging, making the cd to flip in position to get inside a CD drive or something? When realesed inside the drive, a music clip would play. If release outside, go back in initial position.
View 1 RepliesActionScript Code:
package {
import flash.display.MovieClip;
public class Base extends MovieClip {
public var baseHP:int = 50;
var newRect:Shape = new Shape();
1046: Type was not found or was not a compile-time constant: Shape. 1180: Call to a possibly undefined method Shape. What does it mean by "undefined method"? I am somewhat of a newby, so sorry if there are any stupid errors
Whenever I add shape hints to a shape tween the shape disappears in the between frames. I am using CS5 on Vista. I using files from [URL]to practice.
View 2 RepliesIs there anything to opposite of setMask. Actually I want that, when I click a button then a movieclip will be masked by some predefined shape (working as mask object). when I click another button he mask will be gone. That means the object under the mask will go out of the mask.
View 1 RepliesI performed a benchmark test memory consumption by three DisplayObjects - MovieClip, Sprite, and Shape.
Below are results and method used. I just wanted to create instances. Test with adding instnaces to display list showed a slight difference in terms of memory consumption.
Observations: Sprite uses from 16 to 22% with average 18% less memory than MoviClip.
Shape uses from 42 to 55% with average of 46% less memory than MovieClip.
Shape uses from 32 to 42% with average of 35% less memory than Sprite.
[Code]...
The below MouseDown() event works on for a squire area. How can trigger a MouseDown() event when clicked on a custom shape movieclip?
[Code]...