Javascript :: Contour Plot In Web Browser?
Jan 5, 2011I need to plot a contour chart in the web browser. It needs to be interactive as well. Does anyone know good javascript library, flash or flex libary to do this?
View 1 RepliesI need to plot a contour chart in the web browser. It needs to be interactive as well. Does anyone know good javascript library, flash or flex libary to do this?
View 1 RepliesI'm wondering if its possible to do what I'm thinking, and if it is possible, does anyone know of a flash object that does what I need? I know a Flash object can provide a javascript API to interact with it, what I dont know is can Flash send an email directly without the need to talk to the webserver to do so? If thats possible would it not be possible to write a flash object that did nothing but provide an API to send emails? Has such a thing been created that is out there for others to use?
I'm looking to create a email form on a web page but the site is static (no server scripting). In my situation server scripting is not possible as there is no server, the site is 100% client side on a CD/DVD/USB Stick.
What I want to do is have an image and fill within the contour of the image with circles of selected size. what would be the first step in doing this? Or is this even possible simply in AS3?
View 2 RepliesI am looking for a way to get a similar effect as posted in the Adobe forums The current solution is very brute force using about 60 intermediate shapes gradually going from the outer shape towards the inner shape while slightly changing the color each time.
[Code]...
particular problem, I only wanted to have a shape fade into the color of the background so my solution was to draw the image slightly larger than usual and use Flash's blur filter to create the gradient effect. This is suitable only because my background image is a solid color so this won't work for everybody. This is also a very cpu intensive method but is faster than drawing 60 shapes.
How do I go about animating a dot to trace the contour lines of a shape, leaving a line path as it goes along? I have the final shape, which is a complex shape, like the shape of a land when you look at a map. For the animation, I was hoping that I can start off with an empty document, and the contour line will begin to trace itself until the final shape appears.
View 8 Replieshow to draw a character like Sprite, so that I can do whatever I want with it.I've seen FIVe3D, which has an automated system which exports an AS file with a description about each of the characters (so that they are represented as motifs - it gets the edges of the glyph and parses it into a script with simple actions as lineTo and curveTo).But this example uses JSFL in order to parse the font (jsfl has functions like contours, interior, getHalfEdge, getControl).
View 1 RepliesI am trying to implement contour lines in ActionScript using Conrec. I have looked at both the java and javascript implementation and am still stuck.URL...Conrec will take grid data and assemble continuous contour lines. The problem is that it does not necessarily draw those lines in a continuous fashion. For example, it will draw A->B and then C->B and then C->D instead of A, B, C, D, etc.The javascript implementation seems to be accounting for this and serializing the instructions into an array of draw points. Which is what I too want to accomplish in the end. That is it takes the instructions from the core Conrec logic (eg: A->B, C->B, C->D, etc) and organizes it into an A, B, C, D series. I think it will also return the series as a multi-dimensional array to accommodate broken lines (eg: [[A, B, C, D], [E, F, G]]). This last functionality is what I need to do in Actionscript.This last part is where I am stuck. Ignore Conrec for now (I have given up on finding an Actionscript implementation), how can I organize these instructions into a collection of serial points? When Conrec gives me "draw point from X->Y" how can I first check if X or Y are already in a series and append either X or Y (whichever is not in the series) into the series? AND if neither are in the series, start a NEW series with X, Y as the starting set. Then check subsequent instructions against all existing series and connect series if they now start and stop on the same point? Also, I need to be able to allow for a series to close itself (eg: A, B, C, A) -- a loop (is that even possible?!).
I'm not sure if there is a technical term for what I want to do beyond "concatenation". I also hope someone out there has done this with Conrec and can give me some pointers.In the meantime, I am going to continue to plug away at this and see if I can come up with something but I am not confident in my abilities.If you know another way to draw contour lines from grid data, I am open to alternatives. But I have to be able to implement it in Actionscript.
The specifications where as follows: there should be a black square in which there is a faint picture of a sign. The user must be able to draw in the square and when he repeats the contours of the sign correctly - a popup appears.I made myself familiar with the ways you can allow a user to draw. However I have no idea how would you know if the two shapes/signs match and whether the user at least approximately drew the correct contour/sign
View 2 RepliesDoes anyone know of a good Scatter Plot/Chart component that I can use with Flex Builder 3?
View 2 RepliesI'm new to Flash and actionscripting and need some general information on how to plot a point on a graph. I've been researching how to make this happen and an wondering if I'm on the correct track.
It seems like the best way to do this will be to place the sprite at the x,y location on the stage that represents the graphs origin, then add to the x value the value of x for the point of interest, then add to the y value, what the y value of the point is.[code]...
Ideally what I was initially looking for is an implementation of the HTML5 Media Capture API with a polyfill rolling back to Flash, however, my research has concluded that the API is in its infancy and is yet to be taken up by any of the major vendors, and in addition to that, Flash means for doing what I need seem scarce.I need to be able to take webcam input from a camera, show a live preview, record, and play back that recording, nothing more, no upload to server necessary, all local
View 1 RepliesI am working on optimizing a page that has Flash on it. I am using optimization practices like moving Javascript to the bottom to not block. Removing inline scripts. And minimizing HTTP requests with minified css and js.The majority of the pages content is in the flash, so loading it as soon as possible is the goal. Currently there is a 2 ~ 3 second delay before the flash is even rendered (using firebug profiling)
I am wondering at what point in the page load does the browser start initializing flash on the page? Is it once the DOM element containing the flash has been rendered? Is it once the complete onload event has been fired? I imagine it probably differs with each browsers as well.
I'm starting a project for browsers which requires some complex data processing. The algorithm I'm using is 50-100x faster when accelerated with GPU.
I could use JavaScript, Flash or other technologies with the browser.Is there any way I can access the GPU to accelerate the processing of my math?
I have a Flash application that sends a getURL request for an image file every 60 seconds.
This works fine in all browsers except IE9 with Internet Option set to automatically check for newer versions of stored pages. I setup Charles proxy (http://xk72.com) to watch the requests being sent by my flash app and confirmed that the request is being surpressed by IE9 when the setting is set to Auto, but works fine if I change the setting to check everytime I visit the webpage. This, however, is not an option! I need this to work in all browsers regardless of how the options are set.
Even if I do a page refresh (F5), the ASP page does not reload. The only way to get it to reload is close the browser and restart it.
I have tried adding content headers to disable caching but it does not appear to work.
For Example, here is my request headers:
HTTP/1.1 200 OK
Date Sun, 02 Oct 2011 23:58:31 GMT
Server Microsoft-IIS/6.0
X-Powered-By ASP.NET
Expires Tue, 09 Nov 2010 14:59:39 GMT
Cache-control no-cache
max-age 0
Content-Length 9691
Content-Type text/html
Set-Cookie ASPSESSIONIDACQBSACA=ECJPCLHADMFBDLCBHLJFPBPH; path=/
Cache-control private
I have read the Microsoft blog (http://blogs.msdn.com/b/ie/archive/2010/07/14/caching-improvements-in-internet-explorer-9.aspx) which states that if I add the content headers, the browser should respect my request, but it obviously does not.
I don't think this is a Flash issue since the html page that holds the Flash object will not even reload.
Ideally what I was initially looking for is an implementation of the HTML5 Media Capture API with a polyfill rolling back to Flash, however, my research has concluded that the API is in its infancy and is yet to be taken up by any of the major vendors, and in addition to that, Flash means for doing what I need seem scarce.
I need to be able to take webcam input from a camera, show a live preview, record, and play back that recording, nothing more, no upload to server necessary, all local.
Basically he have a lot of ships, that he need to plot on a map. The map is just a picture of europe, but the information for each ship is given in coordinates (longitude and latitude), and he want to know if there is a way to plot each ship (represented by a small red dot) on the picture map of europe using the coordinates already given.
Otherwise he would have to go into google earth and locate each position, and then add it, which would be pretty time consuming after a couple hundred ships.
If there are no easy way to do this, would there then be another way to convert the longitude/latitude coordinates into a x/y coordinate system for the picture of the map? (if we know what area the picture covers on the map)
I've been tasked with creating an interactive sector map that has over 200 companies plotted on it. The map would be of the UK with the location of each company plotted as a dot. On hover there will be a popup box that shows all the info for each company.
What would be the best to build this? Is there any kind of pre-built Jquery or css maps out there that I could adjust to my needs?
As a side note, I'd need to hook this up to Wordpress.
I have suppose to plot a data(create one movie clip) in India map, So i am having values in longitude&latitude.
View 1 Repliesi need to plot a graph and have no idea how to even kick start. These is what how dynamic the graph is: Basically is letting user trace the point(the correct X and Y coordination) on the graph and allow them to plot the graph. For example, when the user click on the correct coordination, a dot will appear and when the user click on the 2nd coordination, a line will appear to connect the first point to the 2nd one and etc. The last fucntion of this graph is to have a clear button that allow the user to clear the last plot attempt and so forth so that the user can continue to plot the graph.
View 2 RepliesCan a SWF file, viewed locally in a folder on my PC, make a call to a function in a JavaScript file?I am facing a project where the technical architect is prescribing that all content exist in an all-in-one, giant JavaScript file. With my usual external content experience working with XML, I have always been able to load in XML into the SWF directly (for example, while viewing the SWF in the Flash authoring environment - a very speedy way to view your SWF), as well as when the SWF is actually viewed in the website. However, with the JavaScript approach, my only experience tells me that the SWF has to be embedded in HTML before it has access to the JS functions.
View 7 RepliesI would very much like to determine the IP# of a domain from client script. It's for use in a testing application to determine whether or not a certain domain is set to a QA address as opposed to the address live on the . The testing machine will have it's host file set to resolve a domain to the QA address.Pinging from the server won't help since the server is getting the public DNS address.
View 1 RepliesIs there any tutorial on starting (not install but application startwake up call with parameters) Adobe AIR app from browser (on button click within flash app using JS function or what ever is needed)? Blog articles or any other materials wanted...
View 3 RepliesIs it possible to determine if Adobe AIR app is running from browser?
So I want to check if app is on, how to do such thing?
I'm using an embed flash player in a web page and I want to scale it to browser window.hen I put "height: 100%" in the flash parameters, I get a blank page.This is the code of the page :
SlideShowPro({
target: "slideshow",
xmlFilePath: "galeries/images.php?album=1",
[code].....
In Actionscript 3, I make a call to Javascript using:
ExternalInterface.call('javascriptFunction');
If in Javascript, there's an error or a blocking call, the entire browser will freeze. I can't use Firebug in Firefox to debug it because the act of stepping through the callback also crashes the browser. How do I go about debugging this?
[Code]...
I'm on an HP desktop with Windows 7, Firefox 5.0, IE9, and Chrome 12.0.742.122. Either alert call will randomly cause Firefox to freeze...it actually usually happens in bunches, where it'll freeze for a few times continuously (obviously restarting Firefox each time)..and then stop for a few hours and be alright.It has yet to crash IE9 or Chrome, though I haven't tested it as extensively with Chrome. Using the Firefox console doesn't help since Firefox just crashes all together. If anyone could shed some light on that, that'd be great!
I would like to do the following trick in a browser:
Create three image files of different size (small, medium, large) from one picture.
First, display the small image in a browser. When a user zooms in the small image replace it with the medium one. Now the user can scroll it within the window up and down, left and right. When a user zooms out the small image replace it with the small one, etc.
I would prefer JavaScript (Flash is the second option). What tool would you recommend ?
how to open a page on click of hyper link in new browser instance (so that it should not be blocked by popup blocker) in flash AS3/ javascript
View 3 Repliesis it possible to access smartcard reader connected to a computer from a web browser running on the same machine, i.e. from an ActionScript, JavaScript or whatsoever script running therein? For example, I read something about the flash.external.ExternalInterface class in ActionScript. Can it be used for accessing a smartcard reader or is the Sandbox impenetrabl
View 4 RepliesIt is a small widget. It lives in an iframe, and because of this, this method is not working. And since the iframe is loaded from a different domain there is no way to reach the top level window object.
[URL]
"With the recent new 10.3 player this should be much easier, since there are new events for this specific situation."
So, using a simple flash object, and maybe js callbacks this might be the solution, but what are theese events?
I have a website with a simple Flash animation behind some text and semi-transparent images as a background. I have used swfobject to embed it and set wmode opaque to make it display correctly in most browsers.For browsers without Flash, the user gets a static background image instead and would not know they were missing anything. However, Android users get the flash background on top of everything as per the known issue with how Flash content is rendered in the Android browser making the site unusable.
I have added a crude browser sniff javascript function to the swfobject code to prevent it from loading for any user agent whith 'Mobile' in it:
<script type="text/javascript">
if (navigator.userAgent.indexOf('Mobile') == -1)
{[code].....
The only problem I have left is for Android users browsing with 'Mobile View' turned off as the user agent pretends to be a desktop version of Safari (I think). I do not wish to disable the Flash animation for all Safari users. Is there a way of blocking it for just Andriod users - even if they have 'Mobile View' disabled?
Possible ideas include:detecting the Flash version with JavaScript or Flash. Does Android use specific versions (version numbers) of Flash which are different from the desktop equivalent? blocking the specific user agents used by Android devices with 'Mobile View' disabled.