A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: Electro Cardio Gram

  1. #1
    Junior Member
    Join Date
    Nov 2001
    Posts
    12
    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. #2
    No. 27
    Join Date
    Apr 2001
    Location
    Milky Way
    Posts
    17
    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. #3
    Junior Member
    Join Date
    Nov 2001
    Posts
    12

    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. #4
    No. 27
    Join Date
    Apr 2001
    Location
    Milky Way
    Posts
    17

    Arrow 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. #5
    No. 27
    Join Date
    Apr 2001
    Location
    Milky Way
    Posts
    17

    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. #6
    Senior Member
    Join Date
    Oct 2000
    Posts
    387
    Anyone knows how to do a just scripted e.c ????

  7. #7
    Junior Member
    Join Date
    Nov 2001
    Posts
    12

    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. #8
    No. 27
    Join Date
    Apr 2001
    Location
    Milky Way
    Posts
    17
    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. #9
    No. 27
    Join Date
    Apr 2001
    Location
    Milky Way
    Posts
    17

    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
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center