ith Reinfeld
Home Page: http://keithreinfeld.home.comcast.net
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of
Matt S.
Sent: Friday, February 05, 2010 9:53 AM
To: Flash Coders List
Subject: Re: [Flashcoders] makin
hattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt
S.
Sent: Friday, February 05, 2010 9:53 AM
To: Flash Coders List
Subject: Re: [Flashcoders] making a repeating effect
Unless you need to assign a name or ID number to the heart, eg:
heart.name = "heart&q
05, 2010 9:53 AM
To: Flash Coders List
Subject: Re: [Flashcoders] making a repeating effect
Unless you need to assign a name or ID number to the heart, eg:
heart.name = "heart"+myCounter;
or
new Heart(myCounter);
(in which myCounter then gets saved within "heart" as i
Unless you need to assign a name or ID number to the heart, eg:
heart.name = "heart"+myCounter;
or
new Heart(myCounter);
(in which myCounter then gets saved within "heart" as idNum or whatever).
I guess it depends on whether the hearts just sit quietly once added
or will need to perform their
Better still:
import flash.utils.Timer;
import flash.events.TimerEvent;
var timer:Timer = new Timer(1000, 10);
timer.addEventListener(TimerEvent.TIMER, onTimer, false, 0, true);
timer.start();
function onTimer(e:TimerEvent):void {
// do stuff
if(e.currentTarget.currentC
m * stage.stageWidth;
heart.y = Math.random * stage.stageHeight;
counter++;
}else{
timer.stop();
}
}
--Original Message--
From: Gustavo Duenas
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: Re: [Flashcoders] making a repeating effect
Sent:
stener you've already got should be registering for
the Timer.timer event instead of "timer".
--- On Thu, 2/4/10, Gustavo Duenas
wrote:
From: Gustavo Duenas
Subject: Re: [Flashcoders] making a repeating effect
To: "Flash Coders List"
Date: Thursday, February 4, 2010,
imerĀ event instead of "timer".
--- On Thu, 2/4/10, Gustavo Duenas wrote:
From: Gustavo Duenas
Subject: Re: [Flashcoders] making a repeating effect
To: "Flash Coders List"
Date: Thursday, February 4, 2010, 4:14 PM
I've downloaded thanks
on other matters, when you sa
n...@chattyfig.figleaf.com] On Behalf Of Keith
Reinfeld
Sent: Thursday, February 04, 2010 4:42 PM
To: 'Flash Coders List'
Subject: RE: [Flashcoders] making a repeating effect
var timer:Timer = new Timer(5000, 1000);
The second param limits the number of times it c
solutions.com
> To: flashcoders@chattyfig.figleaf.com
> Subject: Re: [Flashcoders] making a repeating effect
> Date: Thu, 4 Feb 2010 16:14:02 -0500
>
> I've downloaded thanks
> on other matters, when you say using a timer, you mean something like
> this ( I'
ok, now can repeat them until the end of the times...how can I make
them to stop at certain number like 200 for example
gus
On Feb 4, 2010, at 4:14 PM, Gustavo Duenas wrote:
I've downloaded thanks
on other matters, when you say using a timer, you mean something
like this ( I've have this
...@chattyfig.figleaf.com] On Behalf Of Gustavo
Duenas
Sent: Thursday, February 04, 2010 3:14 PM
To: Flash Coders List
Subject: Re: [Flashcoders] making a repeating effect
I've downloaded thanks
on other matters, when you say using a timer, you mean something like
this ( I've have this from a tutorial, mixi
ight;
counter++;
}else{
timer.stop();
}
}
--Original Message--
From: Gustavo Duenas
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: Re: [Flashcoders] making a repeating effect
Sent: Feb 4, 2010 3:14 PM
I've downloaded thanks
on o
...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Gustavo
Duenas
Sent: Thursday, February 04, 2010 4:14 PM
To: Flash Coders List
Subject: Re: [Flashcoders] making a repeating effect
I've downloaded thanks
on other matters, when you say using a timer,
: [Flashcoders] making a repeating effect
To: "Flash Coders List"
Date: Thursday, February 4, 2010, 3:16 PM
Add each heart to the stage with alpha at 0. Then use a tween engine to fade
the heart in with a delay. Use your "i" variable as the delay in seconds.
--Original Message
I've downloaded thanks
on other matters, when you say using a timer, you mean something like
this ( I've have this from a tutorial, mixing with my idea);
something like this?
import flash.utils.*;
var timer:Timer = new Timer(5000);
timer.addEventListener("timer",TimedFunction);
timer.star
Completely un-helpful for your code, but you could also give HYPE a
whirl. Have been having a blast playing with it lately. I think the
above task is one of the examples.
http://hype.joshuadavis.com/
___
Flashcoders mailing list
Flashcoders@chattyfig.fig
ash Coders List
Subject: [Flashcoders] making a repeating effect
Sent: Feb 4, 2010 2:00 PM
Hi Guys, I'm trying to accomplish this:
so far I a mac named heart which is hence a heart, so I'm trying to
make a repetition of it along the screen until it reach the number of
1000
or less
rom: gdue...@leftandrightsolutions.com
> To: flashcoders@chattyfig.figleaf.com
> Date: Thu, 4 Feb 2010 15:00:26 -0500
> Subject: [Flashcoders] making a repeating effect
>
> Hi Guys, I'm trying to accomplish this:
> so far I a mac named heart which is hence a heart, s
Hi Guys, I'm trying to accomplish this:
so far I a mac named heart which is hence a heart, so I'm trying to
make a repetition of it along the screen until it reach the number of
1000
or less, but so far I don't have the effect of its repeating one to
one, instead I have all of them at the sa
20 matches
Mail list logo