[flexcoders] FileFilter and browseForSave
I have a need to control (at least suggest) a file extension when saving a file in an AIR application. browseForSave is limited to a single argument for the popup title. Does anyone have any ideas how to get FileFilter like behavior when saving a file in AIR? -S
[flexcoders] AIR components appear to be disabled.
I have HBox containing some buttons that appear to be disabled when the application starts up. I say appear because if I inspect them their enabled property is true. Yet, they are "greyed" out and unclickable. The HBox is defined as a child under WindowedApplication. I can't find way to make them usable. I must be missing something obvious.
[flexcoders] Re: how to bubble and catch events
I have bigger problems. By changing the events to standard ADD and REMOVE and modifying I at least got past the compile problems. I am now trying to select the view choices in the ViewStack with actionColumn.selectedIndex = 1; But actionColumn is not visible at the top level. This is my first foray into embedded components and trying to inline renderers. I may have to break down and start customizing. Thanks in advance. -S --- In flexcoders@yahoogroups.com, "Tracy Spratt" wrote: > > That should work, the second argument in the event constructor makes it > bubble. > > > > I don't see your listener defined. You should do that in a function > called on creation complete of the application: > > this.addEventListener(Event.ADDED, onAction) > > > > Tracy Spratt > Lariat Services > > Flex development bandwidth available > > > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of stevepruitt97 > Sent: Friday, February 13, 2009 12:08 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] how to bubble and catch events > > > > I have the following scenario. I need to catch the click events for > either of the two buttons. I tried putting the event handler on the > DataGrid, but I'm getting an unresolved error for it. Is this even > possible? > > Thanks in advance for any help. > > -S > > http://www.adobe.com/2006/mxml > <http://www.adobe.com/2006/mxml> "> > > > > rowCount="5" dataProvider="{_content}" action="onAction(event)"> > > > > > > > [Event(name = "action", type > = "flash.events.Event")] > > > > > > click="onAction(event)"/> > click="onAction(event)"/> > > > > > > > headerText="Template"/> > headerText="Description"/> > headerText="Version"/> > > > >
[flexcoders] how to bubble and catch events
I have the following scenario. I need to catch the click events for either of the two buttons. I tried putting the event handler on the DataGrid, but I'm getting an unresolved error for it. Is this even possible? Thanks in advance for any help. -S http://www.adobe.com/2006/mxml";> [Event(name = "action", type = "flash.events.Event")]
[flexcoders] Re: HttpService headers - age old problem
It might for Air applications, but not for browser Flex applications. My app is not an Air app. Thanks, -S --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > I found this: > > http://stackoverflow.com/questions/490806/http-basic-authentication- with-httpservice-objects-in-adobe-flex-air > > Does it not work? > > > > --- In flexcoders@yahoogroups.com, "stevepruitt97" > wrote: > > > > This seems to be an age-old issue. I need to set the Authorization > > header for GET requests. I read it cannot be done and I have read > > articles that hint it is doable. Which is it? > > > > I have no cross-domain issues. Everything is sent to the same server. > > > > I found the following adobe TechNote: > > http://kb.adobe.com/selfservice/viewContent.do? > > externalId=kb403184&sliceId=1 > > appears to state that post Flash player 9.0.115.0 the Authorization > > header can be sent with either GET or POST. I have player 9.0.224.0. > > However, I cannot the Authorization header or a custom header to go > > across. > > > > Has anyone successfully set the Authorization header for any customer > > header for that matter with the HttpService? > > > > Thanks. > > > > > > -S > > >
[flexcoders] HttpService headers - age old problem
This seems to be an age-old issue. I need to set the Authorization header for GET requests. I read it cannot be done and I have read articles that hint it is doable. Which is it? I have no cross-domain issues. Everything is sent to the same server. I found the following adobe TechNote: http://kb.adobe.com/selfservice/viewContent.do? externalId=kb403184&sliceId=1 appears to state that post Flash player 9.0.115.0 the Authorization header can be sent with either GET or POST. I have player 9.0.224.0. However, I cannot the Authorization header or a custom header to go across. Has anyone successfully set the Authorization header for any customer header for that matter with the HttpService? Thanks. -S