Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Dynamic Skewing



Is there a way to dynamically skew a square symbol for example ?



Ultrashock Forums > Flash > ActionScript
Posted on: 2002-05-17


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Dynamic Skewing?
Is there a way to dynamically skew a movie/image, or to flip horiz/vertically?

I may be missing something but cant find anything

Anyone?

Skewing A Dynamic Textbox
I have created a dynamic texboks, and skewed it using the transform panel, but when I opened the .swf file, nothing appeared.
I even tried to make a similar textbox inside a movieclip, and then skewed it, but when i opened this the text was still missing.
Is it possible to skew a dynamic textbox and keep the text visible????


->:::sviig:::<-

Skewing A Dynamic Text Box
Hello,

I'm using a PHP counter on my site which works fine until i try and angle the dynamic text box using the free transform tool. This results in the text box displaying nothing. Apparently dynamic text boxes can't be distorted or am I doing something wrong?

I'm just trying to have a counter angle on a sign but it won't work.

Any suggestions?

Skewing Dynamic Text
Am I crazy or is it impossible to skew dynamic text?

Anyone know how?

Thanks,
WARD

Dynamic Skewing Of MovieClips
Is it possible *IN ANY FASHION* to skew a movie clip through action script ... i need this done for a rectangle based movie clip.. i think its possible for a square..

please help, thx.

Skewing Dynamic Text?
I am rather new to doing anything in flash that involves anything besides animation but.... here is my problem... i am loading some dynamic text via XML ... The design that I have requires that I skew the text after output... the text prints fine into the dynamic box when it is not transformed in any way...

my question is... is there a work around to make this happen... is it possible ... if so how do i do it...

thanks much

-s

Transforming And Skewing Dynamic Text
I had asked before why my dynamic text was not able to be transformed. Now it appear as though it can but only with certain embeded fonts. And not only just the fonts in general but specific fonts in specific movies. For instance: Goudy Old Style will be able to transform in one movie but not in another. Is it a problem with the way I am embeding them, those that work and those that don't were embedded at the same time... Any suggestions will be praised! Thanks guys

James

Skewing Dynamic Text With Perspective
Hi All

I am trying to skew a text field not only so it appears side on but with the the left hand side narrower than the right to give the appearance of perspective (see attached pic)

Is this possible without haveing to break apart the text ie still have it dynamic, I know about the embedd font issue, this is not that.

Any help mucho appreciated

Cheers

Warping/Skewing Dynamic Text Field
I want the user to be able to enter text and have it warp/skew...is this possible? if so, how? do you have to convert text to shapes programmatically? suggestions???

I see text effects similar to what I want in Swish Max2, but I don't know if Swish can be sent dynamic data (ie. my text input) and manipulate it dynamically?

thx in adv.!

Dynamic Image Skewing/moving Corner Points
Hi guys,
Just a question of possibility....after I load an external image into a movieclip, is it possible to dynamically skew it? For example I'd like to be able to set X,Y coords for each of the four corners of the movieclip... thus taking a square movieclip and dynamically changing it to a parallelogram or whatever I need.
Hope this makes sense...

Skewing A Matrix = Skewing In The IDE?
Hi,

I need to skew a movieclip dynamically using a matrix. In the Flash IDE I would just set the values for skew transform to 56 and 34 degrees and it looks correct (isometric). But If I try to use the values with a matrix I get the same rotation but the result seems to be scaled up, especially on the y axis. Here's the code I use ...


Code:
var degX:Number = 56;
var degY:Number = 34;
var radX:Number = (degX / 180) * Math.PI;
var radY:Number = (degY / 180) * Math.PI;
var skewX:Number = 0 - Math.tan(radX);
var skewY:Number = Math.tan(radY);
var matrix:Matrix = new Matrix(1, skewY, skewX, 1);
wrapperMC.transform.matrix = matrix;
... Anyonw know why this scaling-up happens and what I can do to get wrapperMC into exactly the same scale and skewing like it would be in the IDE when using the transform panel?

