[flexcoders] Flex 1.5 DataGrid with checkBox?

2006-05-25 Thread Dan
Hello all, I am trying to build a datagrid with the first column as checkboxes. and the header of the column serve as select all function. I use cellRenderer=mx.controls.CheckBox in the cellrenderer. and it really display the checkbox. However, after searching through the help, I am not

Re: [flexcoders] E4X Gurus

2006-05-25 Thread poonam vora
hiei have tried one e4x related program.if it can give u understanding how to use it,its a program that uses e4x format in xml and ebet handlers to display the item.?xml version="1.0"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" mx:Script ![CDATA[ import flash.events.*; import

[flexcoders] writing to an XML file

2006-05-25 Thread rama satoskar
hi i have recently learnt how to read from an XML file usiing HTTPService . Is there a component available in flex to write to an XML file? Kindly Reply. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

Re: [flexcoders] writing to an XML file

2006-05-25 Thread Carlos Rovira
if you search this list you'll find a thread where someone post an example about how to do that.2006/5/25, rama satoskar [EMAIL PROTECTED] : hi i have recently learnt how to read from an XML file usiing HTTPService . Is there a component available in flex to write to an XML file? Kindly

[flexcoders] Re: writing to an XML file

2006-05-25 Thread rama satoskar
Could u guide me please...coz when i looked through the example.i saw examples of many XMLListCollection Search. But they onlt specify making XML objects . i am confused. what i fi have an external file in some other directory outside my project. can i writeKindly help. --- In

[flexcoders] troubleshooting FDS gateways

2006-05-25 Thread Barry Beattie
I'm trying to get FDS to connect to a CF gateway and getting nowhere [MessagingError message=Unknown destination 'ColdFusionGateway'.] at mx.messaging.config::ServerConfig$/getChannelSet() at mx.messaging::MessageAgent/mx.messaging:MessageAgent::initChannelSet() at

[flexcoders] importing mx packages in beta3 problem solved.

2006-05-25 Thread rama satoskar
hi , Thanks to everyone who sent me a reply. After loading-reloading beta3 just in a attempt to be able to import mx and other packages in actionscript filei finally got a solution. I cleared my cache using the ASO zip file available on

[flexcoders] Re: flex2b3 - adding a button to a textinput

2006-05-25 Thread bhaq1972
Not sure if i've explained myself clearly, but here's an example in both flex1.5 and 2. The flex 1.5 version does exactly what i want. myTextInput.mxml - flex 1.5 ?xml version=1.0 encoding=utf-8? mx:TextInput xmlns:mx=http://www.macromedia.com/2003/mxml

[flexcoders] Re: how do i control a .SWF file inside flex?

2006-05-25 Thread shemeshkale
i tried it and its not working ! again - i m using flex 1.5 here is my code: ?xml version=1.0 encoding=utf-8? mx:Application backgroundColor=#FF xmlns:mx=http://www.macromedia.com/2003/mxml mx:Script ![CDATA[ function replay(){ mySwf.content.gotoAndPlay(1); } ]] /mx:Script

Re: [flexcoders] [FLEX2:B3] Let me know that my application's backgroundColor is not white, why not?

2006-05-25 Thread Michael Schmalle
Hi Bryan, If I hear your question right, you need to take a look at; borderAlpha =0.4of the Panel, or set the Panel's backgroundColor to something differnet. Right now it is pretty transparent so you are loosing the paenl with regaurds to the background of the Application. Peace, Mike On

Re: [flexcoders] Fw: [BETA3] I found how can remove the selected item of mx.controls.Tree.

2006-05-25 Thread Michael Schmalle
My understanding was that the XMLListCollection methods would handle the needed events, but apparently not. Well, it should, and maybe this just isn't completly worked out yet in the Tree class. When you do anything to a collection be it XML or Objects, it will produce a COLLECTION_CHANGE

Re: [flexcoders] Re: flex2b3 - adding a button to a textinput

2006-05-25 Thread Michael Schmalle
Hi, Off the top of my head; set the height property of the Button. I don't think people realize that it's the actual containers that set the size of the controls. So your Button has measured itself but, it needs to be sized on both directions. Layout does something like;

[flexcoders] maps for flex

