A Flash Developer Resource Site

1. Hi all,

I want to create animation just like Electro Cardiogram. This should start from a position and never gets disappear. I mean that the waves should continously from a position.

I tried to duplicate the movie but it did'nt worked. Can anybody help me.

Waiting for all the folks for reply.

Regards,

Sailesh Sharma

2. Didn't quite understand ur question. Perhaps u could be a bit more clear on what u want.

U from India? Nice to see some indian flashers here.

3. ## Electrocardio Gram

this animation should display electrocardiogram waves continously coming from a position. the waves coming should come continously from a constant position. Yes, Sameer I am from India.

Sailesh
-----------------

[swf width="300" height="40" background="#FFDDBB"]http://www.eonsoftwareinc.com/sail/ecg.swf[/swf]
[Edited by saileshsharma on 11-28-2001 at 04:27 AM]

4. ## Re: Electrocardio Gram

Well, if u want it as a dot moving in the wave motion, u could do it by -
1. make a vert. rectange and give it a linear fill or something like that. note that it must cover the entire ver. range of ur movie. motion tween it from left 2 right

2. make a mask layer for this layer. in this layer, draw the path 4 ur wave by pencil tool.

u can loop the above to do it continuously.

if u want random waves, this will not work. then u need mathematical equations to determine y coord of a point u can make as movie clip.

I hope that solves the problem.

5. ## Re: Electrocardio Gram

nuw i get what u want. here's what u can do (u will need some actionscripting skills here)-
make 2 continous shapes as 2 movie clips and place them side by side.

set actionscript to keep iterating their x positions. when x pos of right mc becomes equal 2 movie width, set it back to 0-(mcxsize).

This should set it right.

6. Anyone knows how to do a just scripted e.c ????

7. ## Electorcardiogram

Thanks, Sameer. I tried as u told. But its very difficult to iterate the movie clip which equals to movie width through actionscript. Infact, i tried, but all in vain. I will be thankful to u if u can do the required actionscript for me.

Regards,
Sailesh

8. You can do that if u want just a point moving across. But ofcourse u want a line. Hmmm... something to think about.

Originally posted by roele
Anyone knows how to do a just scripted e.c ????

9. ## Re: Electorcardiogram

Fine, Sailesh. I would do that as soon as i get time.
I would post a message here when I do.

Originally posted by saileshsharma
Thanks, Sameer. I tried as u told. But its very difficult to iterate the movie clip which equals to movie width through actionscript. Infact, i tried, but all in vain. I will be thankful to u if u can do the required actionscript for me.

Regards,
Sailesh

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•

 » Home » Movies » Tutorials » Submissions » Board » Links » Reviews » Feedback » Gallery » Fonts » The Lounge » Sound Loops » Sound FX » About FK » Sitemap