[flexcoders] 2032 Stream Error - Deploying XML Application Configuration Data

2008-12-07 Thread pbrendanc
I have created some application configuration files (e.g. app menu) that I need to load during startup. In development I have defined the following service that loads this data from a local file. mx:HTTPService id=appmenuService url=data/appmenu.xml resultFormat=e4x / I' m trying to deploy

[flexcoders] Re: 2032 Stream Error - Deploying XML Application Configuration Data

2008-12-07 Thread pbrendanc
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pbrendanc Sent: Sunday, December 07, 2008 2:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] 2032 Stream Error - Deploying XML Application Configuration Data I have created some application

[flexcoders] Blogging Options/Services that support Flex apps? Wordpress/Other?

2008-12-05 Thread pbrendanc
I'm interested in creating a Flex related blog that will also contain sample Flex code/apps. I'd prefer to manage this all in one place - without using a separate web host for the app data files. I don't need a database - just content management + swf storage. I'm looking at Wordpress but I'm not

[flexcoders] Auto expand TreeView on open - How?

2008-12-04 Thread pbrendanc
I want to auto expand my menu treeview immediately on open - the following code is called from thecreationComplete=initTree(); and expands the first node only. Is there a way to expand all nodes - I can't seem to get this to work. (Other have reported problems so I wonder if this is supported)?

[flexcoders] Shared Data Options/Strategies

2008-11-13 Thread pbrendanc
I am retrieving data from a service and saving this in a VO. This is done within a component (actually within a PopUp Search window) - I am saving the currently selected employee data record. However I want to make the VO data accessible across the entire app and to all components in the app

[flexcoders] DataGrid ItemRenderer - Reuse with Parameters vs Cloning

2008-11-12 Thread pbrendanc
I have a datagrid containing rows with multiple date columns. I need to change the cell background color based on the date value (e.g. 90 days old is red etc.) However the rules vary based on the column - for now I've created similar custom item renderers with different business rules based on

[flexcoders] How to share VO with multiple components/views - Nested Binding?

2008-11-11 Thread pbrendanc
I have some data (e.g. currently selected employee summary data) that appears (Read Only) on several views/components. I am retrieving the selected data and saving in a VO object, but I'd like to share this VO data with several forms/views - I thought I could do this via binding, but some of the

[flexcoders] E4X equivalent to SQL where 'like %' expression ?

2008-11-06 Thread pbrendanc
I'd like to extract the list of emps from the following XML where name starts with 'Jo' (returns Jones, Johnson). In SQL I can use the expression 'where name like 'Jo%'. Anyone have examples of how this be done via an E4X expression (I could not find any examples of this in the docs). TIA,

[flexcoders] Seeking master/detail data grid example for CRUD app

2008-10-28 Thread pbrendanc
I have a data grid that shows a list of summary records. When I (double)click on a row I want to display an editable detail form that shows the selected record in detail and then hide the summary list.  Can anyone point me to any existing sample code  for  this kind of navigation. I'm interested

[flexcoders] Re: How do we implement pop-up input in Flex?

2008-08-01 Thread pbrendanc
Hi, I just created a demo Flex app that uses a popup - see myflexapps.appspot.com - check out my demo and if you are stuck I can pull out the appropriate code for you that shows how this works. Patrick --- In flexcoders@yahoogroups.com, Joshua Jackson [EMAIL PROTECTED] wrote: Dear all, I

[flexcoders] Flex PopUp - Background Transparency Question

2008-08-01 Thread pbrendanc
My app uses a popup window - however the background window shows through a bit more that I like - how can I fade the background so that it's still visible bit rather dim while the popup is displayed? (You can see the app at myflexapps.appspot.com). I know there are some alpha settings - is that

[flexcoders] Any future plans to support ODBC Connections for AIR applications?

2008-07-31 Thread pbrendanc
I know this has come up before but there is a significant need to access data in desktop databases (Read Only would be OK). (e.g. I am working with the Google App Engine and there is no easy way to populate their datastore). A GUI upload app written in AIR could be great for this. I've thought

[flexcoders] Re: Any future plans to support ODBC Connections for AIR applications?