2006-05-25 Thread mehta_nm
Hi All, My name is nitin I am a new member of your group I just want to know that is any one know about the working with map on flex. I am working with maps on flex but when ever iam resizing the map its getting distorted. please guide me how to mentain the resolution while zoom in

[flexcoders] why states doesn't change in flex2 beta3?

2006-05-25 Thread oktay nba
hi everyone; i can't change states. i write a simple code, but i can't work it too. is it a bug of flex or flash player? here is the code:(in flex 2 beta2 it is done well but in beta 3 it sucks) - ?xml version=1.0

[flexcoders] Problem installing Flex 2 b3 (Installer UI Mode Error)

2006-05-25 Thread nhagagen
Hi all, I tried to install Flex Builder 2 Beta 3 on my notebook (1,5 GHz Pentium M Dothan, 1GB RAM, Win XP Pro SP2, JRE 1.5.0_06). When the Flex Builder Splash Screen appears, I get the following error message: Unable to load and to prepare the installer in GUI mode. - and setup is aborted.

[flexcoders] Re: flex2b3 - adding a button to a textinput

2006-05-25 Thread bhaq1972
--- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, Off the top of my head; set the height property of the Button. I don't think people realize that it's the actual containers that set the size of the controls. So your Button has measured itself but, it

[flexcoders] Re: why states doesn't change in flex2 beta3?

2006-05-25 Thread Geoffrey Williams
Use relativeTo instead of target: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* layout=absolute creationComplete=initData() mx:Script ![CDATA[ private var welcomeScreen:denemeci; private function initData():void{ currentState='first'; }

[flexcoders] Re: why states doesn't change in flex2 beta3?

2006-05-25 Thread oktay nba
in code there is no line like: private var welcomeScreen:denemeci; sorry oktay caglar On 5/25/06, oktay nba [EMAIL PROTECTED] wrote: hi everyone; i can't change states. i write a simple code, but i can't work it too. is it a bug of flex or flash player? here is the code:(in flex 2 beta2 it

[flexcoders] Re: FB2 :: Flex Library Project :: Fastest way to rebuild an SWC

2006-05-25 Thread Michael Schmalle
Ok, Maybe I answered my own question. It seems that in my classpath defined in the library project, when I edit a class file form that Flex library project it autmatically builds the SWC from there. --- I didn't notice that before. Is this right Adobe? Seems like it. Peace, MikeOn 5/25/06,

[flexcoders] anyone knows how to work the trace window in beta3

2006-05-25 Thread rama satoskar
i cant see the result of trace function in the console window of beta 3? kindly help. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

[flexcoders] FB2 :: Flex Library Project :: Fastest way to rebuild an SWC

2006-05-25 Thread Michael Schmalle
Hi, I have a Flex Libray Project that includes my main component classpath. What is the quickest way to ReBuild a Library Project? I am stumped on this becasue there is no mxml file and Build is disabled in the menu. So it's like, I change the source of a component that exists in the

[flexcoders] Re: FB2 :: Flex Library Project :: Fastest way to rebuild an SWC

2006-05-25 Thread Michael Schmalle
No, It did not rebuild the SWC, I commented out a trace() in the class file and the trace still traces in the other project(using the cached SWC from the Flex Library Project). So, still need some enlightenment here. Peace, MikeOn 5/25/06, Michael Schmalle [EMAIL PROTECTED] wrote: Ok, Maybe

[flexcoders] Experienced Flex Developer needed

2006-05-25 Thread Alistair Campion
We are looking for an experienced Flex developer to work on a small project. If you are interested, please send me your resume. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

Re: [flexcoders] anyone knows how to work the trace window in beta3

2006-05-25 Thread Michael Schmalle
Hi, 1) Are you using the debugger? 2) If you are tracing something like.. trace(myVar) Sometimes the myVar is null and will not show. So it is actully tracing but, there is nothing to trace. For situations like this, try; trace(myVar, myVar); then you will definatly know if the trace

Re: [flexcoders] anyone knows how to work the trace window in beta3

2006-05-25 Thread Till Schneidereit
This should just work if you compile your project with debugging enabled and have the debugging player installed. cheers, till rama satoskar wrote: i cant see the result of trace function in the console window of beta 3? kindly help. -- Flexcoders Mailing List FAQ:

[flexcoders] Re: why states doesn't change in flex2 beta3?

2006-05-25 Thread Geoffrey Williams
Just a syntax change from B2 to B3. 'target' is still a valid attribute, but it is used for something else. --- In flexcoders@yahoogroups.com, oktay nba [EMAIL PROTECTED] wrote: thnx Geoffrey, it ran. but still i dont get it why target didn't answer oktay caglar On 5/25/06,

[flexcoders] Re: FB2 :: Flex Library Project :: Fastest way to rebuild an SWC

2006-05-25 Thread Geoffrey Williams
Are the projects linked to each other? Properties Project References And you're using 'Build Automatically'? Those two might make the issue go away automagically. Otherwise try doing a Clean on all projects. --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote:

RE: [flexcoders] is delete really the best/only way to remove a node in e4x?

2006-05-25 Thread Peter Farland
Title: is "delete" really the best/only way to remove a node in e4x? For native Flash Player APIs, I'd log a bug against the player... this isn't really a Flex decision. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy SprattSent: Wednesday, May 24, 2006 9:29

Re: [flexcoders] Re: FB2 :: Flex Library Project :: Fastest way to rebuild an SWC

2006-05-25 Thread Michael Schmalle
Hi, thanks! Are the projects linked to each other? No And you're using 'Build Automatically'? Yes Clean This worked but, I wanted to see if it was automagicaly. Well, it seemed that it was the project links. Now I can edit in the source, it builds, then in my component test app, the

Re: [flexcoders] Re: writing to an XML file

2006-05-25 Thread Tim Scollick
Rama,Read the page entitled Working with XML in the documentation. It's quite thorough and should get you on your way.Regards,TimOn 5/25/06, rama satoskar [EMAIL PROTECTED] wrote: Could u guide me please...coz when i looked through the example.i saw examples of many

RE: [flexcoders] anyone knows how to work the trace window in beta3

2006-05-25 Thread Ben Lucyk
I think this is what youre looking for Rama: http://graysky.sourceforge.net/ Wonderful plug-in! Ben Lucyk [EMAIL PROTECTED] p 1.877.TRY.ESRIA ext 718 c 1.408.489.3913 f 1.877.828.4436 From: flexcoders@yahoogroups.com

RE: [flexcoders] anyone knows how to work the trace window in beta3

2006-05-25 Thread Sukhminder Singh
Hi All, Anyone knows how to upload a file in Flex 2? Thanks, Sukhminder -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Tim ScollickSent: 25 May 2006 14:24To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] anyone knows

