[flexcoders] Re: Large application strategy - Flex or Flash?

2008-04-27 Thread Bjorn Schultheiss
> No current requirement for Flex components That seems like a relevant factor in the decision.. --- In flexcoders@yahoogroups.com, "Mike Chabot" <[EMAIL PROTECTED]> wrote: > > None of the factors you mention seem highly relevant to making the decision. > > Are the developers already comfortabl

Re: [flexcoders] Re: TypeError: Error #2007: The parameter listener must not be NULL + Cairngorm

2008-04-27 Thread Jon Santos
For sure the function loaderCompleteHandler exists. Any other suggestions? I have one similar example.and i get the result succesfully. Here is the soruce. http://www.adobe.com/2006/mxml"; 100%"438" backgroundAlpha="1.0" borderStyle="solid">  this.coverImg.source = event.currentTarget

Re: [flexcoders] number and string validator

2008-04-27 Thread shaun
Hi, You can also restrict the type of characters entered by the user with the restrict property. Luke Vanderfluit wrote: > Hi Josh. > > Josh McDonald wrote: > >>Just use a number validator and check it's > 999 and < 1? > > > That's great! Thanks. > minLength="1000" maxLength="" che

Re: [flexcoders] number and string validator

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

Re: [flexcoders] Large application strategy - Flex or Flash?

2008-04-27 Thread Mike Chabot
None of the factors you mention seem highly relevant to making the decision. Are the developers already comfortable using Flash? Flex? Do the developers have design backgrounds or programming backgrounds? If you have designers that already know Flash, do the developers need to do anything other th

Re: [flexcoders] Large application strategy - Flex or Flash?

2008-04-27 Thread Ralf Bokelberg
I think, both of them are equally valid. Flex ist a bit faster in development, wheres Flash gives you total flexibility. Cheers Ralf. -- Ralf Bokelberg <[EMAIL PROTECTED]> Flex & Flash Consultant based in Cologne/Germany On Mon, Apr 28, 2008 at 2:22 AM, bick <[EMAIL PROTECTED]> wrote: > > > > >

Re: [flexcoders] number and string validator

2008-04-27 Thread Josh McDonald
Just use a number validator and check it's > 999 and < 1? On Mon, Apr 28, 2008 at 3:54 PM, Luke Vanderfluit < [EMAIL PROTECTED]> wrote: > Hi. > > I have a postcode field that I want to test on digits as well as length. > So the field must have digits and the field should be of length 4. > >

[flexcoders] number and string validator

2008-04-27 Thread Luke Vanderfluit
Hi. I have a postcode field that I want to test on digits as well as length. So the field must have digits and the field should be of length 4. I thought I would do 2 validators: However only the StringValidator works here... How would I use validators to check both lenght a

Re: [flexcoders] change event

2008-04-27 Thread Luke Vanderfluit
Hi Alex and Shaun. Alex Harui wrote: > The best way is to use different event handlers, i.e.: > > > > textInput.addEventListener(Event.CHANGE, textInput_changeHandler); > > comboBox.addEventListener(Event.CHANGE, comboBox_changeHandler); > > > > You can also test for which one like this:

Re: [flexcoders] Guidance for Java API integration needed

2008-04-27 Thread Anirudh Sasikumar
Hi Dan, On Sun, Apr 27, 2008 at 10:53 AM, dnii303 <[EMAIL PROTECTED]> wrote: > I was now approached with the question if we can use Flex (or Flex > AIR) to make use of a 3rd party Java API to connect to their application. > > I have access to a Java sample application that uses NetBeans and a >

RE: [flexcoders] Label As Combobox Itemrenderer not working properly

2008-04-27 Thread Alex Harui
The renderer's visible is always set to true when refreshed. There is no allowance for invisible renderers. The mouse logic will detect hits in the area of the renderer in case the renderer doesn't fully cover its area in the dropdown. There is a disabled list selection example on my blog, and p

RE: [flexcoders] Combobox And Datagrid

2008-04-27 Thread Alex Harui
Renderers are recycled. See my blog (blogs.adobe.com/aharui). It is almost never correct to use creationComplete in a renderer. Setting selectable="false" has also caused problems in the past. Why do you need to turn off selectable? From: flexcoders@yahoog

