[flexcoders] Downloading Files with FIex 2

2008-06-04 Thread Mark Forsberg
I would like to allow users to pick out the file they want to download, i.e. file.browse(), this is an intranet app and everyone on it has access. Is it possible to grab the file from the local system and feed it into the Download_url? Any good sites that expain doing it this way? T

[flexcoders] Passing arrayCollections to .cfm in URL

2008-04-22 Thread Mark Forsberg
I am attempting to pass several small arrayCollections along with a file upload. variables.myAssignedRoles = assignedRoles; //arrayCollections variables.myAssignedGroups = assignedGroups; variables.myAssignedApprovers = assignedApprovers; var request:URLRequest = new URLRequest(

[flexcoders] Adding Object to ArrayCollection adding Two Objects

2008-03-26 Thread Mark Forsberg
I have an ArrayCollection that I've populated with an empty array: private var myArray:Array = []; [Bindable] private var approvers:ArrayCollection = new ArrayCollection(myArray); One of the functions in my app moves the item from one list (populated by an ArrayCollection) and moves it another l

[flexcoders] Re: Filtering Function Question

2008-03-13 Thread Mark Forsberg
No, it's an arrayCollection. --- In flexcoders@yahoogroups.com, "Peeyush Tuli" <[EMAIL PROTECTED]> wrote: > > Are you using an XMLListCollection as the dataprovider here? > > ~Peeyush > > On Thu, Mar 13, 2008 at 6:32 PM, Mark Forsberg <[EMAIL PROTECTE

[flexcoders] Filtering Function Question

2008-03-13 Thread Mark Forsberg
I have the following code that I'm trying to use to filter an arrayCollection. public function filterDocuments(item:Object):Boolean{ var myGroup:int = ddl_reportGroup.selectedItem.data; if(myGroup == 45 && item.rank_value == 1){ return t

[flexcoders] Re: Need help with ArrayCollection Addition on DragAndDrop

2008-03-13 Thread Mark Forsberg
I found the problem. I needed to be doing my refresh on the dragComplete event. It appears that until drag complete the last added element in the datagrid is not set in the arrayCollection. --- In flexcoders@yahoogroups.com, "Mark Forsberg" <[EMAIL PROTECTED]> wrote: > >

[flexcoders] Need help with ArrayCollection Addition on DragAndDrop

2008-03-05 Thread Mark Forsberg
I am attempting to allow a user to drag a document to a "favorites" grid. Upon the drag and drop I want to save all of the grid items currently in the grid back to a database. I'm not having any luck at all. The drop works fine, but saving the grid information to the database and subse

[flexcoders] Leap Year Issue in Flex?

2008-02-29 Thread Mark Forsberg
I have an application where I created an array of times to populate a combobox. The code has been working well for 6 months. Lo and behold, today the combobox isn't populated. All I can come up with is that the leap year is confusing Flex. Here is the code: public function createTimeArray():vo

[flexcoders] Re: Only DragEvent.DRAG_ENTER fires in Custom Component

2008-02-20 Thread Mark Forsberg
______ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Mark Forsberg > Sent: Wednesday, February 20, 2008 1:58 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Only DragEvent.DRAG_ENTER fires in Custom >

[flexcoders] Only DragEvent.DRAG_ENTER fires in Custom Component

2008-02-20 Thread Mark Forsberg
I have the following custom component that allows a user to drag an item from a datagrid into an image of a trashcan located in the titleBar of the panel housing the datagrid for deletion from the grid. The custom component renders fine, but the only DragEvent that is captured is the DRAG_ENTE

[flexcoders] Binding Array as Data Provider for Combobox.

2007-11-05 Thread Mark Forsberg
I have a function that creates an array of objects: public function createTimeArray():void{ var millisecondsPerMinute:int = 1000 * 60; var currentDate:Date = new Date(); var year:int = currentDate.getFullYear(); var month:int = currentDate.getMonth(); var day:int = currentDate.getD

[flexcoders] ArrayCollection Question

2007-10-27 Thread Mark Forsberg
I am dragging/dropping rows from one grid to another. At the drop I will be calling a .cfc to get more information for the second datagrid. I have several questions about the data that I'm adding. 1. To add the data "manually" after I've captured my drop event do I need to use the Icollection?

[flexcoders] Re: Mixing Flex and Coldfusion Templates

2007-02-15 Thread Mark Forsberg
vSpell code into a CFC to call in flex? > > Shan > > Mark Forsberg wrote: > > > > I'm very new to Flex so and would like to know if I can do the > > following. > > I would like to have the user enter text into a textarea in a > > Flex app. When they

[flexcoders] Mixing Flex and Coldfusion Templates

2007-02-15 Thread Mark Forsberg
I'm very new to Flex so and would like to know if I can do the following. I would like to have the user enter text into a textarea in a Flex app. When they click on "Spell Check" I would use getURL() to pass the text into a coldfusion template modally so that I can spell check it with