Real Time - Draw Candle Graph Using Open Flash Chart?

Nov 24, 2010

I want to draw stock price in real time as a candle graph. I get open flash chart from someone and it looks good at drawing. I don't know how to update the candle graph in real time (using Ajax?), and is it a good way? I use Python a lot. But I cannot find tools as easily to use as OFC.

View 3 Replies


Similar Posts:


ActionScript 3.0 :: Improve Real Time Graph Performance?

Mar 20, 2011

I'm working on a simple real time graph. The data is polled every 50ms, and each poll translates to a line one pixel wide, (data_point) pixels high. The graph scrolls such that new data is on the right, and the oldest values eventually fall off the left.

My solution is embarassingly brute-force, in that I just use theMC.graphics.clear() and a loop of lineTo()s for every graph refresh. While this displays correctly (and I can control the refresh rate to mitigate the CPU burn), it should be painfully evident why I want to move away from this method.

I want to programatically scroll or pan the entire graph one pixel to the left (and drop the leftmost line), and then just draw one new line on the right, but I can't figure out where to start. Assuming such a thing is possible in AS3, would someone be so kind as to point me in the right direction?

View 2 Replies

ActionScript 2.0 :: Mask - Make The Curve Being Draw Real Time

Sep 21, 2006

Here is my code:

[Code]...

I have many layers in the main stage. on frame 20, I have this code drawing a curve between two countries in "Lines" layer . I have another layer right above this layer called "mask" in which in frame 20, I make a rectangle and until frame thirty, I move the rectangle with tween. I right clicked on the mask layer and set mask. Hoping that by masking the layer below it, I can make the curve being draw real time. But it is not working.

View 2 Replies

Flash :: Draw A Triangle In A Math Graph?

Mar 31, 2010

How to draw a triangle in a math graph which displays X and Y axis.

View 2 Replies

Flash :: Draw Sinusoidal Line-graph?

Jun 28, 2011

I'm trying to draw a static graph based on an Array of Numbers. This graph should be nice smooth sinus-like.The bottom values should be always zero, the upper values are specified in an Array of Numbers.

I've been trying to achieve this effect with curveTo(), but without any luck.

EDIT: Values are like: 10, 15, 40, 28, 5, 2, 27 etc.

View 1 Replies

How To Just Extract The Candle And Get A .swf Of Just The Candle

Sep 17, 2009

I have a .fla that, when published, renders a background image with animated candles in front of it. I want to just isolate the candle itself. I'm brand new to everything flash and have no idea how to do this.I've looked in the .fla and found "sprites" etc but not sure how to just extract the candle and get a .swf of just the candle.

View 4 Replies

Javascript :: Graph/chart That Supports Dynamic Pie Charts?

Nov 28, 2010

Does anyone know of a good charting/graphing tool that supports dynamic pie charts, i.e.where a user could change the values by dragging, etc? It would need an event API so I could get access to the changed values.

View 2 Replies

Flex :: Add A Single Horizontal Line In A Chart/Graph?

Jun 1, 2011

Here is my question:I have a hybrid chart that uses bars and linesI want to add to the right vertical axis a horizontal line that represents a break even

<mx:ColumnChart id="cvpaOpenCloseRatio" x="79" y="107"
dataProvider="{CF_Closed_to_Opened_by_MonthResult.lastResult}"
showDataTips="true">

[code]......

View 1 Replies

Flex :: Export Chart/Graph/component Into Xls File Without Using Server Side?

Apr 15, 2012

Flex: - Is it possible to export Chart/Graph/component with dataGrid data into xls file without using server side?

(Web Application)

I have gone through number of article but could not find any hind to do. As per few article it is possible to export data of dataGrid into xls by using as3xls-1.0.swc but not Chart.

I am looking to export data from dataGrid as well as Chart.

View 1 Replies

ActionScript 2.0 :: Draw A Pie Chart Dynamically - Flash Mx2004 Professional

Jul 23, 2004

I have a question for you....I'm not able di draw a pie chart dynamically. I have the Layer1 with a F3DPieChart, 4 input text and a button, I put 4 numer in the 4 inputtext (sum total = 100) and when I press the button I would like to see pie Chart to appear with 4 slices that rappresented my 4 numbers.unfortunately it doesn't happen. This is the code on layer1:

[Code]...

View 2 Replies

ActionScript 2.0 :: Draw Graph From An Array?

Nov 4, 2004

I'm just trying to make a graph based on my array. Each piece of my array is (x,y). [code]...

View 1 Replies

Flash 9 :: Animations Updating In Real Time

Aug 21, 2008

We're currently building a fairly big dynamic website, and I was wondering if there was a way to have an animation that updates and move in real time as there's action on the site. Ex. red bulbs light up each time a user posts something on the forum or whatever. It'd be all related to the mysql database.

View 1 Replies

