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 ...
I´m having troubble positioning an externally loaded swf. It simply does not respond to any settings of its x and y values.
The swf I´m loading is a pure as3 project created in FlashDevelop where the main class extends sprite. I´ve even tried modifying the x and y values afterwards using MonsterDebugger but with no luck.
The swf is loa...
I have a tileList component and i was wondering how one might go about antialiasing the font inside of each label. I have the font embedded using:
leftList.setRendererStyle("embedFonts", true);
I have tried targeting the label specifically with no luck so far.
did not work.
var theTextField:TextField = leftList.label;
leftList.antiA...
I want to know how to play a mp3 sound every 2 seconds.
Thanks :)
...
I have this simple class:
import spark.effects.GlowFilter;
public class Letter extends Sprite {
private var glowFilter:GlowFilter = new GlowFilter();
public function Letter() {
filters = [glowFilter];
}
}
And in gaves "Error #2005: Parameter 0 - incorrect type. Should be type Filter" in runtime. If I change par...
Hi, I am trying to develop a Flash program that depends on some graphics and sounds and an array (among others!). My problem is the following. I want to have a folder that is called 'graphics' that will contain the graphics with predefined names (e.g.: background.jpeg, enemy.jpeg, etc) and another one that is called 'sound' with correspo...
How to stop this sound ? :
MySound.play(0,100,null);
...
Hi,
I'm trying to so the following in AS3. I have an object that I would like to behave as follows:
When you click and drag with the mouse, it gets dragged along, constrained to the x axis (left and right only).
When the mouse button is the released the object keeps going at that speed and direction, the slows to a stop. If the unpre...
I'm interested in learning how to decode and playback audio in ActionScript 3. I understand how to write bytes to a Sound object using the SAMPLE_DATA event, so that's not really a problem. What I want to understand is how I could implement alternate audio formats for native playback inside of Flash Player.
I guess what I'm asking is: ...
I need to be able to load external configuration files into my flex app. I've read that this is possible using embeds, so long as the mimeType is set to application/octet-stream.
package learning {
import org.flixel.*;
public class PlayState extends FlxState {
[Embed(source = "../../data/tiles.png")] private var _tiles:C...
Hi,
I am trying to split up my code in classes. but there is a issue what really bothers me. when i create a class for functions i am giving its own stage. like this
dragf:Dragfunctions = new Dragfunctions(this)
and in the class i use this
var stage:Object;
public function Dragfunctions(stage:Object)
{
this.sta...
This page describes how to override the drawHighlightIndicator/drawSelectionIndicators methods for the header of a DataGrid, but an AdvancedDataGrid does not have "headerClass" in mx_internal. It instead has an headerRenderer.
How can I remove those blasted highlights over an AdvancedDataGrid in Flex 3?
...
I'm building an app in Adobe Air 2 with AS3 and need to get the users ip address. From what I understand this code should work but is tracing: "::1" not an ip. Thank you.
var netInterfaces = NetworkInfo.networkInfo.findInterfaces();
var addresses = netInterfaces[0].addresses;
var userIp = addresses[0].address;
trace(userIp);
...
I need to know when someone has lost their internet connection immediately after doing so. I'm coding my app in as3 and Adobe Air 2. Thank you :)
...
My AS3 application basically does the following (pseudo code from main application class) 3 or 4 times by adding custom objects to stage:
_movieClipClassVariable = new MyCustomSpriteSubclass();
_movieClipClassVariable.addEventListener(MyEvents.READY, function(event:Event):void {
_hideLoading();
mcHolder.a...
Good day!
I noticed that in anonymous event handler this is referenced to global, not my class. I know that I can use outer referenced variables (because it creates closures), but how to get right this context?
Simple example:
_movieClipClassVariable = new MyCustomSpriteSubclass();
_movieClipClassVariable.addEventListener(MouseE...
Very often I face the same problem with Flex: When I create a skin for spark component or create new spark component based on another spark component I have inherited properties that I don't need. For example, when I create a custom skin for spark.components.Panel I don't need RectangularDropShadow. At the moment to get rid of it I remov...
I have imported a lot of paths from an Adobe Illustrator document right into a flash file. The paths exists as Drawing Objects inside the scene. Using pure actionscript, how can I move a symbol following each of the lines, without using predefined Motion Guides.
EDIT: I've attached the Flash file, full of drawing objects.
http://rapids...
i'm attempting to simply set the caret position at the start of the text flow when it is first displayed, without having to click and activate the text to see the blinking caret.
googling returns that the solution is to do this:
textFlow.interactionManager = new EditManager(new UndoManager());
textFlow.interactionManager.setSelection(0...
I have made a tile list is Adobe Flex as follows
<mx:TileList height="130" width="636" rowCount="1"
columnCount="8" columnWidth="150" direction="horizontal"
allowMultipleSelection="false" enabled="true" borderStyle="solid"
id="profilelist" verticalScrollPolicy="off" dataProvider="{xmlListColl}" itemRenderer="PageImageRend...