ant.apache.org is a good place to start. The replace task allows you
to replace strings in a file. The buildNumber task gives you a updated
buildNumber per build. I looked into it, and i start to think that
Cato has a valid point though. It is not easy and it is not as perfect
as a Flex Builder int
I'm not sure if it is necessary to change FlexBuilder to do this. Have
you tried a ant script running as a builder before your flex build.
Cheers
Ralf.
On Tue, Jan 27, 2009 at 10:40 AM, Cato Paus wrote:
> https://bugs.adobe.com/jira/browse/FB-16764
>
>
doesn't try catch help here? If no error is thrown, isset returns true
ralf
On Sun, Jan 18, 2009 at 1:46 PM, dorkie dork from dorktown
wrote:
> I have a PHP statement that I am trying to write in AS3. So far it errors
> out because the properties do not exist on it yet. How would/should I
> rewr
Why do you want to use JSON? You can pass in plain objects instead, e.g.
ExternalInterface.call("someJSMethod", { a: 1, b: { c: true, d: "hello"} } );
Ralf.
On Mon, Jan 12, 2009 at 7:55 PM, flexaustin wrote:
> I can't really post the code. The issue is either I think is either
> one of two thin
Maybe nobody is listening when you dispatch the event? How do you add
the listener?
Ralf.
On Mon, Jan 5, 2009 at 8:42 PM, markflex2007 wrote:
> But it works with button click event like following.
>
> http://www.adobe.com/2006/mxml"; >
>
> [Event(name="loginEvent", type="flash.events.Event")]
>
It would be in the spirit of Cairngorm to fire off a EnterRoom event,
which triggers a EnterRoom command. The command calls a enterRoom
method in some model. The TabNavigator binds to this model and
updates itself, whenever the model changes
With kind regards,
Ralf.
On Sun, Jan 4, 2009 at 7:49 A
I had one (1.8 Atom) for a day and decided to send it back. It was too
weak to scroll large websites, so i don't even bothered to install
something like FlexBuilder.
Ralf.
On Fri, Jan 2, 2009 at 7:09 PM, hworke wrote:
>
>
> Hi now a days the stores are full of those $300 to $500
> mini notebooks
I wonder if people see problems with teams of Mac & Windows machines?
We sometimes see some problems, and i wonder if the problem comes from
a Mac user, who joined our Team lately. We share some of our Workspace
settings via SubVersion. We don't use absolute pathes in our settings
though.
Cheers
R
There is another difference. You can assign a * variable to anything
else while an Object variable needs to be casted.
var x : *;
var y : Object;
var string : String;
var uicomp : UIComponent;
var bool : Boolean;
var num : Number;
var arr : Array;
var i : int;
var obj : Object;
string = x;
strin
Flex is more interactive? This must be a misunderstanding. Flex is
really more about enterprise development process, less about
technology. And it is not concerned about size, just features. Your
500k Flex widget is 20k in Flash probably.
Ralf.
On Thu, Dec 18, 2008 at 10:02 PM, Alan wrote:
> It
If you go for size, i'd use Flash. There is nothing wrong with it, as
you are not developing a enterprise application with a big team.
Cheers
Ralf.
On Thu, Dec 18, 2008 at 5:50 AM, Josh McDonald wrote:
> I definitely agree with you Gabriel, you wouldn't catch me doing a non-Flex
> Flash project a
Hi guys
I'm in the process of choosing a new machine to be placed under my
christmas tree :). I wonder, if anybody has some experiences with 64
bit machines and FlexBuilder? Does it run at all? What is the
performance like? Does it make use of lots of RAM?
Cheers
Ralf.
You can use arguments.callee to let a anonymous listener remove itself.
Cheers
Ralf.
On Fri, Dec 12, 2008 at 7:23 PM, Alex Harui wrote:
> I think Amy's point is that, w/o a reference to the anonfun, you can't call
> removeEventListener on it. If I do:
>
>
>
> someObj.addEventListener("foo", f
Dec 10, 2008 at 12:02 AM, Amy <[EMAIL PROTECTED]> wrote:
> --- In flexcoders@yahoogroups.com, "Ralf Bokelberg"
>
> <[EMAIL PROTECTED]> wrote:
>>
>> Hi Amy
>>
>> Afaik this is not possible in Flashplayer. A block of code is always
>> runni
Hi Amy
Afaik this is not possible in Flashplayer. A block of code is always
running through without any interuption. Colin Moock has a good
chapter of how all this works in his nice AS3 book.
Cheers
Ralf.
On Tue, Dec 9, 2008 at 3:44 PM, Amy <[EMAIL PROTECTED]> wrote:
> I actually had this ver
I'm confused. Let's clarify what we are talking about.
The event dispatching is fully synchronous.
If you call dispatchEvent, all event handlers are called, before the
next statement is executed.
Some processes (eg loading something from the backend or a timer)
dispatch events in an asynchronous
> BUT... that dispatchEvent() call executes *synchronously*.
That's always the case with Flash/Flex.
Cheers
Ralf.
On Mon, Dec 8, 2008 at 7:49 AM, Jules Suggate <[EMAIL PROTECTED]> wrote:
> Anyone used Parsley MVC? I'm a bit confused by it.
>
> There's the standard MVC FrontController class, whic
If you want to call the current function recursively, you can use
arguments.callee
function something( count : int )
{
trace( count );
if( count > 0 ) arguments.callee( count-- );
}
Cheers
Ralf.
On Tue, Dec 2, 2008 at 1:02 AM, Josh McDonald <[EMAIL PROTECTED]> wrote:
> That'll only work
You don't have to write them in ActionScript style. Flex understands
background-alpha as well as backgroundAlpha. I guess you are talking
about some external validator for the css, or?
r.
On Sun, Nov 23, 2008 at 2:27 AM, Rick Winscot <[EMAIL PROTECTED]> wrote:
> Are you getting Flex compiler erro
That is the normal behaviour of the GC. It only runs, if it is
necessary. You could try loading/unloading your module 1000 times to
see if you really have a leak.
r.
On Wed, Nov 19, 2008 at 9:29 PM, sailorsea21 <[EMAIL PROTECTED]> wrote:
> Hi everyone, I think I'm having some issues with memory le
Your assumption is correct. However - if make some backend calls, they
might still come back in a different order.
r.
On Wed, Nov 19, 2008 at 8:38 PM, rviswanathan
<[EMAIL PROTECTED]> wrote:
>
> I have a flex module where events get dispatched based on user clicks. The
> user can click on several
anks,
>
> with Regards,
> Jitendra Jain
>
>
>
> From: Ralf Bokelberg <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Monday, 10 November, 2008 12:46:12 PM
> Subject: Re: [flexcoders] Observer pattern
>
> Afaik the g
Afaik the gc only runs, if the player is running out of memory. What
makes you think, that your popup doesn't get garbage collected?
Ralf.
On Mon, Nov 10, 2008 at 6:08 AM, jitendra jain
<[EMAIL PROTECTED]> wrote:
> Hi friends,
>
> I'm using Observer pattern to create popups in my application.But
This might have to do with the security restrictions of the flash
player. The swfs seem to be runnning in different sandboxes and
therefore cannot communicate. Have a look at the documentation about
flash player security.
Ralf.
On Mon, Nov 10, 2008 at 6:55 AM, [EMAIL PROTECTED] Uttarwar
<[EMAIL P
You can provide your own sort function, which sorts your special entry
at the top.
Alternatively you can use the prompt propertyof the combobox. It is
shown if the selectedIndex is set to -1
Cheers,
Ralf.
On Sat, Nov 8, 2008 at 3:07 PM, Mark <[EMAIL PROTECTED]> wrote:
> I'm trying to sort an array
Maybe you can add name="{label}" to the children?
Ralf.
On Sun, Nov 2, 2008 at 11:20 AM, Mic <[EMAIL PROTECTED]> wrote:
> myTabBar.selectedIndex =
> myTabBar.getChildIndex(myTabBar.getChildByName(e.label)); does not
> work because the child name is not the tab label text. How would I do
> this? T
top is not a property, it is a style.
The solution is to use setStyle instead of setProperty
Ralf.
On Tue, Oct 28, 2008 at 10:34 PM, Adrian Williams
<[EMAIL PROTECTED]> wrote:
> All,
>
> Ok, so this is a bit infuriating...how is it that this is choking on my
> setting a "top" property from w
Unfortunately it is not that easy.
The Flex/Flash TextField displays a small subset of html only, eg. a,
p, b, i, u, li, font and br. All the other tags are ignored
A common method to display a full fledged html page is to place a html
iframe on top of the Flex application.
Alex Harui showed a expe
includeInLayout=false maybe?
On Mon, Oct 20, 2008 at 9:57 PM, flexaustin <[EMAIL PROTECTED]> wrote:
> Is it possible using MXML, not AS3 classes, to keep an item out of the
> updateDisplayList and/or the measure() method?
>
> I have an icon that is 30px by 30px and needs to remain centered
> withi
I see. Have you tried a binding function to do this?
wrote:
> I wanna format the datas receive before passing them to dataProvider
> of the repeater.
>
> --- In flexcoders@yahoogroups.com, "Ralf Bokelberg"
>
> <[EMAIL PROTECTED]> wrote:
>>
>> I
I'm not sure if you can subclass mx:Repeater. What are you trying to
do with your repeater subclass?
Ralf.
On Mon, Oct 20, 2008 at 12:16 PM, lysfael <[EMAIL PROTECTED]> wrote:
> Re,
>
> I made a component based on the repeater, to have the control on the
> datas.
>
> and i use it like i should us
same domain as the application, but no luck there either :(
>
> - Original Message
> From: Ralf Bokelberg <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Friday, October 17, 2008 2:36:19 AM
> Subject: Re: [flexcoders] Module Interfaces Inheritance question
Hi Purush
I think iAppModule needs to go into a library project, which is
referenced by the modules but marked as external, while it is embedded
completely in the main application.
Ralf.
On Fri, Oct 17, 2008 at 2:51 AM, purush_y <[EMAIL PROTECTED]> wrote:
> Hi,
> I did a basic search on this to
What about creating a empty project, which contains your settings and
copy this stuff over to the new project?
Cheers
Ralf.
On Thu, Oct 16, 2008 at 7:41 PM, Mark Lapasa <[EMAIL PROTECTED]> wrote:
> bumpanybody?
>
>
> Mark Lapasa wrote:
>
> How can I edit the index.template.html so that everyti
I've done it in Cairngorm before. My business delegate extends the
flash.utils.Proxy class and forwards all the calls to the backend. To
make this work, you have to make the delegate dynamic though. This
means you loose some type safety.
Ralf
On Sat, Oct 4, 2008 at 12:42 AM, frank_sommers <[EMAI
Hi Ilike
Can you make sure, that AutoInsurance is added as a application to the
project properties?
Cheers
Ralf.
On Mon, Sep 29, 2008 at 7:37 PM, ilikeflex <[EMAIL PROTECTED]> wrote:
> Hi
>
> I am using module to create application.I have taken sample from
> http://blogs.adobe.com/flexdoc/2007/0
arguments.callee?
Cheers
Ralf.
On Sat, Sep 27, 2008 at 2:12 AM, Matt Bennett <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> In certain javascript libraries I've used previously, there is the
> ability to create a single-fire event listener -- one that
> automatically removes itself as a listener immidi
describeType gives you the names of public properties.
You would have to retrieve all the function properties and compare
them to your callee to know which name it has.
Cheers
Ralf.
On Thu, Sep 25, 2008 at 6:38 AM, frank_sommers <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm looking for a way to obtain
Actually i always found Flash/Flex to be rather good in converting
images. What exactly is your workflow?
Cheers
Ralf.
On Wed, Sep 24, 2008 at 4:46 PM, semelak1 <[EMAIL PROTECTED]> wrote:
> Where can I get it from ?? I thought it is not yet available !!
> My project is pending because of these lo
any classes into the swf of the class making that call.
> It returns a String, which you can then use with getDefinitionByName()
> without ever knowing (or referencing) the Class object.
>
> -Josh
>
> On Wed, Sep 24, 2008 at 5:52 PM, Ralf Bokelberg <[EMAIL PROTECTED]>
>
Hi Josh
Does it work without the class beeing linked to the project? Is it a
compiler instruction?
Cheers
Ralf.
On Wed, Sep 24, 2008 at 9:19 AM, Josh McDonald <[EMAIL PROTECTED]> wrote:
> getFullyQualifiedClassName(instance);
>
> -Josh
>
> On Wed, Sep 24, 2008 at 5:
I don't think this is possible, unless you put the class name in a
string property of your object. If you want to use introspection (eg.
is, instanceof, describeType), the class itself has to be available,
otherwise there is nothing to introspect really.
Cheers
Ralf.
On Wed, Sep 24, 2008 at 12:53
Also shouldn't it be
BindingUtils.bindProperty(this,"xyz",MyModel.getInstance(),"someVar");
Note the "()" after getInstance
r.
On Tue, Sep 23, 2008 at 1:21 PM, jitendra jain
<[EMAIL PROTECTED]> wrote:
> BindingUtils will automatically notify "this" object about Property change
> event.
> Make sur
Is this a technical or a grandmas-complaining-about-managers forum ? :)
You can probably add capturing phase listeners to the SystemManager
and filter out the events your managers dont like ;)
Cheers
Ralf.
You might want to have a look at this excerpt from Colin Mook's AS3 book:
http://www.moock.org/blog/archives/000235.html
It should give you a good understanding of how rendering works in Flash/Flex.
Cheers
Ralf.
On Mon, Sep 22, 2008 at 7:15 PM, Ralf Bokelberg
<[EMAIL PROTECTED]> wro
Afaik the Flashplayer does this for you. Nothing is rendered as long
as you are in a script. You can try to draw a line and then do a
simple while loop for 5 seconds. You will not see any updates of the
screen.
Cheers
Ralf.
On Mon, Sep 22, 2008 at 5:05 PM, Samuel Colak <[EMAIL PROTECTED]> wrote:
Yes, this took me some time before as well. Actually, Eclipse doesn't
run from the folder in your workspace but from a internal folder in
the .metadata directory named
.metadata\.plugins\org.eclipse.wst.server.core
For some reason Eclipse stops copying the stuff into this directory
sometimes. As fa
That's crazy :) Can you post a small piece of the xml?
Cheers
Ralf.
On Wed, Sep 17, 2008 at 9:09 PM, cjsutherland <[EMAIL PROTECTED]> wrote:
> Once again, I've hit a roadblock with Flex for something that should
> be easy as pie.
>
> Here's the problem: I'm loading in an XML feed from Flickr, a l
i dont know, if the mxml task has an option for it, but ant has the
copy task, which gives you a lot more flexibility i guess.
cheers
r.
On Tue, Sep 16, 2008 at 4:08 PM, srikanth_reddy_007
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using the Ant script to compile my mxml files and Using the Flex
>
completely separated, but the packages can have the same structure/name
r.
On Sat, Sep 6, 2008 at 11:37 PM, ibid049 <[EMAIL PROTECTED]> wrote:
> Just an organizational question.
>
> If you have a client-server app in flex, and you have your domain-
> specific package structure, e.g. com.yahoo.grou
bindSetter?
Cheers,
Ralf.
On Mon, Sep 1, 2008 at 6:32 AM, Josh McDonald <[EMAIL PROTECTED]> wrote:
> Numbers can't be null, and you might need to use your own watcher function
> if you'd like to return NaN rather than 0 when the text is empty.
>
> -Josh
>
> On Mon, Sep 1, 2008 at 2:08 PM, jitendra
> Perhaps it's time to start hosting with MacPro servers and looking more into
> QuickTime, if the worst is found to be true.
Hm. I always found to be Apple the personified greed. For example
IPhone developers are not even allowed to talk to each other. This is
just plain ridicilous, as is your wh
I wonder, what happens, if you make a interface bindable. Does this
change the code beeing created from the implementing class?
Cheers
Ralf.
On Wed, Aug 27, 2008 at 8:22 AM, Josh McDonald <[EMAIL PROTECTED]> wrote:
> I thought he was talking about a compile-time warning :)
>
> On Wed, Aug 27, 200
Exactly. Why make things easy, if you can please Enterprise developers
with a 100 lines equivalent, so they have something to show to their
boss ;)
Cheers
Ralf.
On Mon, Aug 25, 2008 at 6:26 AM, Josh McDonald <[EMAIL PROTECTED]> wrote:
> That, plus "ew" :)
>
> addFrameScript() is not good for read
Say you are waiting for an object myDispatcher to dispatch an event myEvent.
Then you call myDispatcher.addEventListener("myEvent", addAsync(
handleSuccess, 1000 ));
Inside handleSuccess you can assert as usually. If handleSuccess is
not called within 1000 ms, the test fails.
Cheers
Ralf.
Yep, it is the initializer for the array, which isn't correct.
Array({label: 'A', label: 'B', label: 'C', label: 'D'});
This creates an array with one object having a label property.
If you want to create an array of four objects with a label property,
you have to write it like that:
Array({label:
gt;
> --- In flexcoders@yahoogroups.com, "Ralf Bokelberg"
>
> <[EMAIL PROTECTED]> wrote:
>>
>> The "as" operator might help you out, eg.
>>
>> var a : Array = SomethingFromSomwhere as Array;
>>
>> Ralf.
>>
>>
>> On Wed,
The "as" operator might help you out, eg.
var a : Array = SomethingFromSomwhere as Array;
Ralf.
On Wed, Aug 20, 2008 at 7:39 PM, Jayson <[EMAIL PROTECTED]> wrote:
> I have a class that extends PieChart(I'm calling this CustomPie) and
> I'm passing in an array returned from an ArrayCollection. T
Why does everybody need their own language? Why not implementing a
language or multiple languages, which are well known and successful
already? We could have C#, JavaScript, Lisp, Scala, whatever running
side by side on the same virtual machine.
Cheers
Ralf.
I'm using states to do this. As soon, as the data is loaded, i switch
currentState to dataLoadedState, which adds the view.
Cheers
Ralf.
On Thu, Aug 7, 2008 at 4:11 PM, nwebb <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a small application. A single view is declared in the main mxml file.
> This v
rue, eventually?
>>
>> The solution, I have used several times, is to add the listener to the
>> application object in Flex, but that seems hackish to me.
>>
>> Thanks, for your time, because I really want to remove all doubt in
>> this area once and for all, since i have been working with as3 for
>> over 2 years now...
>>
>> Patrick
>>
>>
>>
>
> --
> Scott Melby
> Founder, Fast Lane Software LLC
> http://www.fastlanesw.com
> http://blog.fastlanesw.com
>
>
--
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany
Exactly. And please have a look at Josh's very good explanation of why
it is that "long winded".
You have the same thing in other programming systems as well. Eg. last
time i looked at Java client programming, you need to establish a
second thread for beeing able to update the UI and receive user i
Another option is to delay the call to the method, which does the main work.
Cheers
Ralf.
On Tue, Aug 5, 2008 at 9:56 AM, Josh McDonald <[EMAIL PROTECTED]> wrote:
> What does your method do?
>
> Most changes made to most components (such as changing the text property)
> won't be reflected on-scre
hat when I select a break point and
> debug the application, the program moves the break point to a location a few
> lines down. So it looks like it may be out of sync. It does this every where
> I try setting a break point.
>
> -Original Message-
> From: flexcoders@yahoogr
> remote calls and results. It has saved me countless hours and is well
> worth the cost.
>
> --- In flexcoders@yahoogroups.com, "Scott" <[EMAIL PROTECTED]> wrote:
>>
>> Actually it does return a Boolean
>>
>>
>>
>> -Original Mess
l Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Ralf Bokelberg
> Sent: Monday, July 14, 2008 8:58 AM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] AS3 function returning true when it only can be
> false
>
> It appears to me,
>
>
>
>
>
>
>
>
>
>
> This is the actual Flex display/call:
>
>
>
>
>
> This displays the following:
>
>
>
> Logged in? True
>
>
>
> Any idea on what is going on here?
>
>
>
>
Hi Tom
Have you trid using a labelFunction instead of the item renderer?
Kind regards,
Ralf
On Mon, Jul 7, 2008 at 3:37 PM, Tom McNeer <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I began asking about this problem last week and Alex Harui tried to help me.
> But I did such a bad job of explaining my pro
I think it should be possible to do something like popup.addChild(
composite control )
Cheers
Ralf.
On Wed, Jul 2, 2008 at 11:45 AM, pbrendanc <[EMAIL PROTECTED]> wrote:
> I't trying to create a composite control (in AS) at run time and pass
> this to a popup (as an object) - the popup is respon
You don't have to do a deep copy.
Use ListCollectionView instead, which allows you to apply different
filters to the same underlying Collection.
Cheers
Ralf.
On Tue, Jul 1, 2008 at 11:58 AM, linko27 <[EMAIL PROTECTED]> wrote:
> I need to show two lists with different filter function on the same
>
You could either set a bindable property on your model,
or pass in a object, which does the result handling.
Cheers
Ralf.
On Sat, Jun 28, 2008 at 8:09 PM, <[EMAIL PROTECTED]> wrote:
> You mean if i have to display an alert message 'Customer name already
> exists' them i have to put this code in
Yep, it's a language feature, which is not there. I think it is called
covariant return types.
Afaik, all you can do is check the type and cast.
Cheers
Ralf.
On Thu, Jun 26, 2008 at 3:14 PM, diehlryan <[EMAIL PROTECTED]> wrote:
> I'm running into a wall when trying to use extension with interfaces
sourceBundle when I don't include it in
> the additional compiler settings (it's in the source path, as it says in the
> warning ..)
> --
>
>
> http://www.juicability.com - flex blog
> http://www.43min.com - funny movies
>
--
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany
is function like
> DaysInMonth(date), to obtain the last day of the month (31 / 30, or 28 / 29
> for feb / leap year)
> ,and it's very handy, is there anyway I could achieve the same function in
> Flex?
>
> Thanks.
>
> Cheers!
>
> Indra Prastha,
> [EMAIL PROTECTED]
> ERP Team @ DataOn Corp.
>
>
>
>
>
>
--
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany
If you want to use Windows on Macbooks you also need an external
keyboard and a mouse maybe. Not the most convenient package, if you
need to travel.
Cheers
Ralf.
fault handler can analyze the type of the
exception and specifically handle business errors, while other errors
are passed to a default handler.
Cheers
Ralf.
--
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany
On Sat, May 10, 2008 at 5:26 PM, M
To avoid cacheing you can add the creation or change date of the swf
to the url ike so: myApp.swf?created=200804281835
Good luck,
Ralf.
--
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany
On Mon, Apr 28, 2008 at 6:27 PM, Anthony DeBonis
<[EM
I would pass a ui component reference to the command and directly
manipulate it in the result handler. You can use an interface instead
of the concrete type to make it loosely coupled.
Cheers
Ralf.
On Mon, Apr 28, 2008 at 4:12 PM, Ralf Bokelberg
<[EMAIL PROTECTED]> wrote:
> Repeated UIC
rsday, April 24, 2008 8:19:27 PM
> > > Subject: [flexcoders] Re: TypeError: Error #2007: The parameter
> > listener must not be NULL + Cairngorm
> > >
> > >
> > > Check the value of your listener function:
> > >
> > > Application. application. r
I think, both of them are equally valid. Flex ist a bit faster in
development, wheres Flash gives you total flexibility.
Cheers
Ralf.
--
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany
On Mon, Apr 28, 2008 at 2:22 AM, bick <[EMAIL PROT
ean{
> for(var key:String in validators){
> var fn:Function = validators[key] as Function;
> if(! fn(item)){
> return false;
> }
> }
> return true;
> }
>
> var set:ArrayCollection = new ArrayCollection([/* bunch of items*/]);
> set.filterFunction = filter;
>
> (hope theres no typos, I am writing it as I remember)
> - Ivo
>
>
--
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany
?
>
> var f:Function = obj.getValue; // bring function to this level
> var val:Number;
> for(var i:int=0; i<1; i++) {
> val = f(i);
> }
>
> VERSUS
>
> var val:Number;
> for(var i:int=0; i<1; i++) {
> val = obj.getValue(i);
> }
>
&g
te
> -http://www.adobe.com/devnet/flashplayer/articles/garbage_collection.html
>
> --- In flexcoders@yahoogroups.com, "Ralf Bokelberg"
>
> <[EMAIL PROTECTED]> wrote:
> >
> > You cannot delete declared variables, set them to null instead.
> > a =
in a:
> var a:Object = {foo:"bar"}
> // copy the reference to the object into b:
> var b:Object = a;
> // delete the reference to the object in a:
> delete(a);
>
> But it definitely wont even compile.
>
> Is there any techniques to do so?
>
>
--
Have you tried getQualifiedClassName( instance)?
r.
On Mon, Mar 24, 2008 at 4:31 PM, supermalern <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> I want to check if an object has a certain type. I know I can use
>
> (object is Class)
>
> But that will return true even if the object is a subclass of "Cla
i don't think it is possible using e4x alone. You have to use some
ActionScript.
r.
On Mon, Mar 24, 2008 at 2:35 PM, hannes.stockner
<[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> Hi
>
> I have following xml:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> how is it possible to get a XMLList
I think it is more of a logical problem. Do you really want to change
all the buttons to the same String given by the variables en and
language? This is what happens, if ou compare to level.
Cheers
Ralf.
On Thu, Mar 13, 2008 at 12:51 AM, Heiko Niemann <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> Hi
One possibility is to let the popup dispatch an event.
The parent can register itself as a listener, when it opens the popup.
Cheers
Ralf.
--
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant
On Tue, Mar 11, 2008 at 5:48 PM, Derrick Anderson
<[EMAIL PROTECTED]> wrote:
of it, I can now pass the accurate value. Such as:
>
>
> _miniMap:XML;
> _miniMapPack:MiniMapPack;
>
> Before:
> _miniMap.child("active"); //false
> _miniMapPack=new MiniMapPack(_miniMap.child("active"); //true;
>
> After:
> _miniMap.child("active
made (or at least a warning added?). It's certainly bitten me
> several times during coding.
>
> I'd appreciate your comments. Many Thanks,
>
> Ed
>
>
--
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany
ives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
> http://groups.yahoo.com/group/flexcoders/
>
>
>
>
--
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany
drive different components with
> different filter functions.
>
> This seems a bit of a waste - duplicating the underlying array for each
> filter, so I wondered if anyone out there has a neat trick to avoid this
> duplication.
>
> Paul
>
>
--
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany
popups and set focus
> without a problem. But there is another thing - I have to return focus
> correctly to the first popup window after second & third popups closed
> in one click.
>
> Cheers,
> Dmitri.
>
>
--
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany
:15 AM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] Example of Object.isPrototypeOf ()
> > >
> > >
> > >
> > > Could someone give me a working or semi-working example of
> > how/when to
> > > use isPrototypeOf()? I was thinking that I could query an object
> > and
> > > if it was a descendent of another object, [the argument to
> > > isPrototypeOf()], the method would return true. Not so :)
> > Obviously I
> > > don't understand the usage of this method.
> > >
> > > Thanks,
> > > Roscoe
> > >
> >
> >
>
>
>
> --
> j:pn
> \\no comment
--
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany
> do this.
> >
> > Oh yeah, without causing that TypeError #1009 thing ever.
> >
> >
> > Alternatively, how can I force a redraw of a particular cell? I know
> > the cell coordinates
> >
> >
> > -- John Harris
> >
>
>
--
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany
or date.setMonth( date.getMonth() - 1 ) if you want to change the date
object itself
Cheers
Ralf.
On Mon, Feb 11, 2008 at 6:22 PM, Ralf Bokelberg
<[EMAIL PROTECTED]> wrote:
> newDate = new Date( oldDate.getYear(), oldDate.getMonth() - 1,
> oldDate.getDate());
>
> Cheers
>
vious date as
> compared to the current date. but it doesnt, any idea?
> ____
> Never miss a thing. Make Yahoo your homepage.
--
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany
nd this screenshot that looks very much to what I'm asking for:
> http://www.vitalist.com/neteffect/wp-content/images/cobra-preview-3.gif
>
> I searched online but was unable to find a solution. Any suggestions would
> be appreciated.
> Thanks.
--
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany
t;[EMAIL PROTECTED]> wrote:
> >
> > I have a form I use for login into which my users type their username
> > and password. Does anyone know of a way of using the browser autofill
> > to populate form text fields?
> >
>
--
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany
Sometimes i use the following code to make clear
that i'm not using the arguments
private function staffGridFocus( ... ignore ):void
Cheers
Ralf.
1 - 100 of 393 matches
Mail list logo