Re: [flexcoders] Your preference - Loader or createChild?

2006-02-22 Thread Aral Balkan
Hi, I prefer the use of a Loader -- in fact, multiple Loaders (if you want to cache loaded SWFs and not have to wait through the initialization stage again.) Combined with RSLs, this should give you an optimum balance between file size, modularity and speed. hth, Aral -- http://flashant.org

[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-22 Thread bhaq1972
quite surprising this didn't work for you. i took this idea from Peter Ent's weblogs. check out the cellrenders section http://weblogs.macromedia.com/pent/archives/2004/12/index.cfm the code can be downloaded and there is a sample test app to see it in action. its very good. --- In

RE: [flexcoders] Problem with Repeater

2006-02-22 Thread Richard Schutten
Hi Matt, It works for my example, but when i'm using two nested Repeaters i'm in trouble again. See my example code: mx:Model id="test" result item nameItem 1/name subitem nameSubitem 1/name /subitem /item /result /mx:Model mx:ArrayCollection id="testAC"

RE: [flexcoders] Binding Data to DataGrid from webservice response

2006-02-22 Thread Sathish K
tell me clearly about labelfunction -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Matt ChotinSent: 22 February 2006 11:06To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Binding Data to DataGrid from webservice

Re: [flexcoders] Handling VERY large numbers in Flex

2006-02-22 Thread Paul Hastings
Niklas Richardson wrote: Unfortunately we're using Flex 1.5 and thus AS2. I'll see if we can create some sort of icu4j clone in AS2. core java's code (well GNU classpath) version is 500++ lines, icu4j is 4400++ lines (loads of comments). icu4j's NumberFormat (which can handle

RE: [flexcoders] Validatior's binding problem?

2006-02-22 Thread Peter Watson
Hi Kazuya, As Matt said in Flex 1.5, validators dont support binding. Below is a workaround for your issue. I got most of the code from here: http://blog.daemon.com.au/archives/000317.html Main.mxml * ?xml version=1.0 encoding=utf-8? mx:Application

Re: [flexcoders] Handling VERY large numbers in Flex

2006-02-22 Thread Niklas Richardson
Yeah, I just found that myself.I think I'll give it a miss!Perhaps I'll have to come up with another solution! ;)Hahahaha! :)On 2/22/06, Paul Hastings [EMAIL PROTECTED] wrote: Niklas Richardson wrote: Unfortunately we're using Flex 1.5 and thus AS2. I'll see if we can create some sort of icu4j

Re: [flexcoders] Re: problem with cell renderer in ComboBox

2006-02-22 Thread Anatole Tartakovsky
As far as I recall, dropdown object can be "dropped" and recreated when the data model and other things change. If you do not reassign cellrenderer at that time it will be gone. It would make sense to me to subclass the object and override getDropdown function to assign cellrenderer on

[flexcoders] Binding question

2006-02-22 Thread Alberto Albericio Salvador
Hi all, I dont know why, but the Flex compiler alerts some error when I try to use binding with 2 arguments: mx:VBox visible={someCombo.selectedIndex != 0 someOtherCombo.selectedIndex != 0} ... /mx:VBox And the error is : The entity name must immediately follow the '' in the entity

[flexcoders] Re: calling a cfc from flex

