Re: [flexcoders] Go and Vote for beter Flex builder! (Cache Buster)

2009-01-27 Thread Ralf Bokelberg
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

Re: [flexcoders] Go and Vote for beter Flex builder! (Cache Buster)

2009-01-27 Thread Ralf Bokelberg
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 > >

Re: [flexcoders]How would you rewrite this isset PHP condition in AS3?

2009-01-18 Thread Ralf Bokelberg
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

Re: [flexcoders] Re: ExternalInterface erros

2009-01-12 Thread Ralf Bokelberg
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

Re: [flexcoders] Re: why I can not dispatchEvent with creationComplete?

2009-01-05 Thread Ralf Bokelberg
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")] >

Re: [flexcoders] Cairngorm proper usage

2009-01-04 Thread Ralf Bokelberg
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

Re: [flexcoders] flex builder 3 on mini notebooks

2009-01-02 Thread Ralf Bokelberg
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

Re: [flexcoders] Any Developers on a Mac?

2008-12-30 Thread Ralf Bokelberg
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

Re: [flexcoders] What is '*' in class type?

2008-12-23 Thread Ralf Bokelberg
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

Re: [flexcoders] Re: Is Flex the wrong technology for widgets? SWF file sizes are too big...

2008-12-18 Thread Ralf Bokelberg
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

Re: [flexcoders] Re: Is Flex the wrong technology for widgets? SWF file sizes are too big...

2008-12-17 Thread Ralf Bokelberg
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

[flexcoders] FlexBuilder on 64bit machine any good?

2008-12-15 Thread Ralf Bokelberg
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.

Re: [flexcoders] Best practice for calling asynchronous functions?

2008-12-12 Thread Ralf Bokelberg
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

Re: [flexcoders] Re: Parsley MVC :: some thoughts

2008-12-09 Thread Ralf Bokelberg
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

Re: [flexcoders] Re: Parsley MVC :: some thoughts

2008-12-09 Thread Ralf Bokelberg
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

Re: [flexcoders] Parsley MVC :: some thoughts

2008-12-09 Thread Ralf Bokelberg
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

Re: [flexcoders] Parsley MVC :: some thoughts

2008-12-08 Thread Ralf Bokelberg
> 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

Re: [flexcoders] Re: Getting Its Function Name...

2008-12-02 Thread Ralf Bokelberg
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

Re: [flexcoders] Compiler errors from css file

2008-11-23 Thread Ralf Bokelberg
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

Re: [flexcoders] Memory Leaks... Cumulative Memory and Memory.

2008-11-19 Thread Ralf Bokelberg
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

Re: [flexcoders] Dispatch events - sequencing

2008-11-19 Thread Ralf Bokelberg
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

Re: [flexcoders] Observer pattern

2008-11-09 Thread Ralf Bokelberg
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

Re: [flexcoders] Observer pattern

2008-11-09 Thread Ralf Bokelberg
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

Re: [flexcoders] Local Conenction Issue

2008-11-09 Thread Ralf Bokelberg
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

Re: [flexcoders] Help on sorting an ArrayCollection then adding an item to the top

2008-11-08 Thread Ralf Bokelberg
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

Re: [flexcoders] change selected tab using variable containing tab label string?

2008-11-02 Thread Ralf Bokelberg
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

Re: [flexcoders] Daily WTF..." Property top not found on mx.containers.HBox and there is no default value."

2008-10-28 Thread Ralf Bokelberg
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

Re: [flexcoders] Html file in Flex application.

2008-10-28 Thread Ralf Bokelberg
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

Re: [flexcoders] Keeping a UIComponent out of the UpdateDisplayList

2008-10-20 Thread Ralf Bokelberg
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

Re: [flexcoders] Re: Repeater control and custom Component

2008-10-20 Thread Ralf Bokelberg
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&#x

Re: [flexcoders] Re: Repeater control and custom Component

2008-10-20 Thread Ralf Bokelberg
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

Re: [flexcoders] Module Interfaces Inheritance question

2008-10-17 Thread Ralf Bokelberg
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

Re: [flexcoders] Module Interfaces Inheritance question

2008-10-16 Thread Ralf Bokelberg
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

Re: [flexcoders] Custom index.template.html for each new project

2008-10-16 Thread Ralf Bokelberg
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