RE: [flexcoders] How to get the reference to an item renderer given item index in dataProvider?

2008-04-27 Thread Alex Harui
Because renderers are recycled, unless you can guarantee that the data is on-screen, there may not be a renderer fro some index into the dataprovider. For more info see my blog (blogs.adobe..com/aharui) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED

RE: [flexcoders] adjust row height of datagridcolumns?

2008-04-27 Thread Alex Harui
Getting a row to expand when showing the editor can be tricky. I think folks end up using rendererIsEditor instead of creating the editor on the fly. You can also change DataGridColumn.editorHeightOffset and have the editor overlap the rows below. From: flexc

Re: [flexcoders] change event

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

RE: [flexcoders] change event

2008-04-27 Thread Alex Harui
The best way is to use different event handlers, i.e.: textInput.addEventListener(Event.CHANGE, textInput_changeHandler); comboBox.addEventListener(Event.CHANGE, comboBox_changeHandler); You can also test for which one like this: function generic_changeHandler(event:Event):void {

[flexcoders] change event

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

Re: [flexcoders] Granite Data Services 1.1.0 RC1 released

2008-04-27 Thread Jon Santos
- Original Message From: fwolff999 <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Friday, April 25, 2008 9:05:48 PM Subject: [flexcoders] Granite Data Services 1.1.0 RC1 released Hi all,    The new 1.1.0 release candidate 1 of Granite Data Services, the freealternative of A

Re: [flexcoders] Secure Login

2008-04-27 Thread Samuel Neff
We use challenge-response authentication with our Flex app. It's pretty easy to implement, but for some reason it isn't done much in web applications. Provides for secure authentication without requiring HTTPS. I outlined the detailed steps (with challenge-response plus storing hashed password i

[flexcoders] Long running remoting request: Channel.Call.Failed

2008-04-27 Thread Cameron Childress
I have a particularly long running remoting request that Flex is giving up on before it has a chance to answer. The error thrown is "Channel.Call.Failed - NetConnection.Call.Failed: HTTP: Failed". I have tried upping the requestTimeout on my RemoteObject definition, but it doesn't seem to be havi

[flexcoders] Large application strategy - Flex or Flash?

2008-04-27 Thread bick
I wanted to get some opinions on whether to use Flex or Flash on a large scale site. Some details about the site: Very modular Some timeline based swfs provided by designers that need to be loaded Uses webservices Multiple remote developers Intending to use automated builds (thinking Maven) ASDoc

[flexcoders] AMFPHP Examples now available for Flex

2008-04-27 Thread Alan Gruskoff
I have interest in database work with MySQL/PHP so looked at the AMFPHP product. I tried the AMFPHP examples in Flash, which worked fine. Being disappointed the Flex examples were missing I decided to go ahead and make my own. So I did. At this web address: http://digitalshowcase.biz/flex/examples

[flexcoders] Re: looking for PNG handling resources

2008-04-27 Thread todd_geist
Hey thanks Robert and Alex. I figured it out kind of like Robert suggested. All of the images are in one Canvas. I create a new BitmapData object setting the color and the transparency to true. Then I draw() the canvas on to it. That flattens all the images. encode the Bitmap Data as a png usi

[flexcoders] adjust row height of datagridcolumns?

2008-04-27 Thread ibo
Hi guys, I have a datagrid, and I have created custom item editor for each column but is bigger than the usual row height (equivalent to 3 lines and purposely designed it that way). the itemEditor gets displayed when I click on it but the actual height of the row doesnt adjust and scroll bars ap

[flexcoders] Re: LiveCycle Data Services ES sample notes.mxml application problem

2008-04-27 Thread Marcin Glowacki
That was it. Thank you. --- In flexcoders@yahoogroups.com, "Robert Cadena" <[EMAIL PROTECTED]> wrote: > > Hi Marcin, > > it looks like the jvm can't find the class for a java transaction > exception. have you tried installing jotm and any required libraries > for java transactions into your to

[flexcoders] Re: DataGrid Click Event

2008-04-27 Thread Lisa Lee
Perfect! Thanks so much, Aaron! --- In flexcoders@yahoogroups.com, "Aaron Miller" <[EMAIL PROTECTED]> wrote: > > Maybe you are wanting to listen to the 'itemClick' event instead, which is > not dispatched when the header is clicked. If you want to track both types > of clicks, you can also list

Re: [flexcoders] How to prevent tab change

2008-04-27 Thread Scott Melby
This has been discussed a number of times on this list. Try searching the list archives for "TabNavigator". hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com deepcworld wrote: > I need to prevent a tab from being changed when user chan

Re: [flexcoders] LiveCycle Data Services ES sample notes.mxml application problem

2008-04-27 Thread Robert Cadena
Hi Marcin, it looks like the jvm can't find the class for a java transaction exception. have you tried installing jotm and any required libraries for java transactions into your tomcat commons directory? here is some info on installing jotm on tomcat: http://labs.adobe.com/wiki/index.php/LiveCyc

Re: [flexcoders] The XML Class / E4X - best tutorials?

2008-04-27 Thread ibo
dont know any online but the Oreilly actionscript cookbook has a whole chapter discussing E4X. excellent stuff. Josh McDonald <[EMAIL PROTECTED]> wrote: Hey guys, just a quickie - while I'm getting what I need done, I'm definitely not making the best use of the E4X f

Re: [flexcoders] DataGrid Click Event

2008-04-27 Thread Aaron Miller
Maybe you are wanting to listen to the 'itemClick' event instead, which is not dispatched when the header is clicked. If you want to track both types of clicks, you can also listen for the 'headerRelease' event for the header clicks. Hope this helps, ~Aaron On Sun, Apr 27, 2008 at 4:14 PM, Lisa L

[flexcoders] DataGrid Click Event

2008-04-27 Thread Lisa Lee
I have assigned a function to the "click" event on my DataGrid. When the user clicks on the DataGrid, how can I tell whether they've clicked on the header (for instance, to sort the data) or on actual data in the grid itself?

[flexcoders] Re: how to show datatip manually in a chart?

2008-04-27 Thread sarotalotus
Do you mean that you want to show a dataTip for a specific datapoint, where its visibility is controlled by some event other than onhover? --- In flexcoders@yahoogroups.com, "prashant194" <[EMAIL PROTECTED]> wrote: > > Hello all, > Is there any way that i can show the datatip manually in the cha

[flexcoders] Shade background

2008-04-27 Thread cailie
I have a LineSeries in a Cartesian Chart, where the x-axis is date/time. What I want to do is shade the background of the chart according to the x-value -- e.g. all Tuesdays should be shaded blue. I can't yet figure out how to do it. Anyone have an idea? Thanks... -- View this message in context:

[flexcoders] Re: looking for PNG handling resources

2008-04-27 Thread Alan Gruskoff
Hi Todd, we met at LAFLEX. You missed the Ribbit show. I have been thinking of doing something similar. If you can use PHP, lots of graphic image manipulation stuff built in, see: http://us.php.net/manual/en/book.image.php The standard is ImageMagick, which can be used with almost every programm

[flexcoders] LiveCycle Data Services ES sample notes.mxml application problem

2008-04-27 Thread Marcin Glowacki
I am having trouble getting notes.mxml application to work in my dev environment. I am using Flex 3 and LCDS 2.5.1 on tomcat 5.5. Most of sample application do work, but the one that I am most interested in notes.mxml DOES NOT. My project setup: I created Flex new flex project with J2EE server tha

[flexcoders] How to get the reference to an item renderer given item index in dataProvider?

2008-04-27 Thread Marcin Glowacki
In Flex 3 DataGrid, how to get the reference to item renderer given item index in dataProvider and column number? I am extending DataGrid, and I need to access it in MyDataGrid. Lets say I want itemRenderer for item in dataProvider at index 5 and column 2. And how to get the array of all itemR

[flexcoders] Re: printAsBitmap true vs. false

2008-04-27 Thread toofah_gm
I'm not sure what happens underneath the printing API, but sure would be nice if they improved the API to let us set vector/raster on a component by component basis...this would really work well for me instead of having to set it for the entire object added to the print job. Is it worth writing up

[flexcoders] Combobox And Datagrid

2008-04-27 Thread parjan
Hi Friends .. I am writting a simple code in which i have one datagrid with two coloumns . in first coloumn iam using combobox as itemrenderer. but this combobox is working abnormally when more and more item are added to the grid or when scroll bar appears . some one told me that this problem i

[flexcoders] Re: looking for PNG handling resources

2008-04-27 Thread robertxcadena
Hey Todd, check out: http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=2&postId=8406 so, I'd draw those multiple images on top of each other into a bitmapdata then save it out as specified in that recipe above. best of luck. /r http://www.machine501.com/ --- I

[flexcoders] merging PNGs loosing transparency.

2008-04-27 Thread todd_geist
Hello, I have to pngs that I would like to merge into a new PNG, while maintaining the transparency. I can get them to merge, but i can't keep the transparency I am a newbie, not sure what I am missing Here is my code http://www.adobe.com/2006/mxml"; layout="absolute" backgroundColor="#3938

[flexcoders] intermediate value between the widely separated datapoints of line chart?

2008-04-27 Thread prashant194
Hello all, i am newbie to Flex and right now i am working on Flex 3. I drew a line chart based on two datapoints as shown: http://www.adobe.com/2006/mxml"; layout="absolute"> Please correct me if there is

[flexcoders] Guidance for Java API integration needed

2008-04-27 Thread dnii303
Hi there, I am very new to the Flex development environment but have bin able to develop a nice web application that makes extensive use of the Advanced Data Grid. The client is very happy. I was now approached with the question if we can use Flex (or Flex AIR) to make use of a 3rd party Java API

[flexcoders] How to prevent tab change

2008-04-27 Thread Subhadeep Chatterjee
Hi, I need to prevent a tab from being changed when user changes tab. This is a typical form dirtiness check use case. 1. User changes form in tab A. 2. User clicks tab B without saving tab B. 3. User remains in tab A and a confirmation dialogue pops up with save or cancel option. 4. Either opt

[flexcoders] How to prevent tab change

2008-04-27 Thread deepcworld
I need to prevent a tab from being changed when user changes tab. This is a typical form dirtiness check use case. 1. User changes form in tab A. 2. User clicks tab B without saving tab B. 3. User remains in tab A and a confirmation dialogue pops up with save or cancel option. 4. Either option even

[flexcoders] how to show datatip manually in a chart?

2008-04-27 Thread prashant194
Hello all, Is there any way that i can show the datatip manually in the chart at the desired location?

Re: [flexcoders]Setting DataGrid header to transparent

2008-04-27 Thread Stephen Downs
Or you could skin it and with something transparent. On 23 Apr 2008, at 07:08, Alex Harui wrote: Dude, that was four months ago! You could’ve asked again sooner. Another approach may be to subclass, get the .header, getChildByName (“headerBG”) and set its alpha=0 From: flexcoders@yah

[flexcoders] Label As Combobox Itemrenderer not working properly

2008-04-27 Thread parjan
Hello Friends can any tell me what is wrong with this code. I am trying to disable the labels but they are not disabled even visible = false not working can u tell me why.. here is complete code. http://www.adobe.com/2006/mxml"; layout="vertical" creationComplete="{init()}">

[flexcoders] The XML Class / E4X - best tutorials?

2008-04-27 Thread Josh McDonald
Hey guys, just a quickie - while I'm getting what I need done, I'm definitely not making the best use of the E4X features; I'm wondering if anybody's seen any particularly good tutorials online I should check out? Cheers, -J -- "Therefore, send not to know For whom the bell tolls. It tolls for t

[flexcoders] Get type of a variable?

2008-04-27 Thread Josh McDonald
Guys, What's the easiest way to get the type of a variable in a static class? What I mean is just a regular class, with a bunch of regular staticly typed vars. I'm having trouble locating an easy way to do this when the member object is null. -J -- "Therefore, send not to know For whom the bell