[flexcoders] May 29 Sydney Developers Group study group

2006-05-25 Thread Chris Velevitch
On Monday 29th May, we'll be studying Actionscript 3. Please read the articles prior to the meeting (see http://www.flashdev.org.au/program). At the meeting, the moderator will lead discussion and with questions about the topic. The meeting is on at 6:30pm for 7pm start and finishes around

[flexcoders] AJAX versus Flex

2006-05-25 Thread jwc_wensan
To all: Got this email today, http://ajax.sys-con.com/ and it got me to thinking. I may get blasted for this, but here goes . . . just my .0199 cents. Let me first say I believe 100% that the Flex platform is a better mousetrap. I am currently developing applications with Flex. I prefer

[flexcoders] Re: Flex 1.5 DataGrid with checkBox?

2006-05-25 Thread Doug Lowder
Hi Dan, If your dataProvider has a field that signifies the checkbox's state, selected for example, you could add the following to your click handler: listOwner.dataProvider[getCellIndex().itemIndex].selected = check.selected; Make sure you declare listOwner and getCellIndex. I've found

Re: [flexcoders] AJAX versus Flex

2006-05-25 Thread Michael Schmalle
Hi, my 0.02 cents. When you talk about Ajax verses Flex. I think of one thing, Object Oriented Programming. This debate, Ajax vs. Flex, wait one more year and see the code libraries that are abstract and reusable within 2 seconds of loading them on your computer. See, OOP lends itself well

Re: [flexcoders] AJAX versus Flex

2006-05-25 Thread Douglas Knudsen
What this also does is make it more difficult for developers to convince management that the Flex product is better. Especially when all they hear is AJAX this and AJAX that. I recently got into a discussion on this, well it really wasn't a discussion. I was asked to giv e input on Flex to

