Re: [flexcoders] XML, does it have to be RSS?

2007-05-22 Thread Paul J DeCoursey
What does the rest of your xml look like? The example you provided was the root element and it had namespace declarations. removing those and keeping the same xml following that would be the problem. Jason wrote: Does the XML data HAVE to be an RSS? If I change rss version=2.0

Re: [flexcoders] Advanced Flex Authentication - limiting a user to a sinlge logon of a gieven app

2007-05-20 Thread Paul J DeCoursey
Might be able to accomplish that using Remoting, I don't think you'll be able to accomplish that on the web without some way of knowing for sure that the user has lost it's connection. Perhaps if you expire sessions after a very short time, like 30 seconds, and constantly ping the server from

Re: {Disarmed} Re: [flexcoders] Flex on Mac

2007-05-17 Thread Paul J DeCoursey
What are you talking about... I have a second monitor hooked up to my MacBook Pro right now, and my Mac Pro has 3 monitors. I've had no issues. Paul fuad_kamal wrote: you can't (multiple monitors). It's an issue w/Eclipse on Mac. Solution: cinema display :P --- In

Re: {Disarmed} Re: {Disarmed} Re: [flexcoders] Flex on Mac

2007-05-17 Thread Paul J DeCoursey
I'm sorry, I misunderstood. I thought you were refering to the ability to use multiple monitors on a Mac. To tell you the truth what you are describing is completely new to me. I've never even heard of doing that on windows. When I get in the office I will try it on my workstation there. Is

Re: [flexcoders] Re: Flex cookbook article: Flex2 XML Reader Can Create UIComponents

2007-05-17 Thread Paul J DeCoursey
The Apache/IIS module is a Flex compiler that compiles the MXML just before serving. Similar to JSP, ASP, PHP. and so on. It is not MXML at runtime. nathanpdaniel wrote: http://labs.adobe.com/wiki/index.php/Flex_Module_for_Apache_and_IIS Not implying I know anything by any means - but

Re: [flexcoders] Flex cookbook article: Flex2 XML Reader Can Create UIComponents

2007-05-17 Thread Paul J DeCoursey
You can easily integrate a compile on demand system using the Flex SDK and Tomcat. The problem is the compilers are not very fast. I'm guessing that the Apache/IIS module does some caching so that compiles run faster because they don't have to reload large libraries each time. Once the

Re: [flexcoders] File Upload I/O error only on Mac

2007-05-04 Thread Paul J DeCoursey
I've seen this as well. But it has not been a priority yet to investigate it, so I don't really know what is going on there. I was thinking it may be sandbox issues. Or perhaps a bug in the player. Let me know if you discover anything. Unfortunately it will be weeks before I get around to

Re: [flexcoders] Re: Actionscript - copy constructor/ assignment operator question

