Re: [flexcoders] Re: Httpservices as3 class

2010-03-10 Thread Tim Romano
is listening for, passing the ArrayCollection } } Regards Tim Romano On 3/9/2010 10:00 AM, valdhor wrote: Does anybody have a httpservice class, implemented in as3, for flahs builder 4? I am trying to create an application in as3, connecting and returnig dynamic

Re: [flexcoders] Need to filter UTF-8 characters from string

2010-03-10 Thread Tim Romano
://en.wikipedia.org/wiki/UTF-8 Regards Tim Romano

[flexcoders] My Flex app seems to have stopped working in Firefox after installing latest Windows security patches

2010-03-04 Thread Tim Romano
08:39:42:625 900 70Agent * Title = Update for Windows XP (KB955759) 2010-03-0408:39:42:625 900 70Agent * Title = Cumulative Security Update for Internet Explorer 8 for Windows XP (KB978207) Anyone else having similar problems? Thanks Tim Romano

Re: [flexcoders] Strategies for switching between testing and deployment addresses

2010-02-24 Thread Tim Romano
to examine the Compiler options before each compile, and this approach inculcates a good habit. Take this with a grain of salt; I'm new to Flex; my expertise, if I have any at all, is not in Flex programming. Regards Tim Romano On 2/21/2010 8:00 PM, David Adams wrote: I've been writing some

Re: [flexcoders] SQL Question

2010-02-22 Thread Tim Romano
Hard to know for sure from the way you've put the question, but the IN lists seem malformed to me. Correct: IN (a, b, c) Incorrect: (a, b, c) Regards Tim Romano On 2/20/2010 6:04 PM, Wally Kolcz wrote: I know this is out of the core topic, but I am banging my head on this simple issue

[flexcoders] best place to make feature requests

2010-02-10 Thread Tim Romano
Where's the best place to make feature requests for FlashBuilder? Thanks

[flexcoders] ExternalInterface : debugging, DOM, Export Release Build

2010-02-10 Thread Tim Romano
My browser-deployed Flex app, built in FB4, is using the ExternalInterface. The Flex app gets some search terms from the user, goes out to a webservice for some data, and then pushes some html markup out to a DIV in the HTML document using the ExternalInterface.call() method. I send the

Re: [flexcoders] HTTPService token: a bug or by design?

2010-02-09 Thread Tim Romano
To answer my own dumb question. var token: AsyncToken; token = send(); var myResponder : AsyncResponder= new AsyncResponder(onResult, onFault, token); token.addResponder(myResponder); function onResult(e:ResultEvent , token:Object=null):void {} On 2/8/2010 6:05 PM, Tim Romano wrote: I've

[flexcoders] HTTPService token: a bug or by design?

2010-02-08 Thread Tim Romano
Tim Romano

Re: [flexcoders] Steve Jobs on Flash .......

2010-02-06 Thread Tim Romano
If the rumors about Bing are true, then this panning could also have something to do with Silverlight. If I were at MSFT and my role was to ensure that Silverlight succeeded in knocking Flash off (as Word knocked off WordPerfect back in the day, e.g.) then I'd be looking for chinks in Adobe's

[flexcoders] rendering HTML markup in AdvancedDataGrid

2010-02-06 Thread Tim Romano
I am considering using an AdvancedDataGrid in hierarchical mode but am not sure it can do what my app needs to do, or if it can, whether the approach will be efficient--execute quickly and use up a lot of memory. I haven't worked with the AdvancedDataGrid before. The grid will look like this:

Re: [SPAM] [flexcoders] rendering HTML markup in AdvancedDataGrid

2010-02-06 Thread Tim Romano
, development services available *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Tim Romano *Sent:* Saturday, February 06, 2010 12:36 PM *To:* flexcoders@yahoogroups.com *Subject:* [SPAM

[flexcoders] my HTTPService POSTs are showing up as GETs in FB4 beta 2: is POST implemented?

2010-01-25 Thread Tim Romano
I would be grateful if someone could confirm that HTTPService POST actually works in FB4 beta 2.When I set the method = POST, the header shows up as a GET in the Fiddler traffic monitor, and so the parameters I'm trying to send to the remote server never arrive; only the name/value pairs

[flexcoders] Dog woofs, Cat meows; can the same listener listen to either and how do you remove the eventlistener?

2010-01-23 Thread Tim Romano
The question is at the very bottom. Here's the scenario: Let's say I have a base class Animal, and subclasses Dog and Cat that extend Animal. Animal has a protected Speak() method which Dog and Cat each override: when aDog instance and aCat Speak(), they each raise an event, a

Re: [flexcoders] Problem losing values from query results to RESULT.DATA

2010-01-20 Thread Tim Romano
What happens if you don't put any quotes around the column aliases? Tim On 1/19/2010 4:55 PM, charliecrystle wrote: Weird issue: I have a query that works fine--produces expected results: SELECT COUNT(tagsLU.tagid) as 'tagcount', tag.tagname as 'tagname' FROM TagsLU Inner Join tag on

Re: [flexcoders] question about inheritance and events and overriding methods

2010-01-19 Thread Tim Romano
Thanks very much, Aaron, for taking the time to compile the code on your end. Without your help, I'd have been spinning my wheels on this for days It appears to be a compiler/debugger bug in beta 2. I started commenting out code and recompiling and then uncommenting and recompiling and

Re: [flexcoders] question about inheritance and events and overriding methods

2010-01-18 Thread Tim Romano
its own responder. Aaron On Sun, Jan 17, 2010 at 6:37 PM, Tim Romano tim_rom...@yahoo.com mailto:tim_rom...@yahoo.com wrote: Thank you, Aaron, for the helpful answers. My intention would be to have each of the descendants of MYHTTPSERVICEBASE point to a different destination

[flexcoders] not legal to override a function with an optional parameter, e.g. foo(s: String=null) ?

2010-01-18 Thread Tim Romano
I've been asking general questions about inheritance and am splitting this question off as a separate one because it's very specific. It appears that you cannot override a function with optional parameters? protected function foo(a:String, s:String=null): void {} Isn't the signature considered

[flexcoders] question about inheritance and events and overriding methods

2010-01-17 Thread Tim Romano
Let's say I have a class MYHTTPSERVICEBASE which extends mx.rpc.http.HTTPService. This base class of mine checks whether it is being run in debug mode or release, and sets the base URL to localhost or the remote host. Then I have individual http service classes that extend MYHTTPSERVICEBASE.

Re: [flexcoders] question about inheritance and events and overriding methods

2010-01-17 Thread Tim Romano
Thank you, Aaron, for the helpful answers. My intention would be to have each of the descendants of MYHTTPSERVICEBASE point to a different destination and raise an event specific to that destination, and to have a separate listeners for each kind of event. If I've understood you correctly,

Re: [flexcoders] HTTPService Responder ResultEvent -- how to know when the JSON data sent via HTTP are complete?

2010-01-13 Thread Tim Romano
Tracy, Yes. Thanks for the info. Tim On 1/13/2010 12:51 AM, Tracy Spratt wrote: You are using Firefox, I bet. I have sent this behavior and I think it is just a bug in FF. Tracy Spratt, Lariat Services, development services available The status bar says Transferring data from

[flexcoders] HTTPService Responder ResultEvent -- how to know when the JSON data sent via HTTP are complete?

2010-01-12 Thread Tim Romano
I started learning FlashBuilder/Flex by diving in and writing an AIR application against SQLite with asynchronous connections and Responder objects. The responder's resultsHandler is passed a flash.data.SQLResult object that exposes a complete status property. Lovely. Now I am trying to

Re: [flexcoders] HTTPService Responder ResultEvent -- how to know when the JSON data sent via HTTP are complete?

2010-01-12 Thread Tim Romano
Jeff, Thanks for the reply. I am confused by the behavior of my Flex app. The status bar says Transferring data from localhost... and that status message never goes away. But, as you suggested, the data are complete: I pop the raw JSON string returned by the webservice into a TextArea, and

[flexcoders] Channel.Security.Error : guidance please

2010-01-05 Thread Tim Romano
If I understand this document correctly: http://kb2.adobe.com/cps/142/tn_14213.html the Channel.Security.Error (Security error accessing url) that I get when trying to access a webservice hosted at www.flash-mx.com from my desktop FlashBuilder (beta 2) development environment is probably the

[flexcoders] possible to derive rowIndex from DataGrid's rightClick event?

2009-12-15 Thread Tim Romano
In an AIR app, I'd like to be able to know what row of a DataGrid the user has right-clicked on.* The rightClick event of the DataGrid is a MouseEvent and does not expose rowIndex (unlike the rowClick event which is of type ListEvent). Is there a way to derive the rowIndex in the grid's

[flexcoders] padding P element with CSS in htmlText of TextArea

2009-12-10 Thread Tim Romano
While I've been able to apply some CSS styles (e.g. fontFamily, fontSize, fontWeight, fontStyle, letterSpacing) to the content of p elements and to indidivual class selectors in the htmlText of a TextArea in an AIR application (FB4 beta2), attempts to set other styles, such as padding and

Re: [flexcoders] Flex 3: AIR Local Database

2009-11-25 Thread Tim Romano
The answer to your question about large scale is yes, AIR + SQLite can handle large datasets but with some caveats. I have a SQLite database that is several hundred megabytes. The main tables contain 4 million rows, 275000 rows, and 3500 rows. Queries that join these tables, when the query

[flexcoders] where to get official answer to question about AIR's SQLite implementation and LoadableExtensions mechanism support?

2009-11-25 Thread Tim Romano
A simple function I need does not exist in the SQLite engine core but the SQLite gurus are telling me to write my own function in C and load it at runtime as a loadable extension. (I have good reasons, BTW, for not wanting the function to execute in the client--it really belongs in the

[flexcoders] basic code behind question

2009-10-27 Thread Tim Romano
It seems a class whose constructor takes arguments cannot be used as the code-behind class. Is that so? When I try to use this class in the root tag of my mxml component, there's an error: no default constructor in the base class TestArgs. Thanks package { import

[flexcoders] launching popup TitleWindow from a reused mxml component

2009-10-24 Thread Tim Romano
I posted a question the other day about how to prevent a popup from being dragged outside the bounds of the application window. Since I'm fairly new at Flex, some obvious things are not immediately obvious to me. I think my popup window can be dragged outside the main application window

[flexcoders] PopupWindow dragging and enforcing main app window bounds

2009-10-23 Thread Tim Romano
First, thanks to Tracy for answering my question about the columns array of the DataGrid. My question relates to dragging popup-windows. It's possible to drag a popup window outside the main application window's bounds, and if the user happens to release the mouse button at the wrong moment,