2008-07-31 Thread pbrendanc
I understand the tcp approach but that's just a really roundabout/indirect approach vs a direct db connection of some sort (maybe native drivers if ODBC is not your thing - again look at the Python libraries) . I'd be curious to hear the official Adobe position on this and whether this is a

[flexcoders] How to control positioning of Dynamic Control in a panel?

2008-07-28 Thread pbrendanc
I have a panel that will contain a dynamically created custom grid component(the size is determined at run time). The grid is added to the panel via the panel.AddChild() method and is placed at the bottom of the form by default. I need to place a control bar (and other controls) below the grid.

[flexcoders] Re: HTTP Service Send Requests with Parameter Object - 405 Errors?

2008-07-17 Thread pbrendanc
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pbrendanc Sent: Wednesday, July 16, 2008 5:44 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] HTTP Service Send Requests with Parameter Object - 405 Errors? The Flex docs specify that the send object

[flexcoders] Re: Google CodeJam

2008-07-17 Thread pbrendanc
Interested in more info on this - do you have a link? --- In flexcoders@yahoogroups.com, nathanpdaniel [EMAIL PROTECTED] wrote: Any other coders in Google CodeJam using Flex? :D I passed the qualifying round last night. I only ran one test (all I need to do to move on) - after which I

[flexcoders] Re: HTTPService receiving an array as parameter

2008-07-17 Thread pbrendanc
Guilherme, I'm also testing this and have passed a parameter object as part of my HTTP request as follows: httpSvc.send(testVO); However I'm not seeing the parameter values in the HTTP request when I debug on the server side. However they do show up when I look at the request using the Web

[flexcoders] Resetting/Clearing Project Server Properties

2008-07-17 Thread pbrendanc
Is there a way to clear the project server properties once they have been created - I was unable to do this so my work around was to create a new project and copy my components to it , then setting the project server property to 'none'. This seems a bit redundant and I wondered if there is an

[flexcoders] Re: HTTPService receiving an array as parameter

2008-07-17 Thread pbrendanc
, Jul 17, 2008 at 3:36 PM, pbrendanc [EMAIL PROTECTED] wrote: Guilherme, I'm also testing this and have passed a parameter object as part of my HTTP request as follows: httpSvc.send(testVO); However I'm not seeing the parameter values in the HTTP request when I debug on the server

[flexcoders] HTTP Service Send Requests with Parameter Object - 405 Errors?

2008-07-16 Thread pbrendanc
The Flex docs specify that the send object can contain either Name/Value pairs of an XML object but I keep getting errors. Is it possible to pass a (non null) parameter object in the HTTP service send request - I keep getting HTTP405 (Method not allowed) errors. (If I include these args as part

[flexcoders] Re: Problem Adding Custom Event Listeners in a component?

2008-07-07 Thread pbrendanc
or they dispatch from might be better. That's how RadioButton/RadioButtonGroup work. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pbrendanc Sent: Sunday, July 06, 2008 4:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Problem

[flexcoders] Problem Adding Custom Event Listeners in a component?

2008-07-06 Thread pbrendanc
I have a custom button on which I want to listen to some custom events. For some reason in the following code my custom events are never heard/triggered. 1)In the button's constructor I added the listeners as follows: // Custom Class Code public class testButton extends Button { //constructor

[flexcoders] Re: Problem Adding Custom Event Listeners in a component?

2008-07-06 Thread pbrendanc
Harui [EMAIL PROTECTED] wrote: Hard to say from the code snippets, but it looks like your button is listening for addItemEvent on itself, but it is the app that is dispatching From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pbrendanc

[flexcoders] Passing Initialization Parameter to a Popup Form ?

2008-07-03 Thread pbrendanc
Is there a way to pass/initialize a parameter when it is initially created - based on the value passed I plan to render the popup differently as part of my create complete processing in the popup. I don't want to set/pass the variables after I've created the popup since that is too late. Any

[flexcoders] BSOD Crashes (in Windows) while debugging in Flex - Is this a known problem?

2008-07-03 Thread pbrendanc
I'm Running XP (SP3) and have had several BSOD crashes while starting a debug session(Driver IRQL_Not_Less_OR_EQual error). On restart I get a windows message that system has recovered from serious error. (I may have had a run time Null Object Ref error in my code - not sure if that would be a

