I'm trying to compile gui/flex/songs.mxml in the fourth edition of Bruce Eckel's Thinking in Java book and am getting a compilation error with Flex 3.4.
Here is a simplified version of the example that gives the same error:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml"
backgroundCo...
My ant buildfiles tell mxmlc.jar to recompile target mxml source. However, if the target mxml source file has not changed, either ant or mxmlc is ignoring the file and will not create a new swf. This is an annoyance because I'm editing files imported by the target mxml. I need it to rebuild when those files change. I'm guessing that ...
override public function set data(value:object):void {
super.data = value
}
Is this function only called when i have a itemRenderer or i can override this method in any other page or component to get the data of previous ones.
...
In Flex I want to create XML variable like this but parser complains about CDATA in publisher tag:
<mx:Script>
<![CDATA[
private var myXML:XML = <book>
<name>AatII</name>
<author>gacgtc</author>
<pages>0</pages>
<publisher><![CDATA[Journal name]]></publisher>
</book>;
]]>
</mx:Script>
But this works fine:
<mx:X...
I get a really strange security error when trying to load data from one URL to another. Essentially my facebook canvas URL points to http://www.tonyamoyal.com/stuff/path/ and that has an fb:swf tag which points to http://www.tonyamoyal.com/stuff/path/Quiz.swf. The facebook app loads fine but when I try to call a service that resides on...
Given this code:
var circle:Sprite = new Sprite();
circle.graphics.beginFill(0xFFCC00);
circle.graphics.drawCircle(0, 0, 20);
var uiComp:UIComponent = new UIComponent();
uiComp.x = 100;
uiComp.y = 100;
uiComp.measuredHeight = 0;
uiComp.measuredWidth = 0;
uiComp.addChild(circle);
addChild(uiComp);
Why does changing the width and ...
I'm trying to understand how the Flex framework draws objects (Button, Label, Image, etc.). The Button class seems to draw itself by addChild()ing its ProgrammaticSkin. However, where in the framework is the Graphics object being passed around in the hierarchy to achieve the drawing. I want to get to the level of 2D API.
...
Hello!
I have some images I would like to display in TileList in Flex. My TileList dimensions are 2 columns by n rows. What I want to do is to display the first item (row 1, column 1) empty and not clickable, and to start displaying my items from row 1, column 2. Is that possible?
I also wonder when I create click event for the same Til...
Hi I want to get the selected accordion child in flex. may be the number of child i click on that, or open it.
Why i get the currently open child by getting through header click.?
...
Hello,
I would like to know if it is possible to create a Flex application accepting the drop of local files?
The aim is to only retrieve the full path/name of the file in the local file system.
Google results are mainly about dragging and dropping items inside a flex application.
Thank you in advance.
...
We're currently building a Flex application using the PureMVC framework with a shell.swf which loads/unloads modules dynamically. We're experiencing issues with memory and we're looking to replace the shell.swf with a JavaScript-based loader.
Two questions:
What would be a good framework to dynamically load the Flex components and all...
I have a custom item renderer that displays images:
<mx:DataGrid dataProvider="{friends.friend}" id="friendsGrid" width="240"
rowCount="3" variableRowHeight="true" headerHeight="0"
horizontalCenter="true" backgroundAlpha="0" borderThickness="0"
useRollOver="false" selectable="false">
<mx:columns>
<mx:DataGri...
can anybody tell me where can i find some tutorials/ sample code on how to stream a webcam using ActionScript 3
...
Hello all!
I have been making a simple aplication and i have a problem i cannot find the solution (neither why it is happening)
The thing i want to do is to dynamically add a canvas containing a button to the application and then i want the canvas to be moved from the left side of screen to the right.
So i have made the following code...
Hello, Friends!
I use the Flex Builder 3 to develop a client app for Java Server. The client communicates with the server by means of a WebService.
If I work with webservice operations that do not use parameters or use only simple types (String, Number ...) as parameters - all goes well. But If I use operations with complex types such ...
I am building a scheduling system. The current system is just using excel, and they type in times like 9:3-5 (meaning 9:30am-5pm). I haven't set up the format for how these times are going to be stored yet, I think I may have to use military time in order to be able to calculate the hours, but I would like to avoid that if possible. But ...
Is there a debugging tool for Flex that functions like Silverlight spy or FireBug?
...
How can i detect my client's screen resolution .. in Flex??
Zee
...
Hi,
I am using a ContextMenu for an AdvancedDataGrid in my application. I could implement the normal context menu for the grid. Now, I am planning to make the context menu dynamic.
For example, if I click on a particular cell, I need to see only the items related to that cell in the Context Menu. Is there any way we can do that?
...
I have an AdvancedDataGrid that has a couple AdvancedDataGridColumnGroup's I would like each group to have an extra column, that shows the total of all the other columns in the group. I also need to use my own calc function to calculate the totals. Is there anyway to do this? I hope I explained this well.
Thanks!!
...