[flexcoders] Re: MouseEvent.MOUSE_WHEEL fires twice in Firefox

2009-02-16 Thread hu22hugo
Just for reference, it's a known bug: http://bugs.adobe.com/jira/browse/FP-347

[flexcoders] Re: How to encode query parameters?

2009-01-30 Thread hu22hugo
You might look for the global ActionScript functions encodeURI() or encodeURIComponent()? http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/package.html#encodeURI() Marc --- In flexcoders@yahoogroups.com, Greg Hess flexeff...@... wrote: Hi All, Every service call to my server

[flexcoders] Re: How to cancel HTTPRequest?

2009-01-30 Thread hu22hugo
Once you sent a HTTP request, you cannot cancel it any more from the client side. You could send a second request to the server to cancel the previous request but that can lead to very unpleasant effects, e.g. when a cancel request arrives before the original one. So either don't fire the

[flexcoders] Re: FileReference for file uploading, how to specify the folder to open?

2008-11-19 Thread hu22hugo
--- In flexcoders@yahoogroups.com, Mat Mikul [EMAIL PROTECTED] wrote: Hi! I need to upload a file from flex. I know the path and the file name already, but haven't figured out a way to be able to upload in the background. This is likely due to some security restrictions posed by Adobe to

[flexcoders] Re: HTTP Request Error and long strings

2008-11-19 Thread hu22hugo
What's the error saying? Whatever, at least two suggestions: 1. The URL is not valid with an : in it. Encode it like http://172.19.60.128:8080/ViewDuration%3AregisterBatchEvent/ 2. Always use constants to avoid typing errors, e.g. service.addEventListener(ResultEvent.RESULT, httpResult) Marc

[flexcoders] Re: Flex: getting the current directory

2008-11-19 Thread hu22hugo
--- In flexcoders@yahoogroups.com, renzeullo [EMAIL PROTECTED] wrote: Hi guys, Quick question: Is there a way to get the current directory that a Flex application is currently running in? For example, if I'm running an app in C:\Documents and

[flexcoders] MouseEvent.MOUSE_WHEEL fires twice in Firefox

2008-11-18 Thread hu22hugo
The mouse_wheel event triggers always twice in Firefox. IE7 fires correctly only one event. Find below a simple test case. Can anybody confirm this behavior and maybe a workaround? Thanks, Marc ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;

[flexcoders] Re: Stepping through Flex SDK code while in Flex Builder debugger

2008-10-17 Thread hu22hugo
--- In flexcoders@yahoogroups.com, lagos_tout [EMAIL PROTECTED] wrote: Hi, all. Is it possible to step through Flex SDK code using Flex Builder 3 debugger? I was able to set break points in only a couple of SDK classes (eg AdvancedDataGrid). I did this by adding C:\Program

[flexcoders] Re: Dispatch event in itemClickHandler

2007-05-28 Thread hu22hugo
I doubt that this is the best solution. However, it seems to work. private function itemClickHandler(e:MenuEvent) : void { var event : PageEvent = new PageEvent(PageVO.GET, [EMAIL PROTECTED]) this.callLater(eve, [event]) } private function eve(event: PageEvent): void {

[flexcoders] Dispatch event in itemClickHandler

2007-02-04 Thread hu22hugo
The code below works fine except for the fact that the menu of the PopUpButton does not close. When I comment out the CairngormEventDispatcher, the PopUpButton closes. So I assume that there is something wrong with dispatching an event in a handler?? ?xml version=1.0 encoding=utf-8? mx:HBox