Re: Error #2006: The supplied index is out of bounds

2016-02-29 Thread Alex Harui
On 2/29/16, 6:37 PM, "omup...@gmail.com on behalf of OmPrakash Muppirala" wrote: > >This piece of code is calculating the StageText object's global viewport >rectangle wrt stage co-ordinates. Viewport is defined as: 'The area on >the >stage in which the StageText object is displayed. The defau

Re: Error #2006: The supplied index is out of bounds

2016-02-29 Thread OmPrakash Muppirala
On Mon, Feb 29, 2016 at 1:40 PM, Alex Harui wrote: > Om, > > Why stageWidth/stageHeight and not 8192? And won't that just stack the > StageTexts at that point? I haven't looked to deeply at this issue, but I > thought it was about scrolling a long document. Let's say you want to > caption a li

Re: Error #2006: The supplied index is out of bounds

2016-02-29 Thread Alex Harui
Om, Why stageWidth/stageHeight and not 8192? And won't that just stack the StageTexts at that point? I haven't looked to deeply at this issue, but I thought it was about scrolling a long document. Let's say you want to caption a list of pictures that are 1000 pixels in height, the StageText whe

Re: Error #2006: The supplied index is out of bounds

2016-02-29 Thread OmPrakash Muppirala
Okay, I've checked in a fix. If someone can review it, it would be great: https://github.com/apache/flex-sdk/commit/f14dc1431c1914a5e1fef6c77b67b23b9c41a7fd You can monkey patch your SDK with this fix, or get the Flex Nightly build and test out the fix. Thanks, Om On Mon, Feb 29, 2016 at 6:30

RE: Browser close event

2016-02-29 Thread Schwarz, Robert
I use this in my template file, but only works for IE. Alternatively, I setup of a sess

Re: FlexJS: FileUploader Control

2016-02-29 Thread Peter Ent
I think I spoke too soon. The Storage project for FlexJS is really about "permanent" file storage: reading and writing bytes, not uploading. So if I were to do this, it would be at some point in the future. What we can do is help you along to get your idea working, which as far as I can tell, is on

Re: Browser close event

2016-02-29 Thread Alain Ekambi
What if the browser crashes or the user turns off the device ? Releasing critical resources on window close or unload is not a good design. What about a server side session ? On 29 Feb 2016 05:27, "Saju Thankathurai" wrote: > ​Hi, > > Is there a good way to handle browser close event in Flex? I n

Re: Error #2006: The supplied index is out of bounds

2016-02-29 Thread Philip Medlam
For information, the workaround in the bug report does indeed work. Phil. On Mon, Feb 29, 2016 at 6:30 AM, npem wrote: > OK thanks for your efforts. > > Hope there is a fix, but will look at the workaround suggested in the bug > report. > > Phil. > > On Mon, Feb 29, 2016 at 12:19 AM, OmPrakash

Re: Browser close event

2016-02-29 Thread After24
Same here, using javascript is not a reliable technique. We manage concurrent access on our application by calling a "I'm still active" method on the server at constant interval. Vincent. -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Browser-close-event-tp120

Re: Browser close event

2016-02-29 Thread Paul Hastings
On 2/29/2016 5:15 PM, Marcus Fritze wrote: you should use ExternalInterface and use a javascript event that kicks in, when the browser will be closed maybe window.onbeforeunload never been able to make anything work consistently except sending "heartbeats" to the server & let it clean up wh

Re: Browser close event

2016-02-29 Thread Marcus Fritze
Hi, you should use ExternalInterface and use a javascript event that kicks in, when the browser will be closed maybe window.onbeforeunload Marcus > Am 29.02.2016 um 04:12 schrieb Saju Thankathurai : > > ​Hi, > > Is there a good way to handle browser close event in Flex? I need to fire a > r