Re: [flexcoders] Re: Obtaining name of method

2008-10-04 Thread Ralf Bokelberg
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

Re: [flexcoders] Flex Builder Does Not Compile Module

2008-09-29 Thread Ralf Bokelberg
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

Re: [flexcoders] AS3 - single-fire event listener

2008-09-27 Thread Ralf Bokelberg
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

Re: [flexcoders] Obtaining name of method

2008-09-26 Thread Ralf Bokelberg
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

Re: [flexcoders] Re: Bad quality for JPEG encoded images ,,<***(sample images INSIDE)***>

2008-09-24 Thread Ralf Bokelberg
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

Re: [flexcoders] Any other alternative to find the type of an object (object is oftype)

2008-09-24 Thread Ralf Bokelberg
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]> >

Re: [flexcoders] Any other alternative to find the type of an object (object is oftype)

2008-09-24 Thread Ralf Bokelberg
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:

Re: [flexcoders] Any other alternative to find the type of an object (object is oftype)

2008-09-24 Thread Ralf Bokelberg
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

Re: [flexcoders] [Bindable] is not getting updated..

2008-09-23 Thread Ralf Bokelberg
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

Re: [flexcoders] Re: Preventing cut&paste in Flex3 application

2008-09-22 Thread Ralf Bokelberg
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.

Re: [flexcoders] Overriding the UI Graphics Update?

2008-09-22 Thread Ralf Bokelberg
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

Re: [flexcoders] Overriding the UI Graphics Update?

2008-09-22 Thread Ralf Bokelberg
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:

Re: [flexcoders] Tomcat giving 404 error within Eclipse? Help

2008-09-18 Thread Ralf Bokelberg
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

Re: [flexcoders] Bizarre XML data transformation

2008-09-17 Thread Ralf Bokelberg
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

Re: [flexcoders] Ant property for compiler option "Copy non-embedded files to output folder"

2008-09-16 Thread Ralf Bokelberg
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 >

Re: [flexcoders] package structure for different programming languages

2008-09-06 Thread Ralf Bokelberg
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

Re: [flexcoders] BindingUtils, How to detect null values when the data type is Number???

2008-09-01 Thread Ralf Bokelberg
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

Re: [flexcoders] Results of Direct Phone Call to Scene7.com

2008-08-28 Thread Ralf Bokelberg
> 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

Re: [flexcoders] Binding using Interface

2008-08-26 Thread Ralf Bokelberg
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

Re: [flexcoders] addFrameScript (will it be officially supported?)

2008-08-24 Thread Ralf Bokelberg
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

Re: [flexcoders] Re: Flexunit and asynchronous calls

2008-08-21 Thread Ralf Bokelberg
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.

Re: [flexcoders] Re: returning an Array from an ArrayCollection

2008-08-20 Thread Ralf Bokelberg
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:

Re: [flexcoders] Re: returning an Array from an ArrayCollection

2008-08-20 Thread Ralf Bokelberg
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,

Re: [flexcoders] returning an Array from an ArrayCollection

2008-08-20 Thread Ralf Bokelberg
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

Re: [flexcoders] Re: The end of ActionScript 3 as an EcmaScript 4 implementation

2008-08-14 Thread Ralf Bokelberg
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.

Re: [flexcoders] Loading Stuff In Order - Advice?

2008-08-07 Thread Ralf Bokelberg
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

Re: [flexcoders] Event Phase clarification "bubbling" - please Diagram

2008-08-06 Thread Ralf Bokelberg
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

Re: [SPAM]Re: [flexcoders] Delay before text is updated

2008-08-05 Thread Ralf Bokelberg
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

Re: [flexcoders] Delay before text is updated

2008-08-05 Thread Ralf Bokelberg
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

Re: [flexcoders] Re: AS3 function returning true when it only can be false

2008-07-14 Thread Ralf Bokelberg
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

Re: [flexcoders] Re: AS3 function returning true when it only can be false

2008-07-14 Thread Ralf Bokelberg
> 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

Re: [flexcoders] AS3 function returning true when it only can be false

2008-07-14 Thread Ralf Bokelberg
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,

Re: [flexcoders] AS3 function returning true when it only can be false

2008-07-14 Thread Ralf Bokelberg
> > > > > > > > > > > This is the actual Flex display/call: > > > > > > This displays the following: > > > > Logged in? True > > > > Any idea on what is going on here? > > > >