What Is Skewing, Actually?
hi all!
ok. I'm making this litle experiment right now. i re-scale and rotate objects. the scaling and rotating depends on 4 buttons around my objects. works fine. Now let's say i would like to 'skew' what kind of 'rescaling' would that be? example: a rectangle. left side does not move. right side goes down. I'm thinking but cannot figure it out. it does have to do with _xscale or _yscale but even in the program it goes with 'rotation'.... but... heeeeeelp!
gparis

Skewing A MC
A while ago there was a discussion of this topic in the following thread:

http://board.flashkit.com/board/show...hreadid=183126

The descriotion of how the manual skew was achieved was a bit too glossed over for me to understand. Something about placing a MC inside another and rotating and scaling them both?? Can anyone explain exactly how to achieve this. I've been playing around and I'm not getting any kind of skewing effect popping out.

Skewing With As
just wondering...
is there anyway to skew using actionscript?

Skewing With As
just wondering...
is there anyway to skew using actionscript?

Skewing MC
is there a way to skew a MC? Like making one side of a rectangles box smaller than the other side?

thx

Al

3-d Skewing
I am looking at taking a mc and giving it a 3-d skew. I have tried this with the matrix class (affine transformations) and i can tranform the mc's, but i can't get 3-D depth with it. Any thoughts?

Double Skewing
I would like to make such the Star Wars Intro Test at
http://www.flashkit.com/movies/Effec...76/index.shtml .
I have tried to make one by myself but I'm unable to find
double skewing to give the perspective effect to the text.

I would be grateful if you can help me, I need to do such an intro
for the starting of an animation.

Thx for your help

Skewing An Image
i want to skew an image in an animation like this site

http://users.belgacom.net/chiro.haro/begin.htm

in this site i made the animation with a drawing not an image

help me please

Skewing Skew'll
zipper'll

i have a mc that i want'ta skew on the go from a user-imputed var.

i was told to rotate then duplicate then scale, but i don't understand how that can work...

does anybody know the code for such beast?
or is there a mac extention for la function?

thanks-thanks

thrill,
-lloydmannes

-->Skewing With Actionscript
hi everyone,

does anyone know if it is possible to do skew animating with actionscript in flashMX??? I cant't figure out how to do this...
tnx in advance

$KEM-ONE

-->Skewing With Actionscript
hi everyone,

does anyone know if it is possible to do skew animating with actionscript in flashMX??? I cant't figure out how to do this...
tnx in advance

$KEM-ONE

Skewing A Movieclip Through AS
Hello,

I'm pretty sure I've seen examples of skewing a movieclip from a square to a parallelogram through actionscript, but is it possible to skew a movieclip into a trapezoid?

I'm using MX and any help is appreciated!

Skewing Through Actionscript
can we skew the movieclip like scaling through action script on button press

Skewing Moviclip
can anyone tell me that how to skew moviclip using action script.

[F8] Skewing Using Actionscript
Hello there.
I've had a good rummage around and this question seems to have come up a couple times, but without a solution.
I did find a link to this tutorial..
http://www.senocular.com/flash/tutor...ansformmatrix/
..but that doesn't feature any code-based examples of how to actually apply the matrix transformation to an instance.
Likewise, Flash Help just has a brief entry about the flash.geom.Matrix class - minus helpful examples.
If anyone knows the basics of using the Matrix class in a simple piece of code, that'd be swell.
And all I want to do is make a leaf 'droop'...
Cheers.

Skewing Towards Origin
I have found some tutorials that should deal with this, but what I need is very constant. I have created a spinning spoke-like sphere that has squares at the end of each one. My aim is to get the squares to be skewed appropriately so that they face the center. I am not at quite sure how to go about doing this. (IF IT IS ANY EASIER, CONTACT ME VIA AIM OR MSN)

Thanks to anyone who helps!

