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 Darron J. Schall

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

> 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)