RE: [flexcoders] Re: F2b3: e4x XML object as Tree dataprovider, how to refresh tree display?

2006-05-25 Thread Tracy Spratt
That is great. There are several places in the docs which should be updated then. I'll note them here, then put comments in the livedocs. In Using hierarchical data providers: While you can use an XML object directly as a dataProvider to a hierarchical data control, you should first convert

[flexcoders] new app wizard tool

2006-05-25 Thread Douglas Knudsen
Where oh where to post bugs for this? posted this in the adobe forums, but things are a bit more populated here, eh? The new kewl 'holy code generation batman!' app wizard generates bad SQL for me. Both the update() and create() methods are showing an extra trailing comma in the SET clause and

RE: [flexcoders] AJAX versus Flex

2006-05-25 Thread Jim Robson
OK, heres 2 more cents. My employer has a staff of very good Java developers who have been building leading-edge Web apps for years. Why did they hire yours truly a humble Flash developer? Because they could not get the UI results they wanted with any other tool. Dont get me

RE: [flexcoders] writing to an XML file

2006-05-25 Thread Tracy Spratt
You have to have something on the server-side to receive your file content and write it to the file system. I have an example for 1.5 that does this using a simple JSP page. I am at this very moment working on migrating that example to version 2.0. Do you want the 1.5 example, or do you want

RE: [flexcoders] Re: how do i control a .SWF file inside flex?

2006-05-25 Thread Tracy Spratt
Do you know for certain that the swf supports that method? Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shemeshkale Sent: Thursday, May 25, 2006 5:23 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: how do i control a .SWF

RE: [flexcoders] AJAX versus Flex

2006-05-25 Thread Jack W. Caldwell
Michael: I do not disagree from a technical standpoint and I have done my homework. I am referring to the industry's perspective. I am also looking at this from a business and marketing view. If you don't think that hype can make or break a product, just look at how U.S. politics PR

Re: [flexcoders] AJAX versus Flex

2006-05-25 Thread Carlos Rovira
As Michael points, AJAX is the client technology this year, wait until Flex 2 ships and people start knowing what they can do it. It will cost at least a a year or even a bit more that people could see that Flex is another world. But finaly, you as a developer, wants to do your job easily...and

Re: [flexcoders] AJAX versus Flex

2006-05-25 Thread Anatole Tartakovsky
My 2 cents as well.. We have been doing AJAX for 6 years -in the end we had pretty much what Flex 1.5 was -complete object-oriented environment withXHTML, custom tags, integrated webservices/java remoting, transparent dataservices, and do on We also had it up and running for 5 years

RE: [flexcoders] AJAX versus Flex

2006-05-25 Thread Stacy Young
Personally Im not expecting flex to overcome ajax in terms of market share for one simple reason. Ajax can accommodate a large proportion of developers needs. Thats not a bad thing, just a reality. Not everyone will need the kind of firepower that flex can deliver. I do believe though

Re: [flexcoders] AJAX versus Flex

2006-05-25 Thread Michael Schmalle
I have done my homework. Figure of speech. :) Not aimed at you. All I am saying, just because you have a better mousetrap doesn't mean that the industry will accept it at face value. I agree but, none of the press release journalists are talking to me. I have some pretty hefty component

RE: [flexcoders] AJAX versus Flex

2006-05-25 Thread Bart Vanhulle
I'm usually only a passive participant in this mailing list but I felt like replying to this. I as a developer am not free to choose a development platform in our company. I was actually hired because the company was searching for developers who knew stuff about Coldfusion (later moved to

[flexcoders] F2B3 - Looking for Column Chart styles example similar to old Brocade sample app.

2006-05-25 Thread Ben Lucyk
Does anyone have some examples or info for styling the mx:ColumnChart type=clustered component? I have a client that is interested in seeing the same displaced, overlapping styles for the column series as seen in the online Brocade sample app (Click Measure Viewer).

Re: [flexcoders] AJAX versus Flex

2006-05-25 Thread Michael Klishin
jwc_wensan wrote: To all: Got this email today, http://ajax.sys-con.com/ and it got me to thinking. First off, I'm a subscriber of JDJ, AJAX Developers Journal, Codeproject, I'm often to EclipseZone and JavaLobby, and I see Adobe Flex ads EVERYWHERE over the Web. Second, even

RE: [flexcoders] F2B3 - Looking for Column Chart styles example similar to old Brocade sample app.

2006-05-25 Thread Ely Greenfield
Hi Ben. When a set of column series is clustered, the chart (or columnSet) is setting the columnWidthRatio and offset properties to do it. So if you wanted to cluster differently, you could put the columnSeries inside a CartesianChart and set those properties yourself. To figure out

Re: [flexcoders] AJAX versus Flex

2006-05-25 Thread Michael Schmalle
Third, I don't remember where it comes from but anyway there's a stateful that gets me thinking in much deeper than all these A versus B flame wars: I want to say one thing and I am out. I feel compelled to reply to threads like this becasue of some reasons; 1) Defending your home is a

[flexcoders] re-ordering of DataGridColumns based on a GUI component selection?

2006-05-25 Thread djbrown_rotonews
I need to be able to change the ordering of my displayed DataGridColumns based on a selection made via another GUI component. I've captured the state of this other GUI component via a Model, but how do I go about adding some if/then/else logic inside my DataGrid/Columns/Array/DataGridColumn

[flexcoders] e4x XML Class: How to update a text node?

2006-05-25 Thread Tracy Spratt
Title: e4x XML Class: How to update a text node? I can read, add and delete text nodes, but how can I update/modify one? Should I use replace()? I think I can make that work and it seems logical. Or delete and add? Or is there another way? Tracy -- Flexcoders Mailing List FAQ:

RE: [flexcoders] AJAX versus Flex

2006-05-25 Thread Kelly @ Dekayd Media Inc.
As a final note, my employer builds applications for the worlds largest customer. Fannie Mae? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

Re: [flexcoders] AJAX versus Flex

2006-05-25 Thread Mark Wales
Imagine a world where desktop applications and Web applications look and feel the same AND work together seamlessly, then you are on a path that might lead to success. Microsoft is working on doing exactly this - it is just taking them years to deliver on it. AJAX is a place holder because

RE: [flexcoders] Experienced Flex Developer needed

2006-05-25 Thread Kelly @ Dekayd Media Inc.
Sorry -- didn't mean to reply to the whole list. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alistair Campion Sent: Thursday, May 25, 2006 5:42 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Experienced Flex Developer needed

[flexcoders] Resizing (height and width not Bindable)

2006-05-25 Thread David Clark
Hi,This is an is there a better way question.I have an mxml component based on TitleWindow. I create it with CreatePopUp. I want it to take the entire area of its parent, so, I define its height={ parent.height} and similarly for the width. This is fine, however height does not seem to be

Re: [flexcoders] AJAX versus Flex

2006-05-25 Thread John Dowdell
Stacy Young wrote: We should also be aware of the impact of flash video. Its use is skyrocketing right now ...and anywhere you have the flash player for video you open a door to flex technologies. Good point... we'll see audiences pull new Flex capabilities rapidly into their browsers, even

Re: [flexcoders] AJAX versus Flex

2006-05-25 Thread Michael Schmalle
say ones that replicate the Windows look and feel - so that people would be drawn to the interface they know, know how to use, and prefer (vs. HTML) - even while giving the developers behind the scenes a much richer set of tools for implementation. Check this out...

RE: [flexcoders] AJAX versus Flex

2006-05-25 Thread Jim Robson
Uncle Sam From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Kelly @ Dekayd Media Inc. Sent: Thursday, May 25, 2006 1:58 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] AJAX versus Flex As a final note, my employer builds

[flexcoders] Flex2 :: DeskTop Flex :: RePost

