[flexcoders] Re: DataGrid scroll size on data load

2008-06-11 Thread jmfillman
I have horizontalScrollPolicy=on, which doesn't make a difference. The field gets cut off whether on, off, or auto. My issue is knowing how big to set the column, based on the data. My preference would be a column itemRenderer using a TextArea with word wrap, but that doesn't appear to work

[flexcoders] Blocking Dialog In Felx

2008-06-11 Thread Parkash
Hi All I have created a custom yes/no dialog using TileWindow and I am displaying it with the help of Popup Manager. Note this is Modal Dialog. Now I am deleting ten records all at once so this dialog opens up and ask for user confirmation r you sure you delete this record, but the problem

RE: [flexcoders] Math.abs() Limitation?

2008-06-11 Thread Gordon Smith
Number.MAX_VALUE doesn't have enough precision to handle what I was trying to do. What do you mean by this? A Number, being 64 bits, actually has both more precision and more range than int, which is 32 bits. For example, in addition to storing fractional values, it can store integers much

RE: [flexcoders] Re: Object name from a mouse click

2008-06-11 Thread Gordon Smith
I want to know objDG Sorry, that doesn't make sense. objDG isn't the name of the DataGrid, it's the name of a variable that points to a DataGrid instance. You could lots of variables pointing to the same DataGrid instance. Instances don't keep track of the names of variables that point to

RE: [flexcoders] Datagrid Password Column?

2008-06-11 Thread flexcoders
A TextInput just contains a TextField and draws border and background around it. DGIR extends TextField. If you're ok with popup editors, I'd extends both DGIR as the renderer and TextInput as the editor. If you really need TextInput as the renderer, try setting backgroundColor=. I'm not

RE: [flexcoders] Re: DataGrid scroll size on data load

2008-06-11 Thread Alex Harui
Just set wordWrap=true on the column? And variableRowHeight=true? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jmfillman Sent: Tuesday, June 10, 2008 11:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: DataGrid scroll

[flexcoders] Memory leak caused by Image and String objects

2008-06-11 Thread akila_ksri
I have an application that makes use of 3 to 4 'Image' objects and quite a few labels. The memory grows enormously when an Image.load() occurs even though I have only one instance of the Image object at a time. (I need to execute the load() method since the image needs to be loaded dynamically).

Re: [flexcoders] Re: Any best-practice for labelField=field.innerField on things like DataGridC

2008-06-11 Thread Doug McCune
I've done something like this before, where fullField is the String representation of the field (like field1.field2.field3) and item is the top-level data object: var split:Array = fullField.split(.); var valueObj:Object = item; for(var i:int=0; isplit.length; i++) { valueObj =

[flexcoders] HTTPService Bug

2008-06-11 Thread Rafael Faria
Any reason why HTTPService when return my XML as an Object transform the following array into strings that was suppose to contain strings item key=version label![CDATA[Version]]/label type![CDATA[dropdown]]/type source item

[flexcoders] How would i layout different objects in grid form

2008-06-11 Thread anuj181
Hi I have few objects containing of type image in my HBOX container. I am letting user drag and drop those objects within the HBOX. I want to provide user the option to arrange those objects in grid layout form. There is radio button on the main application saying 'Grid' and if user selects that

Re: [flexcoders] Re: DataGrid scroll size on data load

2008-06-11 Thread Parkash
This Might Help you ... and is much better way then wraping header text mx:DataGridColumn headerRenderer=HeaderRenderer . / //HeaderRenderer.mxml ?xml version=1.0 encoding=utf-8? mx:Label xmlns:mx=http://www.adobe.com/2006/mxml; text={data.headerText} truncateToFit=true /mx:Label

RE: [flexcoders] Flex 3.1 - The Marshall Plan

2008-06-11 Thread Gregor Kiddie
Are you really asking whether remote content will be allowed application-level access to the computer? In essence, yes. Or at least the ability to trust remote modules somehow. I thought about this some more last night after I had posted my original message, and I'm pretty sure that this

Re: [flexcoders] Math.abs() Limitation?

