ActionScript 3.0 :: Flash Map (ESRI Shape File)
Nov 30, 2009I need some idea regarding the GIS and flash I have a requirement to use .shp(ESRI shape file) and dbf file create to create a map form that any idea regarding this [URL]
View 3 RepliesI need some idea regarding the GIS and flash I have a requirement to use .shp(ESRI shape file) and dbf file create to create a map form that any idea regarding this [URL]
View 3 RepliesI've been searching extensively for a way of converting from ordanance survey coords to valid esri coordinates. I've found quite a few pages that convert to lat long (if a little off) but nothing to convert to esri (which I believe is utm.)This is for use in python or JavaScript / actionscript etc - I'm not too worried about syntax more an understanding of the maths involved.
View 2 RepliesHow can be cloned shape loaded by Flex Action Script 3 from external swf (authored in the Flash CS4)?
View 3 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 RepliesI create using actionscript to draw dynamic shapes
shape1 = new Shape();
shape2 = new Shape();
and draw some complicated things with actionscript that is done dynamically by user input
I need to save/export the drawing ,these shape as some kind of vector file
so this drawing can be manipulated later on by vector program as flash or illustrator
how to save shape file as a vector file
need 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 RepliesFor example, I have a transparent png file, the shape is a car.In the png file, I only draw the white border shape.Outside and inside the border are all transparent.
I want to use actionscript3 code to show the car object with different color, it means only fill color inside the border, and for the outside of the border, keep transparent.How to do that?
So far, the simplest workaround is to prepare many images with PhotoShop, but it's not good enough for me. When I have many shapes and use many colors, I've to prepare many many images.Add more details:(Because I'm using white border, you may not see the basic png file if your background of browser is white)
using the shape tool you can draw basic shapesthen using the subselection tool you can re-shape them by relocating certain points
What i want to do is create a tween whereby one of the points is movedthe problem is you have to convert to a symbol first and after you have done that you cant change the shapes shape.so how do i go about using a motion tween to change the shape of a shape?
ive gotten one movie clip to mask another in the actions frame but i cant seem to be able to mask the flames which are a shape with a movieclip in this as file. im not getting any errors but the mask isnt covering anything look near the bottom at s.mask=mask_mc; there are about 20 "s" shapes spawning per second if that has anything to do with it
Code:
//this package turns an mc into a flaming button that calls a javascript function
package
{
import flash.display.MovieClip;
[Code].....
I am completely in the woods here - i have a sprite with a shape drawn in there (there are two different sprites in the example.) At any given point, I need to get the x and y value of the topmost point of the shape. The sprite does rotate so it's going to change at any point as well. I don't even know where to begin here
View 2 RepliesI have a filled Shape, and a BitmapData that is the same width and height as the Shape's bounding box. I need to cut the Shape from the BitmapData (basically draw the BitmapData onto the shape...) [URL]I use the rather hackish method of:
public static function cutPoly(img:BitmapData, s:Shape, bounds:Bounds):BitmapData {
var temp:BitmapData = new BitmapData(bounds.width, bounds.height, true);
Main.inst.stageQuality("low"); //hack to kill anti-aliasing
[code]....
Is there an option to rotate a shape 90 in Flash CS5 Professional?
View 2 Repliesi have rectangle movie and i want to make it triangle or round so it show round in the page. can i do so with i embed it or it must be done in flash before i export swf?Also i forgot how you make transparent area in flash?
View 1 RepliesI'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?
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 RepliesI am using flash as3.I have some shapes I have drawn on the screen. They are made using:
graphics.beginFill(0x00ff00);
graphics.drawRect(0,0,50,50);
graphics.endFill();
to draw them. Each shape has a different color for fun (different beginFill).How can I get the color of the shape under the mouse pointer as I move the mouse around the shapes?I see two choices so far but don't know how to do either of them: Get color under the mouse point get the color from the shape properties (preferred)how to do either of these...
I was wondering if there any way to change movieclip shape, when it on stage by as2.
View 1 RepliesThe issue I am having is how to tackle forming a logo using circles. I have done one letter manually, however it would take forever to do this with every single letter, and so I am asking here if anyone knew of a faster method. Requirements:
- Has to fill non-circular letters(i.e. does not have to be precise, but look like it has edges)
- Circles have to animate in, therefore they need to have drop shadow and seem like they are landing in place
I'm making some banner ads. They work great on my staging site seen here:But they do not work great on my client's staging site. You can see that the masks are shown and there is flickering throughout:on how to solve this?I'm an expert-level user when it comes to creating artwork and doing timeline animation in Flash CS3.
View 2 RepliesThe bug is where when I shrink a simple circle, it appears to have somehow been altered to the point where the curves are no longer completely circular. Object becomes jagged, then when I bring the the object back to its original shape using the scale tool there the shape is no long a perfect circle.
View 1 RepliesVery often I see on the web many flash websites very amazing for their animation in flash. For example, in monster template you can see the paper's animation like that: http:[url].... Watch the BEST DESIGN STUDIO animation... These animations aren't made with flash, but with a software from which to export a swf file that contains a sequence of shapes.What is it? It seems to work in 3d, but the objects moved are always planes and not 3d models.
Attachments:
paper_anim1.jpg
(39.4 K)
test.swf (42.1 K)
I am trying to make a ball move, it's all perfect apart from this:
Statement must appear within on/onClipEvent handler = ( isJumping) = false;)
Then I put in "on", then it says:
Unexpected 'on' encountered.
I am currently learning to use flash and i am following the ebook guide. On lesson 2 at the end, it requests you to select a complex shape, go to the bucket option and change the fill colour to dark brown. I tried that but the fill option has a red line across it and it cannot be selected. I need to complete this step if i want to finish lesson 2. I tried different things but it seems like the shape cannot be edited. I looked and it is not locked.[url]...
View 2 RepliesI have bitmapA which is rectangular. I have a crop area I want to copy...
However, the bitmap is at an angle from the crop.
How do I copy a section from a bitmap that isn't a rectangle laid outon the x, y, axis??
Or copy custom shape?
I need to create a designer tool in Flash for laying out how kitchen worktops/countertops look. I found something similar to what I need:
[URL]
If you scroll down the page you place a rooms dimensions onto the workspace, and resize it. If you notice, when you resize the shape moves and a measurement shows on each edge.
I'm working on a flash project, the designer designs UI by Flash CS5 and export the UI as swc file, I use Flex to control the data on the UI.
The designer uses shapes for the UI design, it is easy for him to define the colors and background, but I need this shapes more like a component like Combo box, so I can display the data on those shapes.
Is there any easy way to covert shapes to combo box or the similar operations?
Is it possible to modify a shape within a body after assigning it, for example I have a box shape for my game hero body, and when I press the down arrow I want my hero to crouch witch means that I need the body shape to be resized.
I've already searched in google but it appears that the topic of modyfing shapes is not so popular. If it's impossible maybe you know a better way of doing this.