2007-05-04 Thread Paul J DeCoursey
Troy Gilbert wrote: String is a primitive type, like int/uint/Number (which have operators) and Boolean, which all have special casting rules and operator overloading. Be happy for that, at least... we could be *forced* to call toString() every time we wanted the conversion (fortunately,

Re: [flexcoders] Is this a bug? 1195 - Attempted access of inaccessible method name ...

2007-05-03 Thread Paul J DeCoursey
Although you declare test as a function it is not used as one. When you use the get and set syntax the function is treated like a property. mattjshannon wrote: Hi, I'm new to flex and actionscript - having a java background. I keep getting a 1195 compiler error when trying to invoke what i

Re: [flexcoders] Why aren't we allowed to process the event queue? (eg: like DoEvents)

2007-05-03 Thread Paul J DeCoursey
Manish Jethani wrote: On 5/3/07, Troy Gilbert [EMAIL PROTECTED] wrote: I think the best solution for Flash would be to introduce a first-class thread object. That way developers could spawn long-lasting tasks to a separate thread. If threading is introduced in the player, much

Re: [flexcoders] Re: Programatic Icon

2007-04-28 Thread Paul J DeCoursey
that block with; var color:uint; if (parent is IStyleClient) color = IStyleClient(parent).getStyle(arrowColor); if (!isNaN(color)) _color = color; thanks, that is much better. Peace, Mike On 4/27/07, Paul J DeCoursey [EMAIL PROTECTED] wrote: Ok

Re: [flexcoders] Re: Will Microsoft's new Silverlight Player Kill our beloved Flex ?

2007-04-27 Thread Paul J DeCoursey
Ummm no IE does not work on the Mac, the last few versions were awful and barely worked. MS hasn't been developing it in at least 2 years, maybe three. They stopped supporting it over a year ago. Everybody uses Windows, almost all the workstations are windows. Macs have IE working OK.

Re: [flexcoders] Programatic Icon

2007-04-27 Thread Paul J DeCoursey
I've been able to get it to work for buttons and the like by extending ProgrammaticSkin and passing in the class. I've never even used the icon on a TitleWindow to even know how it's supposed to work. It should work, because everything is a class, but it might not know what to do with it.

Re: [flexcoders] wmode=transparent : any limitations to expect ?

2007-04-27 Thread Paul J DeCoursey
All mouse related events do not detect modifier keys. This was a painful issue because our app depended on being able to select multiple items from a list and that's not possible when control and shift are not registered on a mouse click. MSIE did not appear to have this limitation, but

Re: [flexcoders] wmode=transparent : any limitations to expect ?

2007-04-27 Thread Paul J DeCoursey
Where is this not supported? I have tested most and found it to work as expected. Mostly that html elements can appear over the flash component. Paul Manish Jethani wrote: You should know that transparent mode is not supported on all platforms. On 4/27/07, ecpmaz [EMAIL PROTECTED] wrote:

Re: [flexcoders]How does Flex work on Mobile devices

2007-04-27 Thread Paul J DeCoursey
dorkie dork from dorktown wrote: My boss asked, What options does Flex have for deploying to mobile devices? None at the moment, but I've heard that they are working on a way to compile Flex for Flash Lite which works on many mobile devices.

Re: [flexcoders] Re: Programatic Icon

2007-04-27 Thread Paul J DeCoursey
Ok, because I'm a big loser and I don't like using mx_internal... sorry that I'm so lame Mike... but here is a modified version that doesn't use mx_internal. Basically three things change from Mikes example. private function changeIcon(event:MouseEvent):void {

Re: [flexcoders] Re: Versioning swf files for bug reporting

2007-04-17 Thread Paul J DeCoursey
I have a java class that generates a build.as file that is included in my main application mxml file. The build.as file has only public static var uiBuildText:String = unique build info here; I put in a build id, gotten from subversion. I also include the date for the version and who did the

Re: [flexcoders] Will Microsoft's new Silverlight Player Kill our beloved Flex ?

2007-04-17 Thread Paul J DeCoursey
All I have to say is it's Microsoft, if they kill anything it's not on the merits of their product... it's brute force. This is not a threat to Flash/Flex by any means. Microsoft will never be able to create a truly cross platform product. All of their past efforts have been clumsy at best,

Re: [flexcoders] How do I read Response after FileReference uploads a file?

2007-03-30 Thread Paul J DeCoursey
I did something similar. Before the upload I get a token, I pass that token on the querystring of the upload. Once complete I use that token to get info about the upload. I also use this token for authentication purposes. We have had a lot of trouble with file uploads not sharing sessions

Re: [flexcoders] Re: Caching problem

2007-03-26 Thread Paul J DeCoursey
Tom Chiverton wrote: On Monday 26 Mar 2007, Paul DeCoursey wrote: environments should be able to run without problems if there are browsers caching things. *boggle* How would that work ? If a service changes it's interface, how is the old client meant to consume the new format ?

Re: [flexcoders] ALT-GR + key not working in Firefox

2007-03-09 Thread Paul J DeCoursey
There is a series of bugs related to Events in the Flash Plugin. I haven't seen any reports on them yet, but I have reported them to adobe and verifed them on multiple machines. João Fernandes wrote: Hi there, we're having this issue under firefox where textInput fields don't accept

Re: [flexcoders] Re: Are other developers hesitant to extend existing classes in Flex?

2007-02-22 Thread Paul J DeCoursey
Tom Chiverton wrote: On Thursday 22 Feb 2007, Paul DeCoursey wrote: support our REST based Web Services. But also URLRequest is a final class and cannot be extended. So you extend the parent, and cut and paste most of the code. Final isn't the end of the world :-) In this

Re: [flexcoders] Re: Creating Thumbnails from large images on the fly. Possible?

2007-02-22 Thread Paul J DeCoursey
Best way to do it is to have some sort of server process that scales the image and store that scaled version for future requests. I had built a system quite a while ago for doing Image Management and it would scale multiple sizes of each image on upload and then you can download the

[flexcoders] Problems with EventDispatching

2007-02-22 Thread Paul J DeCoursey
I have some classes that are EventDispatcher but not DisplayObjects. I have maybe 10 or 15 of these classes and a few of them will not bubble events to the SystemManager. I have created the Events to bubble but they will not. If I listen on the object I receive them. My problem is the

Re: [flexcoders] Re: Problems with EventDispatching

2007-02-22 Thread Paul J DeCoursey
Well apparently not, and kind of as expected. Paul DeCoursey wrote: Will it work if the Object implements IMXMLObject? I don't know for sure if those get added to the Display list or not when declared in mxml. Thanks, Paul --- In flexcoders@yahoogroups.com

Re: [flexcoders] compc - degrees of specification

2007-02-21 Thread Paul J DeCoursey
I've been doing this same thing. Are you using the ANT Tasks from the Labs? I've found that it works better to break it up into separate libraries. Then I use the depends and uptodate options so I don't compile unless something has changed. If you are using the ANT tasks from the labs you

Re: [flexcoders] Drag Drop outside of a target

2007-02-21 Thread Paul J DeCoursey
I think what you need to look at is the dragComplete event. This will fire everytime a drag has completed. So you will have to do some checking to see if what the target is. Nate Pearson wrote: What is the event that is triggered when I drop something outside of a drop target? I thought i

Re: [flexcoders] Adobe site

2007-02-20 Thread Paul J DeCoursey
I think there is something else going on. I'm also experiencing issues accessing the site. Clint Modien wrote: Hi... it's probably just a bad route... Try running a tracert. It'll show you the bad node between you and adobe. http://en.wikipedia.org/wiki/Tracert

Re: [flexcoders] Re: Firefox no longer does multiselect in dataGrid

2007-02-20 Thread Paul J DeCoursey
Alright, I've removed and reinstalled the plugin a few times now. It doesn't work can anyone confirm this? I'm on Windows XP SP2, using Firefox and Opera with Flash Player 9,0,28,0

Re: [flexcoders] Re: Firefox no longer does multiselect in dataGrid

2007-02-20 Thread Paul J DeCoursey
I verified that the MouseEvent is not recognizing the modifier keys being depressed. I submitted a bug to adobe. I was able to verify it on a number of machines here.

Re: [flexcoders] How to fill datagrid with SOAP output?

2007-02-19 Thread Paul J DeCoursey
{wsXenmonService.getMetrics.lastResult.result} that is the reference to the array in the response body. suyash jape wrote: Hi everyone. I have implemented a Flex web service client to access Python webservice( resultFormat is e4x): mx:Text text={wsXenmonService.getMetrics.lastResult}

Re: [flexcoders] svn and flex not getting along

2007-02-15 Thread Paul J DeCoursey
Uncheck the Coy non-embedded files to output directory option in the Flex Compiler properties for the project. If you are storing everything in the output directory anyway it makes sense to turn that feature off. Grant Davies wrote: Hi Scott, I have to include the bin folder since we have a

Re: [flexcoders] Re: Looking for a workaround for HTTPService limitations

2007-02-14 Thread Paul J DeCoursey
Tom Chiverton wrote: On Wednesday 14 Feb 2007, Paul DeCoursey wrote: a large number of REST based Services to support of clients and then when we got to the Flex Client we found that it could not support them. Does REST not imply GET/POST ? In any case, as has been pointed out,

Re: [flexcoders] Re: Looking for a workaround for HTTPService limitations

2007-02-14 Thread Paul J DeCoursey
Tom Chiverton wrote: On Wednesday 14 Feb 2007, Paul J DeCoursey wrote: Indeed, and since we had heavy use of DELETE and PUT we had to make the determination of what was easier and more cost effective. We choose SOAP because Flex has good SOAP support. We avoided implementing DELETE

Re: [flexcoders] Possible memory leak in e4x or in HttpService

2007-02-14 Thread Paul J DeCoursey
On Wednesday 14 Feb 2007, lacito.domingo wrote: No answers yet. Could somebody confirm the leak? Or is it my fault? I'm not sure what you mean by memory leak. But in your source you do keep a reference to the HttpService and that will keep the XML hanging around in memory for a

[flexcoders] Re: (BRMA) Mensagem não autorizada

2007-02-14 Thread Paul J DeCoursey
Is anyone else getting these auto-responses? it's really annoying. [EMAIL PROTECTED] wrote: Mensagem não autorizada Palavra (http) proibida no campo Subject Para: flexcoders@yahoogroups.com Assunto: