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 ca...@brannsikring.no wrote: https://bugs.adobe.com/jira/browse/FB-16764

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

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 dorkiedorkfromdorkt...@gmail.com 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

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 flexaus...@yahoo.com wrote: I can't really post the code. The issue is either I think is either

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 markflex2...@yahoo.com wrote: But it works with button click event like following. mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; mx:Metadata

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

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 kanps...@gmail.com wrote: Hi now a days the stores are full of those $300 to $500

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

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;

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

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 dzn...@gmail.com wrote: I definitely agree with you Gabriel, you wouldn't catch me doing a non-Flex

[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 aha...@adobe.com 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:

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] 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 very

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

2008-12-09 Thread Ralf Bokelberg
: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 running through without any interuption. Colin Moock has a good chapter of how all this works in his

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, which

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 in

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 errors

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] 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

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

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] Observer pattern

2008-11-09 Thread Ralf Bokelberg
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 gc only runs, if the player is running out of memory. What makes you think, that your popup doesn't get

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

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? TIA,

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

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 within a

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 use a

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

2008-10-20 Thread Ralf Bokelberg
wanna format the datas receive before passing them to dataProvider of the repeater. --- In flexcoders@yahoogroups.com, Ralf Bokelberg [EMAIL PROTECTED] wrote: 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

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 within a

Re: [flexcoders] Module Interfaces Inheritance question

2008-10-17 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 topic

Re: [flexcoders] Module Interfaces Inheritance question

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

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 everytime I

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

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

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 immidiately

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 the

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

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:11 PM, Ralf Bokelberg [EMAIL

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

2008-09-24 Thread Ralf Bokelberg
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] wrote: Hi Josh Does it work without the class beeing linked

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 low

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 sure xyz is

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] 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] wrote: Afaik

Re: [flexcoders] Re: Preventing cutpaste 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] 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

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 list

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.

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 jain

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

Re: [flexcoders] Binding using Interface

2008-08-27 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, 2008 at

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

2008-08-25 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

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] 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. The

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

2008-08-20 Thread Ralf Bokelberg
, Ralf Bokelberg [EMAIL PROTECTED] wrote: 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

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:

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 view

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

2008-08-06 Thread Ralf Bokelberg
Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com -- Ralf Bokelberg [EMAIL PROTECTED] Flex Flash Consultant based in Cologne/Germany

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-screen

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

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

2008-07-14 Thread Ralf Bokelberg
can't watch it.) Thanks! -- Ralf Bokelberg [EMAIL PROTECTED] Flex Flash Consultant based in Cologne/Germany -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com

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

2008-07-14 Thread Ralf Bokelberg
=boolean -Original 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] Re: AS3 function returning true when it only can be false

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

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

2008-07-14 Thread Ralf Bokelberg
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@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Bokelberg Sent: Monday, July 14, 2008 10:36 AM To: flexcoders

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 problem,

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

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] Finding the last day of the month

2008-06-11 Thread Ralf Bokelberg
. -- Ralf Bokelberg [EMAIL PROTECTED] Flex Flash Consultant based in Cologne/Germany

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

2008-06-11 Thread Ralf Bokelberg
://www.juicability.com - flex blog http://www.43min.com - funny movies -- 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
. The 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, Mike Chabot [EMAIL

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

2008-04-28 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 PROTECTED] wrote: I

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

2008-04-28 Thread Ralf Bokelberg
://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -- Ralf Bokelberg [EMAIL PROTECTED] Flex Flash Consultant based in Cologne/Germany

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 UIComponents

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 [EMAIL PROTECTED] wrote

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

2008-04-22 Thread Ralf Bokelberg
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
function to this level var val:Number; for(var i:int=0; i1; i++) { val = f(i); } VERSUS var val:Number; for(var i:int=0; i1; i++) { val = obj.getValue(i); } -- Ralf Bokelberg [EMAIL PROTECTED] Flex Flash Consultant based in Cologne/Germany

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

2008-03-31 Thread Ralf Bokelberg
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? -- Ralf Bokelberg [EMAIL PROTECTED] Flex Flash Consultant based in Cologne/Germany

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

2008-03-31 Thread Ralf Bokelberg
/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 = null; Cheers Ralf. On Mon, Mar 31, 2008 at 5:03 PM, lytvynyuk [EMAIL PROTECTED

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: root one Item id=123 name=first/ Item id=234 name=second/ Item id=345 name=third/ /one

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 Class, whereas

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: hi, i create

Re: [flexcoders] Possible as3.0 bug?

2008-03-04 Thread Ralf Bokelberg
=new MiniMapPack(_miniMap.child(active); //true; After: _miniMap.child(active); //false _miniMapPack=new MiniMapPack(getValue(_miniMap.child(active)); //false; Interesting, eh? Anyone have an explanation? -- -Joe -- Ralf Bokelberg [EMAIL PROTECTED] Flex Flash Consultant based

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

2008-02-29 Thread Ralf Bokelberg
this as a bug per se, but if there is sufficient agreement then maybe a change to the compiler could be 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

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

2008-02-25 Thread Ralf Bokelberg
www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links http://groups.yahoo.com/group/flexcoders/ -- Ralf Bokelberg [EMAIL

Re: [flexcoders] Any ArrayCollection tricks?

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

Re: [flexcoders] date substraction problem

2008-02-11 Thread Ralf Bokelberg
a thing. Make Yahoo your homepage. -- 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 Ralf. On Mon, Feb 11

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

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

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

2008-01-02 Thread Ralf Bokelberg
of using the browser autofill to populate form text fields? -- Ralf Bokelberg [EMAIL PROTECTED] Flex Flash Consultant based in Cologne/Germany

Re: [flexcoders] Re: SharedObject security

2007-12-30 Thread Ralf Bokelberg
/AIR client for nitroLM.com. They already have client libraries for .NET, C/C++, and Java all of which have access to hardware-related ids and serial numbers. It'd be nice if there was something similar in Flex/AIR. -Andrew --- In flexcoders@yahoogroups.com, Ralf Bokelberg [EMAIL

  1   2   3   4   >