Re: [flexcoders] Re: getChildByName using it to get the value of a textbox

2008-08-18 Thread Luke Vanderfluit
); -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Luke Vanderfluit Analyst / Web Programmer e3Learning.com.au 08

[flexcoders] external css file problem

2008-08-11 Thread Luke Vanderfluit
{ color: #00; fontSize: 12; } .errorTip { color: #FF; fontSize: 11; } HRule { borderColor: #EE; } / -- Luke Vanderfluit Analyst

Re: [flexcoders] external css file problem

2008-08-11 Thread Luke Vanderfluit
Hi Shaun. Thanks bud, that extra pair of eyes! (-; Kr. Luke. shaun wrote: Luke Vanderfluit wrote: Hi. I want to include an external css file in my flex application. Very simple: mx:Script source=assets/wemmStyle.css/ mx:Script != mx:Style cheers, - shaun

[flexcoders] x coordinate of component relative to parent

2008-07-09 Thread Luke Vanderfluit
' event Doing a trace on the 'evt.currentTarget.x' is always 0. I want to get the x coordinate relative to the parent so I can display a tooltip when the user hovers over a drop down list item... Any help appreciated. Kind regards. Luke. -- Luke Vanderfluit Analyst / Web Programmer

Re: [flexcoders] x coordinate of component relative to parent

2008-07-09 Thread Luke Vanderfluit
Hi Again. Answered my own question by searching the group. Found it in this thread: 'Finding the x,y-coordinate position of a component' Thanks guys. Kr. Luke. Luke Vanderfluit wrote: Hi. I have a component called RiskLikelihood which is basically a ComboBox. Ive placed many

[flexcoders] scrollbar in HBox wont go away

2008-06-26 Thread Luke Vanderfluit
has a vertical scrollbar for no apparent reason and the other doesnt. I cant figure out how to get rid of the scrollbar Any suggestions? TIA. Kind regards. Luke -- Luke Vanderfluit Analyst / Web Programmer e3Learning.com.au 08 8221 6422

Re: [flexcoders] scrollbar in HBox wont go away

2008-06-26 Thread Luke Vanderfluit
'. -- Luke Vanderfluit Analyst / Web Programmer e3Learning.com.au 08 8221 6422

Re: [flexcoders] capture linebreaks

2008-06-18 Thread Luke Vanderfluit
, but the practise of storing line breaks in a database doesnt sit well with me so I might do something of an alternative solution... Kr. Luke. -Josh On Wed, Jun 18, 2008 at 9:36 AM, Luke Vanderfluit [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi. Thanks

Re: [flexcoders] capture linebreaks

2008-06-17 Thread Luke Vanderfluit
Hi. shaun etherton wrote: Hey Luke, Luke Vanderfluit wrote: Ive tried this: var myp:RegExp = /\n/g; have you tried \r Yes. Ive tried /\r\n/, /\r/, /\n/ Also tried setting is as in new RegExp(//n,g); etc. Kr. Luke. cheers, -- Luke Vanderfluit Analyst / Web

Re: [flexcoders] capture linebreaks

2008-06-17 Thread Luke Vanderfluit
get it to recognise the \n Kr. Luke. but it'll get you by, and you can write something specific using indexOf etc later if speed becomes a problem. -Josh On Wed, Jun 18, 2008 at 9:24 AM, Luke Vanderfluit [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi. shaun

[flexcoders] textarea line breaks

2008-06-16 Thread Luke Vanderfluit
it with the linebreaks. Whats the recommended or easiest way to do this in Flex? Kr. Luke. -- Luke Vanderfluit Analyst / Web Programmer e3Learning.com.au 08 8221 6422

Re: [flexcoders] textarea line breaks

2008-06-16 Thread Luke Vanderfluit
, they should show up in your textarea without any troubles. It could be your backend is stripping newlines on the way into or out of the database. Try trace() with the string to double check. -Josh On Tue, Jun 17, 2008 at 1:43 PM, Luke Vanderfluit [EMAIL PROTECTED] mailto:[EMAIL PROTECTED

Re: [flexcoders] textarea line breaks

2008-06-16 Thread Luke Vanderfluit
a button that when I click it does a trace of the textarea.text property. That trace doensn't contain the newlines... any ideas? Kr. Luke. then I do a trace on text property On Tue, Jun 17, 2008 at 2:05 PM, Luke Vanderfluit [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi

Re: [flexcoders] textarea line breaks

2008-06-16 Thread Luke Vanderfluit
of the textarea? -Josh On Tue, Jun 17, 2008 at 2:56 PM, Luke Vanderfluit [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi. Josh McDonald wrote: Yeah it helps, now we know that somewhere between flex and your database (on the way in) you're losing your

[flexcoders] capture linebreaks

2008-06-16 Thread Luke Vanderfluit
id=bar width=100 height=100/ mx:TextArea id=foo width=200 height=200 wordWrap=true/ mx:Button label=GO horizontalCenter=0 top=10 click=saveThis()/ Thanks in advance. Kr. Luke. -- Luke Vanderfluit Analyst / Web Programmer e3Learning.com.au 08 8221 6422

[flexcoders] combobox.selectedItem causing component to do 3 runs to the server

2008-06-02 Thread Luke Vanderfluit
everything 3 times. Any idea why this is happening? Ive tested other setter functions in my code and they are all calling 3 times... why? Thanks for any help. Kind regards. Luke. -- Luke Vanderfluit Analyst / Web Programmer e3Learning.com.au 08 8221 6422

Re: [flexcoders] combobox.selectedItem causing component to do 3 runs to the server

2008-06-02 Thread Luke Vanderfluit
Of *Luke Vanderfluit *Sent:* Monday, June 02, 2008 6:01 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] combobox.selectedItem causing component to do 3 runs to the server Hi. I have a combobox component that has a list of sites. When I click on a site in the list

[flexcoders] popup timeout

2008-05-28 Thread Luke Vanderfluit
; width=200 height=100 mx:Text text=Details Saved... x=47.5 y=33 width=105 height=35 fontWeight=bold/ /mx:TitleWindow Kr. Luke. -- Luke Vanderfluit Analyst / Web Programmer e3Learning.com.au 08 8221 6422

Re: [flexcoders] popup timeout

2008-05-28 Thread Luke Vanderfluit
Hi I solved this one as follows: See the code (changed) below, Basically the timer needs to be stopped for it to run its entire 2 seconds each time... Haha Viva Flex! Kr. Luke. Luke Vanderfluit wrote: Hi. Im trying to get a popup that says Details Saved when I save data. The popup

[flexcoders] How do I wrap text in a label control

2008-05-21 Thread Luke Vanderfluit
Hi. How do I wrap text in a label control? Thanks. Kr. Luke. -- Luke Vanderfluit Analyst / Web Programmer e3Learning.com.au 08 8221 6422

[flexcoders] talk from one swf to another

2008-05-18 Thread Luke Vanderfluit
to the subscribed object. IOW. I want to have one swf respond to changes made with a different swf. Thanks. Kind regards. Luke. -- Luke Vanderfluit Analyst / Web Programmer e3Learning.com.au 08 8221 6422

[flexcoders] binding quandary

2008-05-10 Thread Luke Vanderfluit
Hi. I have a master detail setup with a list of sites in the master section and individual sites in the detail section. In the detail section I have a form and I want to bind the form field values to the current site object. When I click on a site object in the master component, the 'set'

[flexcoders] data object transfer

2008-05-07 Thread Luke Vanderfluit
bind to the object. How do I tackle this other than populating/assigning and reading the object values manually? Thanks for any help. Kr. Luke. -- Luke Vanderfluit Analyst / Web Programmer e3Learning.com.au 08 8221 6422

Re: [flexcoders] component life cycle question

2008-05-03 Thread Luke Vanderfluit
suggestions or thoughts on this are welcome... Kr. Luke. Luke Vanderfluit wrote: Hi. Ive been reading up on the component life cycle. However the following problem I still cant solve. I have an main application component that gets passed a request parameter (personid) at runtime

[flexcoders] component life cycle question

2008-05-02 Thread Luke Vanderfluit
Hi. Ive been reading up on the component life cycle. However the following problem I still cant solve. I have an main application component that gets passed a request parameter (personid) at runtime. (Application.application.parameters.personid) I then have a component called 'sitelist' that

[flexcoders] binding problem

2008-04-30 Thread Luke Vanderfluit
suggestions? Kr. Luke. -- Luke Vanderfluit Analyst / Web Programmer e3Learning.com.au 08 8221 6422

[flexcoders] db object - main app - component

2008-04-29 Thread Luke Vanderfluit
using a setter. Would that help? What Im trying to achieve is that once the component and the form loads I can test the organisation's fields in my script block. Thanks for any responses. Kr. Luke. -- Luke Vanderfluit Analyst / Web Programmer e3Learning.com.au 08 8221 6422

Re: [flexcoders] number and string validator

2008-04-28 Thread Luke Vanderfluit
Hi Josh. Josh McDonald wrote: Just use a number validator and check it's 999 and 1? That's great! Thanks. minLength=1000 maxLength= Kr. Luke. On Mon, Apr 28, 2008 at 3:54 PM, Luke Vanderfluit [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi. I have

[flexcoders] change event

2008-04-27 Thread Luke Vanderfluit
Hi. I have a textinput and combobox. Both dispatch a change event. Is there a way of discerning which type of event so I can take appropriate action based on the type? TextInput change dispatches flash.events.Event ComboBox change dispatches mx.events.ListEvent Thanks. Kr. Luke. -- Luke

Re: [flexcoders] change event

2008-04-27 Thread Luke Vanderfluit
. *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Luke Vanderfluit *Sent:* Sunday, April 27, 2008 9:36 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] change event Hi. I have

[flexcoders] number and string validator

2008-04-27 Thread Luke Vanderfluit
the StringValidator works here... How would I use validators to check both lenght and whether the pc is 4 digits? Kr. Luke. -- Luke Vanderfluit Analyst / Web Programmer e3Learning.com.au 08 8221 6422

[flexcoders] ArrayCollection (AS) and ArrayList (java) not in sync)

2008-04-23 Thread Luke Vanderfluit
. Kind regards. Luke. -- Luke Vanderfluit Analyst / Web Programmer e3Learning.com.au 08 8221 6422

Re: [flexcoders] ArrayCollection (AS) and ArrayList (java) not in sync)

2008-04-23 Thread Luke Vanderfluit
Hi. As always. On further inspection the array on the server isnt getting it right. Sorry for the noise )-: Kr. L. Luke Vanderfluit wrote: Hi. Im having a problem retrieving a list of objects from the server. Im using blazeds and have successfully retrieved lists of objects using

[flexcoders] passing parameters to components

2008-04-22 Thread Luke Vanderfluit
responses. Kind regards. Luke. -- Luke Vanderfluit Analyst / Web Programmer e3Learning.com.au 08 8221 6422

Re: [flexcoders] passing parameters to components

2008-04-22 Thread Luke Vanderfluit
: SiteList width=218 height=378 setPersonId={personId}/ Is this the recommended way? What are the alternatives? Thanks again. Kr. Luke. Luke Vanderfluit wrote: Hi. I have a flex application that gets called from an html link and is passed a parameter. The param is personid. I retrieve

[flexcoders] sending object to component

2008-04-21 Thread Luke Vanderfluit
=no/ but how do I then access that attribute? Thanks very much for your help (-: -- Luke Vanderfluit Analyst / Web Programmer e3Learning.com.au 08 8221 6422

Re: [flexcoders] sending object to component

2008-04-21 Thread Luke Vanderfluit
Hi Shaun. That helped. Thanks bud. Kr. Luke. shaun wrote: Luke Vanderfluit wrote: Hi. I have a component that displays a form. When the form displays I want to display different stuff based on whether a property of an object that I send to the form is null or not. Im calling the form

Re: [flexcoders] sending object to component

2008-04-21 Thread Luke Vanderfluit
. Kind regards. Luke. Luke Vanderfluit wrote: Hi Shaun. That helped. Thanks bud. Kr. Luke. shaun wrote: Luke Vanderfluit wrote: Hi. I have a component that displays a form. When the form displays I want to display different stuff based on whether a property of an object that I send

[flexcoders] newbie question

2008-04-16 Thread Luke Vanderfluit
that will test the credentials, but it should also put the user into the next step of the application, what is the accepted way of doing this? Thanks. Kind regards. -- Luke Vanderfluit Analyst / Web Programmer e3Learning.com.au 08 8221 6422

Re: [flexcoders] newbie question

2008-04-16 Thread Luke Vanderfluit
. Luke. Gordon Smith Adobe Flex SDK Team *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Luke Vanderfluit *Sent:* Wednesday, April 16, 2008 5:49 PM *To:* flexcoders

[flexcoders] Proof of concept with RemoteObject, Tree, BlazeDS and callback to server

2008-03-30 Thread Luke Vanderfluit
Hi. Id like to share my experience in implementing Tree with drag and drop using RemoteObject and BlazeDS. What Im doing is this: I have a database table representing a group hierarchy. The hierarchy in the table is implemented with minsort and maxsort. So for example: Group Root: minsort 0,

[flexcoders] arraycollection and tree

2008-03-24 Thread Luke Vanderfluit
Hi. I am using remoteobject to get stuff from a database (java/mysql). I want to represent the List, generated on the server side and sent to the client as an arraycollection, as a tree. Does anyone have examples of how to do this. I have been reading the online docs but Im making very slow

Re: [flexcoders] flexmxmlservlet

2008-03-23 Thread Luke Vanderfluit
22, 2008 at 11:18 PM, Luke Vanderfluit [EMAIL PROTECTED] wrote: Hi. Im able to compile my mxml files with the mxmlc tool from both the command line and using ant. Now Im trying to compile using flexmxmlservlet. Ive moved all the right jars to the right spot (the compile

[flexcoders] flexmxmlservlet

2008-03-22 Thread Luke Vanderfluit
Hi. Im able to compile my mxml files with the mxmlc tool from both the command line and using ant. Now Im trying to compile using flexmxmlservlet. Ive moved all the right jars to the right spot (the compile is no longer complaining about missing classes etc.) and now I am receiving an error

Re: [flexcoders] DataGrid limit on amount of records or data?

2008-02-12 Thread Luke Vanderfluit
that structure in a Datagrid. I hope that explains more where Im coming from. Sorry about the confusion. Kr. Luke. Jason Merrill *Bank of America * GTO LLD Solutions Design Development eTools Multimedia *Bank of America Flash Platform Developer Community* -- Luke Vanderfluit Analyst / Web

Re: [flexcoders] DataGrid limit on amount of records or data?

2008-02-11 Thread Luke Vanderfluit
graphing from the database and returns a simple list of those values. Granted, if you're plotting or processing most of the properties in these objects this type of optimization would make much less sense. Best, Seth -- Luke Vanderfluit Analyst / Web Programmer e3Learning.com.au 08 8221 6422

Re: [flexcoders] DataGrid limit on amount of records or data?

2008-02-11 Thread Luke Vanderfluit
. Luke. -- Luke Vanderfluit Analyst / Web Programmer e3Learning.com.au 08 8221 6422

Re: [flexcoders] DataGrid limit on amount of records or data?

2008-02-11 Thread Luke Vanderfluit
it in html. Kr. Luke. Gordon Smith Adobe Flex SDK Team *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Luke Vanderfluit *Sent:* Sunday, February 10, 2008 12:34 AM *To:* flexcoders

Re: [flexcoders] DataGrid limit on amount of records or data?

2008-02-10 Thread Luke Vanderfluit
you think? Shouldnt I be able to display that many rows if I want? Kind regards. Luke. *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Luke Vanderfluit *Sent:* Saturday, February 09, 2008 4:36

Re: [flexcoders] DataGrid limit on amount of records or data?

2008-02-10 Thread Luke Vanderfluit
:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Luke Vanderfluit *Sent:* Saturday, February 09, 2008 4:36 PM *To:* flexcoders@yahoogroups.com; [EMAIL PROTECTED] *Subject:* [flexcoders] DataGrid limit on amount of records or data? Hi. Im using flex

[flexcoders] DataGrid limit on amount of records or data?

2008-02-09 Thread Luke Vanderfluit
Hi. Im using flex with a hibernate backend. I have tables in a db that Id like to show using Datagrid. I have done tests and found that there is a limit to the number of records shown in the datagrid. Is this a limitation of the datagrid? How do I get around this? I currently am able to show

[flexcoders] flex hibernate probs

2008-02-07 Thread Luke Vanderfluit
post files if necessary. TIA Kr. Luke Vanderfluit

[flexcoders] help! flex hibernate probs

2008-02-05 Thread Luke Vanderfluit
=true eventPhase=2] \__ The page is viewable at: http://203.55.21.10:7070/testFlex/inventory.mxml Please help me troubleshoot this: I can send/post/attach any files that are needed... -- Luke Vanderfluit Analyst / Web Programmer e3Learning.com.au 08 8221 6422

[flexcoders] flex, hibernate probs

2008-02-02 Thread Luke Vanderfluit
troubleshoot this: I can send/post/attach any files that are needed... Kind regards. Luke Vanderfluit