[flexcoders] Re: Enumerating throug container/control arrays in Flex/Actionscript?

2008-07-02 Thread pbrendanc
a list. You will of course have to attach said event listener on Application.preinitialize or something like that. I'm interested into why you'd want to do this though? -Josh On Wed, Jul 2, 2008 at 1:37 PM, pbrendanc [EMAIL PROTECTED] wrote: In windows apps there is a control array

[flexcoders] Pass a Run Time Composite Component to customize a Pop Up Form?

2008-07-02 Thread pbrendanc
I't trying to create a composite control (in AS) at run time and pass this to a popup (as an object) - the popup is responsible for the display and the contents vary based on a user input (e.g. 2*2 grid; 3*3 grid etc). My initial thought was to create a composite component and then pass this for

[flexcoders] Enumerating throug container/control arrays in Flex/Actionscript?

2008-07-01 Thread pbrendanc
In windows apps there is a control array collection that can be used to find controls and return a handle to the appropriate object. What is the recommended Flex approach to finding controls and are there any performance tradeoffs here - recursion is slow and potentially error prone (stack

[flexcoders] Re: Create border for inner subgrids within a grid - How?

2008-06-28 Thread pbrendanc
again, Patrick --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: myGridItem.setStyle(borderStyle, solid) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pbrendanc Sent: Friday, June 27, 2008 2:50 PM

[flexcoders] Custom (mxml) UI Components in Flex?

2008-06-28 Thread pbrendanc
Hi Just getting into flex in my spare time and trying to learn as quickly as possible - so excuse me if some of my postings/questions seem somewhat redundant - however these groups are a valuable resource for future Flex noobies so hopefully others will benefit from the QA. (Later on I may

[flexcoders] Re: How to Position a Popup relative to the control that invoked the popup?

2008-06-27 Thread pbrendanc
( point ); 3) now use it to position your pop up mypop.x = point.x; mypop.y = point.y + 10; Dimitrios Gianninas Optimal Payments Inc. -Original Message- From: flexcoders@yahoogroups.com on behalf of pbrendanc Sent: Thu 26/06/2008 7:55 PM To: flexcoders@yahoogroups.com

[flexcoders] Re: How to Position a Popup relative to the control that invoked the popup?

2008-06-27 Thread pbrendanc
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pbrendanc Sent: Thursday, June 26, 2008 9:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to Position a Popup relative to the control that invoked the popup? Sorry, while I don't mean to be obtuse - however I need

[flexcoders] Create border for inner subgrids within a grid - How?

2008-06-27 Thread pbrendanc
Another noob question - I've created a dynamic (n*n) grid and need to provide some visual delineation of the inner grids - e.g. a 4*4 grid contains 4 inner 2*2 subgrids. How can I create a border around each of these subgrids? (This will also need to be done dynamically). TIA, Patrick FWIW -

[flexcoders] How to Position a Popup relative to the control that invoked the popup?

2008-06-26 Thread pbrendanc
I have a grid with an array of buttons that when clicked, will display a popup window that collects user info. What I'd like to do is position the popup relative (immediately below) the button that the user clicked within the grid - not necessarily centered on the current window. How can I get

[flexcoders] Re: How to Position a Popup relative to the control that invoked the popup?

2008-06-26 Thread pbrendanc
[EMAIL PROTECTED] wrote: You should be able to get the button which triggered the click event from event.target -Josh On Fri, Jun 27, 2008 at 9:55 AM, pbrendanc [EMAIL PROTECTED] wrote: I have a grid with an array of buttons that when clicked, will display a popup window that collects

[flexcoders] How to create a n * n grid dynamically (not datagrid)

2008-06-17 Thread pbrendanc
Hi, I'm new to this group and just started learning Flex 3. I want to try creating/adding a grid with a variable (user specified) # of cells. SO the grid size is defined at run time. Scenario is : User selects grid size (2x2; 3x3 etc) from combo box and corresponding grid is displayed - also

[flexcoders] Re: How to create a n * n grid dynamically (not datagrid)

2008-06-17 Thread pbrendanc
--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Look into Grid, GridRow, etc. These can be created at run-time. But depending on what you're actually trying to do, you may be better suited with the Tile component. -Josh Can you be a bit more specific - I