labs.insert-title.com

EKG

Building on the Drawing API again and constantly moving the root movie we create a nice and clean EKG effect in Swishmax

The Script

	
function ekg(){
    myX=400;
    _root._X=0;
    ref=_root.createEmptyMovieClip("line",1);  
    ref.lineStyle(1,0x000000,0);
    ref.moveTo(250,150);
    boolStarted = false    
    
    }
OnLoad() {
ekg() 
}
onEnterFrame(){
if (boolStarted){ref.lineStyle(0,0x3300FF,100);}
    myX+=2;_root._X-=2;
    if((random(10)+1)>7){line.lineTo(myX,random(300));}else{line.lineTo(myX,150);}
    if(_root._X<-2000){line.clear();ekg()}
}
onFrame(2){boolStarted=true}

}

The Download

Download swish file






Discussion

a-ka.-

thanks fer that ekg

Jill

The download did not work for this swish file. the swish file appears blank when it opens.

Joe Maddalone

This is a fully scripted file. As are most on this site. You can view the code by switching to script view, butyou can only preview the movie in tyour local browser or the standalone flash player. also make sure to set your Export Options for Flash to SWF6, as well.

MAn4all

thanks cool one. thanks

Dr. P.C.Hamlin

the implication/statement read that graphic ekg tutorials would be shown that it is not implicates this site for malfeasance

mohamed

thanks .. very nice .. im from kuwait ^_^

mike

can you change the color

Madd Kat

yes mike try looking in this code

){ref.lineStyle(0,0x3300FF,100);}

0x3300FF

this is the color.

Nice Script btw!!!

Bob

someone tell that doctor to stfu

El-Jazaery

what up guys

I am looking to have a flash intro with an ekg line and some other features on it. if you have knowledge please email me. I will pay for it $$$

land-mine@hotmail.com

victor erasmo agurto colina

descargar p´rueba de docentes peru

New comments are currently disabled, you can find me @joemaddalone Comments temporarily disabled for now, you can find me @joemaddalone