2006-05-25 Thread Michael Schmalle
Hi, This is going to get buried in that prior Flex vs. AJAX thread so here it is again for those interested at component possibilities comming up. say ones that replicate the Windows look and feel - so that people would be drawn to the interface they know, know how to use, and prefer (vs.

[flexcoders] How to populate an attribute value in DataGrid control?

2006-05-25 Thread flexnewbie
I can't figure out how to populate the First Name and Last Name, please help! For Example, XML: records record data @name=firstname @value=My_FirstName1 data @name=lastname @value=My_LastName1 /record record data @name=firstname @value=My_FirstName2 data @name=lastname @value=My_LastName2

Re: [flexcoders] maps for flex

2006-05-25 Thread ptrisnadi
Hi Nitin, I'm not sure why your map gets distorted. But my initial reaction is to think that the container you have for the map is resized by scale, not by size, which then distorts the content as well. Perhaps we can understand it better if you give us more detail to what you have done.Yahoo!

Re: [flexcoders] Resizing (height and width not Bindable)

2006-05-25 Thread Michael Schmalle
I am no expert but, I would say looking at the source, if width and height WERE bindable there would be issues with measurments and such(timming). Using the resize event is perfect in an event based system. Stick with it. ;-) Peace, MikeOn 5/25/06, David Clark [EMAIL PROTECTED] wrote:

[flexcoders] Re: e4x XML Class: How to update a text node?

2006-05-25 Thread Geoffrey Williams
var xml:XML = rootnodetext1/nodenodetext2/node/root; xml.node[0] = textOne; xml.node[1] = textTwo; trace (xml); --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: I can read, add and delete text nodes, but how can I update/modify one? Should I use replace()? I

RE: [flexcoders] How to populate an attribute value in DataGrid control?

2006-05-25 Thread Tracy Spratt
First, the @ in fornt of all the xml attributes might cause a problem. Second, The name/value pair structure of your xml is going to be difficult to work with. Are you stuck with that structure? If so you will need to use a labelFunction(). In that you will do something like: var

[flexcoders] Question on CF components created by the Flex Wizard

2006-05-25 Thread g8torjoe
I am having a little trouble following the flow of the CF components created by the wizard in Flex. I am using the save function of the gateway component and writing to the database successfully. When I create a new record I am wondering if the ID (or key - mine is ID) should be returned. I see

[flexcoders] Flex Iframe?

2006-05-25 Thread parksch2
Hi all, Does Flex have anything similar to an HTML iframe where I can embed content into a Flex screen? I have an interactive Flash map that I would like to put on a screen with a bunch of charts. Maybe there's a way to import external Flash files into Flex? I'm really not sure and can't

[flexcoders] TabNavigator Events

2006-05-25 Thread Ethan Miller
Greetings - I need one set of tabs to drive another set. Can't seem to find an event to attache the change to. CreationComplete (on each child in the first TabNavigator) works the first time but not on subsequent tab changes (they've already been created). Nor does Click work when attached

RE: [flexcoders] Re: e4x XML Class: How to update a text node?

2006-05-25 Thread Tracy Spratt
That is not working for me. I get an error Type Coercion failed: cannot convert new text node to XML. The text node currently has new text node in it and I am just adding a space character. What I am actually trying is more like this: var xmlCurrent:XML = xml.node[0]; xmlCurrent = textOne;

[flexcoders] adding columns to datagrid in a state

2006-05-25 Thread Greg Morphis
Is there a way to just add columns to a datagrid (being populated via a WS) in a new state or should you just use another datagrid with the same columns and new columns? Thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search

[flexcoders] change datagrid row color in Flex 2

2006-05-25 Thread Misael
Hi, I want to change a datagrid row background color based on a column in its dataprovider, but all I´ve got searching flexcoders archive are outdated Flex 1.5 solutions or not-very-well-explained cellRenderer tips. How can I achieve this using Flex 2 beta 3? Please, on your example, set the

RE: [flexcoders] Re: e4x XML Class: How to update a text node?

2006-05-25 Thread Tracy Spratt
Some success already, based on your suggestion: Any idea why the first option errors but the second succeeds? Option 1: var nodeTextNode:XML = _xmlNodeCurrent.text()[0]; nodeTextNode = oEvent.target.text; //ERRORS Option2: _xmlNodeCurrent.text()[0] = oEvent.target.text; //succeeds. Tracy

[flexcoders] [F2B3] About generated swf FileSize

2006-05-25 Thread Xavi Beumala
Hi all,I've notice that an empty flex application weights arround 125Kb and it's really easy to reach 300Kb (just drop a datagrid, rich text editor and a date chooser).Is this size going to be the same on the final release? Or does generated swf still contains debug and removable info? BestX.

[flexcoders] -use-network compiler param not working

2006-05-25 Thread Xavi Beumala
I'm trying to compile a F2B3 application which I want to load only file system files and running it from file:// in the navigator.Eventhough I've added -use-network=false param in the Flex Compiler properties panel, I'm receiving a sandbox security exception. Is this a bug or I'm doing

RE: [flexcoders] TabNavigator Events

2006-05-25 Thread Ashish Goyal
Try show event. You still need to use creationComplete or initialize event on the initial tab. Show event fires when you switch tabs. -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ethan Miller Sent: Thursday, May 25, 2006 12:46

[flexcoders] Re: e4x XML Class: How to update a text node?

2006-05-25 Thread Michael Montagna
To replace the text of a node you can use replace(); var myXML:XML = myRootblah/myRoot; trace(myXML:, myXML.toXMLString()); myXML.replace(0, new node text); trace(myXML:, myXML.toXMLString()); Output: myXML: myRootblah/myRoot myXML: myRootnew node text/myRoot -Michael --- In

[flexcoders] Combobox bad behaviour in RichText component

2006-05-25 Thread Xavi Beumala
Hi all,I've noticed what seems to be a bad behaviour in richText comboboxes. Try to open font size combo and then, without closing the font size combo, open the font type combo. Both will close.BestX. -- Flexcoders Mailing List FAQ:

[flexcoders] Re: XMLListCollection search [f2b3]

2006-05-25 Thread Tim Hoff
Tracy, Yesterday, I took the code from your tree control sample and started creating an example for CFlex. Are you doing something similar? The sample that I'm working on contains code and tips from you, Graham Weldon, Tim (sufibaba - don't know last name) and Paul Williams. I'm doing this

RE: [flexcoders] is delete really the best/only way to remove a node in e4x?

2006-05-25 Thread Gordon Smith
Title: is delete really the best/only way to remove a node in e4x? It may not be a Flash decision either since the API of the XML class is specified by the E4X standard. It would depend on whether that standard allows an implementor to add additional APIs or not. - Gordon

RE: [flexcoders] F2B3 - Looking for Column Chart styles example similar to old Brocade sample app.

2006-05-25 Thread Ben Lucyk
What a great help Ely. Thanks for all the detail! It sounds like youve spent a fair amount of time with this one already! :) Ill be playing with your suggestions tonight and will post my results. Thanks again, Ben Lucyk [EMAIL PROTECTED] p 1.877.TRY.ESRIA ext 718

[flexcoders] Image scale 9 having fun

2006-05-25 Thread Stacey Mulcahy
Alrighty, I'll take one for the team and post the stupidest question of the day, in fact its Stacey++ since I accidentally posted this to the Flashcoders list. - I have the following (flex 2b3) [Embed(source='assets/header.png',scaleGridTop='20', scaleGridLeft='10',

RE: [flexcoders] Image scale 9 having fun

2006-05-25 Thread Tobias Patton
Heres a little application I wrote to test 9-slice scaling. Replace the .png image with one of your own and see if it works for you. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* layout=vertical color=0xcc

[flexcoders] hide day navigator on DateChooser

2006-05-25 Thread Jesús Iglesias
Hi again, On Flex2b3, is there a way to hide the day chooser on a DateChooser and leave only top Month/year navigator? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Re: How to populate an attribute value in DataGrid control?

2006-05-25 Thread flexnewbie
Tracy, Thanks for the feedback. Unfortunately I cannot change the XML, the data is from third party provider. I tried it with labelFunction and @@, it does not work :-( var sFirstName:String = xmlRecord.data[0].(@@name == lastname).@@value; --- In flexcoders@yahoogroups.com, Tracy Spratt

Re: [flexcoders] Image scale 9 having fun

2006-05-25 Thread Michael Schmalle
Stacey, Honestly I havn't tried this but, looking at the source of Image awhile ago, I would say it is not possible with that class. The Image wants to scale not call setActualSize(). Why don't you try loading as 'backgroundImage' of a VBox or HBox. I am not to sure but, something tells me

[flexcoders] Re: Image scale 9 having fun

2006-05-25 Thread Doug Lowder
I think you'll need to add maintainAspectRatio=false to your mx:Image tag. --- In flexcoders@yahoogroups.com, Stacey Mulcahy [EMAIL PROTECTED] wrote: Alrighty, I'll take one for the team and post the stupidest question of the day, in fact its Stacey++ since I accidentally posted this to

Re: [flexcoders] Image scale 9 having fun

2006-05-25 Thread Michael Schmalle
You know, we are talking about a png, scratch the setActualSize() thing. Scratch what I said, my advice just try it in something that is a skin, not the Image. Peace, Mike On 5/25/06, Michael Schmalle [EMAIL PROTECTED] wrote: Stacey, Honestly I havn't tried this but, looking at the source of

RE: [flexcoders] Re: Image scale 9 having fun

2006-05-25 Thread Stacey Mulcahy
Love you. Dont take it personally ;) But that did it. Damn. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug Lowder Sent: Thursday, May 25, 2006 6:26 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Image scale 9 having fun I think

