[flexcoders] ItemRenderer Help

2009-05-18 Thread sminrana
How can i get TileList itemRenderer properties i use image Now i want to increase/decrease image width/height for zooming capability on selectedItem .. Have any idea Smin Rana

[flexcoders] How to find all Installed browsers information in Windows?

2009-05-18 Thread kanu kukreja

[flexcoders] Re: Question on Mx:HTTP Service

2009-05-18 Thread sminrana
also you can have those flashvars in your Flex application like var str : String = Application.application.parameters.flashvars(name); /***/ AC_FL_RunContent( src, playerProductInstall, FlashVars, PUT YOUR VAR

Re: [flexcoders] FlowBox Nesting

2009-05-18 Thread Eric Cancil
try using this http://blog.appdivision.com/2009/05/13/horizontal-and-vertical-alignment-added-to-flowcontainer/ On Wed, May 13, 2009 at 9:48 AM, Mike Oliver moli...@corenttech.com wrote: Thanks Doug, So how much was that bet? I replaced the FlobBox with FlowContainer and while yes the

[flexcoders] Re: How to find all Installed browsers information in Windows?

2009-05-18 Thread sminrana
Try with Flex External interface, call JavaScript function from inside Flex

[flexcoders] Loading an external swf

2009-05-18 Thread Shabir Gilkar
Hi, Project is in: Flash AS2 I have Main.swf, which is main swf of the website, in which i am loading external swfs in content area with in loader. for example when i click on about menu it opens about.swf. With in the about.swf i have set three button one is services, products, portfolio. Now

[flexcoders] Drawing shapes Dynamically

2009-05-18 Thread shubhra
I'm trying to make a small Flex3 app where the user can draw rectangles and circles on a canvas. I'm thinking that the user click a button New Rectangle, the cursor switch to a crosshair, the user draw a rectangle (that updates as user is drawing), on mouse-up the rectangle is finished. Any

Re: [flexcoders] Drawing shapes Dynamically

2009-05-18 Thread p...@vin Uttarwar
Hi, I think you are looking for something like whiteboard component. Here you can find the source for same http://code.google.com/p/uckcanvas/ Thanks and Regards, Pravin 2009/5/18 shubhra smdk_ind...@yahoo.com I'm trying to make a small Flex3 app where the user can draw rectangles and

Re: [flexcoders] Drawing shapes Dynamically [1 Attachment]

2009-05-18 Thread Shabir Gilkar
Hi, You need to make seperate functions for drawRect and drawCircle which can take the parameters for drawing from the MouseUp and mousedown listeners. From mouseup and MouseDown listeners you will try to take the X and Y cordinates of mouse Path while it is being draged. Please refer to the

Re: [flexcoders] HyperThreading...

2009-05-18 Thread Tom Chiverton
On Monday 18 May 2009, Laurence MacNeill wrote: Does anyone know if the Flash Player supports HyperThreading? Applications don't, in general, support or not HT as that's at the O/S level. other words, will my program run faster on a CPU that has HyperThreading? Or will it not make any

Re: [flexcoders] Drawing shapes Dynamically

2009-05-18 Thread Shubhra Tiwari
Thanks Pravin but i m not able to check even the read only code.. --- On Mon, 5/18/09, p...@vin Uttarwar pravinuttar...@gmail.com wrote: From: p...@vin Uttarwar pravinuttar...@gmail.com Subject: Re: [flexcoders] Drawing shapes Dynamically To: flexcoders@yahoogroups.com Date: Monday, May 18,

Re: [flexcoders] Drawing shapes Dynamically [1 Attachment]

2009-05-18 Thread p...@vin Uttarwar
Hi Shubra, I have attached the source code. Please check it and let me know if u have any problems. Regards, Pravin 2009/5/18 Shubhra Tiwari smdk_ind...@yahoo.com Thanks Pravin but i m not able to check even the read only code.. --- On *Mon, 5/18/09, p...@vin Uttarwar

Re: [flexcoders] Re: encrypted local store

2009-05-18 Thread Tom Chiverton
On Monday 18 May 2009, arieljake wrote: I am developing a swf protection scheme that i would be happy to share with the community, but I need to get this part right first. 'nix: ~/.appdata/Adobe/AIR/ELS/ -- Helping to continually generate magnetic CEOs as part of the IT team of the year, '09

[flexcoders] AIR - SecurityError:Error #2142 cannot use the LoaderContext.securityDomain

2009-05-18 Thread reflexactions
I have an AIR application that is just a rebuild of an exisitng web based Flex app. We are using RSL's for everything (framework/modules etc.) We have 2 CSS files compiled to SWF that we manually load using the StyleManager.loadStyleDeclarations. When run as an AIR app with the 2 SWF's in

Re: [flexcoders] Drawing shapes Dynamically

2009-05-18 Thread Shubhra Tiwari
Hi, i got the code..nd it solved my purpose.. Thanks alot subu --- On Mon, 5/18/09, p...@vin Uttarwar pravinuttar...@gmail.com wrote: From: p...@vin Uttarwar pravinuttar...@gmail.com Subject: Re: [flexcoders] Drawing shapes Dynamically To: flexcoders@yahoogroups.com Date: Monday, May 18, 2009,

[flexcoders] FlexMDI Title Bar Custom Menu and Events

2009-05-18 Thread edlueze
I want to be able to create a custom menu in each of my FlexMDI windows. I've implemented some code to put the menu button on the title bar but now I'm stuck. I've been following an example which demonstrates how to build a menu from within a sub-class of MDIWindowControlsContainer. That works

[flexcoders] Re: AIR - SecurityError:Error #2142 cannot use the LoaderContext.securityDomain

2009-05-18 Thread reflexactions
Ok for the moment I think I have fixed it by changing from using SecurityDomain.currenDomain attributae to using null. --- In flexcoders@yahoogroups.com, reflexactions reflexacti...@... wrote: I have an AIR application that is just a rebuild of an exisitng web based Flex app. We are

[flexcoders] AIR Application shows running in FB but cant see anything

2009-05-18 Thread reflexactions
As above. Launched from FB, loads, shows as running, but no visible window to be seen. Something needing updating or? tks

[flexcoders] Re: AIR Application shows running in FB but cant see anything

2009-05-18 Thread reflexactions
Fixed that and now can see th app but now its clear the CSS never loaded or at least the styles cant be used by the application modules oh well --- In flexcoders@yahoogroups.com, reflexactions reflexacti...@... wrote: As above. Launched from FB, loads, shows as running, but no visible

Re: [flexcoders] HyperThreading...

2009-05-18 Thread Paul Andrews
- Original Message - From: Tom Chiverton To: flexcoders@yahoogroups.com Sent: Monday, May 18, 2009 10:01 AM Subject: Re: [flexcoders] HyperThreading... On Monday 18 May 2009, Laurence MacNeill wrote: Does anyone know if the Flash Player supports HyperThreading?

[flexcoders] Re: FlexMDI Title Bar Custom Menu and Events

2009-05-18 Thread edlueze
Quick update - I've made some good progress in sorting this out. I needed to add the following code: To the MDIWindowControlsContainer sub-class: private function dropDownMenuBtn_click(event:MouseEvent):void { window.dispatchEvent(new Event(menuClick)); } To my panel:

RE: [flexcoders] HyperThreading...

2009-05-18 Thread Kenneth Sutherland
If code is written just using actionscript then yes it is single threaded but if you are doing something that is fairly intensive then you can use the new pixelbender technology to make the flash player use more than one core. Instead of getting pixelbender to manipulate actual pixels you can get

Re: [flexcoders] HyperThreading...

2009-05-18 Thread Paul Andrews
Thanks for the heads-up about that. Paul - Original Message - From: Kenneth Sutherland To: flexcoders@yahoogroups.com Sent: Monday, May 18, 2009 12:02 PM Subject: RE: [flexcoders] HyperThreading... If code is written just using actionscript then yes it is single

[flexcoders] Flex Developer needed - Melbourne

2009-05-18 Thread onelund
Hi guys, hope you don't mind me posting. I am looking for an experienced Flex Developer to work for 6 months (to begin) in Melbourne's CBD. If you are interested, please call me; Adrian on 0385066544. Thanks in advance.

[flexcoders] Need help for ApplicationUpdaterUI library in AIR

2009-05-18 Thread ashish vyas
Hi there, I am using ApplicationUpdaterUI lib for updating my application whenever a newer version is released.  It is working fine,  but I want to customize it, to be specific, it`s look n feel and the message text is what I am looking at.  Could you please help me out in doing so.

[flexcoders] issue with roaming profile

2009-05-18 Thread Berthelot
Hi, Some of my clients are having similar issues since they've upgraded from flash player version 9 to version 10. They all use roaming profile, i.e users' documents and settings are stored on the server rather than individual machines. The problem is that when they log into my Flex 3

Re: [flexcoders] HyperThreading...

2009-05-18 Thread Johannes Nel
The player is not really single threaded. We might not be able to kick off more threads, but with stuff like alchemy, pixelbender (or any async process going outside the player) it is multi threaded. On Mon, May 18, 2009 at 12:42 PM, Paul Andrews p...@ipauland.com wrote: - Original

[flexcoders] Re: Centering my app on the screen...

2009-05-18 Thread Amy
--- In flexcoders@yahoogroups.com, Laurence MacNeill lmacne...@... wrote: Is there a way I can center my app in the browser window? And keep it there if/when the browser is re-sized? There are two ways: 1) If you want your Flex window to be flexible and resize with the browser, just give

[flexcoders] Changing Data Provider

2009-05-18 Thread christophe_jacquelin
Hello, How to change the data provider of a tile list in function ot the value of a combo box ? Thank you, Christophe,

[flexcoders] Background color of Tile List

2009-05-18 Thread christophe_jacquelin
Hello, How to change the background color of a item selected in a Tile List. How to memorize the list of the different items selected. Thank you, Christophe,

[flexcoders] Re: Form with 3 Custom Components...

2009-05-18 Thread Amy
--- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote: There are several techniques that you can use for this; it really depends on what the need is and the sophistication of the application. Personally, I would employ a presentationModel to solve this, but using an MVC framework

[flexcoders] DataGrid header skin

2009-05-18 Thread markgoldin_2000
Can someone please provide a sample of datagrid header skin that would be just the same as a regular one? Thanks

[flexcoders] Re: Listening for events fired from ArrayCollections

2009-05-18 Thread lampei
Anyone have any suggestions? Seems like something everyone uses at some point, so I figured someone would know... --- In flexcoders@yahoogroups.com, lampei lam...@... wrote: The problem: I currently have a model that has properties bound to my view (a datagrid populated from an

[flexcoders] ADG and Flex 4

2009-05-18 Thread markgoldin_2000
Sorry for bringing this up again but I need to try out an ADG working in Gumbo. I have multiple applications built around ADGs. I have been researching Web very intensively but could find even one working example. I have posted to Gumbo Forum at Adobe but had no respond. Can someone please

[flexcoders] using tweener to animate the highlight indicator in a flex list component

2009-05-18 Thread stinasius
hi how can i use tweener to animate the highlight indicator(like when the mouse moves from one item in the tilelist to another the highlight indicators moves too)

[flexcoders] Re: Duplicate Module Loads - applicationDomain / Shared Code Issues

2009-05-18 Thread Amy
--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: By “load module 2” did you actually load a second module or is it a second instance of an already loaded module and thus the WebService instance is the same. Hopefully it is the latter as I wouldn’t have an explanation

[flexcoders] Re: ItemRenderer Help

2009-05-18 Thread Amy
--- In flexcoders@yahoogroups.com, sminrana sminr...@... wrote: How can i get TileList itemRenderer properties i use image Now i want to increase/decrease image width/height for zooming capability on selectedItem .. The first thing you need to do is to set up an event handler for the

[flexcoders] Flex to excel sheet report

2009-05-18 Thread Vikram Singh
I need to create excel report from flex data. When clicked on Excel Button, particular data fetched from database using amfphp. And put that data in Excel (.csv is preferable) file and ask to save it on system. Is it possible with actionscript? any other idea to implement this functionality.

[flexcoders] modify item before binding to datagrid

2009-05-18 Thread Angelo Anolin
Hi. I am quite new in Flex and would like to ask a simple question. I am retrieving datasets from a .NET webservice and binding the same to a datagrid. The datagrid comes with a feature that when you click on any of the headers, the column is sorted ASC or DESC. Now, one column which I am

[flexcoders] Flash Player 10 and Alchemy

2009-05-18 Thread christophe_jacquelin
Hello, How to impose the Flasher Player version 10 instead of the version 9 when a visitor is coming to my website. Because I use Alchemy and its need Flash Player version 10. Thank you, Christophe,

[flexcoders] Embed images

2009-05-18 Thread christophe_jacquelin
Hello, How to embed images called in a tileList as path source with my application ? Thank you, Christophe,

[flexcoders] Re: Getting an error when using a tree as a component

2009-05-18 Thread timgerr
OK, Here is what I did. I wanted to know if there was a problem with my code or was it the tree stuff. I went to Adobe Live Docs to get a tree example (http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Partsfile=dragdrop_081_06.html). I took

[flexcoders] Re: modify item before binding to datagrid

2009-05-18 Thread markgoldin_2000
Here is what I am doing. column definition: mx:DataGridColumn headerText=Block dataField=tcbkcd sortCompareFunction=sortNumericColumnTrackTotal/ and: private function sortNumericColumnTrackTotal(itemA:Object, itemB:Object):int { return ObjectUtil.numericCompare(itemA[TrackTotal.col],

[flexcoders] Re: modify item before binding to datagrid

2009-05-18 Thread markgoldin_2000
Sorry, forgot to provide my sortable DataGrid: package CustomComponents { import mx.collections.*; import mx.controls.DataGrid; import mx.controls.dataGridClasses.*; import mx.events.DataGridEvent; public class sortableDataGrid extends DataGrid { public function sortableDataGrid() {

Re: [flexcoders] Flex to excel sheet report

2009-05-18 Thread Paul Kukiel
Sure its possible to extract data from actionscipt to php here is a starting point hat may help you out. Of course you can send back the data to php and write a .cvs file and send that back you you want aswell. http://blog.kukiel.net/2009/01/flex-datagrids-and-excel-part-2.html Paul On Mon, May

[flexcoders] Re: Flex to excel sheet report

2009-05-18 Thread Nick
Hi Vikram, I have been using a class to convert Datagrid data into html and then sending to the a small script that will output the Excel data. I used alot of the code I found here http://www.cflex.net/showFileDetails.cfm?ObjectID=298Object=FileChann\ elID=1 but modified it into a class for

RE: [flexcoders] Flash Player 10 and Alchemy

2009-05-18 Thread Kenneth Sutherland
You should find that if you right click your project properties (if you use flexbuilder) then under flex compiler you have a required flash player version. Update this then the html that gets produced will check the users flash player version for you. Kenneth. From:

[flexcoders] Re: Form with 3 Custom Components...

2009-05-18 Thread Tim Hoff
Don't agree. The smoke test for tight coupling is that if component A is tightly coupled to component B and you take away component B, you get a compiler error in component A. By using an event, that doesn't happen. Component A dispatches an event that component B listens for. If you take

[flexcoders] Re: Background color of Tile List

2009-05-18 Thread Amy
--- In flexcoders@yahoogroups.com, christophe_jacquelin christophe_jacque...@... wrote: Hello, How to change the background color of a item selected in a Tile List. How to memorize the list of the different items selected. I have no idea what your second question even means, but you

[flexcoders] Re: Listening for events fired from ArrayCollections

2009-05-18 Thread Tim Hoff
You can change acUsers to a getter/setter and do what you want in the setter. The default setter event is propertyChange, but you can change that to whatever you want. -TH --- In flexcoders@yahoogroups.com, lampei lam...@... wrote: Anyone have any suggestions? Seems like something everyone

[flexcoders] Re: Form with 3 Custom Components...

2009-05-18 Thread Tim Hoff
A couple more thought on this and I welcome others to jump in. Here's an example of where a custom event would be preferable to using public properties in components. Similar to Peter Ent's example, let's say that you have four different views that a user could select an order from; a DataGrid

Re: [flexcoders] ADG and Flex 4

2009-05-18 Thread Matt Chotin
You'll need to wait for when the beta comes out that includes the Gumbo-compatible ADG. That will be some time in June. Matt On 5/18/09 10:02 AM, markgoldin_2000 markgoldin_2...@yahoo.com wrote: Sorry for bringing this up again but I need to try out an ADG working in Gumbo. I have

[flexcoders] Re: ADG and Flex 4

2009-05-18 Thread markgoldin_2000
Thank you, Matt. --- In flexcoders@yahoogroups.com, Matt Chotin mcho...@... wrote: You'll need to wait for when the beta comes out that includes the Gumbo-compatible ADG. That will be some time in June. Matt On 5/18/09 10:02 AM, markgoldin_2000 markgoldin_2...@... wrote:

[flexcoders] Form validation before submitting...

2009-05-18 Thread Laurence MacNeill
Ok, I figured I could loop through all the children of my form, checking their .errorString to make sure it's blank, and if it's not blank then assuming there's an error on the form. So, why won't this code work? It won't compile -- gives me two errors, Attempted access of inaccessible method

[flexcoders] Re: Form validation before submitting...

2009-05-18 Thread sminrana
first you trying to use numChildren as a method but it is not it is a property which return int value and it is read-only so remove the () in the loop second what is errorString ???

[flexcoders] Re: Form validation before submitting...

2009-05-18 Thread Tim Hoff
import mx.core.UIComponent; private function formIsValid():Boolean { var validForm:Boolean = true; for (var i:int = 0; i this.numChildren; i++) { if ( UIComponent(this.getChildAt(i)).errorString != ) { validForm = false; }

[flexcoders] Re: Flex to excel sheet report

2009-05-18 Thread sminrana
the current flash player version will not allow you write data into client application so if you want to write something in client application you must have server side script...

[flexcoders] Re: Form with 3 Custom Components...

2009-05-18 Thread Amy
--- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote: Don't agree. The smoke test for tight coupling is that if component A is tightly coupled to component B and you take away component B, you get a compiler error in component A. By using an event, that doesn't happen. Component

[flexcoders] Re: Form with 3 Custom Components...

2009-05-18 Thread Amy
--- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote: Not disputing that public properties are a viable approach. Just pointing out that Flex is an event driven framework. Oops, missed this bit. If you use a generic event, you're still doing things in an event driven way--you're

[flexcoders] Re: Form with 3 Custom Components...

2009-05-18 Thread Amy
--- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote: A couple more thought on this and I welcome others to jump in. Here's an example of where a custom event would be preferable to using public properties in components. Similar to Peter Ent's example, let's say that you have

[flexcoders] Re: Form with 3 Custom Components...

2009-05-18 Thread Tim Hoff
You can say the same thing about the public variable; both classes are dependent on it. If you take the public variable out you have the same problem. Is that tight coupling? Again, just preference and where you want to put or how you want to structure the code. I'm used to using custom

[flexcoders] Re: Form with 3 Custom Components...

2009-05-18 Thread Tim Hoff
Both classes are still dependent on the event class; you just get it baked in automatically when you use metadata. -TH --- In flexcoders@yahoogroups.com, Amy amyblankens...@... wrote: --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: Not disputing that public properties are a

[flexcoders] Re: Form with 3 Custom Components...

2009-05-18 Thread Tim Hoff
That's certainly an interesting opinion, but those terms usually go along with Cairngorm, which isn't universally accepted as being loosely coupled http://blog.iconara.net/2008/04/13/architectural-atrocities-part-x-cairn\ gorms-model-locator-pattern/

Re: [flexcoders] Re: Form with 3 Custom Components...

2009-05-18 Thread Richard Rodseth
Took the words out of my mouth :) I agree with you Tim, and thought your explanation was top notch and respectful. On Mon, May 18, 2009 at 2:35 PM, Tim Hoff timh...@aol.com wrote: That's certainly an interesting opinion, but those terms usually go along with Cairngorm, which isn't

Re: [flexcoders] Re: Form validation before submitting...

2009-05-18 Thread Laurence MacNeill
At 04:24 PM 5/18/2009, you wrote: first you trying to use numChildren as a method but it is not it is a property which return int value and it is read-only so remove the () in the loop second what is errorString ??? Oh LOL -- now I feel like an idiot. Of course, it's a property not a

Re: [flexcoders] Re: Form validation before submitting...

2009-05-18 Thread Laurence MacNeill
At 04:54 PM 5/18/2009, you wrote: import mx.core.UIComponent; private function formIsValid():Boolean { var validForm:Boolean = true; for (var i:int = 0; i this.numChildren; i++) { if ( UIComponent(this.getChildAt(i)).errorString != ) {

[flexcoders] Re: Form with 3 Custom Components...

2009-05-18 Thread Tim Hoff
Don't want to flood the list with too many posts, but thanks Richard. -TH --- In flexcoders@yahoogroups.com, Richard Rodseth rrods...@... wrote: Took the words out of my mouth :) I agree with you Tim, and thought your explanation was top notch and respectful. On Mon, May 18, 2009 at 2:35

[flexcoders] Re: Flex to excel sheet report

2009-05-18 Thread nathanpdaniel
Look into this: http://code.google.com/p/as3xls/ Probably going to get you a lot closer to what you want than anything else available. --- In flexcoders@yahoogroups.com, Vikram Singh vikisingh...@... wrote: I need to create excel report from flex data. When clicked on Excel Button,

[flexcoders] Re: Flash Player 10 and Alchemy

2009-05-18 Thread nathanpdaniel
You can compile with option -target-player=10.0.0 --- In flexcoders@yahoogroups.com, christophe_jacquelin christophe_jacque...@... wrote: Hello, How to impose the Flasher Player version 10 instead of the version 9 when a visitor is coming to my website. Because I use Alchemy and its

[flexcoders] Using RegExp's...

2009-05-18 Thread Laurence MacNeill
I want to check to see that data has been entered into a textInput. Specifically, I want to ensure that only letters, not spaces, commas, or anything else has been entered into this textInput. How do I do that with RegExp's in Flex 3? Thanks, Laurence MacNeill Mableton, Georgia, USA

[flexcoders] filter complex arrayCollection

2009-05-18 Thread Mark
Is there a way to filter an ArrayCollection of hierarchical data? So if I have a structure as I layed out below where I have a number of projects in my ArrayCollection, how can I filter on delCreationDate within deliverables/deliverable (there could be multiple deliverables)? I've looked around

[flexcoders] want to move the module from one application to another application

2009-05-18 Thread thirumurugan_cse
Hi, I want to open the module which is shown in the main application in the another window, when the user triggers an action.now I am loading (using moduleloader) the module in another window by using other application. but when the user trigers an action, the module should be launched in

Re: [flexcoders] Re: Form validation before submitting...

2009-05-18 Thread Ivan Perez
Why not stop and return when validForm just turns false, like this: On Mon, May 18, 2009 at 5:54 PM, Tim Hoff timh...@aol.com wrote: * import * mx.core.UIComponent; *private* *function* formIsValid():Boolean { * for* (*var* i:int = 0; i *this*.numChildren; i++) { *

[flexcoders] Tree

2009-05-18 Thread n_manjunatha
Hi All, I am a newbie in flex. I have problem in achieving this. I have tree and on click of leaf nodes of tree i have to generate(open) new mxml page(like one page with datagrid, one page with listitem, one with form). Can anyone help on this issue and how i could achieve

[flexcoders] Draging and droping items from list to tree component

2009-05-18 Thread srini3477
I have a list of items which are going to be headings, and one more list of items which are going to be sections under headings. I have requirement to drag and drop items from these two lists to a component, so that should contain like headings and sections under headings. I chosen Tree

[flexcoders] Re: Form validation before submitting...

2009-05-18 Thread Tim Hoff
Yep, good re-factor. -TH --- In flexcoders@yahoogroups.com, Ivan Perez manope...@... wrote: Why not stop and return when validForm just turns false, like this: On Mon, May 18, 2009 at 5:54 PM, Tim Hoff timh...@... wrote: * import * mx.core.UIComponent; *private* *function*

[flexcoders] Re: Using RegExp's...

2009-05-18 Thread Tim Hoff
For this particular case, you can catch it before you validate: mx:TextInput restrict=A-Z/ -TH --- In flexcoders@yahoogroups.com, Laurence MacNeill lmacne...@... wrote: I want to check to see that data has been entered into a textInput. Specifically, I want to ensure that only letters, not

Re: [flexcoders] Re: Form validation before submitting...

2009-05-18 Thread Laurence MacNeill
At 05:13 PM 5/18/2009, you wrote: Why not stop and return when validForm just turns false, like this: On Mon, May 18, 2009 at 5:54 PM, Tim Hoff mailto:timh...@aol.comtimh...@aol.com wrote: import mx.core.UIComponent; private function formIsValid():Boolean { for (var i:int = 0; i

Re: [flexcoders] Re: Using RegExp's...

2009-05-18 Thread Laurence MacNeill
At 07:01 PM 5/18/2009, you wrote: For this particular case, you can catch it before you validate: mx:TextInput restrict=A-Z/ Good idea -- thanks! Laurence MacNeill Mableton, Georgia, USA

[flexcoders] Re: Using RegExp's...

2009-05-18 Thread Tim Hoff
I'll let you figure out how to include lower-case letters as well. -TH --- In flexcoders@yahoogroups.com, Laurence MacNeill lmacne...@... wrote: At 07:01 PM 5/18/2009, you wrote: For this particular case, you can catch it before you validate: mx:TextInput restrict=A-Z/ Good idea --

[flexcoders] Re: Form validation before submitting...

2009-05-18 Thread Tim Hoff
Are you sure that you are looking for the children in the correct parent? Worked for me. -TH --- In flexcoders@yahoogroups.com, Laurence MacNeill lmacne...@... wrote: At 05:13 PM 5/18/2009, you wrote: Why not stop and return when validForm just turns false, like this: On Mon, May 18,

Re: [flexcoders] filter complex arrayCollection

2009-05-18 Thread Ivan Perez
have you ever seen OLAP Cube for flex 3? http://livedocs.adobe.com/flex/3/html/help.html?content=olapdatagrid_6.html Maybe it works. On Mon, May 18, 2009 at 12:02 PM, Mark mark.pusat...@yahoo.com wrote: Is there a way to filter an ArrayCollection of hierarchical data? So if I have a

Re: [flexcoders] Re: Form validation before submitting...

2009-05-18 Thread Laurence MacNeill
At 07:56 PM 5/18/2009, you wrote: Are you sure that you are looking for the children in the correct parent? Worked for me. -TH Ahh -- that's probably it. All the textInputs I'm looking for are in a Form. Which makes them children of the Form? Or children of each FormItem tag? How would

[flexcoders] Re: Form validation before submitting...

2009-05-18 Thread Tim Hoff
Almost seems like you'd want to loop through the validators instead, huh? -TH --- In flexcoders@yahoogroups.com, Laurence MacNeill lmacne...@... wrote: At 07:56 PM 5/18/2009, you wrote: Are you sure that you are looking for the children in the correct parent? Worked for me. -TH Ahh

Re: [flexcoders] Re: Flex to excel sheet report

2009-05-18 Thread Paul Kukiel
Actually Flash 10 allows you to write files client side. You could do this in the browser with no server if you wanted to and you have flash 10. Paul On 18/05/2009, at 4:57 PM, sminrana wrote: the current flash player version will not allow you write data into client application so

RE: [flexcoders] Tree

2009-05-18 Thread Tracy Spratt
Thinking in terms like mxml page will not help you. Think instead in terms like display component, or 'switch view. So, in the click handler on the tree, use some data in the clicked nod to cause a ViewStack to change its currentIndex. Tracy Spratt, Lariat Services, development services

RE: [flexcoders] Re: modify item before binding to datagrid

2009-05-18 Thread Tracy Spratt
If your data is changing type, I bet you have left the RPC data service at its default resultFormat. Set resultFormat=e4x and adjust your dataProvider expression code accordingly. DO use a result handler, do NOT bind directly to lastResult. Tracy Spratt, Lariat Services, development

RE: [flexcoders] Re: Getting an error when using a tree as a component

2009-05-18 Thread Tracy Spratt
I do not see a click handler function in what you posted. Did I miss it? No, wait, hold on, You can't use Application as the root tag for a component. I thought you said you were using canvas. Tracy Spratt, Lariat Services, development services available _ From:

Re: [flexcoders] Re: Form validation before submitting...

2009-05-18 Thread Laurence MacNeill
At 08:13 PM 5/18/2009, you wrote: Almost seems like you'd want to loop through the validators instead, huh? -TH Didn't know I could do that... How would I go about doing that? Thanks, Laurence MacNeill Mableton, Georgia, USA

[flexcoders] Doing math with Date()

2009-05-18 Thread Laurence MacNeill
I have a list of events in a table, and I need to check and see if someone has selected two events that time-conflict with one another. How do I do math with the Date() function in Flex to see if two events occur at the same time or not? Are there other date-and-time functions in Flex?

RE: [flexcoders] Doing math with Date()

2009-05-18 Thread Tracy Spratt
You can do you own calculations using the getTime() method, which returns the number of milliseconds from a reference date. But probably you should find a date utility library. I have seen several. Tracy Spratt, Lariat Services, development services available _ From:

Re: [flexcoders] Doing math with Date()

2009-05-18 Thread Laurence MacNeill
At 10:10 PM 5/18/2009, you wrote: I have a list of events in a table, and I need to check and see if someone has selected two events that time-conflict with one another. How do I do math with the Date() function in Flex to see if two events occur at the same time or not? Are there other

RE: [flexcoders] Doing math with Date()

2009-05-18 Thread Jake Churchill
Look up Date on livedocs. You can access all parts of the date and I believe you can do natural comparison as well, i.e. if( date1 != date2 ). Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 From:

[flexcoders] Flex to Air and remote coldfusion

2009-05-18 Thread Scott
I've written an application in Flex now I'm working on an Air application to connect to the coldfusion remoting services through the original application. However, I can't seem to access the remote objects in the flex application through Air. Is there anything special I have to be aware of if

RE: [flexcoders] Flex to Air and remote coldfusion

2009-05-18 Thread Scott
Nevermind; I just figured it out. I needed to set the endpoint to the server in the remoteobject. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Scott Sent: Monday, May 18, 2009 11:08 PM To: flexcoders@yahoogroups.com

[flexcoders] Re: Flex to Air and remote coldfusion

2009-05-18 Thread foobone9
Does your AIR app have access to the same remoting-config.xml as the Flex app? --- In flexcoders@yahoogroups.com, Scott h...@... wrote: I've written an application in Flex now I'm working on an Air application to connect to the coldfusion remoting services through the original application.

[flexcoders] PDF and XL

2009-05-18 Thread senthilkumarirtt
Hi all i need to export my advanced datagrid data as PDF and XL format.. Thanks in advance S.Senthilkumar

Re: [flexcoders] PDF and XL

2009-05-18 Thread p...@vin Uttarwar
Hi, there is a opensource actionscript library called *alivepdf*, here is a link. http://alivepdf.bytearray.org/ hope this will help you. Regards, Pravin 2009/5/19 senthilkumarirtt senthilkumari...@yahoo.co.in Hi all i need to export my advanced datagrid data as PDF and XL format..