Skewing FLV Video...
Hi - just wondered if it's possible to distort the skew of an FLV video / FLV playback component, in order to give the video a feeling of perspective? Not even sure if I've seen this been done before, let alone if it can be - does anyone know?

Many thanks

Problem With Skewing
This is a bit of a simple question but this problem has been irritating me a great deal
I am trying to fake a full 3d rotation by skewing my mc(movie clip)
I have the registration point at the top center and i am progressively skewing the mc by 90 as in:
90 - 180 - 270 - 360/-0
the mc is supposed to shrink horizontally till it practically dissappears then begins to increase in size but as a mirror image of itself and then repeating this till it gets back to its original shape and orientation
but as soon as i get to 90 or 270 the movie kinda rotates and stretches vertically while shrinking on the horizontal plane
I have seen some one do this perfectly using the same method
Please help

Skewing Like In Photoshop
Is there any way to skew an object in flash like you can in photoshop? I made movie that i would now like to match the skew of png image of a computer monitor. The desired effect is to give it some depth, as if the monitor were slightly turned and the images on the screen matching.

In photoshop you can skew using any of the 4 corner points, but in Flash it seems as though you can only shift the movie on two points.

Any answers would be greatly appreciated.

Problem With Skewing
This is a bit of a simple question but this problem has been irritating me a great deal
I am trying to fake a full 3d rotation by skewing my mc(movie clip)
I have the registration point at the top center and i am progressively skewing the mc by 90 as in:
90 - 180 - 270 - 360/-0
the mc is supposed to shrink horizontally till it practically dissappears then begins to increase in size but as a mirror image of itself and then repeating this till it gets back to its original shape and orientation
but as soon as i get to 90 or 270 the movie kinda rotates and stretches vertically while shrinking on the horizontal plane
I have seen some one do this perfectly using the same method
Please help

Skewing Like In Photoshop
Is there any way to skew an object in flash like you can in photoshop? I made movie that i would now like to match the skew of png image of a computer monitor. The desired effect is to give it some depth, as if the monitor were slightly turned and the images on the screen matching.

In photoshop you can skew using any of the 4 corner points, but in Flash it seems as though you can only shift the movie on two points.

Any answers would be greatly appreciated.

MC And Bitmap Skewing
Hi guys.


I've been looking into all of the new Point and Matrix stuff in Flash 8 and just wanted to know if it's now possible to skew an entire MovieClip and/or Bitmap? What I mean by that is: can the four corners of a MovieClip (or Bitmap) be positioned indepentantly?

Skewing a MovieClip along the x and y axis is pretty simple to do now, but is something like this possible...



...I guess it's more "perspective" than "skew" really.

Skewing An Object In Flash
Is there a way to skew an object in Flash? I've used the Skew tool, but it's not exactly doing what I want it to do. In PhotoShop, I can use the skew tool to smush two corners together so it looks like the object it going off into the distance to a point. The Skew tool in Flash will only "smear" the side of the image to the left/right or up/down. Is it possible to get two corners of a flash object to skew together?

Bending Text Without Skewing
I'm a bit new at Flash but I decided this wasn't a noob question seeing as I can't find how to do this anywhere. What I want to do is make some text I have, conform to the inside of a circle without skewing it. I have broken it apart to do this, but it usually doesn't come out perfectly even. Seeing as flash is so awesome, I figured it'd have an easier way to do this. Anyone know how?

PrintJob Jpg Print Skewing
I have a MC with a loaded jpg inside which I need to print.

I'm using the PrintJob class but the jpg prints skewed at about 40' and wrapping.

Very strange!

Anyone seen this before? Any solutions?

Thanks in advance.


ActionScript Code:
print_btn.onRelease = function() {
    var my_pj:PrintJob = new PrintJob();
    if (my_pj.start()) {
        if (my_pj.addPage("image_mc", null, {printAsBitmap:true})) {
            my_pj.send();
        }
    }
    delete my_pj;
};

