I'm looking to build a library that needs to be very careful about memory management. Basically, I have to create a static factory to "disperse" instances of my tool to requesting objects. (I don't have a choice in this matter, I really do have to use a singleton) We'll call that class FooFactory. FooFactory defines a single method, getF...
I'm trying to work on postgresql locally with ubuntu 10.04. I get this error after I configure with
./configure --enable-cassert --enable-debug --prefix=$HOME/pgsql
when I make && make install I get this error:
make -C parser all
make[3]: Entering directory `/home/james/school/db/pg-stuff/hw1/postgresql-8.4.2/src/backend/parser'
E...
Hi there,
I'm making a flex 3.5a/air2 application and I've made a popup window but I can't seem to get its bottom corners rounded. Setting cornerRadius seems to only affect the top corners.
There doesn't seem to be a roundedBottomCorners property like there is for panels, and adding a controlbar with a cornerRadius also has no effect...
Hi,
I have a mp3 that is retrieved from the server via "somepage.php?id=100". When I load this into spark VideoPlayer it doesn't work. But when I copy that URL and put it into the browser URL I get a dialog that asks if I want to download "sound.mp3".
please help
...
Hi,
I'm using Flash CS 5 and Flex 4, both to build an AIR application for android. I would like to know how to allow the user to move content(image or text) up and down(like a map,in this case only vertically).
...
I'm looking for a new, modern components with enhanced functionality for working with graphics and text.
For example by mouse over to the text appears a icon click on that appears a panel into which you can change the font, font size, font color, letter-range, etc.
With graphics by pointing resizing handles appear, rotation, reflection...
Hi all!
I have a datagrid in Flex 4 with a NumericStepper as editor for a numeric value. I can set pre-defined maximum and minimum values for the NumericStepper, but I need to be able to have different limits for each row in the DataGrid. How can I do this?
This is the code for the datagrid:
<mx:DataGrid x="0" y="45" width="272" heig...
I understand that one can use local-specific ResourceBundles in combination with DateFormatters to format dates according to locale. However this is a manual process - is there an automatic way to do this or to set a default for the application?
In Java for example, all your dates will automatically appear in dd/mm/yy or mm/dd/yy format...
Hi guys,
I have an AdvancedDataGrid with Hierarchical data in it. On itemClick I have to identify if the row I clicked is expanded or collapsed.
Any ideas?
...
Greetings,
I am developing a project with Flex, and I need to deploy my project in a form which can be used by developers who do not have access to Flash Builder.
I've found references to plugins from Faratasystems, but it appears their sourceforge site is a little bit rusty. I could not find an up to date installation file that'd incl...
I'm having problems with this xml example. What I'm trying to do is create an XML file with information on at least 20 pictures, organized in four or five categories. Each category needs to have a name associated with it, and each picture needs a name, width, height, description, and filename for thumbnail. I also need to add a Tree co...
In other words: Can I respond with a 304 and have it "just work"?
...
I have read on the adobe website that you could use php with flex.I know for applications to run on the desktop they have to be a .air format,like most tweeter desktop clients.I am therefore curious,wont one need things like apache and mysql for your app in php and flex or is everything transformed into a single .air including all your w...
On creation complete my parent component executes an "init" function which simply sets public bindable variables in child components. I'd like the child components to watch these variables and upon being set use them. However, for some reason the ChangeWatcher is not firing with the change of the variable. Below is my code; anyone see wh...
I am creating the standard "Click to add row" control but I really don't want to dirty the dataProvider with a "placeholder" since it is bound to the model and could end up in the database. Is there a way to add a row that isn't represented in the dataProvider? I started down the road of adding an item directly to listItems but then that...
All,
While this is similar to another post, that post (does not indicate how to perform this (if it can be done) without instantiating an object. Also, without success I have tried multiple variations on the theme of:
class[method](arg)
class[method].call(arg)
method.apply(class, arg)
I am new to Flex, but have used Reflection in bo...
I'm trying to refactor a package name (pretty near the root of the project hierarchy), and I'm getting the following error (flash builder 4):
A fatal error occurred while performing the refactoring
An unexpected exception occurred while creating a change object. See the error log for more details.
The log file looks like this....
!...
Hi,
I'm wondering what the best tool is for developing a mobile UI is. My requirements are that I retain full control over the look and movement of every UI component. I think Flex might be the best way to do this but I can't tell if I'll have that level of control using their UI components.
Any links would be appreciated. Thanks!
Edi...
Hi,
I'm getting the "Component declarations are not allowed here error" where I've got my RadioButtonGroup. Below is the custom component.
Why can't I put a RadioButtonGroup in it?
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<![CDATA[
import mx.controls.Radi...
Hi all ,That's my code .
import fl.controls.*;
var MyText:TextArea = info_txt;
var score:XML = new XML(<score/>);
score.PlayerName = "Maged";
trace(score);
Here I create a new XML date , I want to write these data to an external text file to use it by PHP but I don't have much information about it .
Note i want to append to the tex...