Synchronized, Real Time Viewing In Flash?

May 30, 2009

I'm looking to create something within Flash that I've not yet seen done.It will be a shared, real-time interactive session. What I want to know is, is it possible to create an individual, private session within Flash that is synchronized between two or more computers? I am doing this for the medical profession, but I can also see this would have benefits in the gaming community as well. I'm trying to create something that two specific users can interactively share in real time.

For example,a coloring book.Two players,or as many as you want, log in together and share a private coloring session. They will be able to interactively see anything that the other person is coloring in real time.The other people would also be able to color and let everyone else see their work.

View 1 Replies

ActionScript 2.0 :: Real Time Flash Thingie

Jan 3, 2008

I want to do a flash that changes based on the time of day. For example to load right .swf on container MC at the right time of the day.

View 1 Replies

ActionScript 2.0 :: Flash Mx2004 Professional - Unable To Draw A Pie Chart Dynamically

Jul 23, 2004

I'm not able di draw a pie chart dynamically.I have the Layer1 with a F3DPieChart, 4 input text and a button, I put 4 numer in the 4 inputtext (sum total = 100) and when I press the button I would like to see pie Chart to appear with 4 slices that rappresented my 4 numbers.unfortunately it doesn't happen.This is the code on layer1:

[QUOTE]
var buttonListener = new Object();
buttonListener.click = function() {
var val;[code].....

View 2 Replies

Possible To Create A Flash Character That Can Speak In Real Time?

Sep 28, 2010

Is it possible to create a flash character that can speak in real time?I want to create some characters that use the speech from my pc microphone (e.g. as I speak into my mic the character uses my voice to speak.

View 1 Replies

ActionScript 3 - Using Real Time Messaging Protocol In Flash

Jan 27, 2010

Flash can use the RTMP protocol to exchange data between a server and a client. How do you typically access this functionality in AS2 or AS3/Flex? For example to use sockets you use the XMLSocket (AS2) or Socket (AS3) classes. Does the server-side RTMP software use Sockets under the covers? or is it HTTP with tunneling?

The Real-Time Messaging Protocol (RTMP) was designed for high-performance transmission of audio, video, and data between Adobe Flash and a server. RTMP is now available as an open specification to create products and technology that enable delivery of video, audio, and data in the open AMF, SWF, FLV, and F4V formats compatible with Adobe Flash Player.

View 1 Replies

Flash 9 :: When Creating Shape -- Show Real-time W/H?

Oct 28, 2008

One thing that's really frustrating me about Flash is that the info panel doesn't display real-time width or height values.So if I'm drawing a rectangle, I can't just draw it out as do in Photoshop to say 400 X 200. I'll need to set this manually after I draw a small box.

View 2 Replies

ActionScript 3.0 :: Real-time Data Loading Flash?

Oct 16, 2009

I have created real-time data loading flash file. I'm loading realtime data in dynamic text filed using variable. From JavaScript, I'm pushing the data into those dynamic text fields with 10 seconds interval.

Now I want to animate the dynamic text fields when the new data load into the text filed.

View 5 Replies

ActionScript 3.0 :: Flash Autofill Polygon In Real Time

May 25, 2011

I am creating a game where I have some red balls on the screen and some blue balls on the screen and I would like to draw a polygon around all balls of the same color and have this polygon automatically fill as soon as the polygon shape is closed. How to achieve this as I haven't really done much with the drawing API before. My current code will allow me to draw a polygon and for it to fill when I release the mouse but what I would like it to do is automatically fill as soon as the shape is closed.

Here is my code so far
Code:
var graphix = new MovieClip();
addChild(graphix);
var points:Array = [];
stage.addEventListener(MouseEvent.MOUSE_DOWN, startDrawing);
[Code] .....

View 2 Replies

Professional :: How To Integrate Open Flash Chart Into CS4

Apr 8, 2010

How to integrate the open source library "Open Flash Chart" into Flash CS4. If you don't know what Open Flash Chart is you are missing one of the best RIA at world, please invest 10 seconds going to [URL] to discover it!

View 1 Replies

Javascript :: Open Flash Chart Not Working?

Apr 21, 2010

I want to implement Open Flash Chart in my website but it doesn't work. The chart just start loading for a second and the loader animation disappear and nothing happening (Only a blank swf area). i've downloaded the latest version which is 2 and here is my folders scheme:

// ROOT //
● JS
● open-flash-chart
● php-ofc-library

[Code]....

The JS folder contain swfobject and the open-flash-chart folder contain the action script classes of the chart

View 1 Replies

Actionscript 3 :: Flash Player 10 Real-time Audio Playback?

Jul 13, 2009

I'm trying to playback some sample data through the new real-time audio capabilities of Flash Player 10. I started with the example given at the bottom of this page on livedocs, which seems to work fine and plays a crystal clear tone.I assume that the two writeFloat's in the example write to the left and right audio channels respectively and that the data being written is 32 bit (because of the float).

However. I seem to be having trouble converting my old 8 bit audio data to a format that is understood by this interface. When I playback my sample data I can vaguely hear the sound I'm expecting but it is massively distorted. My sample data consists of raw 8 bit samples that ranges from 0..255 where 127 is silence.

I've been trying different conversion formulas but I seem to be missing some vital information regarding this conversion.

UPDATE:The correct formula turns out to be:

f = (sample.data.readByte() - 127) / 255

View 2 Replies

Flash :: Real Time Transcoding Of Multiple RTMP-Streams?

Nov 18, 2010

Here is my problem: We are broadcasting sportevents live to the internet via flash media encoder.At the event locations we mostly have just 2 mbit upstream. So at the moment we are streaming with about 1mbit rate.But we need also streams for mobile-devices and a stream for users without fast internet. So we want 2 more streams with lower-bitrates,but we can't get this through the 2mbit...I am looking for a solutiuon which can transcode about a 1mbit(and may be in the future a 1.5mbit) livestream in to two (or more)lower-bitrate streams.The solution should be scalable,because sometimes we have 7 events at one day on different locations,so there could be 7 input-streams.I've searched the net for hardware transcoders, but didn't find a stable solution and I've tested also transcoding with ffmpeg, but it seems to get problems with timing and key-frames for bitrate switching.

View 3 Replies

PHP :: Flash Browser Game - Real Time Data Exchange

Feb 16, 2011

I am developing a non-real time browser RPG game (think Kingdom of Loathing) which would be played from within a Flash app. At first I just wanted to make the communication with server using simply URLLoader to tell PHP what I am doing, and using $_SESSION to store data needed in-between request. I wonder if it wouldn't be better to base it on a socket connection, an app residing on a server written in Java or Python.

The problem is I have never ever written such an app so I have no idea how much I'd have to "shift" my thoughts from simple responding do request (like PHP) to continuously working application. I won't hide I am also concerned about the memory and CPU usage of such Server app, when for example there would be hundreds of users connected. I've done some research. So, considering the fact I don't need real time data exchange, will it be wise to develop the server side part as socket server, not in plain ol' PHP?

View 1 Replies

Flash :: Create A Accurate Chronometer Matching Real Time?

Sep 23, 2011

I'm working in an educational software, mostly developed using Flash AS3, and we have a chronometer which shows different values through different users. Example: Two users starting the chronometer at same time, but along some minutes of usage, they have different values.

The current implementation uses Timer class, causing this to happen, obviously due the different average speed of each computer.

View 1 Replies

ActionScript 3.0 :: Flash Debugger Watch Expressions In Real Time

Sep 23, 2010

I am looking for a watch expression debugger for Flash AS3 (not flex). I have found this: demonsterdebugger but the refresh is not in real time (like the trace does), it has a lag of 3 seconds. It is important because i am developing a flash box2d game so I need the coordinates while playing.I've tried also KapInspect with the Digiex pluging, but it gets down the framerate and it is embebbed. So it is not good for me. Can you please tell me one good debugger? I am using Flash Builder 4 (it has not whach expression inspector)

View 1 Replies

ActionScript 3.0 :: Flash Real Time Refraction And Reflection Of Light

Nov 3, 2010

I'm attempting to code a system to handle real-time refraction and reflection of light in 2 dimensions (on an x, y Cartesian plane, basically) and I'm hitting my head against the wall even figuring out where to start on this. My concept for how this should behave goes like this: There is an object that shoots a ray of light (a laser beam or something) toward a target object. When the ray intersects with the surface of the target, somehow I need to find the normal vector to the surface of the shape at the point of intersection and apply some equations from first year physics to alter the path of the ray appropriately. The same refraction effect takes place as the ray exits the object. At the moment, I'm grasping for straws. I'm not even sure what kinds of objects exist in Flash's libraries that will work for me with this. The existing libraries for shapes won't let me create lenses like I want to, and I'm not sure what I'll need to make for an adequate "light" projectile or line to take on this behaviour.

View 11 Replies

ActionScript 3.0 :: Flash - Pulling Data From A Database In Real Time?

Aug 15, 2011

I am a pretty big newb- my challenge is get a flash page to look to a database and check for updates constantly (in the realm of 1update/second) then pull new data as it is added.

View 1 Replies

Flash :: Use Open Chart (or Any Library) In Flex 3 Project?

Jan 22, 2010

I want to use Open Flash Chart in Flex3/AS3 project?

I mean,How Can I use Open-flash-chart in Flex application client side.. ??? (I use FlashDevelop)

Can i do that by just adding .swf file?? If yes? then where to add? I am not using FlexBuilder, I am using FlashDevelop OR Command line for compiling..

Or I have to add .swc file.. ??? If yes, then how to generate one for open flash chart..???

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved