Flex :: Visualizing A Break-even Analysis With AreaChart?
Oct 27, 2011How do I visualize a break-even analysis with Flex's AreaChart?
View 1 RepliesHow do I visualize a break-even analysis with Flex's AreaChart?
View 1 RepliesI am plotting an AreaSeries and a LineSeries on a AreaChart using Flex 3 in built chart components. I want to code a custom item renderer for LineSeries to be shown at the intersection points where LineSeries crosses AreaSeries.
View 1 RepliesWhen doing a gradient fill on an area chart, the gradient ratios are used only between the min and max of the chart. The area below the min is then filled with the last color in the gradient.
To make sure that it was using the ratios only between the min and max I inserted a zero (0) into the chart and the gradient expanded to the full height. I also checked the gradient values by creating a with the gradient fill.
How do i get the ratios to be effective through the entire fill not just between the min and max?
I want to build an android application that visualize some real time data , to get the position of objects and update it in real time and give me a simple animation . studied OpenGL ES for couple of days but it seems quite complicated but I dont think it fits to my needs
View 1 RepliesIs thre any program which uses static analysis to look for bugs in actionscript code?
View 1 RepliesI have been goggling a lot to find anything with link-based data visualization in Flex 4. something like below screen shoot (made using Ravis). Where user can drag these nodes, without removing the links and on double click of any node we can set some properties for that particular node. I found this Ravis (Birdeye), but not much of examples and support is available for that.
View 1 RepliesI needed a personalized rss reader for this site i m building, but i m not familiar with Flash so i used an online tutorial. The resulting file plays nice when i preview it in Flash, but it wont return anything when i preview it in html or save it and open it as a file.The flash itself is made mainly of two white blocks. The first one shows a list of the news on the rss feed, if one of them is clicked, the second panel retrieves the info for that news article and previews it.As i said it works nice previewed on flash but not if saved in html nor uploaded to the server as part of a page.
import fl.managers.StyleManager;
var logFormat:TextFormat = new TextFormat();
logFormat.font = "Myriad Pro";[code]......
i want to make some kind of gallery, to put in a banner..
This is my code:
Code:
import flash.net.*;
var path:String="fotos.xml";
var xmlImages:XML;
[Code].....
I think the only thing i need to do is to add the items of my array to the stage
I'm currently working on a project which involves importing audio streams and visualising them within Flash. At the moment I have two files, one which can import all of the streams at once, continuously and another which visualises just one of the streams using an example animation I found which will be replaced at a later date. My problem is connecting the array to the visualisation so that all of the streams interact with it and affect the animation. Below is the code I have for the multiple streams with no visualisation file.
Code:
var stream_arr:Array = new Array(
"mtl2.liveatc.net/kbur",
"bos.liveatc.net/6b6",
"m1.liveatc.net/kbwi_belay",
"aus.liveatc.net/kccr",
"mso.liveatc.net/zob_cle",
[Code] .....
Note that I have removed the "http" from all stream addresses due to my low post count.
And here is the code I currently have for the file which can visualise only one stream, rather than the multiple I would like.
Code:
stop();
function goBack(evt):void {
gotoAndStop(1);
this.removeEventListener(Event.ENTER_FRAME,spectrum);
} var snd:Sound = new Sound();
[Code] .....
Well after 3 years I'm finally ready to move onto a new project....my plan is to make an auction site but with a flash twist....well not really a twist been done a thousand times the plan is to rotate each sale object 360 degrees..... anybody have any tips on how i should accomplish this in flash? my intial anaylisis in my head tells me to take multiple pictures then user frames in flash to rotate them.
View 1 RepliesI'm using Adobe Flash CS 4 and would like to know are there any profiler or memory analysis tools available for it ? (actionscript 3). I know there are available tools for Flex, but are there for Flash CS 4 instead?
View 3 RepliesI've written a flex (mobile) application, that ended up bigger than I expected.
I'm pretty happy with all my classes and everything on my AS files. However, the view turned out really big, as I'm using MXML to layout my app.
I was thinking about creating external components I could call on my view to make it more readable, but am not sure what's the best way to do, or if doing so is the best way at all.[code]...
Possible Duplicate: Lint tool for actionscript? I'm looking for source code quality tool (others call it "static analysis" tools) for Adobe Flash. Something like JSLint for JavaScript or JLint for Java.
View 1 RepliesI have a Flash 10 program that locks up when running on a device, such as a netbook, that has a weak processor.Specifically, it goes into a state where it is doing very heavy processing within an ENTER_FRAME event handler following a mouse down event, and expects to stop doing this processing following a mouse up event. The problem is that, since there is no idle time left over following the frame event handlers, the mouse up event is never received, and consequently the process locks up in what amounts to an infinite loop. Yes I can do things like lower the frame rate and do what I can to reduce the processing taking place in each frame, but is there some iron clad way to break out of this? Is there some way to detect that no idle time exists? Or is there a way to force receipt of the interactive mouse events? Or could I, within the ENTER_FRAME code, detect the state of the mouse, up or down, without getting a mouse event?
View 2 RepliesI am having some weird trouble with getting my Flex Builder 4.5 environment set up and working. I am currently debugging with the stand alone version of the debugger, though I have the same problem using the versions for Firefox and/or Chrome. It works fine as long as I do not include any break points, if I do include break points (anywhere in the code) the debugger just goes unresponsive until I terminate the process from FB.
View 1 RepliesI am trying to implement simple chat application using flex. In it all my chat messages are stored as array collection items, where each item is a string (correspondent to one chat message). I am using datagrid to display all messages. One message goes to one cell of datagrid. Here how it looks: [URL] I want to add a feature for the tool to handle big lines of text. Is there a way to implement line break in case it's very long.
View 2 RepliesI'm trying to break a movieclip into pixels and then move each pixel independently, but am having a hard time wrapping my brain around the code.
Right now I have a MC on the stage with an image in it. I'm able to go through each pixel, copy them one at a time then add a tween like this:
Code:
function copyPixels() {
var rect:Rectangle = new Rectangle(300, 400, 1, 1);
var bytes:ByteArray = bmd1.getPixels(rect);
var bmd3:BitmapData = new BitmapData(1,1, true, 0xFF000000);
[Code]...
But that doesn't really give the effect I want. I want the whole image visible then have one pixel at a time fly off. How do I do this? Do I copy the entire image to a ByteArray then address each element in the array?
I've setup a dynamic Text Field, embedded uppercase, lowercase, numerals and punctuation and these special characters: Then I assign text to the Text Field like this:
[Code]...
I've got a for loop running in a function. I want to break out of the entire function if a condition is met in the for loop, and obviously carry on within the function if not. I've read a little about using labels, but I'm new to actionscript and most of it's going completely over my head. Here's my code.
[Code]...
i'm trying to put a line break in my xml attribute but the usual doesn't seem to work. Can anyone solve this? Cheers
<BUTTON NAME='BUTTON 1
TEST' DESCRIPTION='' MCCOLOR='0x000066' THEFILE='one.jpg'/>
How can I break line in the XML in a specific part?
I want this
DE R$ 999,99 POR 666,66
To be this.
DE R$ 999,99
POR 666,66
XML:
<price>DE R$ 999,99 POR R$ 666,66</price>
AS:
price_txt.Text = priceID;
I can not put a line break in xml.
Is it possible to break (Ctrl + B) a created textfield with AS, and have the letter instances named somehow? I need this to write a text animation.
View 11 Repliesi've read some other threads about this but i can't seem to get them to work with my script..i'm trying to fill my stage with squares to make a visual grid, using setInterval so it shows them animating across row by row. so far i have this:
[Code]....
however i've tried adding in code to make it break onto the next row after duplicating 50 but can't seem to get it to work no matter what i do..
How can I break line in the XML in a specific part?[code]...
View 4 RepliesI'm trying to take a string and break it into two parts. It's a url to a video on a RTMP server.So I've got to take this:
[URL] person17/1031617_person_generic_700kbps (note the removal of the ".flv" which is necessary as well).Right now I'm doing this, which seems overly complicated:
Code:
videoURL="rtmpe://emediadev.mysite.com/ffw/person17/1031617_person_generic_700kbps.flv";
videoURL=videoURL.substr(0,videoURL.length-4); //remove ".flv"
var urlArray:Array=videoURL.split("/");
[code]....
i'm using this code i got on-line, the text is being outputted through a dynamic text box, which is multi line enabled and html. Yet I just can't seem to get a single line break, i can get a double by doing a normal line break in notepad. But i need a single. And <br> doesn't seem to work.
Quote:
myLoadVars_lv = new LoadVars();
myLoadVars_lv.onLoad = function(success) {
if (success) {
[code]....
and my text file is
Quote:
variable1= 1) Blackpool 02 Academy, 14/4/10, 19:30, 4.50 <br> Liverpool 02 academy, 25/08/11, 13:00, 5.00
I make a XML connector component parse a XML document.In a node, there is a "<br />" (return to line in HTML)
<book>
<page>
Here some text and a <br /> here ! the code s broken up here
</page>
</book>
My XML connector considere the <br /> as the beginning or the end of a node !...How to avoid this <br /> or other any HTML element when parsing some XML ?
I have content with line break. When I break the text matter it shows following error. Is there any technique so that I could use line break content matter.
Syntax error:A string literal must be terminated before the line break.
Code :
output:TextField:TextField=new TextField();
addChild(output);
outputText.text("Number of characters including
line breaks and spaces so far: ");
How can i easily break the shape into two pieces so that I can change them into movie clips?I tried using the selection tool combined with shift key to create selections but the selection tool only does squares so it's very frustrating to select a portion of my drawing precisely using it, i've given up
View 1 RepliesI have the following function but despite using the break statement, it doesn't seem to be stopping after it finds a match in the array:
[Code]....