Problem in decryption process

32 views
Skip to first unread message

choi2k

unread,
Aug 11, 2009, 10:03:03 PM8/11/09
to As3Crypto Discussion List
Thank you for the great work in As3Crypto ! It is really helpful!

By the way, I have a question when I am going to decrypt file in
Base64 format. It seems that screen will being "frozen" when
decryption is processing. The UI seems to be paused as soon as the
decryption process start. Is there any way to resolve this issue?

Joey Parrish

unread,
Aug 12, 2009, 2:37:47 PM8/12/09
to as3c...@googlegroups.com
On Tue, Aug 11, 2009 at 9:03 PM, choi2k <rex....@gmail.com> wrote:
By the way, I have a question when I am going to decrypt file in
Base64 format. It seems that screen will being "frozen" when
decryption is processing. The UI seems to be paused as soon as the
decryption process start. Is there any way to resolve this issue?


The Flash player is single-threaded.  In general, you'd do long processing work in lots of small pieces, using callLater to invoke the next piece of the job at the end of each piece.  callLater will allow rendering and UI interaction to happen in between these pieces.

In specific, you'd have to alter the library to do this.  It's not structured that way to begin with.

--Joey
Reply all
Reply to author
Forward
0 new messages