EDIT:
Hmmm... using print() instead of the printJob class seems to work! Still have no idea why the PrintJob does not work, so if anyone can help with that, I'd be grateful.

OnResize Skewing My Image
I have the following and have managed to be able to use onResize to resize just my mc 'mcl', it currently fits horizontally but not vertically, so it's stretching, I want to stretch 100% on the left and right hand side but in proportion... Any ideas?


Code:
var myClip = this.createEmptyMovieClip("mcl", this.getNextHighestDepth());
var myLoader = new MovieClipLoader();
var myListener = new Object();
var myTest = random(6) + ".jpg";

Stage.align = "TL"; // Position the movie at top, center
Stage.scaleMode = "noScale"; // Prevent scaling (required!)

myListener.onResize = function (e:Object):Void {
var sw:Number = Stage.width;
var sh:Number = Stage.height;
mcl._width = sw;
trace("New width: " + Stage.width);
};

myListener.onLoadInit = function (mcl) {
trace("load init");
mcl._alpha=0;
mcl.onEnterFrame=function(){
mcl._alpha +=15;

if(mcl._alpha >=100){
delete mcl.onEnterFrame;
}
}
};

Stage.addListener(myListener);
myLoader.addListener(myListener);
myLoader.loadClip(myTest,myClip);

Stretching Skewing An Image
I have an image that is a page from a book. I need to manipulate the image
as if the page is opening. I can grab the corners and re-size or rotate etc.
I need to be able to curve the 2 long sides and the image to look as if it
has curved. I have the following example without a graphic. ( modified from
someone elses work) 80.5.54.164/swiff/anims/PageTurn2.swf . How do I get the
pink page to have an image on it that stays with the page.

Hope this makes sense


Cheers

STeveW

Skewing Imported Images
I want to import an image and then skew it slightly using actionscript. I know how to import images and such but what I need to know is how to skew it with AS without distorting the image too much.

Thanks

OnResize Skewing My Image
I have the following and have managed to be able to use onResize to resize just my mc 'mcl', it currently fits horizontally but not vertically, so it's stretching, I want to stretch 100% on the left and right hand side but in proportion... Any ideas?


Code:
var myClip = this.createEmptyMovieClip("mcl", this.getNextHighestDepth());
var myLoader = new MovieClipLoader();
var myListener = new Object();
var myTest = random(6) + ".jpg";

Stage.align = "TL"; // Position the movie at top, center
Stage.scaleMode = "noScale"; // Prevent scaling (required!)

myListener.onResize = function (e:Object):Void {
var sw:Number = Stage.width;
var sh:Number = Stage.height;
mcl._width = sw;
trace("New width: " + Stage.width);
};

myListener.onLoadInit = function (mcl) {
trace("load init");
mcl._alpha=0;
mcl.onEnterFrame=function(){
mcl._alpha +=15;

if(mcl._alpha >=100){
delete mcl.onEnterFrame;
}
}
};

Stage.addListener(myListener);
myLoader.addListener(myListener);
myLoader.loadClip(myTest,myClip);

Actionscript - Skewing An Image
Hi, I've made the below rotating cog movieclip but I'm having trouble locating a method to skew it accurately. I was told a Displacement filter would work but what i've read it super complicated, and in some cases I've even read skew isn't possible.

http://www.philtrated.com/stage/cog.swf

(example below) I'm trying to skew the circle (1) to perfectly match (2)




But it's almost impossible to match using the modify > tranform > rotate and skew tool.

Is it possible to do in actionscript?

Thank you

OnResize Skewing My Image
I have the following and have managed to be able to use onResize to resize just my mc 'mcl', it currently fits horizontally but not vertically, so it's stretching, I want to stretch 100% on the left and right hand side but in proportion... Any ideas?