Re: [flexcoders] Item renderers cause processor to max out

2008-07-07 Thread Ralf Bokelberg
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

Re: [flexcoders] Pass a Run Time Composite Component to customize a Pop Up Form?

2008-07-02 Thread Ralf Bokelberg
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

Re: [flexcoders] Re: Hide a list item without changing (filtering) the dataprovider?

2008-07-01 Thread Ralf Bokelberg
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 >

Re: [flexcoders] synchronous events in flex

2008-06-28 Thread Ralf Bokelberg
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

Re: [flexcoders] AS3 interface question

2008-06-26 Thread Ralf Bokelberg
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

Re: [flexcoders] Warning: Source path entry XXXX is a subdirectory of source path entry

2008-06-11 Thread Ralf Bokelberg
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

Re: [flexcoders] Finding the last day of the month

2008-06-11 Thread Ralf Bokelberg
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

Re: [flexcoders] Re: Thinking about going to the dark side....Apple Mac Book

2008-06-06 Thread Ralf Bokelberg
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.

Re: [flexcoders] How to pass handled errors from the server to Flex

2008-05-10 Thread Ralf Bokelberg
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

Re: [flexcoders] Re: Cache memory Issue (Strange)

2008-04-28 Thread Ralf Bokelberg
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

Re: [flexcoders] Re: TypeError: Error #2007: The parameter listener must not be NULL + Cairngorm

2008-04-28 Thread Ralf Bokelberg
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

Re: [flexcoders] Re: TypeError: Error #2007: The parameter listener must not be NULL + Cairngorm

2008-04-28 Thread Ralf Bokelberg
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

Re: [flexcoders] Large application strategy - Flex or Flash?

2008-04-27 Thread Ralf Bokelberg
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

Re: [flexcoders] Why does iterating over an array of functions fail?

2008-04-22 Thread Ralf Bokelberg
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

Re: [flexcoders] Is this a performance gain?

2008-04-03 Thread Ralf Bokelberg
? > > 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

Re: [flexcoders] Re: How to manually delete references to objects?

2008-03-31 Thread Ralf Bokelberg
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 =

Re: [flexcoders] How to manually delete references to objects?

2008-03-31 Thread Ralf Bokelberg
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? > > --

Re: [flexcoders] Checking the type of an object

2008-03-24 Thread Ralf Bokelberg
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

Re: [flexcoders] filter with e4x

2008-03-24 Thread Ralf Bokelberg
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

Re: [flexcoders] Crazy Bindables

2008-03-13 Thread Ralf Bokelberg
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

Re: [flexcoders] how to call a function in a popup parent?

2008-03-11 Thread Ralf Bokelberg
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:

Re: [flexcoders] Possible as3.0 bug?

2008-03-04 Thread Ralf Bokelberg
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

Re: [flexcoders] A Hole in ActionScript 3.0, and a Way Around It

2008-02-29 Thread Ralf Bokelberg
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

Re: [flexcoders] Flex 3 and AIR 1 are now live!

2008-02-25 Thread Ralf Bokelberg
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

Re: [flexcoders] Any ArrayCollection tricks?

2008-02-19 Thread Ralf Bokelberg
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

Re: [flexcoders] Re: Problem with focus in secondary popups

2008-02-16 Thread Ralf Bokelberg
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

Re: [flexcoders] Re: Example of Object.isPrototypeOf ()

2008-02-15 Thread Ralf Bokelberg
: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

Re: [flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID

2008-02-12 Thread Ralf Bokelberg
> 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

Re: [flexcoders] date substraction problem

2008-02-11 Thread Ralf Bokelberg
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 >

Re: [flexcoders] date substraction problem

2008-02-11 Thread Ralf Bokelberg
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

Re: [flexcoders] Datagrid: how to inline edit entire row

2008-02-06 Thread Ralf Bokelberg
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

Re: [flexcoders] Re: Autocomplete from the browser in a login username field

2008-01-02 Thread Ralf Bokelberg
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

Re: [flexcoders] Re: Unwanted arguement?

2008-01-02 Thread Ralf Bokelberg
Sometimes i use the following code to make clear that i'm not using the arguments private function staffGridFocus( ... ignore ):void Cheers Ralf.

  1   2   3   4   >