RE: [flexcoders] cannot access webService on remote macine !

2005-04-24 Thread Abdul Qabiz
Hi, Right, policy file is needed if your flex app is making webservice calls directly, not via proxy on server... IMO, if you configure whitelist, you should be able to access webservice on some remote service. I mean, all webservice calls would route through proxy I will see why it's not

RE: [flexcoders] cannot access webService on remote macine !

2005-04-24 Thread Abdul Qabiz
Ok, As I see you are using useProxy=false, in that case you will need to follow Matt Horn's suggestion. That is, having a policy file on remote server.. BTW! Why you are turning off proxy? -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent:

RE: [flexcoders] Charting

2005-04-24 Thread Craig Newroth
I would like to see those also. let me know when they are up if you could please.. Craig Matt Chotin [EMAIL PROTECTED] wrote: I mailed Christophe to see if he can update it. Unfortunately they changed the passwords on that machine so I can’t grab the data. Matt From:

RE: [flexcoders] Comments: Tab Navigator with Tabs at Bottom

2005-04-24 Thread Craig Newroth
Thanks Steven...after you guys explained how the SWC was packaged, it made more sense. DUH!, i'm slow :-) Craig Steven Webster [EMAIL PROTECTED] wrote: Craig, If you feel better about it, you can change your code to: mx:Canvas xmlns:keepAwayFromAli="com.iterationtwo.containers.*" and then

[flexcoders] Re: cannot access webService on remote macine !

2005-04-24 Thread sanjayd
Abdul: You are right, I should use useProxy=true and then, there will be no need for a policy file and more importantly, all webservice calls will then route through proxylet me try that see Sanjay --- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote: Ok, As I see

[flexcoders] Extending RemoteObject

2005-04-24 Thread Francois Le Lay
Hi, Has anyone any working examples of extending mx.servicetags.RemoteObject? It seems I always get error messages that let me think my extended class is only perceived as a mx.servicetags.Service and can't be seen as a RemoteObject! Thanks, François Le Lay --http://www.mfworx.com

[flexcoders] Re: DataGrid performance

2005-04-24 Thread viraf_bankwalla
David, The rendering of this grid takes over 20 seconds on a 20 (rows) and 30 columns. Yes we have a custom cell renderer which has two images and 3 labels. We have disabled live scrolling, however as indicated it takes approx 20 seconds to render this grid. I suspect that it will take

[flexcoders] createClassObject

2005-04-24 Thread viraf_bankwalla
Hi, I have a cellRenderer that creates a number of children in the createChildren. When profiling I noticed that this is taking a considerable amount of time as I have a 20x20 grid. I create the objects in the createChildren method as: imgE = createClassObject(Image,imgE,

[flexcoders] Re: General / Performance questions

2005-04-24 Thread Manish Jethani
--- In flexcoders@yahoogroups.com, viraf_bankwalla [EMAIL PROTECTED] wrote: I have an application that is primarily two data grids (summary and detailed) that is suffering from performance problems (takes approx 20 seconds to render a page). I am just about to start profiling [snip] If

[flexcoders] Re: createClassObject

2005-04-24 Thread Manish Jethani
--- In flexcoders@yahoogroups.com, viraf_bankwalla [EMAIL PROTECTED] wrote: imgE = createClassObject(Image,imgE, getNextHighestDepth()); Try avoiding the call to getNextHighestDepth() by maintaining your own counter. Also, I think the second argument to createClassObject() needs to be

RE: [flexcoders] Data Model

2005-04-24 Thread Matt Chotin
Sorry for not answering sooner. You should look into using the HTTPService instead of a Model in this case. HTTPService can decode XML into an object structure but does it dynamically instead of statically like the Model does. Matt From: flexcoders@yahoogroups.com

RE: [flexcoders] menubar- Array datapovider........

2005-04-24 Thread Matt Chotin
mx:Object name=Beauty data="" w:st="on">Montgomery mx:children mx:Array mx:Object name=dry / mx:Object name=oily / /mx:Array /mx:children /mx:Object Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Sent: Friday, April 22, 2005 1:24 AM To:

RE: [flexcoders] Re: DataGrid displaying remote object data

2005-04-24 Thread Matt Chotin
You can also simply specify the columnNames as an array of strings. myDG.columnNames = [firstColumn, secondColumn, ]; Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Sent: Friday, April 22, 2005 6:22 AM To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] Re: DataGrid performance

2005-04-24 Thread Farouk ZAIDI
Hello, I used a custom cell renderer in my datagrid. Try to trace the behaviour of the setValue method. I saw that it is called a lot of time when the mouse moves above the datagrid. Also if you use the label functions try to trace the behaviour. I used the datagrid to display thousands of

RE: [flexcoders] General / Performance questions

2005-04-24 Thread Matt Chotin
1. Is there a performance difference between accessing properties as object.property and object[property]. Dont think so 2. Is there a performance difference between calling methods and static methods? Dont think so Yahoo! Groups Links To visit your group on the

RE: [flexcoders] Menubar source-- only XML? Urgent

2005-04-24 Thread Matt Chotin
MenuBar relies on a certain structure of objects, not just strings. So you could do something like this: mx:Array mx:Object label=Alabama / mx:Object label=Alaska / etc Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Sent: Thursday, April

RE: [flexcoders] What event is called on website change

2005-04-24 Thread Matt Chotin
You can capture this in _javascript_ and notify your SWF but Im not sure how reliable this is. For example, I dont think if you try to trigger a WebService its going to work because the browser will have already navigated and unloaded the SWF. Matt From:

RE: [flexcoders] Re: DataGrid performance

2005-04-24 Thread Matt Chotin
setValue is called whenever the mouse moves over the cell in case you have different logic for selected or highlighted. You may want to compare the value being passed into setValue with the value you already have if the rendering of the value is complex. You can return quickly if the

RE: [flexcoders] Extending RemoteObject

2005-04-24 Thread Matt Chotin
In 1.5 you cant extend RemoteObject, sorry! Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Sent: Sunday, April 24, 2005 6:14 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Extending RemoteObject Hi, Has anyone any working examples

Re: [flexcoders] Extending RemoteObject

2005-04-24 Thread Francois Le Lay
Ok, well my initial intention was to create a HibernateProxy which extends RemoteObject, so that I would call DAOs in a single JBoss HAR from that proxy, thus having hibernate stuff deployed once and shared among several WARs. I guess I'll duplicate my DAOs in the WAR's classes folder until

Re: [flexcoders] Re: help with setInterval...

2005-04-24 Thread dave buhler
Indeed, I stand corrected. Many thanks Abdul. Dave On 4/23/05, Abdul Qabiz [EMAIL PROTECTED] wrote: Hi, However, I'm still unable to do the following: Call a setInterval within a class. Have the setInterval pass over a number. And the function called increment that number. Pass this new

Re: [flexcoders] What event is called on website change

2005-04-24 Thread dave buhler
If you're using Coldfusion mx 7, you can use the onSessionEnd() in your Application.cfc to trigger a log-out or page-departure. More Info: http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentationfile=0701.htm On 4/24/05,