[flexcoders] Create an Xml file

2006-01-04 Thread shr_bali
Hi All Can i create a new XML file with the ActionScript code. Regards Shruti -- 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 your

[flexcoders] Hi Avik

2006-01-04 Thread Kaushik Mukherjee
Hi Avik, Great to hear that first time I get to know some bengali in Flex. I am Kaushik Mukherjee, joined TIS(Tata Interactive System), Kolkata. I have worked in flash development. Presently I was looking in Flex 2.0. I am not sure the Flex development work in India.Just got curious to mail

[flexcoders]Displaying a value in datagrid column

2006-01-04 Thread neha
Hi AllI have jst started developing flex applications...I m new to Flex.. I m facing a problem ... I have an object..(array of email addresses) I want to display those email addresses in a datagridBt I dnt knw how to do tht...as the object does nt have a specified propertyMy

Re: [flexcoders] open sourced Flex app

2006-01-04 Thread Weyert de Boer
Douglas Knudsen wrote: great pointsreading up on hibernate now :) Yes, Hibernate and NHibernate (.NET one) are very nice frameworks, also Spring is nice. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

RE: [flexcoders]Displaying a value in datagrid column

2006-01-04 Thread Abdul Qabiz
Hi, You need to provide columnName. Check out the code below. mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script var emailDataProvider = [{name:Foo, email:[EMAIL PROTECTED]}, {name:Zoo, email:[EMAIL PROTECTED]} ]; /mx:Script mx:DataGrid id=dgrdEmail

RE: [flexcoders] Pagination in Flex ?

2006-01-04 Thread Sandip Patil
Thx Abdul,For the link which you sent to me.But here I am facing problem with DB.The records are not showing. I am using Mysql as DB JRun as server. I also tried http://www.markme.com/mchotin/files/data-1-jrun.xml the link given by Matt but still not able to connect to DB. Can you

[flexcoders] need call-by-value instead of call-by-reference

2006-01-04 Thread negttid
hello Flexcoders, i have a problem with a variable, which is automatically updated, but i don't need that. How can I just use the VALUE of that variable and no REFERENCE??? Example mx:Box id=myBox x={posBox*2} .../ I initialize this with posBox = 3 Now I want to do: posBox = 5; // this already

[flexcoders] Re: open sourced Flex app

2006-01-04 Thread Dave Wolf
Yeah I have a bit of an opinion on those pesky web services :) I agree with most of this thread. Stick with open standards, use best of breed services (I consider Hibernate/Spring a service not a framework per se), and keep extensability in mind. Honestly with Flex2 the ability to justify an

[flexcoders] Need Help with Complex Array Syntax

2006-01-04 Thread Libby
I am trying to create an array of Objects and each is a different class. Is it possible to create the array while telling the class type of each object? On a plain old single Object instantiation you might do this: public var x:xClass; x = new xClass(); I am trying to create an array of these

RE: [flexcoders] Need Help with Complex Array Syntax

2006-01-04 Thread Jose \(DSM\) Lora
Try public var myArray:Array = new Array(); myArray[0] = new xClass(); myArray[1] = new yClass(); myArray[2] = new zClass(); From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Libby Sent: Wednesday, January 04, 2006 8:28 AM To:

[flexcoders] Re: State Machine Implementation, anyone?

2006-01-04 Thread Clifford Hall
Very cool this SCXML stuff. checked out the w3c docs. BTW, states are incorporated into Flex 2. They're not in the alpha, but I saw it demonstrated at MAX. There is a mx:State tag that wraps an arbitrary chunk of mxml. You can have state transition effects, etc. I doubt this is embracing SCXML

Re: [flexcoders] Re: State Machine Implementation, anyone?

2006-01-04 Thread Aldo Bucchi
Hi Cliff, Yes, Flex2 has a hierarchical state implementation, but it is very basic. The good part is that it is tightly integrated to the framework and the IDE. If we were to build ( or adapt ) a full blown CHSM then integrating it with the flex state machine should be an objective. Actually,

[flexcoders] Re: State Machine Implementation, anyone?

2006-01-04 Thread Clifford Hall
Spoke too soon about the alpha. I remembered them saying it wouldn't be in, so I hadn't even looked. It is there after all. (I'm only just recently having time to dig into it). And certainly it does seem to be very basic. Yet another thing pushed on the 'to explore soon' stack... :) -=Cliff

[flexcoders] headerRenderer variable

2006-01-04 Thread jrab2999
Hello, is it possible to push a title variable to a headerRenderer from a dataGridColumn by mx tag? I use a Datagrid with custom headerRenderers for every column which is annoying: datagrid:--- ... mx:columns mx:Array mx:DataGridColumn

Re: [flexcoders] Create an Xml file

2006-01-04 Thread Michael Klishin
shr_bali wrote: Can i create a new XML file with the ActionScript code. You can create new XML object and then send it to server to save it (or use Flash Remoting for saving). Check out XML class in docs ;) -- Michael Antares Klishin, Email: [EMAIL PROTECTED] Web: www.novemberain.com Non

[flexcoders] Inserting data from a combobox

2006-01-04 Thread Jeremy Rottman
I am a little confused on how to insert data that is selected in a combobox. I have this code below. I assume this is the correct way to handle this, but I am not sure. Can someone take a look? Combobox: mx:ComboBox x=197 y=64 dataProvider={dirPrefix} id=fld_propDir/mx:ComboBox Onclick Save

[flexcoders] Help with data field.

2006-01-04 Thread Jeremy Rottman
I have a data field that I am using to allow admins to choose the data of a listing. In the data field the correct data shows up. However when I insert it into the database, it shows up as something like this. If I choose 01/04/2006 it shows up in the database as Wed 04 00:00:00 GMT. So I changed

[flexcoders] custom cell renderer onMouseover..

2006-01-04 Thread Greg Morphis
We have a custom cellrenderer which on mouseover makes an icon appear which the user can click to remove that entry.. A problem that we're seeing is that the mouseOver stopped right after the text ends. If we mouseOver the text we can see the icon, as soon as we move off of the text the icon

[flexcoders] Beta Flex 2 release Date? Any one for a Guess

2006-01-04 Thread sufibaba
Hi All, Can anyone give an estimate on when Flex 2 will be released? It doesn't have to be a final word, just an approximate time. We are working on a Flex 2 project that is being slowed to a halt do the many bugs in Flex Alpha. Sincerely, Tim -- Flexcoders Mailing List FAQ:

[flexcoders] Re: ANY FLEX TREE GURUS?

2006-01-04 Thread sufibaba
Anatole, Thank you very much indeed for your help. I will try to convert this into Flex2. Cheers. Tim --- In flexcoders@yahoogroups.com, Anatole Tartakovsky [EMAIL PROTECTED] wrote: Tim, Did not create one for for Flex 2 /commercial one as I think the real implementation requires

RE: [flexcoders] Beta Flex 2 release Date? Any one for a Guess

2006-01-04 Thread Jose \(DSM\) Lora
Same here, I have a development team waiting for that Beta From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sufibaba Sent: Wednesday, January 04, 2006 2:15 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Beta Flex 2 release Date? Any one for a

[flexcoders] Re: custom cell renderer onMouseover..

2006-01-04 Thread Greg Morphis
This is strange!!! If we set the backgroundColor then I can mouseOver from the text to the image.. if we do not then the mouseOver only works on the text.. WTF?? Is there a way for the cellrenderer to know what row the user is on (in the below code)? I suppose I could set the backgroundColor back

[flexcoders] Re: New to Flex, and mxml and getting an error trying to use RSS

2006-01-04 Thread malik_robinson
Hi,I tried pointing it at the following URL:weblogs.macromedia.com/mchotin and I received the same error, can you try it using this URL and let me know if you are able to see the result. This URL should have the crossdomain.xml file in it as this URL is used in a tutorial on the

RE: [flexcoders] Beta Flex 2 release Date? Any one for a Guess

2006-01-04 Thread David Mendels
Hi all, Good to hear you are eager. The team is hard at work. The next beta will be a big leap forward. I am not going to give a specific date or commit to anything...we need to make sure the beta is ready before we ship it, but I would expect it in 3-5 weeks. NO guarantee. In the

Re: [flexcoders] Beta Flex 2 release Date? Any one for a Guess

2006-01-04 Thread Weyert de Boer
I mainly use Flex for learning purpose, somehow noon of my clients want to let me make their site with Flex. Two months ago I had to chance are they running Citrix systems -- and was Flash a nogo. How odd. Anyway I think Flex is a nice product. If anyone know a project ;-) Hi all,

Re: [flexcoders] Beta Flex 2 release Date? Any one for a Guess

2006-01-04 Thread Weyert de Boer
Maybe I should make examples stuff for the community ! -- 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 your group on the web, go to:

[flexcoders] Please advise on how to implement this

2006-01-04 Thread t_msreddy
We are actually working on some application which has a section with the following details: 1. Section should have some kind of a timeline bar as header (like in bar chart, main ticker as weeks and small tickers as days). We want to see the grid as well. 2. Should be able to create multiple

[flexcoders] Re: Beta Flex 2 release Date? Any one for a Guess

2006-01-04 Thread Jeremy Rottman
I cant wait for flex beta 2. I am having a huge blast with flex alpha 1 right now. As for now, I have three projects that I am working on. Project 1: Broker Firm BackOffice Demo tool. Developed to include all aspects of our current coldfusion site. File tracking, file additions, file

[flexcoders] Re: Auto detection of Flash Player Version

2006-01-04 Thread Andrew Spaulding
Hi Kam, It should be as simple as changing the following information in the flex-config.xml required-version8/required-version !-- 'dot' release of the required player -- required-major-revision0/required-major-revision !-- minor revision number of the required player --

RIch Text Editor (was RE: [flexcoders] Re: Beta Flex 2 release Date? Any one for a Guess)

2006-01-04 Thread David Mendels
Hi, Can you give very specific feedback on what you need in the RTE? -David From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy RottmanSent: Wednesday, January 04, 2006 5:33 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Beta Flex 2

[flexcoders] How to have the onResult handler access data other

2006-01-04 Thread Kevin Ewok
Hello all. I have a requirement that allows users to do submit a search query which when submitted, adds a new tab to the tab navigator, with a datagrid, and adds the returned data as the dataprovider to the datagrid within that tab. That all works fine. However, I have data that is being

Re: [flexcoders] Re: New to Flex, and mxml and getting an error trying to use RSS

2006-01-04 Thread fla coder
the example still works for me todaytry this code:?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml xmlns=* initialize=feedRequest.send() mx:HTTPService id=feedRequest url="" href="http://weblogs.macromedia.com/mchotin/index.xml">

[flexcoders] Re: How to have the onResult handler access data other

2006-01-04 Thread Andrew Spaulding
What are the compiler errors that you are getting? The error will better help us solve your problem. As for a pattern I'm not sure what I could suggest but you could store a currently selected datagrid id in a model and access it from within your command. But i think the approach you are taking

RE: [flexcoders] Beta Flex 2 release Date? Any one for a Guess

2006-01-04 Thread Vinny Timmermans
Hi David, I am working on an Flex 2 /CFMX7 Enterprise project and my main concern at the moment is whether the Flex Enterprise Gateway betafor CF, announced at MAX, will be released at the same time as the Flex Enterprise Services beta. In other words, can we get our hands dirty

Re: RIch Text Editor (was RE: [flexcoders] Re: Beta Flex 2 release Date? Any one for a Guess)

2006-01-04 Thread Weyert de Boer
Hi, Can you give very specific feedback on what you need in the RTE? Someway to make your own editors in Flash i.e. handle it all yourselves. It might be possible partly by AS3 already, though. Not sure, haven't tried it y et. -- Flexcoders Mailing List FAQ:

RE: [flexcoders] need call-by-value instead of call-by-reference

2006-01-04 Thread Gordon Smith
The databinding notation x={posBox*2} binds x to the value posBox*2 so that x automatically updates when posBox changes. If you don't want this to happen, you can't use the databinding notation. Instead, set the x position in the initialize or creationComplete handler: mx:Box id=myBox

RE: [flexcoders] Need Help with Complex Array Syntax

2006-01-04 Thread Gordon Smith
If you know the array elements at compile time, the [ ] array-literal syntax is more readable and produces smaller and faster code: public var myArary:Array = [ new xClass(), new yClass(), new zClass() ]; You don't need to set each element one at a time. - Gordon

RE: [flexcoders] Re: custom cell renderer onMouseover..

2006-01-04 Thread Gordon Smith
The player's is-the-mouse-over-this-DisplayObject logic checks whether the mouse is over a part of the DisplayObject that has been drawn into. This lets a DisplayObject have non-rectangular hit areas. If you haven't drawn into the Sprite, the mouse can't detect it at all. If the Sprite has any

RE: [flexcoders] Beta Flex 2 release Date? Any one for a Guess

2006-01-04 Thread João Fernandes
I have the same concern about Flex 2 DS + CF Enterprise. It would be lovely if Adobe (still find weird this name) could post some samples of Flex2DS with CFAdapter like they did for the Java Connector. Even if I have to wait 3-5 weeks (or more) I could see if any of the current CRUD frameworks

Re: [flexcoders] Re: ANY FLEX TREE GURUS?

2006-01-04 Thread Anatole Tartakovsky
Hello, I just uploaded "cleaner" example over (http://www.ajaxmaker.com/TreeSample.zip). I also talked to designers here at the company and we tried approach suggested by Theodore Patrick with drawing API for commercial client - it does look better, especially when professionally done by

[flexcoders] How to detect the session time out in flex application

2006-01-04 Thread loveewind
I have a approach that use setInterval() in application page to detect the session time out,howerver, it seems difficult, who have experience in detecting session ? I'd like to get your help. Thanks. -- Flexcoders Mailing List FAQ:

Re: RIch Text Editor (was RE: [flexcoders] Re: Beta Flex 2 release Date? Any one for a Guess)

2006-01-04 Thread JesterXL
It is. mx:RichTextEditor / - Original Message - From: Weyert de Boer [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, January 04, 2006 6:39 PM Subject: Re: RIch Text Editor (was RE: [flexcoders] Re: Beta Flex 2 release Date? Any one for a Guess) Hi, Can you give

Re: [flexcoders] How to detect the session time out in flex application

2006-01-04 Thread Valy Sivec
Do you use any type of authentication? Do you use Java on the server side?.Valyloveewind [EMAIL PROTECTED] wrote: I have a approach that use setInterval() in application page to detect the session time out,howerver, it seems difficult, who have experience in detecting session ? I'd like to

RE: [flexcoders] Get selected tree node for dynamically created tree

2006-01-04 Thread Matt Chotin
Title: Get selected tree node for dynamically created tree You need to use node.getProperty(label) not .attributes, this way your code will work regardless of how the dataProvider was specified. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On

RE: [flexcoders] Re: Double database Insertions with initialize

2006-01-04 Thread Matt Chotin
If you only want the function to execute once no matter how many components you can use a static member of the component to keep track of whether it's been called and only call once. Static var called:Boolean = false; In your function: If (!called) { //make the call Called = true; } Matt

RE: [flexcoders] Pagination in Flex ?

2006-01-04 Thread Matt Chotin
Grab the files from http://weblogs.macromedia.com/mchotin/files/data-5.zip as that contains everything meant for Flex 1.5. Youll need to search for docs on getting MySQL into the jrun-resources.xml file, maybe you need a full version of JRun so you can get an administrator console (the

RE: [flexcoders] headerRenderer variable

2006-01-04 Thread Matt Chotin
Define a setValue function in your header renderer, the headerText that you specify for the column will be passed through to it. mx:DataGridColumn headerRenderer=gridHead_ist_aw headerText=sometext columnName=.../ Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Flex 1.5: AS2 serialization issue . Parent/Child data model implementation

2006-01-04 Thread Valy Sivec
Hello Flexcoders, here I am again...I have set the logging level to Debug in the gateway-config.xml and was able seeing how data is sent on the wire However, I wasn't able to figure out what's wrong with the code.I have pasted below the JAVA/AS2 data model and also the AMF log messages. If

RE: [flexcoders] Inserting data from a combobox

2006-01-04 Thread Matt Chotin
So what didn't work here? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Wednesday, January 04, 2006 8:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Inserting data from a combobox I am a little confused on how

Re: [flexcoders] Re: State Machine Implementation, anyone?

2006-01-04 Thread Aldo Bucchi
Take a look at this SCXML implementation in jakarta commons ( still in the sandbox though ) http://jakarta.apache.org/commons/sandbox/scxml/ I will dig it up as time permits and see if a (partial) AS port is feasible. On 1/4/06, Clifford Hall [EMAIL PROTECTED] wrote: Spoke too soon about the