Too much ActionScript -- what happens? 2004-03-01 - By Jesse Warden
Back I would assume they'd implement a thread pooling like .NET has. There are already 2 or 3 threads that run, although, I think it's just to make sure she doesn't run longer than 15 seconds for a script, hehe.
At any rate, 100 movie clips would only generate like 6 threads or roundabouts.
Of course, even thread's aside, if Flash would handle that internally for XML/LoadVars/XMLSocket, and some gigantor NetConnection/Remote Shared Objects, then yeah, that would be made tight. I'd be willing to write more callback functions as long as I could update my GUI to my heart's content.
-- --Original Message-- -- From: Darron J. Schall [mailto:darron@(protected)] Sent: Monday, March 01, 2004 02:03 PM 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)
|
|