Code:
var myClip = this.createEmptyMovieClip("mcl", this.getNextHighestDepth());
var myLoader = new MovieClipLoader();
var myListener = new Object();
var myTest = random(6) + ".jpg";

Stage.align = "TL"; // Position the movie at top, center
Stage.scaleMode = "noScale"; // Prevent scaling (required!)

myListener.onResize = function (e:Object):Void {
var sw:Number = Stage.width;
var sh:Number = Stage.height;
mcl._width = sw;
trace("New width: " + Stage.width);
};

myListener.onLoadInit = function (mcl) {
trace("load init");
mcl._alpha=0;
mcl.onEnterFrame=function(){
mcl._alpha +=15;

if(mcl._alpha >=100){
delete mcl.onEnterFrame;
}
}
};

Stage.addListener(myListener);
myLoader.addListener(myListener);
myLoader.loadClip(myTest,myClip);

Skewing Shape Tween Bug
When I make a simple square, set a new keyframe, skew the lower two points to the left, then set a shape tween, Flash rotates the square during the tween.  This happens even when I put in shape hints, but doesnt happen when I skew the lower two points to the right.

Any suggestions?  I've tried it in flash mx2004 and 8 on both a pc and mac.

Papervision: Problem With Skewing
I created a papervision project in flex builder. I've created many primitieves in FB, admittedly this is my first full scale project in FB. I created a bunch of primitives along the x axis and noticed there was some distortion. After some experimenting I discovered that the camera is off to the right and slanted to the left. I didnt think the default positioning for the cameras were so skewed. Has anyone else had this problem? I really dont want to have to cajole the camera into the correct position because I am afraid it will affect future additions to the display list. Any suggestions?
Thanks!

Skewing Movie Clips
I am currently having a problem skewing a movie clip in Flash MX 2004. I can do the standard uniform skew, by using the skew tool, but I need to skew in a way that it is not uniform (I need a perspective skew). If I hold down the ctrl button while using the free transform tool, I can do this, but for some reason it wont work with a movie clip. I can skew graphics, and vector objects, but not a movie clip. Does anyone know if flash has this capability for movie clips??

OnResize Skewing My Image
I have the following and have managed to be able to use onResize to resize just my mc 'mcl', it currently fits horizontally but not vertically, so it's stretching, I want to stretch 100% on the left and right hand side but in proportion... Any ideas?


Code:


var myClip = this.createEmptyMovieClip("mcl", this.getNextHighestDepth());
var myLoader = new MovieClipLoader();
var myListener = new Object();
var myTest = random(6) + ".jpg";

Stage.align = "TL"; // Position the movie at top, center
Stage.scaleMode = "noScale"; // Prevent scaling (required!)

myListener.onResize = function (e:Object):Void {
var sw:Number = Stage.width;
var sh:Number = Stage.height;
mcl._width = sw;
trace("New width: " + Stage.width);
};

myListener.onLoadInit = function (mcl) {
trace("load init");
mcl._alpha=0;
mcl.onEnterFrame=function(){
mcl._alpha +=15;

if(mcl._alpha >=100){
delete mcl.onEnterFrame;
}
}
};

Stage.addListener(myListener);
myLoader.addListener(myListener);
myLoader.loadClip(myTest,myClip);

Skewing Text Like In Star Wars?
Can someone/anyone please tell me how to skew text as was done at the beginning of Star Wars. I need to skew text to give the illusion of perspective (like if you were standing at one end of a hallway and text written on one of the walls and it gets smaller and smaller as you look further and further down the hallway) and I have no idea how to do it. Thanks in advance.

Skewing Movie Clips With ActionScript — Possible?
Using Transform Panel in Flash MX, you can skew a movie clip. (Not rotate, but just skew only in X or Y direction).

Is the same possible to do, using ActionScript? I badly need it, but cannot find any solution

greetings

Skewing Movie Clips With Actionscript
is it posible to skew movie clips with actionscript?

Copyright © 2005-08 www.BigResource.com, All rights reserved