ActionScript 3.0 :: Transform>>perspective...in Flash?

Jan 31, 2009

I've noticed there is something in AS3 that allows "shearing or skewing" of an object, but I was wondering if it's possible to do the equivalent of what Photoshop refers to as "transform>>perspective"

View 3 Replies


Similar Posts:


Actionscript 3 :: Transform Football Game Into A Perspective View?

Nov 11, 2011

I'm doing a football game which is now seen from above, I would like to know the easiest way to transform it into a perspective view.

View 2 Replies

ActionScript 3.0 :: Do The Equivalent Of What Photoshop Refers To As "transform>>perspective" In Flash

Nov 11, 2009

I've noticed there is something in AS3 that allows "shearing or skewing" of an object, but I was wondering if it's possible to do the equivalent of what Photoshop refers to as "transform>>perspective"

View 2 Replies

ActionScript 3.0 :: Loading In An External Image That Can Transform With The Senocular Transform Tool Class

Jun 26, 2009

I'm having trouble with loading in an external image that I can transform with the Senocular Transform Tool class. I have managed to load in the picture but the transform class doesn't seem want to grab it. Eventually I want to us the FileRef to upload the image but I just need to figure out how it works first. Here my code to load in the external image

[Code]...

The transform class can grab the other movieclips but it doesn't want to grab the new image loaded in from the code above.

View 1 Replies

ActionScript 2.0 :: CS3 : Using Perspective In Flash?

Mar 8, 2009

navigation center left, the grey boxes.click it and the content area will flip 180.how is it possible to do such FX?is there any general methods to use perspective in flash?

- with bitmaps

- with MCs

View 2 Replies

Flash :: MovieClip In Perspective?

Jun 1, 2011

I 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]...

View 1 Replies

Flash 10 :: Drawing In One-point Perspective?

Jul 30, 2011

Okay, there are a few things I want to know how to draw in one-point perspective: a toilet, a shower, a bath; basically I want to know how to draw everything in a bathroom.

View 0 Replies

Professional :: Getting A Menu To Reset Perspective In Flash Cs5?

Jul 30, 2010

The windows are in a mess now, is there a button/menu that can reset the view so that it looks like what it's like originally?

View 1 Replies

Flash :: Get Visible Size Of DisplayObject With Perspective Projection

May 2, 2010

The following is entirely a math question. As we know, PerspectiveProjection delivers perspective transformations in 3D represented by the interdependent values of fieldOfView and focalLength according to the following formula:

focalLength = stageWidth/2 * (cos(fieldOfView/2) / sin(fieldOfView/2)

Q: How to get the visible on-screen size of the DisplayObject (Cube on the above-linked image) to which PerspectiveProjection has been applied? A more thorough description and illustrative code on the issue in ActionScript 3 lacks functionality for visible bounds of DisplayObject.

View 1 Replies

Flash Vs HTML5 For Facebook Games - A Business Perspective?

Feb 17, 2011

I'm in the planning and learning stages of building a facebook game. For the past year my foremost question has been, "Flash or HTML5?". Rather than try to decide the answer to that, I thought I would give the markets for both some more time to mature and learn how to design the game and how to manage the server element.

Over the last year I've devoured thousands of pages of text concerning game development and business development, along with getting a solid footing in AS3, python, php, C# and javascript. So, I'm most interested in picking a system that is best for the job rather than, for example, starting off assuming the game logic will be in python because that's what I enjoy most.

The game is at its core a strategy game and I plan to use many mobile phones extensively in addition to the standard facebook "invite all your friends" features. The graphics won't be flashy and will in most places be rather flat because of the thematic elements, rather than 3d isometric like farmville or other flash facebook games.

So from a technological perspective HTML5 doesn't have any real advantage that I can see over flash, and neither does flash have any real advantage over HTML5. If you see that one has a clear advantage over the other then I would be happy to hear that in your comments.
I have five primary questions that I need your opinion on:

1) Which platform makes better sense for building a facebook game considering the future market trends?

2) Which platform has better inherent elements to help prevent cheating? (like flash being compiled into a .swf vs javascript being in plain text)

3) Which platform would be most attractive to the best game development talent for future hires?

4) Which platform is easiest to take technology from one game and use it for other future games? (like developing isometric graphics in flash)

5) Which platform is easiest to develop with a team?

View 3 Replies

Flash 10 :: Draw A Closet Shelf In One-point Perspective?

Jul 30, 2011

I didn't know where this should go; I thought this was the best place. In Actionscript 2.0 I'm trying to draw the shelf of a closet (wall-to-wall) but I don't know how to.

View 1 Replies

ActionScript 2.0 :: Perspective (Flash MX) - Load Swf Into A Main Movie

May 29, 2003

I am trying to create a starfield effect. I have gone through the tutorials here and elsewhere and come so far. I am attaching the fla file along with the code. The motion as you can see is jerky. Cant figure out what am i doing wrong. Another thing. I am trying to load this swf into a main movie using the following script:

[Code]...

View 4 Replies

Actionscript 3 :: Draw Perspective Buildings (GTA1/2 Style) In Flash?

Nov 6, 2010

I could go about drawing buildings with 3d perspective height, like in the original [url]...

I've tried using beginBitmapFill() and drawing the polygons but the texture doesn't look right because it lacks the correct depth.

View 1 Replies

ActionScript 2.0 :: Create A Dynamic Perspective Shadow System In Flash 9?

Aug 22, 2006

I'm attempting to create a dynamic perspective shadow system in Flash 9 (AS 3) that would have the following constructor:

ActionScript Code:
public function PShadow(mcClipToShadow:MovieClip, nAngle:Number = 45, nDistance:Number = 20, nAlpha:Number = 90, nBlur:Number = 10, nXOffset:Number = 0, nYOffset:Number = 0)
{
//do stuff
}

The function would duplicate the mcClipToShadow MovieClip to use as the base shadow, apply a 100% black tint, set the alpha to nAlpha, and apply a blur filter with Blur X = Blur Y = nBlur. Then a transformation Matrix would be applied that would skew the shadow sprite so that it was cast in the nAngle direction with length nDistance.

The only part that I'm having trouble with is solving the math for the Matrix. I've played a lot with the swf's in your tutorial to better understand how the matrix manipulates things, but I'm still having troubles doing the math properly. My goal is to simply plugin the variables from the constructor into the Matrix constructor and the proper shadow will result.

View 1 Replies

ActionScript 3.0 :: Flash Movieclip That Stays Within The Perspective Of The Page User?

Feb 19, 2012

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 Replies

Javascript :: Replicate Flash Cube Rotation In CSS: Preserve Correct Perspective?

Mar 21, 2012

I am converting a Flash Web App to a Javascript(HTML and CSS) Web App. I have a cube rotation animation working but I have a problem with the perspective.My Problem: I am not sure which CSS attribute I should use to replicate the Flash versions perspective(please see the 2 images below). The 2 below images where taken while the cube rotation was occuring and you can see the difference in the perspective(the 2nd image is too wide and should look like the first). You can see a working example here(Note it only works onThe first image was taken from the flash application and displays the CORRECT perspective(that I am trying to achieve in CSS).The 2nd image is taken from my CSS, Javascript and HTML web app and the cube rotates with the INCORRECT perspective. What CSS attribute do I change in order to achieve the above images cube perspective?

View 1 Replies

Flash :: CSS Transform With Content?

Nov 28, 2011

i have a web application that runs inside a iframe. The iframe is scaled with -webkit-transform:scale(0.8), thats works pretty good but my flash audio recorder inside that iframe doesn´t work when the iframe gots scaled. The flash selfs got loaded and works but the SecurityPanel on which the user has to allow the access to the microphone, is not clickable.

Maybee someone has the same problem or any idea what i can do to fix that?

View 1 Replies

Flash Is Not Letting Me Transform A MC Bigger?

Aug 13, 2009

Im using CS4 trying to make a tween where I transform a rectangle to go from 2 pixels to about 500 pixels so I can create a transition effect, but its only letting me transform it to around 200 pixels.Am I not doing it the way Flash wants me? How should I transform a rectangle to be a lot wider or taller for a tween?

View 2 Replies

Flash :: Transform Movieclip Shape?

May 3, 2011

I was wondering if there any way to change movieclip shape, when it on stage by as2.

View 1 Replies

Flash - Transform Tool Architecture?

Jan 27, 2012

I'm trying to get familiar with design patterns, modularity, unit testing and etc... (with ActionScript). I'm developing a simple "Free transform tool" right now, just as a exercise, but I don't like the solutions that I come up with so far, so I'll try to walk you trough my line of thoughts. When I come up with the idea I was thinking "What to write so I can test this great Unit testing framework FlexUnit", the first thing that I saw was guess what.. a free transform tool. :) When I was thinking about the architecture of the tool I run every scenario trough "How can I write unit tests for that thing?", so I come up with some kind of twisted MVC meta pattern:

A view that's holding all components (rotation area, drag area, resize buttons)A model (or something like that) that holds the necessary logic (setSize, setPositiom, rotateAroundCenter, etc..).And a controller that add listeners to the view components, update the mouse cursor when its over a component, get the mouse coordinates when is interacted with a component, do the calculations and call methods from the model that will update the view and the object that is benign transformed.

I was thinking: "Ok its flexible, i can switch M, V or C at any time, I achieved my main goal, because I can make lots of unit test for the model, where the important calculations are, so its great..".I just have started implementing it, but I think most of those thoughts are wrong. Yes I can change the view and add new skin but it's not flexible at all, if I want to add "skew" (or any other) functionality I should rewrite (or If I'm lucky just extend) M, V and C.Yes I can make bunch unit test for the model but controller's calculations will be hard to test.

So now I'm thinking for something like the Decorator pattern that will allow me to create whatever combination of controls i want to use and keep their logic separated, but I want to have the option to re-skin the controls themselves and to keep the logic separated so I can do the tests.I realize I want to create some kind of "ultimate transform tool", but I'm really trying to push my limits and learn something.

View 1 Replies

ActionScript 3.0 :: Flash Get RGB Of Each Pixel And Transform It?

Dec 1, 2010

I'm making a matrix effect thing using AS3. Everything is going good except for color transitions.

Basically i have two bitmap images, one is where the leading white letters are falling, another is where the letters are printed on to, and i use a color matrix filter to slowly fade the letters away and tint its color.

And this tinting of color is what im having problems with right now. My method works for colors like 0x00FF00, 0xFF0000, or any colors with only 0s and Fs. Other colors with hex values between F and 0 will inevitably turn into a color of 0s and Fs or jus turn black, due to ...

[Code]...

my idea right now is to scan through each pixel and add its RGB component individually checking if it has reached the designated value or not, but ive no idea how to go about doing this and i think it might cause lagg.

Help plz

View 1 Replies

Flash :: How To Transform Embedded Video

Dec 30, 2003

I'm working on creating a simple projection mapping application in flash for a class. One of the biggest hurdles is superimposing a video in "3D". The way I intend to do this, is to transform the individual points of the video to match the cubes I'm projecting on.

View 8 Replies

Flash :: Transformation Using MovieClip.transform.matrix ?

Jul 2, 2009

I have problem when dealing with transform in Flash cs4 ....When I rotate my movieclip and trace the output, my movieclip's width also changed....

View 4 Replies

Flash :: Transform Single Channel Of BitmapData Object

Dec 30, 2009

I have a BitmapData object with an alpha channel. I'd like to know the fastet way to offset that alpha channel in ActionScript3 (FlashPlayer10). By offsetting I mean shifting all pixels of that channel in one direction (wrapping around the image borders) while leaving the color channels as they were.Is there a good way to apply a such a transform to one channel only?

View 2 Replies

Flash :: Bitmap Data .draw() With Transform Matrix

Jun 29, 2011

I'm working on a project wherein a user can take a snapshot of themselves using their webcam and then edit this image by transforming scale and rotation and save the result.

I've got most of it working, the user can take a snapshot of themselves, transform the object using Senocular's Transform Tool and i'm using .draw() to then save this transformed object. The problem is .draw() is only grabbing data from the top left corner of the stage. It is drawing the transformed object but only from the top left corner.

Why does it only draw from the top left corner and how can i get set the coordinates to only draw from the area where the captured image is set?

You can view the file as is at: [URL]

And i've zipped the FLA and relevant classes at [URL]

import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.display.Sprite;

[Code]....

View 2 Replies

Flash :: Zoom Fit A Flex Component With Transform Matrix?

Jul 8, 2011

someone could tell me how I can zoom a Canvas, with transform.matrix, so that the content of the component fits into the parent container (application), either inward or outward

this function is called Zoomfit(), I have this code:

[Code]...

View 1 Replies

Transform Some Desktop Based Flash Games Fro Mobile?

Oct 13, 2007

i want to transform some desktop based flash games fro mobile.is there any tool that transforms for mobile.so that i can do easily.

View 0 Replies

ActionScript 2.0 :: Math Function - Laplace Transform In Flash

Aug 9, 2007

I have problem about math. I want write function of laplace transform in flash.

X(s)=kd*s^2 +kp*s+Ki;
F(s)=s^3 +(10+kd)*s^2 +(20+Kp)*s+Ki;
Gc(s)=X(s)=/F(s);

How I write code(actionscript) in flash, when Kp Ki Pd is value of user input. And S is Laplace transform.

View 2 Replies

ActionScript 2.0 :: Perspective In Flash MX (tutorial) - Duplicate A Movie Clip Symbol In The Second Tutorial

Mar 22, 2005

I sent an email to pom regarding a tutorial that he wrote, but the email was bounced and he hasn't replied to my PM. I have followed both of pom's tutorials that involve experiments with perspective in Flash, but I have encountered a problem while attempting to duplicate a movie clip symbol in the second tutorial ([URL]). I have a single instance of the "ball" movie clip symbol appearing at random positions. However, I cannot seem to successfully duplicate the symbol instance at random positions using the loop that pom provided:

[Code]....

View 10 Replies

Flash :: Perspective Projection Formula - Convert 3d Point To 2d Point?

Mar 27, 2011

How to convert 3d point to 2d point? I've found next formula in Internet(camera is situated in origin)

[Code]....

But these formulae give me strange result when z are less than zero(z<0) I need build line from A(100,100,100) to B (100,100;-100) As you can see these equations give really strange result when I try to convert B point in 2D dimension

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved