Re: File Progress event

2017-12-11 Thread Alex Harui
I suppose AV software could result in a similar problem on Mac. If you are running AV, try disabling it. Another thing to do is get the current time at the save() call and then when the "complete" event comes in to see if it matches the observed time to save. I noticed you said "download" but

Re: File Progress event

2017-12-11 Thread Scott Matheson
No I am running on a Mac, the speed to download is proportional to the number of report pages Sent from my iPhone On 11 Dec 2017, at 18:34, Alex Harui > wrote: Hi Scott, Are you running on Windows with anti-virus software? See this

Re: File Progress event

2017-12-11 Thread Alex Harui
Hi Scott, Are you running on Windows with anti-virus software? See this post [1]. I've had similar experiences with Flash/AIR and File I/O. To the runtime, the write happens quickly, into a memory buffer, then the AV software takes 1-2 mins to scan it before writing it. HTH, -Alex [1]

Re: TLF - Edit image

2017-12-11 Thread hugo
Hi After24, That make sense and I believe that will work however, there is still missing a piece of the puzzle. How to find the inlineGraphicElement him self. The user may edit the image later so we don't have the inlineGraphicElement object, we need to search first (however we have the original

Re: TLF - Edit image

2017-12-11 Thread After24
Hi Hugo, I believe that the modifyInlineGraphic method needs the selectionSate to operate properly, you should try something like this : /var state:SelectionState = new SelectionState(textFlow, inlineGraphicElement.getAbsoluteStart(), inlineGraphicElement.getAbsoluteStart() + 1);

Re: File Progress event

2017-12-11 Thread scott matheson
Alex The buffer is the default size, the save take 1-2 mins elapsed time, thats way I wanted to add a indicator , i can spoof something if i need too Scott > On 11 Dec 2017, at 02:20, Alex Harui wrote: > > How big is the buffer ByteArray and where are you

TLF - mouse cursor over an image

2017-12-11 Thread hugo
Hello, The TLF always shows the text select mouse cursor. I want to show a different cursor when the user move the cursor over an image (for example a normal pointer). I tryed everything on my image sprite before add to the flow as "useHandCursor = true", "mouseChildren = false", "buttonMode =

TLF - Edit image

2017-12-11 Thread hugo
Hello, To insert an image in TLF I'm using the following function from EditManager insertInlineGraphic. This works as expected. For edit purpose (change width, height or position left/right), I'm using modifyInlineGraphic (right click on the image > context menu > and then change). This works