ActionScript 3.0 :: Extrude Vector Shapes Using It?
Oct 22, 2009Does anyone know if it's possible to extrude vector shapes using AS3?
View 2 RepliesDoes anyone know if it's possible to extrude vector shapes using AS3?
View 2 RepliesI had something wrong in Flash Pro CS5, all vector shapes and text fields are too sharp and output is very good and smooth ( Normal ) !
View 5 Repliesneeding to alter the stage.scaleMode, but I have a video player with vector shapes that look pixelated when I go to full screen mode. The SWF is not rendering these vectors as bitmaps or anything. When I right click on the SWF in non-full screen mode and zoom in on sections of the SWF things are nice and crisp and vectory. Yet when I go full screen these crisp shapes seem pixelated.
View 3 Repliescan some one tell me how i can do extrude effect on a movieclip. as we do in photoshop ?
View 7 RepliesI have a question about shapes (i mean the flash.display.Shape class). Is it possible to import Shapes directly from the library as Shapes and not as Sprites/MovieClips? Shapes are supposed to be faster than MovieClips/Sprites, right? So why is it only possible to import MCs/Sprites from the library? I understand that generally shapes could be created solely by actionscript, but in my case the shape comprises of many points and is curved - so it's quite infeasible.
Is there maybe some sort of plugin to generate code that would draw the desired shape from a drawn shape in CS4? And a last one: Are there any benchmarks out there for performance comparison between sprites/mcs/shapes? How much performance do i loose by using a sprite instead of a shape?
I'm getting
ActionScript Code:
1067: Implicit coercion of a value of type
__AS3__.vec:Vector.ie.aro.floorplanviewer.model.buildingVOs:ConfigurationVO>[code]....
which surprises me as ConfigurationVO inherits from NodeVO.Is the compiler really not able to figure out that a Vector of a superclass should be able to hold a reference to a Vector of a subclass?
I need to import a bunch of vector work from Photoshop into Flash. Is there a trick to it. So far, on import, it's converting the layer styles into black.
View 5 RepliesIf I want to pass in a vector to a function, a vector of any object specifed would it be someVetor:Vetor.<T>? beause FB 4.5 sais T is undefined.
View 10 RepliesCreated Vector with the initial length of 100.
var v:Vector. = new Vector.(100);
v[90] = "Ninety"
v[190] ="oneninety" //RangeError: Error #1125: The index 110 is out of range 100.
//How to change the length from 100 to 200 to store a value at index 190
I am currently being confused by the Vector class.I wrote a beautiful XML to TypedClass parser. Works beautifully and without fault. UNTIL a co-worker noticed we got a Conversion Error for Vector.<Number> to Vector.<*>.
Every Vector I've ever tested all extend Vector.<*>.
Vector.<Sprite>, Vector.<String>, Vector.<Point>, Vector.<Boolean>, Vector.<TextField>, Vector.<CustomObject>, etc etc etc. ALL of them.
<type name="__AS3__.vec::Vector.<String>" base="__AS3__.vec::Vector.<*>" isDynamic="true" isFinal="false" isStatic="false">
<extendsClass type="__AS3__.vec::Vector.<*>"/>
[code]...
But then when I use describeType on Vector.<Number>, Vector.<uint> and Vector.<int>.
<type name="__AS3__.vec::Vector.<Number>" base="Object" isDynamic="true" isFinal="true" isStatic="false">
<extendsClass type="Object"/>
<constructor>
[code]....
Now I have accounted for these 3 vectors individually as even uint and int does not extend Vector.<Number> as I would have expected.
And my parsing function works for all types correctly again. But my confusion comes as to WHY this is the case, and why I couldn't find any documentation on the subject.
Class ShootGame implements IGame{
[Code]...
I have a large vector drawing (imagine 5000x5000) that i want to break up into separate pieces. I know that I can convert this vector drawing into a bitmap and then use the copyPixels method to create many separate bitmaps of the different regions of the original vector drawing, but is there any way to subdivide it into movieclips that just contain vector graphics instead of a bitmap?The reason im dividing a big chunk of vector graphics into smaller pieces is for performance reasons, so flash would only render a small part of this big chunk at a time (only certain regions/voxels/subdivisions are rendered at a time). But bitmaps apparently take up a lot of memory and the system im using would take much less memory if these subdivisions could be preserved in their original vector graphics form.
I imagine I could use masks somehow to achieve this effect (for each subdivision, duplicate the huge image and mask only the region that the subdivision represents), but I dont know the performance costs of masking or if this will create other problems.So is there anyway to split up a movieclip of vector graphics into smaller movieclips of vector graphics the same way copyPixels can with bitmaps?
Is this possible? Cause it "masks" just one shape within the mask layer.
View 7 RepliesIs it possible? I can't figure out how to do it.
View 4 Repliesit is possible for me to add cut-out shapes onto Flash? I have cut them out in photoshop and pasted on a transparent background, but when I open them in Flash the background has changed to white.
View 1 RepliesIm trying to create a drag and drop module which can be used to build an Image. EX: Using a triangle and rectangles to create a House.
I have created the drag and drop module but I cant make them fix with each other.
I'll explain the functionality a little bit, but forgive my English if any mistakes since it's not my native language. The user is given a set of shapes and a question like "CREATE A HOUSE" so he should be able to drag the shapes that is given and and build the house.
I am drawing three circles in my flex application, using actionscript. But these circles are now pure 2D images, which is not looking good. How can I make it look like 3D using some shadows or shades inside the shape.
View 1 RepliesCan I add eventListeners to shapes ?
View 2 RepliesI want to add different quadrilaterals to an array, so summing up this is what I am trying and it isn't working[code]...
View 9 RepliesI'm working on an IK based character animation, and I have a question about the different IK "types".I've started by creating a charater, created using symbols to represent the various body parts, which works great, and I've created a shape based armature as well to handle the mouth because the shape based animation works perfectly for animating it.Is there a way to "attach" the shape armature to the symbol armature to that the mouth will move with the head during animation? It is difficult to keep the mouth armature aligned with the face manually, and the bones don't "stick" when I drag them from the symbol armature to the shape armature.
View 1 RepliesWhy is it that when I draw with the pencil tool, my lines get auto-reshaped? This is nice but it's not nice when I try to draw a stickfigure and it turns out completely wrong. Sometimes when I draw a circle with the pencil tool it becomes a square. But then again I don't use a drawing pad. I use a mouse.
Somebody told me: "Because Flash is really a vector drawing tool, not a bitmap drawing tool. It is *interpreting* your marks as pieces of a curve. That said I think there may be a setting to remove this smooth - in effect using more line parts for you drawing."
How can I achieve complex text shapes like warp(text on path) effect in photoshop or Wordart in Microsoft Word in flash?
View 4 RepliesHow can i easily break the shape into two pieces so that I can change them into movie clips?I tried using the selection tool combined with shift key to create selections but the selection tool only does squares so it's very frustrating to select a portion of my drawing precisely using it, i've given up
View 1 RepliesAny way of drawing circles with AS? I'd like to draw a number of small MC's on the stage in a circle actually. My problem is how to draw in a circle.
View 5 RepliesI want to make my action script shape clickable and to give it actions but I get this error1119: Access of possibly undefined property buttonMode through a reference with static type flash.display:Shape.
View 1 RepliesI have maze-like game and I'm trying to get the player mc to respond to a collision between the boundary mc.hitTestObject doesn't work since it's not a rectangle. Is there a way to do this?
View 7 RepliesI'm working on an application where I'm drawing some rectangles on the screen, and then will need to manipulate the shapes (change their size, location). I tried to do something with .drawRect and clearing the shape each time I was manipulating it, but the RAM usage was spiking and then falling (presumeably because i keep reinitializing a new component and then removing it, and garbage collection was cleaning it out). This seems like its probably not the most efficient way to do it.
Is there a way for me to just create a shape once, and then move it around on a canvas (and change its width and height without all this RAM usage?
I'm looking for a method to import Photoshop shapes intro flash. I want to import them as vectors not bitmaps. Is it possible?
View 2 RepliesI have one left panel in which there are different shapes like start,end connectors..... when i drag line image inside canvas i want to draw line/connector between two shapes how would i do it
View 1 RepliesI want to develop an image editing application in Flex 4. My initial requirement is to draw various shapes like Line, Rectablge, Triangle, Circle, Star etc in appication. I want to facilitate user to draw shapes using rubber banding like professional applications do.
All shapes would be vector and should look smooth in an size. So, can't use bitmap and scale them.
What are better methods to achieve this?