RE: [flexcoders] Re: How to populate an attribute value in DataGrid control?

2006-05-25 Thread Tracy Spratt
If the @ really prevent your from using the xpath-like expressions, you can always drop back to looping over the XMLList's elements. If I get a few minutes, I'll see what I can do with your xml. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] TabNavigator Events

2006-05-25 Thread Stacey Mulcahy
childIndexChange From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ashish Goyal Sent: Thursday, May 25, 2006 4:22 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] TabNavigator Events Try show event. You still need to use creationComplete

[flexcoders] Re: hide day navigator on DateChooser

2006-05-25 Thread Tim Hoff
I don't think that you can hide the days (unless you want to subclass), but the dateChooser does have disabledDays, disabledRanges and selectableRange properties. -TH --- In flexcoders@yahoogroups.com, Jesús Iglesias [EMAIL PROTECTED] wrote: Hi again, On Flex2b3, is there a way to

Re: [flexcoders] TabNavigator Events

2006-05-25 Thread Ethan Miller
On May 25, 2006, at 1:22 PM, Ashish Goyal wrote: Try show event. You still need to use creationComplete or initialize event on the initial tab. Show event fires when you switch tabs. thanks! show worked like a charm =) ethan -- Flexcoders Mailing List FAQ:

[flexcoders] Embedding Swf files Help sample broken. Need to refer to symbols at runtime.

2006-05-25 Thread pinkmongrel
I need to load swf's that include many symbols which I need to reference dynamically at runtime. I am able to embed and link to symbols whose name I know at compile time using: [Embed(source='shapes.swf', symbol='greenSquare')] [Bindable] public var imgCls:Class; I won't know some of my

Re: [flexcoders] Re: hide day navigator on DateChooser

2006-05-25 Thread Jesús Iglesias
Yes, I know, but I only need a month/year navigator, datechooser with day navigator is very big if all the days are unusable. - Original Message - From: Tim Hoff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, May 26, 2006 12:26 AM Subject: [flexcoders] Re: hide day

[flexcoders] Re: hide day navigator on DateChooser

2006-05-25 Thread Tim Hoff
Ok, how about resizing the control like: mx:DateChooser height=31 width=153/ -TH --- In flexcoders@yahoogroups.com, Jesús Iglesias [EMAIL PROTECTED] wrote: Yes, I know, but I only need a month/year navigator, datechooser with day navigator is very big if all the days are unusable.

[flexcoders] DateChooser change background color

2006-05-25 Thread Stacey Mulcahy
Anyone been able to change the dateChooser bg color? When I have rounded corners , I see white on the corners and I can manage to get the bg where you see the day items, to be anything besides white. DateChooser{ header-colors:#33, #00; roll-over-color:#ff0099;

RE: [flexcoders] Re: How to populate an attribute value in DataGrid control?

2006-05-25 Thread Tracy Spratt
First, the sample xml in your post is not valid: the data nodes have no closing taqs (or /). If we fix that then the example below works for your xml. The key is to use the attribute method instead of the @ symbol to reference the attributes. Tracy ?xml version=1.0 encoding=utf-8?

Re: [flexcoders] Re: hide day navigator on DateChooser

2006-05-25 Thread Jesús Iglesias
Yeah!!! that's an idea !!! Thanks !!! - Original Message - From: Tim Hoff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, May 26, 2006 1:13 AM Subject: [flexcoders] Re: hide day navigator on DateChooser Ok, how about resizing the control like: mx:DateChooser

  1   2   >