2008-06-11 Thread John McCormack
Inside a Flex Builder 3 Actionscript project, when debugging.. Code: var n1:int=Math.abs(int.MAX_VALUE - 1290); var n2:int=Math.abs(int.MAX_VALUE - 1284); var n3:Number=Math.abs(int.MAX_VALUE - 1290); var n4:Number=Math.abs(int.MAX_VALUE - 1284); if (Math.abs(int.MAX_VALUE - 1290) ==

[flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread b_alen
Don't put your bollocks to my bollocks dude :) :) Steve White: Oh I think it's across the board. Typically, whenever people are in a position of power, or think they're in a position of power, is when it most likely arises. Yes, there are clients who will screw your happiness in every way they

[flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread b_alen
No, the floor is not Employee's. But if the employee by doing the finishing of the floor realizes how to do it with different tools and techniques better, then he has every right to apply his knowledge on another floor with different client. - As an

[flexcoders] Finding the last day of the month

2008-06-11 Thread Indra Prastha
Hi, I used to work with Coldfusion where they have this function like DaysInMonth(date), to obtain the last day of the month (31 / 30, or 28 / 29 for feb / leap year) ,and it's very handy, is there anyway I could achieve the same function in Flex? Thanks. Cheers! Indra Prastha, [EMAIL

Re: [flexcoders] Re: Possible to add some data to load to the default preloader?

2008-06-11 Thread Tom Chiverton
On Wednesday 11 Jun 2008, b_alen wrote: Yes it's a bit messy, and the loader bar would not show the exact progress, it would only stay there at 100% until the data arrives. We fade up to white at the end of the preloader, then fire the 'done' event when the effect finishes, and when the app is

[flexcoders] Re: Possible to add some data to load to the default preloader?

2008-06-11 Thread b_alen
Ignoring the default preloader and rolling your own? Do you have link to more info on that? That might be half way there. Anyway, I guess my question is answered - it is not possible. But wouldn't it be an interesting feature? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED]

Re: [flexcoders] Blocking Dialog In Felx

2008-06-11 Thread David Pariente
Hi, I'm quite new to flex...so i dont know what tools there are to do this. I'm so new that i must look for other ways to solve problems, so I would make an array, and for each element of the array i would throw that popup. Check first one, and when confirmed or cancelled, call a function that

Re: [flexcoders] Flash Player Debug version

2008-06-11 Thread Tom Chiverton
On Wednesday 11 Jun 2008, Kerry Thompson wrote: redirected me to the Adobe install page. To the *debug* version, or the main runtime ? So I duly re-installed the latest Flash Player, and I'm still getting the error. What makes it even more odd is that I'm able to debug in Flash CS3 with no

Re: [flexcoders] Blocking Dialog In Felx

2008-06-11 Thread Tom Chiverton
On Wednesday 11 Jun 2008, Parkash wrote: this dialog in non-blocking dialog and displays all ten confirmation message at the same time, please tell me how to create blocking Dialog in flex . If you were subclassing Alert, you could hook into the yes/no button clicks, and fire the ten deletes

Re: [flexcoders] breakpoints stopped working

2008-06-11 Thread Tom Chiverton
On Tuesday 10 Jun 2008, Sherif Abdou wrote: something that needs to be opened? I did install Live Care Today so that may be the problem. Does uninstalling or disabling it (whatever it is) help then ? -- Tom Chiverton This email is sent

[flexcoders] lcds references to same item

2008-06-11 Thread Thierry V.
Hello all ! I use LCDS to retrieve data from my database and display it on a tree. I have the following tables : model, model_media and media. I have made an hibernate model mapping with a Set from model to model_media, to get for each model their medias, like this : set name=children

RE: [flexcoders] Datagrid Password Column?

2008-06-11 Thread Cato Paus Skrede
Do this on the textInput borderStyle=none alpha=0.0 -Opprinnelig melding- Fra: [EMAIL PROTECTED] .com [mailto:[EMAIL PROTECTED] ps.yahoo.com] Sendt: 11. juni 2008 08:31 Emne: RE: [flexcoders] Datagrid Password Column? A TextInput just contains a TextField and draws border and background

RE: [flexcoders] Solution similair to f-in-box (actionscript - c#)

2008-06-11 Thread Mikhail Pauw
Hi Steve, Thank you for your reply. I've look through the f-in-box site for socket connection but I can't find anything on it. Is this something your company wrote yourself on top of f-in-box or is this a standalone solution? How do you mean that ExternalInterfaces can convert some basic

Re: [flexcoders] Blocking Dialog In Felx

2008-06-11 Thread Paul Andrews
The problem is not really in handling blocking dialogs, but the way that you are approaching the problem. If you have ten records to delete and MUST have confirmation for each one, delete them one by one and ask for each one, but don't try to delete a record until the previous one has been

[flexcoders] Order datagrid by date in DD/MM/YYYY format

2008-06-11 Thread David Pariente
Hi everyone, I have a datagrid with a Date column. I want user to be able to order by that date column, but the Dates in that column are in DD/MM/ format, and flex doesn't order them propertly. Does anyone have a solution for that? Could tell Flex how should the column be ordered, by

[flexcoders] Re: hiding a cell within a datagrid dynamically

2008-06-11 Thread anthony_morsey
Thanks TH -- your solution works great!! Tony --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Here's another way: mx:DataGrid id=mygrid dataProvider={initDG} mx:columns mx:DataGridColumn id=grant_year dataField=grant_year/ mx:DataGridColumn

Re: [flexcoders] Order datagrid by date in DD/MM/YYYY format

2008-06-11 Thread Scott Melby
David - What you want to do is sort the data in your data provider. Typically I do this by storing the date as a number field (milliseconds since epoch) in the class that I am rendering. This allows numeric sorting on the date that is rendered in the column. The following snippet creates a

RES: [flexcoders] Finding the last day of the month

2008-06-11 Thread Michel Scoz
There you go... public function getLastDayOfMonth(month:Number, year:Number):Number { var lastDay:Number; if (month == FEBRUARYNUMBER) { if (((year % 4) == 0 (year % 100)!=0) || (year % 400)==0) {

Re: [flexcoders] Finding the last day of the month

2008-06-11 Thread Ralf Bokelberg
Pass in -1 as the day, eg. the date of the last day of February is Date(2008,2,-1); Cheers Ralf. On Wed, Jun 11, 2008 at 2:02 PM, Michel Scoz [EMAIL PROTECTED] wrote: There you go... public function getLastDayOfMonth(month:Number, year:Number):Number { var

Re: [flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread Jeffry Houser
No argument there, however that employee cannot work on the other employers floor w/ the same equipment provided by the first employer. b_alen wrote: No, the floor is not Employee's. But if the employee by doing the finishing of the floor realizes how to do it with different tools and

Re: [flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread bubbamorse
Maybe. If said tools and techniques are uncovered while being paid to accomplish this floor re-finishing, then No they do not have any legal right to re-use it. In reality, will folks re-use/re-purpose what they've done? Absolutely but they have no legal right to it and by taking such actions

[flexcoders] Re: HTTPService Bug

2008-06-11 Thread tspyro2002
All XML attribute values, names, and text values are String data types, and you may need to convert these to other data types. For example, the following code uses the Number() function to convert text values to numbers: var myXML:XML = order

[flexcoders] flex and struts

2008-06-11 Thread kamel
I want to develop an application flex combining struts. can anybody help me.

[flexcoders] Re: Display datatips from lookup field

2008-06-11 Thread kirilminevgroups
--- In flexcoders@yahoogroups.com, kirilminevgroups [EMAIL PROTECTED] wrote: I have a feature build in to my Flex Plots chart that searches my data points by given value and than it select the points on chart. This part works fine, but also need to display the datatips associated with this

[flexcoders] Re: Socket HTTP/1.1 connection not closed even after Response is sent

2008-06-11 Thread e_baggg
Thanks for your response...I have a full access cross domain on my server and loading it via Security.loadPolicyFile() does nothing as well. Hmm... cross-domain-policy allow-access-from domain=*/ /cross-domain-policy --- In flexcoders@yahoogroups.com, å`¨æŒ¯å®‡ [EMAIL PROTECTED] wrote: When

[flexcoders] How to change border around the defaultButton

2008-06-11 Thread kenoveandersen
I cant find a way to change the default thick blue border around the button that is default. I want to remove the border on the button when I am in the input field. I have tried various styles but cant find the one that that applies. Does anyone have an idea how to do this? See example below:

Re: [flexcoders] How to change border around the defaultButton

2008-06-11 Thread Michael Schmalle
I don't think Flex 3 implemented this. I know there is some free button skins out there. Try googling 'flex button border skin'. Mike On Wed, Jun 11, 2008 at 9:02 AM, kenoveandersen [EMAIL PROTECTED] wrote: I cant find a way to change the default thick blue border around the button that

[flexcoders] Re: Socket HTTP/1.1 connection not closed even after Response is sent

2008-06-11 Thread e_baggg
Actually, I stand corrected. Once I added in my port # to the cross-domain...it worked. Thanks again gang! Big help! cross-domain-policy allow-access-from domain=* to-ports=9080,8080/ /cross-domain-policy --- In flexcoders@yahoogroups.com, e_baggg [EMAIL PROTECTED] wrote: Thanks for your

[flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread b_alen
Definitely not with equipment, that would be called theft. But with the knowledge gained yes. The question here wasn't could I take the code of the company and use it, but could I use the code (i.e. knowledge) that I have developed for the company on other projects. --- In

[flexcoders] Re: List item selection on mouse right click?

2008-06-11 Thread Robert Csiki
Bump.. anyone?? --- In flexcoders@yahoogroups.com, Robert Csiki [EMAIL PROTECTED] wrote: Is that possible in Flex 3? If so, how? I want to select an item in a list grid with the right mouse click the same way it is done when using the mouse's left button (e.g. Windows Explorer native

Re: [flexcoders] How would i layout different objects in grid form

2008-06-11 Thread Tom Chiverton
On Wednesday 11 Jun 2008, anuj181 wrote: user selects that button then depending on the number of objects, the grid layout will be generated in HBOX (to arrange those objects). For Sounds like you could put your current HBox along with a Grid into a ViewStack, binding them both to the same

Re: [flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread Paul Andrews
I think the real problem is that many people build up class libraries over time that get incorporated into various projects. The sticky question is where does work-for-hire leave that code (particularly if most of the library code used for a particular project was created beforehand). It may

[flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread b_alen
So you're saying if I find a way how to get into a tight corner and polish it with a specially pimped tooth brush, while doing this for the almighty Employer, I can never ever use that technique and the similar tooth brush again? So I will be staring at the corner helpless, thinking, man I can't

Re: [flexcoders] Datagrid Password Column?

2008-06-11 Thread sLangeberg
Did you try the 'itemEditor' property, instead of 'itemRenderer'? If memory serves, the row will toggle between your textinput and the default text renderer, when you use the editor setup. -Scott On Tue, Jun 10, 2008 at 6:27 PM, Dennis Falling [EMAIL PROTECTED] wrote: I have an editable

[flexcoders] not sure why COLLECTION_CHANGE listener is not firing.

2008-06-11 Thread Derrick Anderson
Hi, I'm using the Guasax framework in my application- and in my model I am adding a collection change event listener, but it is never getting fired- here is my code (is there something with adding event listeners in a constructor maybe??) *EmployeesModel.as* package com.winn.model { import

RE: [flexcoders] flex and struts

2008-06-11 Thread Battershall, Jeff
http://www.adobe.com/devnet/flex/articles/struts.html - but this is from the original Flex Beta time period. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kamel Sent: Wednesday, June 11, 2008 8:44 AM To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] not sure why COLLECTION_CHANGE listener is not firing.

2008-06-11 Thread Michael Schmalle
Hi, Your wiping the reference to the original collection looks like. When you receive your data, try using removeAll(), addItem() or ICollectionView. OR set the 'source' property on the collection you added the listener to. Mike On Wed, Jun 11, 2008 at 9:56 AM, Derrick Anderson [EMAIL

[flexcoders] Re: not sure why COLLECTION_CHANGE listener is not firing.

2008-06-11 Thread Cato Paus
look at this mx.events.CollectionEventKind --- In flexcoders@yahoogroups.com, Derrick Anderson [EMAIL PROTECTED] wrote: Hi, I'm using the Guasax framework in my application- and in my model I am adding a collection change event listener, but it is never getting fired- here is my code (is

Re: [flexcoders] Datagrid Password Column?

2008-06-11 Thread Dennis Falling
With backgroundAlpha=1, the box always has the white background, whether it's selected or not: http://dl.getdropbox.com/u/15760/alpha1.PNG With backgroundAlpha=0, the box never has a white background, even when it is selected: http://dl.getdropbox.com/u/15760/alpha0.PNG Both of these ways are

Re: [flexcoders] not sure why COLLECTION_CHANGE listener is not firing.

2008-06-11 Thread Derrick Anderson
hey mike, i realized i was writing over the original array collection shortly after posting- i am now just overwriting source like you suggested and my listener is back, thanks! d. On Wed, Jun 11, 2008 at 10:07 AM, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, Your wiping the reference to

Re: [flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread Jeffry Houser
It really depends on what that knowledge is. ;) b_alen wrote: Definitely not with equipment, that would be called theft. But with the knowledge gained yes. The question here wasn't could I take the code of the company and use it, but could I use the code (i.e. knowledge) that I have

[flexcoders] Re: Datagrid Password Column?

2008-06-11 Thread Cato Paus
you can do this to: ?xml version=1.0 encoding=utf-8? mx:TextInput xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=initThis() displayAsPassword=true borderStyle=none alpha=0.0 focusEnabled=true mx:Script ![CDATA[ private function initThis():void {

Re: [flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread Jeffry Houser
The answer is it depends. If you're using any old toothbrush in an obvious way, you can probably re-use the technique / materials. If you create your own brush for the purpose, it (and any related patents) would probably be property of the employer. If you created a nice collision detection

[flexcoders] Quiz Program

2008-06-11 Thread Ravichandran J
Hello! I am developing a online quiz program in flex using tile and data grid. Could any one have developed before? Is there any online recourses for the same. with warm wishes, ravi

Re: [flexcoders] OOP and Work for Hire

2008-06-11 Thread Samuel Neff
Depends on the work for hire agreement. A good one would designate that the developer retains a perpetual non-exclusive rights to any works previously developed and used in the project and all general purpose code such as libraries and generic controls that are not unique to the business

Re: [flexcoders] Order datagrid by date in DD/MM/YYYY format

2008-06-11 Thread David Pariente
mmm Thnx! i got another solution involving reformating the dates to /MM/DD, but using epoch dates looks nice too, and might use several less lines of code. Thnx a lot :) - Mensaje original De: Scott Melby [EMAIL PROTECTED] Para: flexcoders@yahoogroups.com Enviado: miércoles, 11

[flexcoders] Re: DataGrid scroll size on data load

2008-06-11 Thread jmfillman
Thank you! --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Just set wordWrap=true on the column? And variableRowHeight=true? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jmfillman Sent: Tuesday,

Re: [flexcoders] Warning: Source path entry XXXX is a subdirectory of source path entry

2008-06-11 Thread Ralf Bokelberg
Maybe -allow-source-path-overlap=true helps Cheers Ralf. On Wed, Jun 11, 2008 at 4:39 PM, bjorn [EMAIL PROTECTED] wrote: I'm cleaning up my (proje)act and trying to remove all warnings. This one is bugging me: Source path entry, C:\dev\flexworkspace\project\src\assets\locale\en_US' is a

Re: [flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread bubbamorse
The reality is that the Toothbrush that you took from your home wasn't yours to take home in the first place. The obligation is on you and your new employer to be able to prove a chain of custody and that no prior art exists. That is how the world worksinternationally and well as

Re: [flexcoders] OOP and Work for Hire

2008-06-11 Thread bubbamorse
Sam, I like this approach! That could work, butunless it was in place with the originating partythe problem still exists, or rather it can be picked-up only from this specific point forward...I've not found a lot of companies open to these stipulations, but if you can swing it then

[flexcoders] Re: ComboBox Question

2008-06-11 Thread Hemkarna
There is actually a FoxyComboBox component already out there.. http://www.defusion.org.uk/code/foxycombobox-for-flex/ I have also combined this with a Look A Head Combo Box component Let me know if you need to code.

Re: [flexcoders] Quiz Program

2008-06-11 Thread Sherif Abdou
Yes, I remb someone maybe 4-6 months ago did the same thing and posted it here, but I have not idea who it was or what the email subject was. - Original Message From: Ravichandran J [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, June 11, 2008 8:43:59 AM Subject:

[flexcoders] Font Leading Problem in Browsers

2008-06-11 Thread jbeck_sound
I'm seeing different font rendering issues in various browsers. Using the Arial system font, the leading (spacing between lines) rendering is different across browsers. For example, Internet Explorer is very relaxed in comparison to Firefox or Safari which makes laying out text in the application

Re: [flexcoders] Math.abs() Limitation?

2008-06-11 Thread Daniel Freiman
What did I mean? I'm not sure. For some reason I thought that floats loose precision at near the end of their range, but even if that is true, that wouldn't explain the lose of precision that large. In any event, I retried the following code: var t1:Number = Number.MAX_VALUE;

RE: [flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread Kerry Thompson
Jeffry Houser wrote:  It really depends on what that knowledge is. That's really key. Let me give you a real-world example involving code, rather than hardwood floors and toothbrushes ;-) I've specialized in localization and internationalization for 15-20 years. I'm bilingual, so that

[flexcoders] Re: HTTPService Bug

2008-06-11 Thread LazerWonder
Wherever you get the returned XML object from... does it pass in a 1 or 2? Or does it pass a 1.0 / 2.0. As far as I know, HTTPService does not transform data (some one more experience can correct me if I am wrong). It just spits back to you what it receives. If you have control over the

[flexcoders] Conditional Statement Problem

2008-06-11 Thread tspyro2002
Hi, I have a problem where I am processing dates and cross checking them across two Arrays. One array holds user selected dates, the other holds dates which are disabled. The loop I have at the minute checks them OK but outputs an Alert box for every date which is the same. How can I adjust

RE: [flexcoders] Flash Player Debug version

2008-06-11 Thread Kerry Thompson
Tom Chiverton wrote: To the *debug* version, or the main runtime ? Well, I thought it was to the debug version. I went back to the Adobe site, and, with some poking around, found and installed the debug version. Works fine with Flex now. Thanks. Cordially, Kerry Thompson

[flexcoders] Chart with missing values

2008-06-11 Thread Richard Rodseth
My understanding is that Flex charts assume that the series data provider contains an entry for each point on the axis. Ely's sampler has an example of missing values (gap vs interpolate), achieved by having a missing *field* in the data. I was hoping there might be a way to give an axis a

Re: [flexcoders] Conditional Statement Problem

2008-06-11 Thread Michael Schmalle
Hi, This might help; var i:int = 0; var overbooked:Boolean = false; while ( startDate = endDate ){ for (var a:int = 0; a = disabledDates.length; a++) { stayLength[i] = year.toString() + , + month.toString() + , + startDate.toString(); if ( disabledDates[a] ==

[flexcoders] chart legend help needed

2008-06-11 Thread Mark
I have a plotChart that has 2 PlotSeries the first is always shown while the second is hidden until the user wants to show it. How can I get that to reflect in the legend? If the second one is hidden I don't want it to show in the Legend. Any Ideas? Thanks, Mark

[flexcoders] About Adobe LiveCycle Data Services ES 2.6 Beta?

2008-06-11 Thread markflex2007
Hi, I just download Adobe LiveCycle Data Services ES 2.6 Beta.I want to know what is the different between trial version and production version. and what is different between LiveCycle Data Services and BlazeDS. I can not figture out this,Please help me. Thank you in advance Mark

Re: [flexcoders] Conditional Statement Problem

2008-06-11 Thread Doug McCune
or just do: f ( disabledDates[a] == stayLength[i] ) { Alert.show(Date Overbooked!, Sorry, Alert.OK);} break; } Doug On Wed, Jun 11, 2008 at 9:55 AM, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, This might help; var i:int = 0; var overbooked:Boolean = false; while (

Re: [flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread bubbamorse
Kerry, You are absolutely correct! The artifacts remained property of the company that hired you. The knowledge of how you went about it is of course yours and can never be taken away GB, Bubba From: Kerry Thompson Sent: Wednesday, June 11, 2008 10:57 AM To: flexcoders@yahoogroups.com

Re: [flexcoders] Conditional Statement Problem

2008-06-11 Thread Michael Schmalle
Yeah Doug, thats easy... To many commitProperties() calls for my, my head is templated. Mike On Wed, Jun 11, 2008 at 1:10 PM, Doug McCune [EMAIL PROTECTED] wrote: or just do: f ( disabledDates[a] == stayLength[i] ) { Alert.show(Date Overbooked!, Sorry, Alert.OK);} break; }

[flexcoders] Re: book errata

2008-06-11 Thread crazyluck55
Where on the Peachpit site would it be? I can see the book but nothing about an errata sheet. I'm looking here: http://www.peachpit.com/store/product.aspx?isbn=0321529189

[flexcoders] Re: Conditional Statement Problem

2008-06-11 Thread tspyro2002
Hey guys, Thanks for your help, I ended up having to use both methods because of the nested conditionals - they kept trying to loop. So I now have - var overbooked:Boolean = false; while ( startDate = endDate ) {

[flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread b_alen
the Toothbrush that you took from your home wasn't yours to take home in the first place LOL, I rest my case... --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: The reality is that the Toothbrush that you took from your home wasn't yours to take home in the first place. The

[flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread b_alen
That's exactly what I was saying from the beginning. Typing code is not programming, as some on this thread think. Using your experience and knowledge to solve problems is programming. And nobody can take away that. I can delete all the code I have and I'll make even better in no time, once I

[flexcoders] Re: Conditional Statement Problem

2008-06-11 Thread tspyro2002
Yeh, I dont know why its not indented here, in Flex it is. Cheers for the help. P.S. loved the coverflow component! --- In flexcoders@yahoogroups.com, Doug McCune [EMAIL PROTECTED] wrote: Ah, right, I didn't even notice that the for loop was in a while loop (hard to read without indenting).

[flexcoders] Re: hiding a cell within a datagrid dynamically

2008-06-11 Thread Tim Hoff
Cool. -TH --- In flexcoders@yahoogroups.com, anthony_morsey [EMAIL PROTECTED] wrote: Thanks TH -- your solution works great!! Tony --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: Here's another way: mx:DataGrid id=mygrid dataProvider={initDG} mx:columns

RE: [flexcoders] Re: HTTPService Bug

2008-06-11 Thread Tracy Spratt
One reason to use resultFormat=e4x, and not let Flex do the conversion for you. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tspyro2002 Sent: Wednesday, June 11, 2008 4:40 AM To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread Doug McCune
Typed code is what you are paid to deliver. That is what the client is buying. When the client pays you you are selling those digital lines of code. I just wrote a book for wiley. I cannot copy and paste any of the prose that I wrote and post it on my blog. It belongs to wiley. I sold it to them

[flexcoders] Advanced DataGrid XMLListCollection tree

2008-06-11 Thread brian_garcia81
Hello, I have been trying to setup the tree function of that advanced datagrid but keep running into problems. I get the error: TypeError: Error #1034: Type Coercion failed: cannot convert [EMAIL PROTECTED] to mx.collections.ICollectionView. I have made some progress, Now instead of getting

RE: [flexcoders] Re: HTTPService Bug

2008-06-11 Thread Tracy Spratt
If you leave the resultFormat property at its default, which is object, Flex converts your XML into a nested structure of dynamic objects. While this can be convenient for creating an ArrayCollection, it is rarely desirable. The consensus seems to be, especially with many visible

[flexcoders] Re: Any best-practice for labelField=field.innerField on things like DataGridC

2008-06-11 Thread Tim Hoff
The only problem with using labelFunctions or itemRenderers for this, is that the default sort mechanism (column header click) doesn't work (see historical low). To avoid having to write sortCompareFunctions, sometimes its easier to just bite the bullet and manually add the nested fields to the

[flexcoders] Re: Moving Nodes across Trees (with in the tree is works fine)

2008-06-11 Thread sk_acura
Hi All, How can i find the new Parent of a moved Node ?? I have tried all the options with no luck.. i have the following method ( Pls refer my earlier post for the def of CollectionBrowserNode) [CODE] private function onDragDrop(event:DragEvent):void{ var draggedItems:Array =

[flexcoders] Adding event to an image set as titleIcon property

2008-06-11 Thread pratikshah83
Hi , I am currently using a collapsible panel. It expands or collapse when we click the panel header. Currently I have an event on the titleBar. I have an open and close arrow image set as titleIcon property, I would like to add a click event on that arrow image property instead of the titleBar.

[flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread b_alen
So if I create a great algorithm for collision detection while working for a client I can not use it ever again? And if I have to make it for 10 different clients in a year, I have to create 10 completely different solutions for the same problem, so I don't copy. First of all that's impossible.

[flexcoders] scrolling prob on itemrenderers

2008-06-11 Thread ibo
I have created a custom ItemRenderer with a textarea in it. This ItemRenderer is being used in a DataGrid. If the mouse pointer is over the textarea(ItemRenderer), the datagrid doesnt react to any mouse wheel movement. How I enable the DataGrid to receive the mouse wheel events when the mouse

[flexcoders] right way to bubble 'show' event in nested viewstacks

2008-06-11 Thread Derrick Anderson
hi, i have a tabnavigator in a viewstack, my tabnavigator children control a menu parented by the main application. the 'show' event is what i'm using to setup the menu. so that means that each time the outer viewstack changes, i need to pass the 'show' event down to the current item in the

Re: [flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread Doug McCune
The company that you worked for has the right to patent the implementation of that great algorithm that you came up with. So if that's really an inventive algorithm then yeah, they have the right to use it and you do not. In the real world is this how things play out? often no, but I'm just trying

[flexcoders] Re: Moving Nodes across Trees (with in the tree is works fine)

2008-06-11 Thread sk_acura
Hi All, After spending some time on the API Docs i am able to find a way to get hold of the new parent of the Dropped Item at runtime.. [CODE] var r:int = tree.calculateDropIndex(event); tree.selectedIndex = r; [/CODE] How ever when i add this code to the onDragDrop() method.. I am unable

Re: [flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread bubbamorse
And if you share it across companies, then you will have violated every known law on IPif there exists a Work for Hire agreement or anything closely approaching such an agreement. From: b_alen Sent: Wednesday, June 11, 2008 1:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re:

[flexcoders] Re: scrolling prob on itemrenderers

2008-06-11 Thread Tim Hoff
Hi Ibo, Try setting mouseEnable=false and mouseChildren=false on the container in the itemRenderer (not the textArea, rather it's parent container). -TH --- In flexcoders@yahoogroups.com, ibo [EMAIL PROTECTED] wrote: I have created a custom ItemRenderer with a textarea in it. This

[flexcoders] Flex, LCDS, FlexUnit, and Maven 2

2008-06-11 Thread jeffreyr6915
I have a Flex application that uses LCDS. I was wondering if someone help me find tutorials/samples on how to do the following: 1. Build the Flex application (which uses LCDS) with Maven 2 (what to put in the pom.xml) 2. How to integrate my existing flexunit tests into the Maven 2 build 3. Run

[flexcoders] what RIA-to-PDF conversion means in LCDS?

2008-06-11 Thread markflex2007
Hi, I want to make sure if it mean it can convert the Flex screen to PDF file? Do you know s demo for this. Thanks Mark

RE: [flexcoders] lcds references to same item

2008-06-11 Thread Seth Hodgson
If I'm understanding your email correctly, you're actually looking at a feature of Data Management. When you fill multiple client side collections and there's an overlap in the items each collection contains, Data Management ensures that only a single instance of any specific item exists on the

  1   2   >