ActionScript 3.0 :: Flash - Include Dynamic Graphs
Feb 9, 2010
i have a project to do on flash..its about laws of physics and i want to include dynamic graphs.. e.g projectile motion.. the guy enters the distance and the angle and a graph is plotted from the calculations it makes.. erm..thing is that i dont even know to make a graph in flash..now i have to make a dynamic one is there any tutorial around
I have to make a graph with 2 parts the main view which you can drag and a bottom part which will show your location on the whole graph. how can i make the 2 move together, I have attached a small jpg of what i mean.
I have this flash player we use to create some graphs and charts of our business performance. We use flash because we like those neat-o graphics and overall User experience.
The thing is that now I need to generate snapshots (i.e. images) of those charts every Monday so I can save them to disk.
Our flash player takes arguments at startup (or runtime) that specify the data we want to load and the date range, and we have LOTS of charts around.
I would like to know if there is any way to create these images in a batch, window-less process in linux. My goal would be to have a script that runs at 2am, automatically loads all the graphs say for the latest week, and creating PNG images for each. All this in one of our window-less (but with X11 libraries) linux boxes.
I am trying to loop through several lines of code and replace certain parts of the variables with a number in a loop. You can see what I have here:
Code: for (var j:int=0; j <= bootArray.length; j++) { switch (j) { case 1 :[code]....
Is there a way I can trim this down? I have these cases through 7. It works the way I have it but it's obviously very poor coding. I know how to do it in AS2 but I just keep getting error after error in AS3.
Is there any opensourse, free set of components for creating Flex mxml graphs? like aviary Peacock style ones with at least Drag, drop, and connect generators so each graph element could have or something like that. Framework should be opensource (like GPL, LGPL etc) BTW: I found one wary bacic made by Erno Aapa with Degrafa but I would really love to see something much more Flex 4 - mxml oriented and frienfdly.
I am using an include file, and I've noticed that sometimes the the fla file does not refresh new changes to my include file. When exporting with "Ctrl, Enter" Is Flash loading the include file from the cache?
I am trying to include a Variable from PHP which queries a database with a dynamic file..Obviously I have marked out passwords with "*"Here is My Php file to display the variables I need
[Code]...
What I need to do is have the flash file pull in videoid which is a string on a dynamic link from the page where the player resides. VideoID is dynamically created in the Mysql Database..how to get this dynamically into the flash file?
I've been messing around a bit with a Facebook application for a while now, which is using FBML. A need has arisen to integrate graphs to display data. From what I can tell my options would be one of the following:
Find a Flash Graph that doesn't require a JavaScript library to work Convert the application to an IFrame application, and hope that Facebook wont break the Graph JavaScript Generate the graph serverside with GD or ImageMagick I would preferably not go with option 3, due to how boring generated graphs look, and serverside load.
Does anyone have any opinions or suggestions on how I would best solve this?
I am using flex builder 3 with SDK 3.5. I make a AIR application and I want to Draw some graphs on it. I search the internet and the examples did not work. Am I missing something or I have to install some chart relating packages? I am new to Flex.
I am trying to plot a line chart/graph from values in an array which obtains its values from an XML file. My code does work to an extent, but as an Array can only contain a limited number of elements (I think it is 255 maximum - but I could be wrong), and the data in the XML exceeds the maximum limit of the Array, I was wondering if there is an alternative method of plotting the graphs from data in XML.
Is there an online cheat-sheet to graphs of common tween / easing functions? I want a bookmark I can refer to when picking a function for a tween (e.g., Quintic, Quadratic, "Bounce"). The only one I can do in my head easily is linear.
Does anyone know of software or flex/flash/as3 source or visualisation software that could be used to make interactive graphs, where the user would enter a query that would pull data from a MySQL database and the user would build a sunburst or icicle graph by dragging and dropping items into a tree-like structure and they would be able to view the graph? i have attempted to use flare but my programming skills are pretty bad. So far from what i gather, flare only allows the graphing of defined datasets rather than allowing a user to modify the dataset and thus creating a new dataset.
In AS3, I know how to accomplish this. One needs only to click "ActionScript Settings", and navigate to the SWC file under "SWC Files or Folders Containing SWC Files".
However, when the project is set to AS2, the "Actionscript 2.0 Settings" is a rather sparse menu, and adding the folder as a classpath doesn't seem to work.
Is it possible to include PDF files within a Flash site that can then subsequently be downloaded by users of the site? Or does this have to be done through dreamweaver or a combination of both?
I have a flash movie that requires some JavaScript from an include file but I'd like to be able to embed it anywhere without requiring a script tag.
Is there a way to include an external JavaScript file using the ExternalInterface library so I can call the methods in the JavaScript include file later?
I have downloaded some external actionscript library in a form of a bunch of folders with .as files that have the following folder structure: com/helper_lib1/*.as com/helper_lib2/*.as com/primary_lib/LibClass.as <- primary lib I want to use
Lib.as has the following code: package com.primary_lib{ import com.helper_lib1.*; import com.helper_lib2.*; public class LibClass extends MovieClip{.....
Now I have some fla project where I want to use this com/primary_lib/lib.as, something like: import com.primary_lib.LibClass; var test:LibClass = new LibClass();...
How to include this library into my project and where should I put all those files? I already tried putting them into every possible folder but I always get definition com.primary_lib:LibClass could not be found error.
I'm naturally a PHP coder, but I have to use flash for a part of a project.I was wondering if I have files such as mainsite.swf and page1content.swf, is there a way to simply include the page1content.swf file into a predefined area on the mainsite.swf file (as in PHP's include)?Also, would it be possible to use this flash "include" to embed external swf's?Finally, ideally I'd be able to merge these files together, but from what I've read, it's a tricky business, with filenames, referencing etc, so this is optional.
Various sites, such as [URL] for video, or [URL], use an object tag with a nested embed tag. Based on quite a bit of testing, I've concluded that these sites only work with the nested or stand-alone embed tag, but not with the equivalent object tag syntax. Here's an example:
I'm working on a swf file source code obfuscator, for some reason I need a list that include all actionscript 3 api name. How to get it ? Should I need check all of the as3 api doc and make the list manual ?
My problem: I have an FLV video that I need to add hardcoded subtitles to. I know that it's possible to add subs via XML but this is no good, I need them to be part of the video file itself. I tried (stupidly it seems) to use flash to load in the FLV to the timeline & add subtitles to another layer - but exporting issues & time-synching problems scuppered such an approach. So I need some proper video editing software. I have Adobe Premier v2 but it doesn't seem to support FLV input/output natively..
1) Convert FLV to AVI 2) import AVI to video editing software 3) Add subtitles 4) Export AVI file 5) Convert back to FLV