RE: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

2006-02-16 Thread Hauwert, Ralph
Just out of curiosity, what does to block mean in this contest.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: donderdag 16 februari 2006 1:46
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

Flash Player is single threaded, including the new Flash Player 8.5 which 
uses AS3.

The only way to block as a developer in Flash is PrintJob.send.

- Original Message - 
From: Judah [EMAIL PROTECTED]
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: Wednesday, February 15, 2006 7:13 PM
Subject: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5


Is AS3 multithreaded? I think I've read somewhere that AS2 (or AS1) is
single threaded. Is that right? Can we use sleep commands in AS3? If not
will AS4 be multithreaded or would that prevent it from running on certain
devices or platforms?



Judah

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

2006-02-16 Thread Geoffrey Williams
Block = Pause, Sleep

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hauwert,
Ralph
Sent: Thursday, February 16, 2006 8:54 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

Just out of curiosity, what does to block mean in this contest.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: donderdag 16 februari 2006 1:46
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

Flash Player is single threaded, including the new Flash Player 8.5 which 
uses AS3.

The only way to block as a developer in Flash is PrintJob.send.

- Original Message - 
From: Judah [EMAIL PROTECTED]
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: Wednesday, February 15, 2006 7:13 PM
Subject: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5


Is AS3 multithreaded? I think I've read somewhere that AS2 (or AS1) is
single threaded. Is that right? Can we use sleep commands in AS3? If not
will AS4 be multithreaded or would that prevent it from running on certain
devices or platforms?



Judah




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

2006-02-16 Thread Judah
Is that a viable way or you just saying that is the only that stops flash
execution? If so how do you take advantage of that without popping up a
print dialog to the user? 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: Wednesday, February 15, 2006 6:46 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

Flash Player is single threaded, including the new Flash Player 8.5 which 
uses AS3.

The only way to block as a developer in Flash is PrintJob.send.

- Original Message - 
From: Judah [EMAIL PROTECTED]
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: Wednesday, February 15, 2006 7:13 PM
Subject: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5


Is AS3 multithreaded? I think I've read somewhere that AS2 (or AS1) is
single threaded. Is that right? Can we use sleep commands in AS3? If not
will AS4 be multithreaded or would that prevent it from running on certain
devices or platforms?



Judah

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

2006-02-16 Thread JesterXL
Nope, not viable, just the only way.  No way to remove the print dialogue 
either.

We've all asked Macromedia/Adobe many times for a publicly supported way to 
pause the thread, and no result has come of it.  Since we run in a browser 
most of the time, I don't think Adobe wants us developers locking the 
browser up since the Flash Player probably shares the browser thread.

- Original Message - 
From: Judah [EMAIL PROTECTED]
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: Thursday, February 16, 2006 11:50 AM
Subject: RE: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5


Is that a viable way or you just saying that is the only that stops flash
execution? If so how do you take advantage of that without popping up a
print dialog to the user?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: Wednesday, February 15, 2006 6:46 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

Flash Player is single threaded, including the new Flash Player 8.5 which
uses AS3.

The only way to block as a developer in Flash is PrintJob.send.

- Original Message - 
From: Judah [EMAIL PROTECTED]
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: Wednesday, February 15, 2006 7:13 PM
Subject: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5


Is AS3 multithreaded? I think I've read somewhere that AS2 (or AS1) is
single threaded. Is that right? Can we use sleep commands in AS3? If not
will AS4 be multithreaded or would that prevent it from running on certain
devices or platforms?



Judah

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

2006-02-16 Thread Darron J. Schall

JesterXL wrote:

Nope, not viable, just the only way.

Sorry to contradict you bro, but ExternalInterface can block the player.

http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=2200.html

When you call an external method via ExternalInterface, the Player has 
to wait for a response to be returned.  In the meantime, all animation 
and code execution stops until the external method returns.


-d

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

2006-02-16 Thread JesterXL
Have you tried this with JavaScript's alert method?

- Original Message - 
From: Darron J. Schall [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, February 16, 2006 12:16 PM
Subject: Re: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5


JesterXL wrote:
 Nope, not viable, just the only way.
Sorry to contradict you bro, but ExternalInterface can block the player.

http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=2200.html

When you call an external method via ExternalInterface, the Player has
to wait for a response to be returned.  In the meantime, all animation
and code execution stops until the external method returns.

-d

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

2006-02-16 Thread Darron J. Schall

JesterXL wrote:

Have you tried this with JavaScript's alert method?
No, but I've done it with C# - waiting for database access via 
ExternalInterface freezes the player until the method completes.  Does 
it not block when you use alert()?  What about prompt()?


-d

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

2006-02-16 Thread JesterXL
:: goes to try ::

- Original Message - 
From: Darron J. Schall [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, February 16, 2006 12:46 PM
Subject: Re: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5


JesterXL wrote:
 Have you tried this with JavaScript's alert method?
No, but I've done it with C# - waiting for database access via 
ExternalInterface freezes the player until the method completes.  Does 
it not block when you use alert()?  What about prompt()?

-d

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

2006-02-16 Thread JesterXL
Bleh, almost.  Sounds  getTimer don't stop, just like PrintJob.send. 
Interval's, onEnterFrame, and animations do, though.  Apparently 
ExternalInterface.call and PrintJob.send make the same call to pause stuff. 
It's still not a total thread-lock, though...

http://dev.jessewarden.com/flash/pause/

http://dev.jessewarden.com/flash/pause/pause.zip


- Original Message - 
From: JesterXL [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, February 16, 2006 1:01 PM
Subject: Re: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5


:: goes to try ::

- Original Message - 
From: Darron J. Schall [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, February 16, 2006 12:46 PM
Subject: Re: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5


JesterXL wrote:
 Have you tried this with JavaScript's alert method?
No, but I've done it with C# - waiting for database access via
ExternalInterface freezes the player until the method completes.  Does
it not block when you use alert()?  What about prompt()?

-d

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

2006-02-15 Thread Judah
Is AS3 multithreaded? I think I've read somewhere that AS2 (or AS1) is
single threaded. Is that right? Can we use sleep commands in AS3? If not
will AS4 be multithreaded or would that prevent it from running on certain
devices or platforms?

 

Judah

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

2006-02-15 Thread JesterXL
Flash Player is single threaded, including the new Flash Player 8.5 which 
uses AS3.

The only way to block as a developer in Flash is PrintJob.send.

- Original Message - 
From: Judah [EMAIL PROTECTED]
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: Wednesday, February 15, 2006 7:13 PM
Subject: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5


Is AS3 multithreaded? I think I've read somewhere that AS2 (or AS1) is
single threaded. Is that right? Can we use sleep commands in AS3? If not
will AS4 be multithreaded or would that prevent it from running on certain
devices or platforms?



Judah

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com