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
 
Order of events per frame

Order of events per frame

2004-03-02       - By Jesse Warden

 Back
Reply:     1     2     3     4     5     6  

Example:

Movie clip on stage called cow.

Frame 1
-- ----
stop();
cow_mc.onEnterFrame = function(){
  trace("sup");
  delete this.onEnterFrame;
};

Code on cow
-- ---- ----
onClipEvent(load){
  trace("sup loaded");
}

Code inside of cow
-- ---- ---- ---- --
stop();
trace("done");

Frame 1 code will go, then code on cow will go, then code in cow will go,
and then the onEnterFrame will be registered.  He'll actually run next frame
as that's how onEnterFrame works, but basically that is the general order.

-- --Original Message-- --
From: Jesse Warden [mailto:warden@(protected)]
Sent: Tuesday, March 02, 2004 12:11 PM
To: 'flashnewbie@(protected)'
Subject: RE: [Flashnewbie] Order of events per frame


This'll explain execution order (as it really hasn't changed from what I
know):

http://skaiste.elekta.lt/Books/O'Reilly/Bookshelfs/books/webdesign/action/in
dex.htm

Basically, frame > code on movie clip > code in movie clip > event handler
on movie clip > code on movie clips within it > etc.



-- --Original Message-- --
From: Sherman, Daniel [mailto:dsherman@(protected)]
Sent: Tuesday, March 02, 2004 12:05 PM
To: Flashnewbie (E-mail)
Subject: [Flashnewbie] Order of events per frame


Part 2 of yesterday's "Too much ActionScript -- what happens?" question (I
stand in awe of you guys!) OK, so if the Flash Player stays on a frame until
it's finished all the code in that frame, in what order does it execute the
code?

example - Does it take care of the code on the main timeline and then the
code on individual movie clips' timelines?

--dan



Daniel Sherman
Multi-Media Coordinator
Catholic Relief Services
(410) 951-7398


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