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 Jesse Warden

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

If movie clip timeslines were translated into threads, I think a lot of
programmers would collapse with a heart-attack, that'd be so cool.

Unfortunately (or foruntately), Flash is single threaded.  Each action
occurs, one after the other.  When Flash has time, it'll do a screen refresh
based on when certain actions are done.  Most happen so fast you don't
notice.  But, if an action takes a longer period of a few milliseconds, no
screen refreshes (onEnterFrame) will occur, therefore, Flash will not redraw
until the script is done.

-- --Original Message-- --
From: Daniel [mailto:daniel@(protected)]
Sent: Monday, March 01, 2004 01:23 PM
To: flashnewbie@(protected)
Subject: Re: [Flashnewbie] Too much ActionScript -- what happens?


sorry I was thinking that the mc that all the code on would basicly freeze
leaving other timelines advailible to run, not the player freezing.  I
misunderstood this.

Daniel
-- -- Original Message -- --
From: "Merrill, Jason" <JMerrill@(protected)>
To: <flashnewbie@(protected)>
Sent: Monday, March 01, 2004 10:33 AM
Subject: RE: [Flashnewbie] Too much ActionScript -- what happens?


Its the player that freezes, not the movie clips.  Movie clips are just
data- they cannot think for themselves.  So the player will freeze, which
meants everything and anything being displayed within it.

  Jason Merrill
  ICF Consulting Government e-Learning Solutions
  icfconsulting.com









:::>-- --Original Message-- --
:::>From: Daniel [mailto:daniel@(protected)]
:::>Sent: Monday, March 01, 2004 12:31 PM
:::>To: flashnewbie@(protected)
:::>Subject: Re: [Flashnewbie] Too much ActionScript -- what happens? :::>
:::> :::>what about other MC's that are on the screen when this :::>happens.
Will it :::>freeze thouse, even if they are independant of the timeline
:::>that the script :::>is on? :::> :::>daniel :::>
:::>-- -- Original Message -- --
:::>From: "Merrill, Jason" <JMerrill@(protected)>
:::>To: <flashnewbie@(protected)>
:::>Sent: Monday, March 01, 2004 10:24 AM
:::>Subject: RE: [Flashnewbie] Too much ActionScript -- what happens? :::>
:::> :::>Large script:  Flash freezes everything until it is :::>finished
processing and :::>then moves on.  Since everything is frozen while it
:::>processes, you cannot :::>make any animation to keep the user
entertained.  Xtra :::>large script:  If it :::>is too much, you can get an
error saying the script is too :::>slow and the :::>movie won't work.  I've
had this happen a lot with XML :::>files.  Best thing to :::>do is try and
break the script up over several frames. :::>
:::>   Jason Merrill
:::>   ICF Consulting Government e-Learning Solutions
:::>   icfconsulting.com
:::>
:::>
:::>
:::>
:::>
:::>
:::>:::>
:::>:::>Hey Folks,
:::>:::>A somewhat theoretical question, if you try to perform too
:::>:::>many operations on a single frame of a movie, what happens?
:::>:::>eg. Does the movie stay at that frame until the entire
:::>:::>script is finished? Does it proceed without finishing the
:::>:::>script? Does your movie come to a crashing end? :::>:::>--dan
:::>:::> :::>:::>Daniel Sherman :::>:::>Multi-Media Coordinator
:::>:::>Catholic Relief Services
:::>:::>(410) 951-7398
:::>:::>
:::>:::>
:::>NOTICE:
:::>This message is for the designated recipient only and may :::>contain
privileged :::>or confidential information. If you have received it in
:::>error, please notify :::>the sender immediately and delete the original.
Any other :::>use of this e-mail :::>by you is prohibited. :::>
:::>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
:::>-- ------
:::>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)
:::>
:::>
:::>

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


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