ActionScript 3.0 :: Drawing Interactive Node Network?
Sep 5, 2009
I am trying to make a tool for node network visualization and I am stuck with connections - they don't move when I move the nodes.[URL]
here is the code:
ActionScript Code:
var NodeArray:Array = new Array();
var NodeCounter:int = 0;
[code]....
View 0 Replies
Similar Posts:
Dec 4, 2009
im developing a web based project management web site using phpi need charts for tasksabout the gant chart it is ok i found a javascript library which functions can take the tasks names , dates and durations then draw a gant chart.but my problem is about network diagram for the tasks , i need javascripts libraries or flash action script can make thi
View 3 Replies
Mar 5, 2005
Currently I am working on a map that will animate the drawing of a line between two points as soon as the user hovers over the end point. A good example of this can be seen on the home page of Jet2.com (the map of Europe).
It seems I am having difficulty with drawing the line dynamically. Of course, just drawing a still line between two points is easy, just use MoveTo() and LineTo(). However, having the line expand in an animation is quite difficult for me.
Here is what I've come up with so far:
Code:
// Create the clip
this.createEmptyMovieClip("drawing_mc",1);
// Declare variables
[Code].....
View 10 Replies
May 26, 2009
My boss wants to draw the local network and then, if you click on one of the computers or roll the mouse over one, he wants to see stuff like RAM, CPU, OS, etc. This has to be done in a browser, more specifically, the intranet's wiki.One of my coworkers suggested using flash (I am a complete noob but I assume ActionScript is what would be used?) and I think it could also be done in javascript but I dunno.He wants it to be extensible if possible, so adding another computer later or editing values shouldn't be too hard, though the topology shouldn't change very often.
View 3 Replies
Feb 7, 2012
I have a floor plan of a building in PDF that I want to visualize as a map, using tools like MapBox, FusionMaps, or AmMap. I am willing to redraw the floor plan if needed. What format should the map data be in? What kind of tool can I use to create that data?
View 3 Replies
Sep 6, 2011
I have the following scenario:
One application JEE / Flex 4 running on a tomcat, inside my Flex layer I have a iFrame passing a url to an ip of my internal network (http:url....) which is another application running within an industrial PLC.When access this app from within my internal network works fine, but when I try to access this iFrame to an external network in my home for example have a timeout error onhttp:[url].........
I believe this error occurs because the flex client is trying to run this url as I was in a internal network.Is there any way to run this url from an external network?
View 1 Replies
Oct 31, 2011
I am making a flash app where I want to have a user defined viewport like the stage in the flash IDE which the user can use to define objects that have a starting postition somerwhere off or on the stage and an ending position either or on or off the stage with the object then tweening between the two points. My question is this: I want the user to be able to define a curved path for the object to tween along. Is there a library of code that I can use to define curved paths for the app?
Ideally I would like something similar to the functionality available in Flash, so a bezier curve sort of path that is subdivided into handles that can be dragged to define the path of the tween. If there isn't an existing library, then do you know of the functions that I would need to define (mathematical equations related to drawing curves etc)?
View 1 Replies
Jan 14, 2010
I have an AdvancedDataGrid tree with a ArrayCollection as its dataprovider. Now, for instance, i drag a leaf from one node to another node. To catch the event I'm adding a Listener to dragComplete.
[Code]...
My Problem: I want to know the new node where the leaf was dropped. Actually i would have expected that in the event there is a property like dropParent. This is not the case.
View 1 Replies
Jan 18, 2011
I have a tree im my mxml that uses a XMLListCollection as dataProvider. Itīs XML is like:
<list>
<conta nome="Plano de Contas" id="1">
<conta nome="Creditos" id="2" />
<conta nome="Vendas" id="4" />
[code]....
How can I make the node for, say, id==4 visible AND selected?
View 2 Replies
Sep 21, 2011
i have a question whether we can create a new xml node in as3 node containing dynamic value inside.....
as like if i want to get like..var newNode:XML = <IMAGE FULL="fullimages/3.jpg"THUMB="thumbnails/3.jpg"/>
where the images are dynamic values...
View 5 Replies
May 26, 2005
I thought this was going to be easy! I would like to search an XML file for a particular data set i.e. set of nodes depending on a passed variable. However, storing a subset of my XML file via Code:var gallery = this.firstChild; and then searching 'gallery' as you would an array-using a for()-doesn't work since this.firstChild isn't returning an array
Code:
<gallery>
<collection title="Christmas 2004">
[code].....
View 3 Replies
Sep 1, 2010
I've got some xml:
var xmlData:XML =
<1stNode>
<buttonID>first child node value</buttonID>
[Code]....
Then I want to read specific node value based on a value passed to a function. .
var buttonID = new Button;
var imageID = new Image;
var labelID = new Label;
[Code]....
I'm don't know how to get the value when node name is dynamically changed.
View 3 Replies
Jun 24, 2008
just trying to get straight how this works. Say I create some XML like so:
ActionScript Code:
var sample:XML = <sample>
<items>
[code]......
View 4 Replies
Nov 9, 2010
i've tried to simulate a pencil tool, for drawing above a imagem, but the drawing is below the picture. How fix it?
[Code]....
View 3 Replies
Jul 22, 2009
Basically I've got a reasonably complex drawing object in a fla and I want to reproduce it in a class definition using the drawing api. However obviously this is a tedious task, so is there some trick or automated method of doing this?
Last time I needed to do this it was a drawing of an arrow and I ended up writing down x,y,width,height values for everything but this one has curves in it which I don't have experience with drawing anyway.
View 2 Replies
Sep 28, 2009
I cannot get this to work. Without the "var drawing", "var drawing being true or false" and the "if statement", it works fine. But I need to add the "var drawing" so that you can only draw if you turn it on by pressing the "draw_btn" button. Note, I do not get an error, the script "apparently" contains no errors. Here is the code:
ActionScript Code:
var drawing = false
_root.createEmptyMovieClip("myLine", 0);
[Code].....
View 3 Replies
Jan 13, 2012
I've created a drawing tool which allows the user to draw on the canvas, the problem is that if I try to draw over a movieclip nothing happens. Is there a way I can allow for the user to draw over movieclips? For example if I had a background of paper?
Here's the code I'm using for it:
// This code is for drawing the lines on the page
//1.
var drawingLine:MovieClip = new MovieClip();
addChildAt(drawingLine,0);
[code]....
View 8 Replies
Feb 18, 2009
I need to draw on stage about 40,000 4x4 squares each a different color. The color is determined by an xml file. I have this working in as2 and have converted it to as3 the problem is the amount of time it takes to draw is causing cs4 to time out. I have extended the script time out to 60 seconds. In cs3 as2 it would draw the squares in about 15 seconds. I was hoping as3 cs4 would improve performance but seems to be the opposite. I have tried several methods such as adding children and various drawing variations. the bellow seems to work the best, but is still causing flash to crash.
ActionScript Code:
import flash.display.DisplayObject;
import flash.display.Graphics;
import flash.display.Shape;
[Code]...
View 9 Replies
Feb 29, 2008
We recently upgraded our network to Leopard and Flash to CS3,and since then, I can't publish to a network drive.The reason I need to do this is that we're on a network where all our project files are on the server, and we work directly from the server. With previous versions of Flash and the system, I was able to work on a Flash file on the server and publish or test to the same place. Now I need to copy my flash file to my local
computer in order to publish or test.If I try, I get this error: "Error creating Flash movie file.Be sure the destination file is not locked or on a locked drive.Also, check that the file name is not too long." Neither of those are the case.
View 1 Replies
Feb 26, 2011
I've got a Flash Banner worked with AS3.0. It loads XML and then load the Jpegs. At the beginning, the SWF accesses the files under the same directory. So the code goes like
[Code]...
View 6 Replies
Sep 26, 2011
I just installed FMS 4.5 w/ built in apache on Win2008R2 - accepting all defaults. Samples streams play fine when playing on the server. I copied the sample directory and put on a client on the network. I modified the stream URL using the server's IP address. I also modified the manifest files so that localhost was replaced with the server's IP. When I attempt to view in the sample player I get the following:
"We are unable to connect to the network.
View 2 Replies
Apr 22, 2010
I've recently started using FDT, for a while I was using FlashDevelop, it had a really handy feature in Compiler options where you can set UseNetworkServices to false which would stop the compiled swf from connecting to the internet and became very useful for running standalone flash apps without security warnings when loading in an external xml file etc.
View 1 Replies
Jun 30, 2010
I have a swf (flash file) who is making http request.
Which is the easiest way to see what request the flash application is doing?
P.S. I do not have the program as a fla file
View 4 Replies
Apr 19, 2011
Can u recommend me a good book/e-book/tutorial to network programming in as 3.0 ? I'd like to create a multiplayer game.
View 0 Replies
Nov 18, 2005
Just created a banner for our intranet and I have a getURL inside the flash which should open an html file on the local network. The paths:\networkcompetworkfolderfile.htmlIt works from my computer but when we put it on the intranet it doesn't.
View 4 Replies
Jul 26, 2010
I'm FMS beginner (server side newbie in general)... I installed FMS 3.5 (Development) on my computer which is inside of local network. Now I try to connect to rtmp service from another machine in same network using my computer's IP as I used to while connecting to my apache, but it is worthless. Everything works fine on my computer.
View 2 Replies
May 4, 2011
i am new to flex4.i want to pass network credentials (username and password) through flex.i was not able to get appropriate results using [code]
View 1 Replies
Aug 23, 2011
I would like to list all network shares but have no idea where to even begin my search, I assume that it has something to do with Samba etc., but really some guidance would be very useful.
I will be using Adobe AIR 2.5 - so I assume I have access to that sort of information, though I will be using the PlayBook from BlackBerry to access the network which has a full AIR implementation.
View 1 Replies
Sep 19, 2011
What is the reason Flash Builder 4's Network Monitor does not support applications that were created using pure ActionScript and Library projects? It seems to work only for Flex projects.
View 1 Replies
Jan 24, 2012
I developed a flash app and i need the functionality when I click on a sprite I want to open a web page in browser for example [URL]. I use flex sdk 4.5 and I changed the use-network tag from false to true in flex-config.xml. But when i compile my project and load the swf in browser I get everything blank. I tried also to use html page with swf embeded but same result
View 1 Replies