2006-02-22 Thread rgwilson26
First of all I want to say thanks for your help on the last few posts. I think I am almost there. I have my CFC now returning a query and have eliminated all errors. But, when I trigger my click event it seems to return the query in my DG however no text is visible (when you scroll over the

[flexcoders] Binding using Boolean expressions

2006-02-22 Thread Alberto Albericio Salvador
I rewrite my post because it got mixed into another thread (same subject) , sorry. Hi all, I dont know why, but the Flex compiler alerts some error when I try to use binding with 2 arguments: mx:VBox visible={someCombo.selectedIndex != 0 someOtherCombo.selectedIndex != 0} ... /mx:VBox And

[flexcoders] Re: KeyListener.onKeyDown = keyListenerFunction;

2006-02-22 Thread kjlinboomer
Thanks Matt, I tried the following code which results in a syntax error: var KeyListener:Object = new Object(); KeyListener.onKeyDown = mx.utils.Delegate(this, keyListenerFunction); Key.addListener(KeyListener); anything jump out at you? Thanks, Keith --- In flexcoders@yahoogroups.com, Matt

Re: [flexcoders] Binding using Boolean expressions

2006-02-22 Thread Oscar . Cortes
What about something like ... mx:VBox visible={Boolean(someCombo.selectedIndex != 0 * someOtherCombo.selectedIndex != 0)} |-+- | | | | | Alberto Albericio | | | Salvador | |

[flexcoders] Re: Binding using Boolean expressions

2006-02-22 Thread Brendan Meutzner
Can't use the outside of the CDATA wrapping... here's the error message from 1.5 (which is a bit more helpful)... When using '' in a tag body, XML requires wrapping the tag body with '![CDATA[' and ']]'. When using '' in an attribute value, XML requires using the entity, 'amp;'. Brendan ---

RE: [flexcoders] Re: calling a cfc from flex

2006-02-22 Thread João Fernandes
Hi again, When using query as return type you don't need to set columnName in your datagridColumn in uppercase. Uppercase is just when referencing to structures returned from coldfusion. João Fernandes Sistemas de Informação Programador Informático Cofina media Avenida João Crisóstomo, Nº 72

Re: [flexcoders] Mozilla Load Issue

2006-02-22 Thread Carolyn Cole
Hello, I found the answer to this. You need to set the width and height of the application tag to a fixed size. -- Carolyn At 08:48 AM 2/22/2006, Carolyn Cole wrote: Hello, I am currently trying to deploy my flex software on a Red Hat Linux machine. The code seems to deploy file, but when I

[flexcoders] [OT] Know a good PM that could help the Flex team?

2006-02-22 Thread Phil Costa
We're looking for another product manager to join the Flex team. If you know someone with good product management experience, please pass this on. Flex Framework PM positiong in San Francisco http://cooljobs.adobe.com/viewjob.html?optlink-view=view-29020ERFormID=newjoblistERFormCode=any

[flexcoders] Webservice wsdl

2006-02-22 Thread Carolyn Cole
Hello, I would like to use a variable to point the wsdl location of my web service, but I can not seem to get it to work. I have the following variable set in my action script section of my mxml: var wsdlLocation: String = https://arl3469.arl.psu.edu:8443/uaim-webService/UAIMService.wsdl ; I

[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-22 Thread bhaq1972
--- In flexcoders@yahoogroups.com, Anatole Tartakovsky [EMAIL PROTECTED] wrote: As far as I recall, dropdown object can be dropped and recreated when the data model and other things change. If you do not reassign cellrenderer at that time it will be gone. It would make sense to me to

[flexcoders] Does AS have an equivalant of Java's 'Abstract'

2006-02-22 Thread Sauro, Nick
I havent seen any examples of it anywhere, but I could be looking in the wrong places? Im wondering if AS 2.0 has this? Thanks From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda Sent: Tuesday, February 21, 2006 3:31 PM To:

[flexcoders] Re: Function call AFTER a transition

2006-02-22 Thread shuell2000
Thank you, that worked. I just gave an ID (toDetailResize) to the transition I wanted this to go after and used the below code: toDetailResize.addEventListener(EffectEvent.EFFECT_END, function(event:EffectEvent):Void{ show(); }); John --- In

Re: [flexcoders] Re: problem with cell renderer in ComboBox

2006-02-22 Thread Anatole Tartakovsky
Bod, We are actually supporting our DGComboBox as a standard object in our framework. As far as Flex 2, it is also supported - just implementation is different - listItemRenderer is dynamically created instead of grid. So there is no code changein the application - just internal

RE: [flexcoders] Does AS have an equivalant of Java's 'Abstract'

2006-02-22 Thread Richard Leggett
Hi, There's no abstractalthough you can get some of the behaviour by 'throw'-ing errors in all of the methods that would normally be abstract so that the sub-class is forced to implement those methods. Richard From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] Does AS have an equivalant of Java's 'Abstract'

2006-02-22 Thread Sauro, Nick
Yea, well, right now, Im just having the parent class hold blank implementations, which is just kinda quirky for me, but it works for now, I was just wondering if there was a cleaner way to do it. Interface came to mind, but I need the base functionality of a Base class that Im using :-/

[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-22 Thread bhaq1972
thanks Anatole. i'll try it out. there's so much to learn in flex 2 its like a new language. --- In flexcoders@yahoogroups.com, Anatole Tartakovsky [EMAIL PROTECTED] wrote: Bod, We are actually supporting our DGComboBox as a standard object in our framework. As far as Flex 2, it is

[flexcoders] Removing Default Halo Themes

2006-02-22 Thread grae_hall
I've tinkered around most of today - read quite a bit - and I'm not really sure if I'm on the right track. In my default Flex app the components are obviously pre-styled with one of the Themes. As part of a fairly interesting contract I'm working on - I'd like to specify the styles of my

[flexcoders] Re: multiple lines in a datagrid

2006-02-22 Thread rgwilson26
Hmm, I still can't seem to get mine to work. I am using FLEX 1.5 are you using 2.0? Still trying to get the user input from the text box to create a dynamically expandable datagrid column height. code mx:DataGrid id=dg height=300 wordWrap=true

[flexcoders] changing date format display

2006-02-22 Thread rgwilson26
I would like to change the date field format to display as such...02/22/2006. Does anyone know where to change this in FLEX? Thanks, -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

RE: [flexcoders] Re: multiple lines in a datagrid

2006-02-22 Thread Jonathan Miranda
Im using 2, but I had wordwrap=true on the DataGridColumn, not the datagrid _ Jonathan Miranda Flexible Master of the Web In the game of chess, it's important to never let your opponent see your pieces. HealthGrades: Guiding America to

[flexcoders] Re: changing date format display

2006-02-22 Thread Doug Lowder
If you're talking about the DateField control, there's a dateFormatter property you can use for this. Have a look at the mx.formatters.DateFormatter class too. Doug --- In flexcoders@yahoogroups.com, rgwilson26 [EMAIL PROTECTED] wrote: I would like to change the date field format to

[flexcoders] Tree DragAndDrop no data for leaf

2006-02-22 Thread Sönke Rohde
Hi, I have got a problem getting the data of a dragged leaf from a tree. The DragEvent.DRAG_DROP is handled by the following function: private function doDrop(e:DragEvent):void{ var data:Object = e.dragSource.dataForFormat(treeItems); trace(data + data.toString()); } The leaf

re: [flexcoders] Handling NetStream Runtime Errors..?

2006-02-22 Thread Brian Lesser
Hi, Just following up on my own note. It turns out this was my bug and not Flex 2's! I had a couple streams and removed the addEventListener from the wrong one while testing. :-( Sorry for the noise. Mea culpa, -Brian Hi, I have created a NetStream object that publishes video/audio via a

[flexcoders] More datagrid row height issues

2006-02-22 Thread Jonathan Miranda
Still having problems changing the height of one row specifically in actionscript, but that aside Im also having problems matching datagrids together via height. lets say I have 2 datagrids with variableRowHeight=true. Is there a way to bind 2 data grids together via their row heights?

RE: [flexcoders] Flex Builder Memory leak

2006-02-22 Thread Jonathan Miranda
Where do you disable this? Ive never used it so it shouldnt be that unless it runs in the background somehow unless you disable it. _ Jonathan Miranda Flexible Master of the Web In the game of chess, it's important to never let your opponent

[flexcoders] Re: Modal Box Popup and Wait

2006-02-22 Thread quasimotoca
Hi: OK, I tried. I failed. Do you have an example of your iPause interface? I couldn't seem to find pause and resume public methods (or do I build those as well?). Anyway, a quick example/pseudo code would be very much appreciated. Cheers, Dave --- In flexcoders@yahoogroups.com,

RE: [flexcoders] Flex Builder Memory leak

2006-02-22 Thread Benoit Hediard
Here is another error I had during a "freeze/memory leak" : "Couldn't read SWC D:\Workspace\SomeProject\style.css flex2.compiler.swc.SwcException: Error occurred while loading D:\Workspace\SomeProject\style.css: Unable to read files from SWC archive! Negative seek offset " It looks like

Re: [flexcoders] Flex Builder Memory leak

2006-02-22 Thread Ryan Stewart
 How do you mean compatible? In theory you can use it do so some 1.5 MXML but the code-completion won't be correct and you won't be able to compile projects like you can with Flex 2.0. If you're looking for a good Flex 1.5 editor for Eclipse, check out OxygenXML. The Web Tools Platform also has

[flexcoders] coldfusion convert formatting query in flex 1.5

2006-02-22 Thread rgwilson26
I am working with a query in coldfusion where I am converting the date format from the database. 2 of the 3 columns show up in my datagrid, but the 3rd (InterviewDate) does not display. However, it does if I take out the convert formatting and just query the column name. Is this due to FLEX

[flexcoders] Re: coldfusion convert formatting query in flex 1.5

2006-02-22 Thread Doug Lowder
Add a field name for the converted value (probably best to use something other than InterviewDate to avoid confusion) to your SQL, like so: SELECT PersonName, PersonTitle, convert(datetime, InterviewDate, 101) AS ConvertedInterviewDate FROM dbo.PersonnelNeeded WHERE (InterviewDate =

RE: [flexcoders] coldfusion convert formatting query in flex 1.5

2006-02-22 Thread João Fernandes
Your convert(datetime, InterviewDate, 101) doesn't have a alias. Try this convert(datetime, InterviewDate, 101) as interviewdate. Anyway, I always return non formated dates to Flex and format there and return a non-formated date back to CF. If your problem is the format in your dataGrid, you

RE: [flexcoders] coldfusion convert formatting query in flex 1.5

2006-02-22 Thread Ian Skinner
CF query - ** cfquery name=getAllPersonnel datasource=spotDB SELECT PersonName, PersonTitle, convert(datetime, InterviewDate, 101) FROM dbo.PersonnelNeeded WHERE (InterviewDate = '2/20/2005') /cfquery On all the DBMS that I have experience with,

[flexcoders] More Flash Player memory issues

2006-02-22 Thread Jonathan Miranda
I have a basic chart that shows dashboard information, so I have it calling the service every 30 seconds. Heres the code: private function initApp() { srv.send(); timer = new Timer(3); timer.addEventListener(timer, callService); timer.start(); } public function

[flexcoders] Flex2 - Custom JavaAdapter - ServletContext

2006-02-22 Thread Jim Schneider
I'm writing a custom java adapter (remote object). I'd like to get access to the ServletContext. Is that available? If so, where would I be able to find it? (adapter, service, channel, message broker, ...?). In 1.5, there was an ActionContext class that I could use. Is there an equivalent in 2.0?

[flexcoders] Setting user-agent in flex

2006-02-22 Thread feuille76
Hi, I need to append some additional strings to the user-agent in the HTTP header, does anyone who how this can be done in flex? Thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

RE: [flexcoders] Setting user-agent in flex

2006-02-22 Thread Carson Hager
You can't alter the header. Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 -Original Message- From: flexcoders@yahoogroups.com

Re: [flexcoders] Re: Modal Box Popup and Wait

2006-02-22 Thread JesterXL
Damn... this is worthy of a blog entry, but ok. interface IPause { funciton pause(){} function resume(){} } So, that's the interface. Seems simple, but you'll find implement pause and resume methods for various components is hard. For some, you do nothing. For others, it involves a

[flexcoders] Animation Sequence Problem.

2006-02-22 Thread quasimotoca
I am writing a simple animation program which uses the flash effects.Move component. My problem is as follows: 1. I repeatedly call a function that adds bitmaps in UIComponent objects to a canvas and then applies a move effect to it. public function setUICard(x:Number, y:Number):UIComponent

Re: [flexcoders] Animation Sequence Problem.

2006-02-22 Thread JesterXL
Try using the mx.effects.Sequence. If you don't want to use any of the Flex classes, then build a queue, and when the effect has completed, run the next effect in the array. - Original Message - From: quasimotoca [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday,

Re: [flexcoders] Your preference - Loader or createChild?

2006-02-22 Thread KOMON Kazuya
Hi, fowleryj I'm using Loader with precompiled SWFs. It feels better a little. I thought of without using Loader once (following code style) because of performance, but application already use Loader and that is LARGE size. mx:HBox mx:Button label=view1

Re: RE: [flexcoders] Validatior's binding problem?

2006-02-22 Thread KAZUYA KOMON
Hi, oh peter, Thank you very much !! It works very fine! Super! Best Regards, KAZUYA KOMON - Original Message - From : Peter Watson [EMAIL PROTECTED] To : flexcoders@yahoogroups.com Sent : Wed, 22 Feb 2006 04:56:08 -0800 Subject : RE: [flexcoders] Validatior's binding problem? Hi

[flexcoders] Re: SOAP message thru http proxy server

2006-02-22 Thread JulianHtun
Thanks Carson. I was using TcpMon from old JBoss. Looks like the TcpMon version from Matt is newer. 2 downside of TcpMon: 1. We have to heck the WSDL that stored in JBoss to point to 7070 (local port). 2. I'm seeing some extra strange character in TcpMon even the latest version. I'm not

Re: [flexcoders] Re: SOAP message thru http proxy server

2006-02-22 Thread Carson Hager
Title: Re: [flexcoders] Re: SOAP message thru http proxy server You don't have to change the wsdl. It only specifies the default location. You can override that in code. Where is the extra character you are seeing? Anything passed in a webservice should be technically visible in any text

[flexcoders] Re: different color and shape in one plot chart

2006-02-22 Thread wujunjr
Thanks. I'm afraid it is not suitable for me to use LegendItem since there are over 30 plots on one chart. And there are many charts in the application. Could you kindly give me an example about make a series or chart extends Series/ChartBase? Maybe we can use the function get legendData():,

RE: [flexcoders] Flex2 - Custom JavaAdapter - ServletContext

2006-02-22 Thread Peter Farland
For Flex 2.0 Beta 1 try flex.messaging.HttpContext.getServletConfig().getServletContext() - (the name of this class isn't necessarily final at this stage, but any changes would be documented in release notes). There isn't a concept of an ActionContext for Service Adapters in Flex 2.0 as the nature

RE: [flexcoders] Implicit change events for [Bindable] properties? and some notes on ModelLocator

2006-02-22 Thread Matt Chotin
Yeah, I think this is something that could eventually go into the tool. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aldo Bucchi Sent: Tuesday, February 21, 2006 11:06 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Implicit

RE: [flexcoders] Problem with Repeater

2006-02-22 Thread Matt Chotin
Yeah, use the ArrayUtil for rep.currentItem.subitem as well. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard Schutten Sent: Wednesday, February 22, 2006 1:39 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Problem with Repeater

RE: [flexcoders] NetConnection with AMF0

2006-02-22 Thread Matt Chotin
For the PhoneVO line you should do var phone:PhoneVO = new PhoneVO(); phone.setValues(event.result); Everything else looks OK to me though. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Yokota Satoshi Sent: Tuesday, February 21, 2006

RE: [flexcoders] Re: KeyListener.onKeyDown = keyListenerFunction;

2006-02-22 Thread Matt Chotin
Well I guess I did keyListenerFunction and you had keyListenerFunc? What was the syntax error? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kjlinboomer Sent: Wednesday, February 22, 2006 6:42 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Webservice wsdl

2006-02-22 Thread Matt Chotin
Unfortunately in 1.5 you cant change the location of the wsdl using binding. Instead what you can do is have the WSDL at a well-known location, but the change the endpointURI after the WSDL has loaded to go to the dynamic location. Docs here:

RE: [flexcoders] Tree DragAndDrop no data for leaf

2006-02-22 Thread Matt Chotin
It may be a bug in the drag and drop code. Can you send a test case? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sönke Rohde Sent: Wednesday, February 22, 2006 10:02 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Tree DragAndDrop

RE: [flexcoders] More datagrid row height issues

2006-02-22 Thread Matt Chotin
Im not sure what youre trying to accomplish here. Generally the only way you can control an individual rows height would be to put a cell renderer in that you explicitly change the height on. I dont see how you then bind two grids together. From: flexcoders@yahoogroups.com

RE: [flexcoders] Strange Error on compiling Flex-2 project

2006-02-22 Thread Matt Chotin
Are you sure that my_cb.selectedIndex is returning a value that is not -1? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jignesh Dodiya Sent: Wednesday, February 22, 2006 1:38 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Strange Error

RE: [flexcoders] Tree DragAndDrop no data for leaf

2006-02-22 Thread Jason Hawryluk
the return from your dataForFormat call is anarray or a collection. so try trace("data " + data[0].toString()); where the [0] is the first item in the collection or array. Jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de