ActionScript 2.0 :: Make Measure Tool For Map?
Oct 27, 2009I need help to make a tool for measuring function in a map. A textfield should follow the cursor and tell the distance to a point in the map.
View 10 RepliesI need help to make a tool for measuring function in a map. A textfield should follow the cursor and tell the distance to a point in the map.
View 10 RepliesFor Ajax, Flash, Flex, Silverlight ? (Not online service or on server side but software)
View 2 RepliesIn photoshop, you can create a path with the pen tool and then make that path a selection as if you'd used the lasso tool. How do you turn a pen path into a lasso selection in Flash (CS4)?
View 2 RepliesI simulate a pencil tool in my application, now i want simulate a eraser tool, but no success. how can i eraser that lines draw by pencil in as 3? i try removeChildAt(0); it work's but all draw is erased. [code]...
View 1 RepliesMake a powerpoint presentation tool in FMIS3 with AS3.0
View 1 RepliesOpen a video file embedded in the application.open some pdf files, preferably embedded in the application, but if it will have to open externally, it's no problem.Work in fullscreen on the user computer, with a minimum resolution of 1024x768. I'm thinking about a resolution of 1024x768, centered on a black background.
I was thinking of using Flash, but I don't have much experience, so if there is another easier IDE that creates a Flash application, I would prefer that.
well i tried to make a selection tool just for the heck of it, so when you click and drag a box apear and selects multiple things you drag over, i got it 80% done but im stuck in a rut, here is my fla please give me advice on improving, youll see what i mean when you run it[URL]...
View 0 RepliesI made my page in flash as2 every day i change some news tha i have in my page but is very dificult because i dont have an admin panel that is why i ask if you know anything about how to make an admin panel for my page
View 0 Replies3d rotate tool is there any way to make it work at runtime. just like the bone tool.
View 2 Replies1. How can I change the size of the brush tool? It's all greyed out on every project I start, stuck at the very smallest size (0.10). I'm trying to trace over a photo at the moment, and it's taking FOREVER with the tiny little brush. It only un-greys itself after I draw a line, but I can only change the size of the line I've just drawn. As soon as I go to draw a new line, it goes straight back to size 0.10.I'd use the pencil tool, because I can change that, but...
2. How do you make the eyedropper tool put your chosen colour into the pencil colour box as opposed to the brush box? Every time I use it, it forces me to use the brush. Which, because of the above problem, is ridiculously inconvenient to draw with in just about every situation.
I did make a eraser tool. But once I begin to erase a layer, the background layer is visible. I want the layer just below the topmost layer to be visible.
For eg consider 2 layers. Layer2 is above Layer1. When I perform erase on Layer2, I see the stage background. I want to actually see Layer1 when I erase from Layer2.
Here is the code I used: The comment entry shows that, I have tried that possiblity.
import flash.display.BitmapData;
var linkageId:String = "myimage";
var myBitmapData:BitmapData = BitmapData.loadBitmap(linkageId);
[Code]...
I found that .fla files do not save in Flash CS4 when the Deco tool or Spray Brush tool is selected. Is this a bug? Or is there a workaround to this issue.
View 3 RepliesWorking with senocular Transform Tool - How to remove/disable tool for objects Im new to AS3, and i have to use it for my current project. I have used the AS2 Transform tool extensively, but needless to say, the AS3 version works entirely differently.
The way i understand it, the tool applies to and every Sprite , movieclip on stage
[Code]...
Can any one tell me how to make transformation tool for horizontal scaling and vertical scaling the image
like that link[url]...
how to measure the actual size of the container just like the Flex components. I wanna create some containers with my own layout arithmatic, so I must know the size of every child, but sometimes I don't know what's the size which DisplayObject or DisplayObjectContainer that I will add to the container actually is, how can I do?
View 1 RepliesI was woundering is it possible to measure the length of lines that are drawn with scripts such as these? The ones where you can draw with the mouse? [URL]
View 2 RepliesMeasure a sum of widths of items in an array? I can't figure out and not sure if it's possible..
View 3 RepliesI have two artworks on stage which have a common shape within the artwork. I need to make the one I have just added to stage fit the prior one by getting that common shape the same size for both. In Freehand I would drag the junction of the two rulers out onto stage to the left edge of the item, to create a zero point from which to take a measurement. I would drag a guide out to the right edge and read from the info panel an x value, thats my width, or double click the guide to get a reading from the guides palette. Repeat that for the other artwork then get a calculator and divide one measurement by the other to work out the scaling factor I need.
How in CS5 Flash does one place a ruler zero point on stage ? I can drag guides out, but how do I make the left hand guide to be zero ?
I have a function that is made up of two main parts (I'll call them A and B). Part B needs to run when part A is fully done with its layout changes. However, there is no "part A is done" signal, and thus I've been calling a validateNow() before part B runs. This works but seems awfully inefficient - was wondering if there are any other tricks to force an immediate measure or something along those lines or if I'm stuck.
View 2 RepliesIs there a way to measure the average time it takes my code to run and each frame to render for my Flex app? More specifically, I know how to use getTimer() but I'm not sure about which events I should listen to in order to do this. I was reading this post and am not sure how you'd figure out how long the actual rendering took (it would seem like it may be the time between the RENDER event fires and the next ENTER_FRAME event fires, but I'm not sure). Also, not exactly sure where the user code happens, or whether I should care about EXIT_FRAME and FRAME_CONSTRUCTED. [code]...
View 3 RepliesI am trying to compare the performance of several different algorithms. So created several functions each of them implementing different approach of solving the same task.What was thinking to do is to create 2 Date objects before and after the function runs, and to compare them afterwords.
View 2 RepliesAs I understand, getTimer() is very inaccurate - on my own machine it always returns a value which is a product of ~16. (16, 33, 50, etc.) Is there a simple and efficient way to more accurately measure the time difference (delta) between two separate calls in my program?
View 1 RepliesThe program croaks when measureContentArea (in package mx.containers.utilityClasses, file CanvasLayout.as ) loops through the target's children from 0 to target.numChildren. When the program errors: n == 1, i == 0, and target.numChildren is now 0, when it was 1 before the loop. target.numChildren has changed while the loop is running. It's as if a child was removed by some side effect of calls in the loop.
This happens even when I have many IOComponents on the screen: Here This baffles me because I don't see how I can debug it. I do add and remove and insert children in my game code, but unless ActionScript is threaded I don't see how my code can reach into a loop in CanvasLayout.as .
im making a bone animating system in flash but then i want to give it a more vital animation by manipulating its z y x position how is it possible using the 3d tool?im doing everything needed but when i get to that point nothing seems to work,i dont get 3d tool options.
View 2 RepliesOnly thing I found is QoS statistic in NetConnection.info, but it does not contain any kind of latency values.
In red5 API "IConnection.getLastPingTime()" exists, is it accessible over standard Flex API or I need to poll it by RMI calls?
i'm trying to measure the elapsed time from when a swf first opens in seconds?
View 1 RepliesAny simple way of measuring how long a button has been pressed for - had a look at gettimer but this seems to be an odd way of doing things - basically I want to say
onclick start timing -
offclick end timing
var time = time button was pressed!
I have a sound clip running in flash and I want to jump to the next frame after a certain amount of time. Unfortunately it is not always the same time span. How can I measure the elapsed time and call a function accordingly? For example: after 17 second go to frame x, then after 25 seconds go to frame y, etc. until the end of the sound clip (2 min 50 sec.) Each frame holds an individual animation that is related to the current sound.
View 1 RepliesI'm using a List control. In the renderer of the List control I've got a Repeater. Each Repeater can have a different number of items. Adding to the complexity, one of the components being repeated in the repeater is a Text control that has long text that will wrap, increasing it's height. I need to expand the height of the List completely so that there's no vertical scrollbar. How can I do this?
I tried an extremely dirty attempt at calculating the Lists height based on the data source. From the data source I can figure out the number of repeater items and the number of items in each repeater in the List's renderer. But there's no way to compensate for the wrapping of the text in the Text control.
If I want to measure the amount of time that has passed in as3 between method calls. Is the highest resolution from:
var now:Number = new Date().getTime();