shcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Order of events for function call
Without thinking about this too much, I might have a count of the balls in
transit. When a ball reaches it's destination, the count is decremented. I
would only add a new row when the count is zero. Does that do the
n" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, March 14, 2007 8:00 PM
Subject: RE: [Flashcoders] Order of events for function call
I have another related question about this collapse game.
Every few seconds, all the rows of balls on the game screen move up one
row
and are replaced with a ne
-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven
Sent: 14 March 2007 15:23
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Order of events for function call
Thanks to everyone for the great advice. I have now taken your advice and
got rid of all the
@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Order of events for function call
You can't rely on the order of events for two movies in the same
timeline. Instead, why not have an onEnterFrame in the parent clip
that calls functions in ball_mc and ball2_mc in the proper order?
On 3/14/07,
You can't rely on the order of events for two movies in the same
timeline. Instead, why not have an onEnterFrame in the parent clip
that calls functions in ball_mc and ball2_mc in the proper order?
On 3/14/07, Paul Steven <[EMAIL PROTECTED]> wrote:
This may be really basic but I can't understand
arate
enterframe function.
Good luck,
Paul
- Original Message -
From: "Paul Steven" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, March 14, 2007 12:32 PM
Subject: RE: [Flashcoders] Order of events for function call
Thanks Paul
Basically it is a collapse style game - where wh
re you can execute the functions in a clear unambiguous
order.
Paul
- Original Message -
From: "Mauricio Furtado Massaia" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, March 14, 2007 12:03 PM
Subject: Re: [Flashcoders] Order of events for function call
Paul,
I dont know why
l
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Andrews
Sent: 14 March 2007 11:42
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Order of events for function call
It doesn't really matter which you assign first, it's a
i understand that its a example, but using an enterframe beacon rather than
multiple enterframe handlers is better and might make this kind of thing
much easier to manage
On 3/14/07, Paul Steven <[EMAIL PROTECTED]> wrote:
This may be really basic but I can't understand.
The following is a simp
Paul,
I dont know why it happens but if u change the order of the attach the
object1.onEnterFrame will work first :
object2 = attachMovie("ball_mc","ball_mc2",2);
object1 = attachMovie("ball_mc","ball_mc",1);
object1.onEnterFrame = function() {
trace ("Object1 enter frame");
}
object2.
you can solve it with reverse ordering:
...
object2 = attachMovie("ball_mc","ball_mc2",2);
object1 = attachMovie("ball_mc","ball_mc",1);
...
- Original Message -
From: "Paul Steven" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, March 14, 2007 11:53
Subject: [Flashcoders] Order of even
It doesn't really matter which you assign first, it's all determined by the
order in which flash decides to call the functions which has no relationship
to the assignment order. I suspect you would be better advised to use an
independent enterframe function that is not attached to the objects fo
12 matches
Mail list logo