Flex :: Simple Timeline Chart With Events?
Sep 22, 2009
I am looking for a simple timeline chart, that I can display several events on over a varying timespan. I haven't found any specific charts in Flex, has anybody created or used anything along these lines? [URL]
View 2 Replies
Similar Posts:
Feb 8, 2010
OK from the title you can tell I'm now a AS3 newbie. Its a shame because I was good intermediate at AS2 and all of a sudden I'm back at square one - and I'm no programmer so there's little chance of me learning AS3.
1) Back to the problem. I used to control events on my timeline with simple timers and such, utilising code like: _parent.MC1.Play(); Now that doesnt work, _parent and .root are gone, and I can't even get basic things to work anymore. I want to do is advance "MC1" to the next frame.
2) Is there a *simple* reference/summary of what happened to my old AS2 commands somewhere.
View 3 Replies
Apr 4, 2011
For my application I need a component (or combination of components) that shows a number of different types of events along a timeline, displays them in different ways as specified and allows you to click/hover along the timeline to add/modify/get details on events.
Basically I want a timeline across the top, always showing a 24hour period, but starting at variable points. I need to have different rows of variable height to display different types of data in different ways. for instance: row 1 will display the 'value' attribute as a circle whose diameter reflects value amount and change color based on a 'typecode' attribute. row 2 will display a line graph and plot chart based on different numbers (like one chart but with the datapoints as larger dots), and will also chart out trend of following or previous data if it exists. behind row 2 will display the same thing but for 5 previous days progressively more transparent
[Code]...
View 1 Replies
Jun 15, 2010
How can I create a simple chart in Flash CS4?
View 1 Replies
Mar 3, 2011
I'm trying to prevent a default chart item roll over highlight in a Spark column chart.If you look at any of the chart examples on this page , when you roll over any of the chart series items, they turn a darkened shade of their original colour. This is what I want to prevent.
So far I have had no luck with using the itemRollOverColor property, as this only allows you to set it to one specific colour for the whole chart (my app has several different coloured series on the chart at once). Also, trying to leverage the itemRollOver event (with preventDefault() etc) hasn't worked either.
View 1 Replies
Jan 10, 2011
I'm trying to make chart which is combination of bar and line chart using Flex Charting API . Here x axis would be common and y axis would be different. note that y axis got different range of value one is % and other is amount. Any one got idea how to make this chart. Here line chart would be staked on top of bar chart . The line chart and never over laid or drawn on top of bar chart.
View 1 Replies
Mar 19, 2008
I am trying to draw a simple bar chart for our interactive annual, and I thought i would try to learn how to use the api drawing tools, but I can't seem to get it to draw more than one line successfully.below is what I was using for one, but how do I tell it to draw more lines that are different colors? I attached a screen shot of what I want it to look like.
[Code]...
View 1 Replies
Feb 22, 2011
I am trying to create a simple pie chart that has rollover states, and when clicked brings up a first column of text, then when a field is clicked brings up a second column and then a third. There will be around 100 different text fields show up. Now at this stage I have about 40 functions setup and about 25 event listeners and I havent even started on the text fields yet.
My question is do I need to continually write new functions for text to appear, then a second to disappear and trigger the next filed OR is this what Variables are for?
I think this sounds very confusing so I have attached the file. Please help as I have a crazy deadline on this and simply can't work it out, unless I continue on my road of endless functions.
View 5 Replies
Mar 2, 2011
Is it possible to develop chart in flash (eg. bar chart, pie chart)?
View 1 Replies
Jan 6, 2006
I'm using Flash Pro 8 and I'm attempting to incorporate events into some of my classes and I'm having nothing but problems. After looking at lots of examples, this all seems okay, but doesn't work. First is the class code and secondly is the code on the timeline.
ActionScript Code:
import mx.events.EventDispatcher;
class iaicu.mycampus.ClassSchedule {[code].....
Keep in mind that these classes are more elaborate, so events are intended to be more useful.
View 7 Replies
Nov 27, 2009
I have recently read and practiced the instructions given in "Buttons in Flash" tutorial on this site, and although everything works beautifully it does not give me the code for linkage i.e. either external website or mail.
The existing code is:
function setupEvents() {
// associate events with event handlers
myButton.addEventListener(MouseEvent.CLICK, clickButtonHandler);
myButton.addEventListener(MouseEvent.MOUSE_OVER, hoverButtonHandler);
} setupEvents();
[Code] .....
How do I include the relevant behaviours to these buttons?
View 3 Replies
Nov 4, 2009
I downloaded the trial of flash cs4 and have created a simnple flash.I am creating a simple slideshow, each of the slides should be clickable and redirect the browser.I created images then imported them and they were automatically converted to symbols.I combined the symbols using some motion tweens.I then created an actions layer and created clasic tween wher I want the user to be able to click.My problem is I cant get it working. I think I am not referencing the right objects.[code]I have tried setting the object reference to the motion tween instance name, the classic tween name on the actions layer and the symbol name none seem to work
View 1 Replies
Sep 23, 2009
direct me to a simple technote on how to play the timeline with a simple buttonexample:in AS2 you could attached script to button something like
on MouseEvent {
gotoandplay(6);
}
[code].....
View 4 Replies
Sep 14, 2009
How can I Create an animated Bar Chart or Line Chart type of component in flash programmatically, which should depends upon an incoming XML data, the chart should have the basic criteria like, Chart Label, Item Tooltips, background grids (without using any image). There also needs an ability to change the data which should reflect the chart as well.
View 1 Replies
Feb 3, 2011
In the Main Timeline I have
Code:
import FlashVar;
// Instantiate FlashVar Class and Pass Root.
var myFlashVar:FlashVar = new FlashVar(this);
trace(myFlashVar.getVar('myFlashVar'));
[code]....
Now I have to pass 'this' when instantiating the class so that later I can use DocRoot to get the loaderInfo for FlashVars.Is there any way to not have to pass 'this' and have the external class point to the Main Timeline?
View 1 Replies
Oct 25, 2009
The images for animation load okay. The sound loads okay. But the animation images need to be inserted in coordination with the sounds, which is difficult using only the ears There is a visual graph of audio levels in the library window, which I have seen appear in the timeline also but only momentarily. I do not know how to keep the audio graph on the timeline so as to know where to put the images. I can keep the graph open on the little library window when it is open but not on the timeline. how to keep the graph open on the audio track while I work on the image tracks.
View 1 Replies
May 14, 2007
This is problem is cropping up in Flash CS3 rather than Flex, but it's Actionscript 3.If you paste the code below into the main timeline on frame 1 and test it in Flash, the COMPLETE and INIT events both fire. And in Firefox and Safari it works too. INIT and COMPLETE both fire. But in IE (6 and 7, both with the latest flash player) on a PC only the INIT event fires.
Code:
var debugText:TextField = new TextField()
addChild(debugText)
var onRootLoaderInit = function (event:Event):void{
debugText.text += "INITIATED." + " "
} var onRootLoaderComplete = function (event:Event):void{
debugText.text += "COMPLETE." + " "
} loaderInfo.addEventListener(Event.INIT, onRootLoaderInit);
loaderInfo.addEventListener(Event.COMPLETE, onRootLoaderComplete);
View 9 Replies
Oct 22, 2008
My homepage contains a flash file that tweens through 4 product images. I want to program my file so that every time the user goes to the homepage, the flash cycles through the four images randomly. I thought the easiest way to so this would be to create four series of image tweens and label each, and then code the first frame of the movie to go to one of the labels at random.
View 8 Replies
Apr 30, 2009
In my SWF, I have a movie clip that I wish to play itself immediately after the site loads. I have two other movie clips that are required to play once the first movie clip has reached frame 13. This is a function that I would like to repeat, as the first movie clip (followed by the other two) will be required to play the others after certain mouse events within the movie.
PHP Code:
hello_button.addEventListener(MouseEvent.CLICK, click_handler);
function click_handler(event_object:MouseEvent) {
/* Do something with this event */
}
While others import class objects and operate under package headings when describing how to add listeners and send out dispatchers.
View 2 Replies
Jan 13, 2012
My group is working on a Flex/AS3 scientific web application that is data intensive. Luckily the only plots involved are line charts. However, each line chart may have multiple traces (up to 24), and each trace may contain up to 2000 points. The user will need to zoom in and out and interact with the data (e.g. data tips, etc.).
The response I'm getting from developers is that's a lot of data to render in a plot in Flash. For reasons beyond the scope of this post, we can't sample the data to reduce the size (this has already been done and nature of the data prevents further sampling).
Rendering speed is critical for this app. What kind of rendering speed should I expect the Flex 4 line chart component to provide for a given number of points (e.g. 1 second to render 1000 points?)
Are there products available that handle plotting large data sets better, which can be incorporated in Flex (I've seen FusionCharts and ZingCharts online but have no idea how they compare with Flex's components)? Of those, which are easy to develop with while still providing a lot of flexibility in look and feel?
View 1 Replies
Jul 14, 2009
I have a navigation bar movieclip that has the following EventListeners in symbol definition:
news_btn.addEventListener(MouseEvent.CLICK, clickHandler);function clickHandler(event:MouseEvent):void { event.target.root.gotoAndStop(1,"newsawards");
categoryName = "news"; <<<DOESNT WORK}
clients_btn.addEventListener(MouseEvent.CLICK, clickHandler2);function clickHandler2(event:MouseEvent):void { event.target.root.gotoAndStop(1,"clients");}
[Code]...
My question is, how can i cause any of these events to change a string variable in the main timeline? For instance, i would like the news_btn when clicked to change already defined variable located in the main timeline. Also, is there a more elegant way to code the above, i'm new to AS3?
View 2 Replies
Jan 17, 2010
Flex charts, like AreaChart, have wonderful built-in support for displaying data "tool tips" when a user hovers over a point supplied in the data of a graph. You can hover over any of the bar graph examples on this page for a demonstration. I have a graph situation where I optionally draw in some dots as reference points on CartesianDataCanvases supplied to my AreaChart through it's <mx:annotationElements> and <mx:backgroundElements> tags.
I would like to have the same hover data-tip functionality that the AreaChart has, but applied to these dots. I realize that I am just drawing on canvas, and that no actual dataProvider supports these dots, but if there was a way to supply the CartesianDataCanvas with an array of data values or something to that effect,
View 1 Replies
Apr 21, 2010
I have a dynamic ArrayCollection that will contain a unknown number of objects of type MyObj:
class MyObj
{
type:String
[code]........
View 1 Replies
Dec 23, 2010
I am in a situation where user gets the cars data from the database based on the selection and displays it in datagrid like below ( for example)
Company Model Year No
GM Chevy 2010 10
GM Chevy 2009 5
GM Pontiac 2010 12
Honda Civic 2009 12
and there will be a link next to datagrid to get Pie chart based on the data displays in the data grid . The pie graph should display grouping by company and the count . I mean for the above example that should give with two pie items , one for GM showing the number of vehicles ( in this case 3 ) and Honda showing the number of vehicles ( in this case 1 ).
I thought of getting it from the database by querying and grouping it .But here the problem is after getting the data above in the datagrid user can able to filter at client end ( By year or model ) and can say get graph . This time that should only display the graph for the data visible in Datagrid .Grouping on database for every operation is becoming expensive. Since we have already data available at client end , is there any way to group it at client ..?
View 2 Replies
Aug 25, 2010
LinkeSetFx has its own CollectionEvent, but I don't know how to map the LinkedSetFx event to mx.events.collectionEvent(I want use it in ComboBox). LinkedSetFx is in AS3Commons-collection framework.Here is the url, choose the as3commons-collections-1.0.0.zip, you'll find LinkedSetFx in srcorgas3commonscollectionsfx
View 1 Replies
Dec 29, 2011
I am an AS3 code developer but this time I need to deal with a FLA that has an instance on timeline with complex nesting of movieclips and textfields (that are named via the instance field in Flash). The problem is that events (I put in the Documentclass) on nested movieclips inside that timeline placed instance are never dispatched.
example code:
// my instance on Stage in all Frames of the timeline
public var thewall:MovieClip;
// event directly on thewall works
[Code].....
View 1 Replies
Dec 29, 2011
I am an AS3 code developer but this time I need to deal with a FLA that has an instance on timeline with complex nesting of movieclips and textfields (that are named via the instance field in Flash). The problem is that events (I put in the Documentclass) on nested movieclips inside that timeline placed instance are never dispatched. example code:
Code:
// my instance on Stage in all Frames of the timeline
public var thewall:MovieClip;
[code]....
View 3 Replies
Apr 30, 2010
Is it possible to restrict flex bar chart y-axis count?I have a very big name coming in my y-axis and i want to reduce or restrict it to 5 characters and on rollover i want to display it in full.
View 1 Replies
Oct 6, 2010
We get data from multiple feeds and data may or may not exist for a certain date. o, for points that have no data we send NaN.
[Code]...
View 2 Replies
Jun 28, 2011
When using a Flex chart, the y-axis is drawn as a thick (about 8px) grey line. Is it possible to change this to be just a thin line like the x-axis?
View 1 Replies