Mailing List
Home
Forum Home
Flash Pro
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Too much ActionScript -- what happens?

Too much ActionScript -- what happens?

2004-03-01       - By Justin Palmer

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

<quote>
However, the problem with having a single thread per MovieClip is, well,
imagines hundreds of clips on the stage.
</quote>

I am not saying to have a single thread per mc, but to have the ability
to add threads when needed is the key.  VB, C#, Java they all run on one
thread unless you request to use more than one thread for a process.
This would make the most sense, but not per mc.

Justin Palmer


-- --Original Message-- --
From: Darron J. Schall [mailto:darron@(protected)]
Sent: Monday, March 01, 2004 11:03 AM
To: flashnewbie@(protected)
Subject: Re: [Flashnewbie] Too much ActionScript -- what happens?


> I would think that flash is a single threaded player to keep the size
> of the player to a minimal.  Even though this would give the
> programmer a lot to work with.  Multi-threaded Flash Player would
> ROCK!!!

It's almost a necessity when using Flash in the "RIA-space" because the
amount of data it has to process.

Why would I make an RIA that freezes for 5 seconds while it's doing
number crunching or data processing?  Think about loading a large .xml
file and trying to update some UI Components.. it's not an uncommon
thing.

Once the interaction times with the user drop to over a second per
response, the application is no longer considered "real-time" and it
makes it very difficult to use.  If confronted with that situation and I
had the opportunity, I'd rather just make a desktop application in C# or
Java to get the same functionality but still allow the user the ability
to interact.

However, the problem with having a single thread per MovieClip is, well,
imagines hundreds of clips on the stage.  It's not very practical having
that many threads in an application.  Plus, trying to synch up the
animations/movements of the clips with one another would be a nightmare
if they were updating at different times and you expect them to update
at the same time in synch.

Like I posted on my weblog, something as simple as a separate
data-processing thread would do wonders for Flash in the RIA-space.

-d


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Supported by Fig Leaf Software
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Lower Prices for Certified Training! Check out new lower prices for
Certified Macromedia Training from Fig Leaf Software. Expand your skill
set with courses in ColdFusion, Flash, Rich Internet Applications and
.NET in the new year.  Fig Leaf Software provides
the highest caliber instruction at our training centers in Washington  
D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your
location.

Get the details at http://training.figleaf.com/
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe, e-mail: flashnewbie-unsubscribe@(protected)
For additional commands, e-mail: flashnewbie-help@(protected)






-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Supported by Fig Leaf Software
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Lower Prices for Certified Training! Check out new lower prices for
Certified Macromedia Training from Fig Leaf Software. Expand your
skill set with courses in ColdFusion, Flash, Rich Internet
Applications and .NET in the new year.  Fig Leaf Software provides
the highest caliber instruction at our training centers in Washington  
D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at
your location.

Get the details at http://training.figleaf.com/
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe, e-mail: flashnewbie-unsubscribe@(protected)
For additional commands, e-mail: flashnewbie-help@(protected)