For days I am looking for a solution how to realize a content overflow for a
box that uses percent width/height or constraints. I will try to describe it
a bit detailed. OK, I create a VBox that uses constraints to set the
position in a component. The VBox contains other children, which can be
For a current project I have to create an dynamic formular designer, with
which the User can create it own formular. The prototype work well, but when
I create a new control and add it's into the stage, it is full accssesible.
I would like to suppress in this case the user interaction for the
In Flex 1.5 there
was a way to get the reference of a DataGrid cell by using
listOwner.rows[1].cells[1]. The same I try to do in Flex 2. I've tried to get
the reference in my itemRenderer by using listData.owner.indexToItemRenderer(1).
But in a itemRenderer the owner variable haven't any
in a
itemRenderer
Na Kollege :)
You probably only have to cast listOwner to DataGrid to make it work, i.e.
DataGrid(listData.owner).indexToItemRenderer(1);
Cheers,
Dirk.
Von: flexcoders@yahoogroups.com im Auftrag von Artur Kordowski
Gesendet: Mi 26.07.2006 11:56
How can I create in a loop variables dynamicly?
Like this:
for (var i:uint=0; i == 10; i++)
{
var myVar_i:String = new String();
}
Any idea?
Artur
Yahoo! Groups Sponsor ~--
Check out the new improvements in Yahoo! Groups email.
] Create variables dynamic in Flex 2
- Original Message -
From: Paul Andrews [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 26, 2006 3:04 PM
Subject: Re: [flexcoders] Create variables dynamic in Flex 2
- Original Message -
From: Artur Kordowski [EMAIL
In Flex 1.5 there
was a way to create a function and pass optional arguments to it, and get them
in the function using arguments[0].
private function
foo():Void
{
var arg = arguments[0];
}
When I try it to do
in Flex 2 I've got still an 'Inccorect number of arguments'
error.
Have
in Flex 2?
you need to use the 'rest' parameter its an ellipsis
(...)details here:http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1834.html
On 7/25/06, Artur
Kordowski [EMAIL PROTECTED]
wrote:
In Flex 1.5
I've created an
itemRenderer for a DataGrid and set a backgroundColor. But when the DataGrid is
rendered I have still top 1px and bottom 2px white space (look at sample image).
Can any one tell me how I can remove it, so that the background fill the cell
without spaces?
Artur
__._,_.___
: Re: [flexcoders] How to remove
DataGrid itemRenderer top Bottom spaces
have you tried to set paddingTop, paddingBottom to 0
?another possible reason is the rowHeight of DataGrid is just too high,
try shorten it.Jeremy.
On 7/20/06, Artur
Kordowski [EMAIL PROTECTED]
wrote
For set a object
type coming form a webservice we've created in Flex 1.5 a objectToClass
function:
public static
function objectToClass(obj:Object,
constructorFunction:Function):Void{ obj.__proto__ =
constructorFunction.prototype;
constructorFunction.apply(obj, []);}
The function call
@Tom
Why not use a delegate ?
The delegate class is not longer available in the flex framework, so I
can't use it.
@Jester
I've got still an error. Here my code how I've build
it.
Service.mxml - subclass from ServiceLocator
?xml version="1.0"
@Tom
Why not use a delegate ?
The delegate class is not longer available in the flex framework, so I
can't use it.
@Jester
I've got still an error. Here my code how I've build
it.
Service.mxml - subclass from ServiceLocator
?xml version="1.0"
I setup an new
Project in Flex 2 using Cairngorm 2 and now I'm trying to handle result/fault
coming from a webservice. I created a subclass of ServiceLocator for the
webservice. When I debug the call it works and I get data:
var call:AsyncToken
=
14 matches
Mail list logo