[flexcoders] Data provider for custom component

2006-01-13 Thread kjlinboomer
Hi all, I have developed a custom component for use in flex. I have dropped it into an MXML file and my init(), createChildren() etc functions are all working and I can pass initial values into in like: My question is how do I provide an external data provider for this component? Do I need to

[flexcoders] Flex Builder 2 panel align

2006-01-13 Thread Andy Johnston
Hey all just wondering with this constraints based layout for Flex Builder 2 is it possible to simply align a Panel to centre of a liquid layout? Why can't you set x and y values to a %? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search A

[flexcoders] How to add labelFunc when dynamically creating a DataGrid

2006-01-13 Thread Kevin Ewok
Hello all. I have a form where a user enters criteria and chooses from a list box the columns they want to see in their search results (in the form of a datagrid). The List of columns is linked to in a XML file. I am able to generate the datagrid successfully along with cell renderers, but I am

Re: [flexcoders] How to create Validator via ActionScript

2006-01-13 Thread Stanislav Zayarsky
Thanks for the answer Matt, But actually I have reviewed flex generated as file and now I know how to create validator via ActionScript in 1.5 version. Best regards Stanislav On 1/13/06, Matt Chotin <[EMAIL PROTECTED]> wrote: > Sorry, in 1.5 validators really aren't meant to be created in > Acti

[flexcoders] EventDIspatcher in Flex 2.0 alpha

2006-01-13 Thread Kaushik Mukherjee
Hi, I am facing a problem with dispatchEvent method, where I want to create own class and eventListener, in Flex ALpha 2.  But it is not giving the result.   Defautl File dispatchListenerTest.mxml CODE _   xmlns:mx="http://www.macromedia.com/2005/mxml" xmlns="*"> width="

[flexcoders] How to handle sessions in Flex

2006-01-13 Thread george_lui
Hi, I click on Logout in my application. However if I hit the browser "Back" button, I go back to the previous screen. I want to go to the login screen however. You guru's know how I would be able to do this? Can I catch the browser button events? George -- Flexcoders Mailing List FAQ:

Re: [flexcoders] VBox scrollbar bug ?

2006-01-13 Thread Avik Chakrabarty
Hi Sree, Great I feel this is the only way. On Fri, Jan 13, 2006 at 11:06 AM, Sreejith Unnikrishnan wrote:Try setting minWidth="0" and minHeight="0" to the VBox Sree superabe superabe wrote: Update on this, setting fixed widths and heights on the parent VBox resolved the issue. That will

RE: [flexcoders] Installing Flex on windows

2006-01-13 Thread John Michael Barrett
Hi Tracy,Thank you so much`-`I un installed the other version that I had, and installed the one with the "Integrated JRun4". It now works, I was able to view the examples,and was very impressed with flex so far, It seems like flex will make working with flash forms much easier, which what I am a

[flexcoders] Re: i18n support - Data Format

2006-01-13 Thread neda_eslami
--- In flexcoders@yahoogroups.com, Paul Hastings <[EMAIL PROTECTED]> wrote: > > Gordon Smith wrote: > > There is no locale support, but the various formatters offer enough > > flexibility that you should be able to add it. Formatters are also easy > > but you have no locale resources backing any

[flexcoders] Flex2.0 Alpha Expiration

2006-01-13 Thread cosmic_bandit0
What happens to the generated swf's @ expiration date of flex alpha 1 ? merci andré -- 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 <*> To visit

RE: [flexcoders] How to handle sessions in Flex

2006-01-13 Thread Carson Hager
You'll need to expire the page with cache headers so that the browser attempts to reload the page which will then take you to the login page. Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office:

[flexcoders] Re: How to add labelFunc when dynamically creating a DataGrid

2006-01-13 Thread Brendan Meutzner
Hey Kevin, If I understand correctly, how would this work... //CellrendererClass.as/mxml public var listOwner:DataGrid; public var getCellIndex:Function; public var item:Object; public function setValue(str:String, item:Object, sel:String):Void { var position:Object = getCellIndex(); var column

[flexcoders] paginating runtime objects.

2006-01-13 Thread kronos113
Hello all, I'm having a bit of difficulty. I've got a VBox component that is a combination of mxml declared components and objects added at runtime. I need to page this for printing. So I've created a script class that I pass the Container and the desired page lenght to. I return an array o

[flexcoders] Re: How to add labelFunc when dynamically creating a DataGrid

2006-01-13 Thread Kevin Ewok
Brendan- Thanks for your response. That makes sense but I'm still in the dark about how to assign a Function to the 'labelFunc' attribute dynamically when I create the Datagrid. All I will have is the name of the function, such as "displaySpecificText", so where is the method actually implemented

[flexcoders] How to read the Drive and place list into Tree?

2006-01-13 Thread cnewroth55
hi all, what i am looking to do is to have Flex or Cold Fusion, read the contents of a selected area of my drive and then display those contents into a Tree Control. Is this possible? and if so, are there any examples documenting how to do this? thx -- Flexcoders Mailing List FAQ: http://g

Re: [flexcoders] Re: How to add labelFunc when dynamically creating a DataGrid

2006-01-13 Thread Sreejith Unnikrishnan
Kevin, Just replace the piece of code where you try to assign the labeFunction with this. The rest should be OK. column.labelFunction = Delegate.create(this, displayText); Regards Sree Refer to: Kevin Ewok wrote: Brendan-   Thanks for your response. That makes sense but I'm still in the

RE: [flexcoders] How to read the Drive and place list into Tree?

2006-01-13 Thread Dekayd Media Inc.
This is possible and pretty easy if you know how.   It took me a while to figure out though because there is no specific documentation that tells you how.     I am going to assume you know how to use Flex Remote Objects to connect to a CFC. If you don't it is well documented and wort

[flexcoders] Re: How to add labelFunc when dynamically creating a DataGrid

2006-01-13 Thread Brendan Meutzner
Kevin, As long as the function reference is passed in through your column object, you should be able to set it like you have already. Here's an example using your creation method for the datagrid column: http://www.macromedia.com/2003/mxml"; initialize="initPage(

[flexcoders] Re: How to add labelFunc when dynamically creating a DataGrid

2006-01-13 Thread Kevin Ewok
Bingo! Thanks Sreejith and Brendan for your help. Cheers. --- In flexcoders@yahoogroups.com, "Brendan Meutzner" <[EMAIL PROTECTED]> wrote: > > Kevin, > > As long as the function reference is passed in through your column > object, you should be able to set it like you have already. > > Here'

[flexcoders] Re: How to read the Drive and place list into Tree?

2006-01-13 Thread Brendan Meutzner
"Good luck eh"? Some of our "Canadian-ess" rub off on you Kell? Haha --- In flexcoders@yahoogroups.com, "Dekayd Media Inc." <[EMAIL PROTECTED]> wrote: > > This is possible and pretty easy if you know how. > > > > It took me a while to figure out though because there is no specific

[flexcoders] Re: How to handle sessions in Flex

2006-01-13 Thread george_lui
thanx for the prompt reply. I neglected to mention some other requirements. The nature of our app can have our users spends a good deal amount of time filling out the form. There's a save button there to save your work. However say the user is filling out the form and doesn't bother to save the

RE: [flexcoders] Re: How to handle sessions in Flex

2006-01-13 Thread Carson Hager
Before I answer this, let me get some background. Are you using J2EE security? If so, FORM or BASIC authentication? Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.

[flexcoders] converting to RTF in flex

2006-01-13 Thread george_lui
Hi, I have a concept of a "form" in my flex app. I have this requirement where we want to export this "form" into an RTF formatted file. Has anyone ever done this before? Do you know of any flex capabilities that could assist me in implementing this? Thanx, George -- Flexcoders Mailing L

RE: [flexcoders] Re: How to read the Drive and place list into Tree?

2006-01-13 Thread Dekayd Media Inc.
Just practicing for when I move to Vancouver. Hahahaha -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brendan Meutzner Sent: Friday, January 13, 2006 11:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to read the Drive a