Hello,
I'm warming up w/ AS3 robotlegs framework. I'm working on a FLEX 4/AIR Application which uses Twitter OAUTH API, my question is : where should I put my "navigateUrl" instruction so the use can authorize my token?
Is it in an Actor or in my view?
Thanks !
...
Using org.as3commons.reflect I can look-up the class name, and instantiate a class at runtime. I also have (non-working) code which invokes a method. However, I really want to set a property value. I'm not sure if properties are realized as methods internally in Flex.
I have a Metadata class which stores 3 pieces of information: name,...
I've got content coming into my application using a query and an ArrayCollection. I know how to display the content into a DataGrid by using the dataProvider propriety, but I'd like to use TextInput components and drop the DataGrid altogether.
Does anyone have any examples or information on how I would go about doing this?
Thanks!
Tha...
I am trying to figure out the best way for doing spellcheck in flex application.
I need a support of multiple languages, like: english, russian and so on. Also, I don't need a realtime spellchecking, only in some particular moment(for example, user click button: "check my text"). I found clientside solution here - flex:SpellCheck , but ...
I am working in flex builder 3 with an XMLListCollection and have run into this (should be simple) parsing snag...
The XMLListCollection Data:
<data>
<term name="NUMBERS">
<alt_form name="1"/>
</term>
<term name="LETTERS">
<alt_form name="A"/>
<alt_form name="B"/>
<alt_form name="C"/>
</t...
Hello,
I am using an AdvancedDataGrid to display hierarchical data. My data is an ArrayCollection of custom objects, which have a bunch of simple properties and one property containing a list of childelements.
I am binding this ArrayCollection as a source of HierarchicalData to the dataProvider property of the ADG.
Here is the proble...
Python's repr function is awesome: it returns a printable representation of an object.
For example, repr(["a'b", {1: 2}, u"foo"]) is the string '["a\'b", {1: 2}, u\'foo\']'. Notice, eg, how quotes are properly escaped.
So, is there anything like this for ActionScript?
For example, right now: [1, 2, ["3", "4"]].toString() produces the ...
I'm using AlivePDF to create a PDF file, then save it to the desktop. I can then use an HTMLLoader to display my lovely PDF file.
Now, the print button in Adobe Reader works fine. However, there will be young children using the app, so I'd like to have a big "Print" button right above it.
I figured I could just start up a print j...
this is not a technical question, well maybe potentially, but since this is such aresponsive messageboard I thought I would get some good responses here.
I am due to create a pretty robust website coming up soon that has to be creative but also incorporates a lot of data. My perspective, as a newcomer to flex, is that it is better for a...
How do I use crossdomain with ftp?
I am trying to do a "hello world" level test of FTP in Flex, but for three days now, I cannot overcome the issue with how to coerce flex into accepting my crossdomain policy - even for testing purposes.
Here is my code: The exact error text follows.
<?xml version="1.0" encoding="utf-8"?>
<mx:Applicat...
How is a file hosted on one particular port vs another port? In order to get my flex program to do anything, even on localhost, I apparently have to accomplish this, but although I know how to FTP my crossdomain.xml to my GoDaddy server, I don't even begin to understand the meaning of hosting it on port 843. I don't even know where to ...
LCDS Data Management via <mx:DataService> (only available with fds.swc from LCDS) can do pagination and data sync, but FlashBuilder 4 + Flex4 can do them as well! See the following Flex4 + FlashBuilder 4 tutorials:
Manage the access of data through paging
Using Data Management to Synchronize Data Updates
How do these 2 data managem...
I keep wondering about this to try to improve performance and size of my Flex swfs, how do classes vs. static methods vs. instance methods impact performance and the final compiled "executable's" size? Thinking how it might be possible to apply something like HAML and Sass to Flex...
Say I am building a very large admin interface with...
I'm trying to build my Flex/Java web app from within IntelliJ rather than have to go to the command line to invoke the build from Maven.
Everything is working and compiling fine from IntelliJ except for the fact that the HTML wrapper file for the compiled SWF is not getting processed correctly; in that the ${values} are not replaced by ...
Hey everyone,
My Flex application is successfully calling functions in a JavaScript file through the ExternalInterface class when these are in the bin-debug folder and the JS file is located in the same directory as the Flex app.
But when I test the Flex app on the server, it is not interacting with the JavaScript. The only difference...
Hey everyone,
I am calling a JS function through the ExternalInterface using Flex which requires the absolute X and Y coordinates to create a pop-up menu. The Flex application is displayed on the center of an HTML page, therefore there is an HTML X and Y offset to consider.
I have tried using the LocalToGlobal and ContentToGlobal funct...
I want to convert the following code to ActionScript (mxml works fine):
<mx:Panel title="Some Title" width="400" height="300">
<s:Scroller width="100%" height="100%"/>
<mx:ColumnChart id="myChart" attribute="..." />
This doesn't work straight forward:
setupChart(); //setup myChart
var scroll:Scroller = new Scroller();
scroll.p...
I want to make custom dictionary component that loads data from external xml and shows the related meaning.
Here is XML file
<glossary>
<alphabet id="A">
<term heading= "Anchor" definition="A mechanical device that prevents a vessel from moving"/>
<term heading= "Atlas" definition="A collection of maps in book form"/>
</alphabet>
...
I write a code which is return the following XML which contain in a string type variable.
<imageedit>
<matrix a="0.5213903738845257" b="0" c="0" d="0.5213903738845257" tx="559.6" ty="1.0784769629138395"/>
<cutout x="0" y="0" width="400" height="568"/>
</imageedit>
Now i want to multiply all the nodes with 3 and again store in tha...
Hi Friends,
I think there is bug in Flex charting.
"DATETIME AXIS DOES NOT SUPPORT SERIES STACKING IN CERTAIN CASES WHILE LINEAR AXIS AND CATEGORY WORKS FINE IN SIMILAR CONDITIONS"
This happens for 'clustered' and 'stacked' types when each series has its individual data provider. If data provider is assigned with chart itself it will ...