I have an AdvancedDataGrid with a ArrayCollection as its dataProvider. For instance i have a CheckBox that allows me to show or hide certain rows in the AdvancedDataGrid.
Any idea how i could do that?
...
Hi
I am using ASDocr, which is an Adobe AIR application GUI interface for the command-line Flex asdoc documentation generator. My class uses several external libraries and it is generating a 1046 error when creating the documentation:
/Users/mga/Documents/FDT Workspace/vgline/src/com/pingpongestudio/timeline/Timeline.as(1569): col: 39 ...
I am builder a graph that is going to cover an entire month. The user may change the Month/Year but there is no point in choosing a date for the month as it is going to show the entire month anyways. So is there a way to maybe make the DateChooser date always the first and only allow the user to pick the month and year?
Thanks!!
...
I'm developing an engine to generate components.
I been wanting to get my xml script that read and create a component to be load into 'content' canvas. I not sure how do I get the addChild work correctly as in 'content'.addChild instead of the one shown below:
private function sidebar():void {
xmlReq = new URLRequest("sidebar.xml");
...
Hi all, I'm trying to put an image, generated from some text, in a RichEditableText. Since it's a styled text, I thought about putting it another RichEditableText, style it, then print it to a Bitmap to use as source for InlineGraphicsElement.
I use the following code to do that
var txt:RichEditableText = new RichEditableText();
txt.te...
I want to extend my function to a better design to where I can pass a canvas object into so I don't have to write N functions.. I'm not sure as how to do this properly I've come up with a naive design with a switch but even then if I add another canvas I still need to write new code for the new canvas.
function fadeCanvasOut(event:Timer...
Is it any way to prevent user to go to specific web-pages using Adobe AIR framework.
I want this software to run at startup and not allowing user to surf some web parts.
I want to use Adobe AIR beacause of its crossplatform capabilities.
...
I'm doing a drag and drop operation on a tree using some help from Adobe's quick Starts:
http://www.adobe.com/devnet/flex/quickstart/working_with_tree/
The code suggested is roughly this:
var dropTarget:Tree = Tree(evt.currentTarget);
var i:int = dropTarget.calculateDropIndex(evt);
myTree.selectedIndex = i;
var node:XML = myTree.select...
I have a C# web service that returns a DataSet with multiple DataTables. It's easy enough to get at the data using this web service event handler in Flex:
static public function getData_Handler(event:ResultEvent):void
{
for each(var table:Object in event.result.Tables)
{
// ...
}
}
How can I access the name of ea...
I've seen a lot of other developers refer to threads in ActionScript functions. As a newbie I have no idea what they are referring to so:
What is a thread in this sense?
How would I run more than one thread at a time?
How do I ensure that I am only running one thread at a time?
Thanks
~mike
...
I need to get a grip on arrays and XML data but I'm having trouble understanding how to turn xml data into useful data. I was hoping these forums might provide some insight.
I load my XML with this code:
//set values for XML data file
private var XML_URL:String = "http://www.mysite.com/media/locXML.xml";
private var locXML:XML = new XM...
Hi everybody,
I have a Tree Control inside my Flex Application which I want to edit on a doubleclick on a tree item. I found the properties doubleClickEnabled="true", doubleClick="startEditMode()", and editable="true". With these functions I can detect a double click and I can change the editable property to true based on a double click...
OK I've got a little more research on this done so I'm going to totally rephrase the question:
I have two trees, I want to be able to drag items from one tree to the other. In the receiving tree I have some logic that allows or denys the drop. I am using the native cursor feedback Like this :
DragManager.showFeedback(DragManager.COPY);
...
Hi all,
I have the following code which gives me a error. I want to add the width property programatically and in %:
firstcombo.width = 90%;
But that gives me the following error:
1084 syntax error expecting
rightparen before colon
How is the correct syntax?
Greetings
Markus
...
I have a simple html doc with a flex app and an iframe side-by-side (using a 1x2 table).
There is a button in the flex app that, when clicked, sets the "src" property of the iframe to a URL by using the ExnternalInterface.call method to call a javascript function "doNavClick(url)".
Or that's the idea.
When I comment out the iframe obj...
I need to figure out how to shut down the computer from an Adobe AIR application. I have been trying to figure out how to do this, and without success.
...
I'm new to flex and I am building a wrapper class for the WebService object to make my main code mxml cleaner. I am trying to pass a function to a class method to set as the result event handler for the soap call and it is not working as expected.
Here is the class:
package
{
import mx.rpc.events.ResultEvent;
import mx.rpc.soap...
Hi guys,
I have a question regarding mapping and entities/domains with Flex/Spring mapping via BDS. I currently have domains mapped to tables, and I am working off existing code to try and change the logic from web services to work with Blaze.
Now, i came across a value object used previously that mapped to a datagrid, but that value o...
I need a hierarchical grid that shows data in columns for the parent rows as well as the child rows.
- a parent | 1234 | data | data |
a child | 2222 | data | data |
a child | 212 | data | data |
I've tried to make ADG work, but by default it has all columns except the grouping column blank for parent rows. I think I could use ...
I want to have a summary row at the top of an AdvancedDataGrid that is not actually a summary of the values in the row: I want to stuff values in there "by hand".
I have no problem writing an ItemRenderer that will figure out which header cell it's showing and lookup the value I want in there. I just don't know how to create the second ...