Personally ive never myself or seen anyone else create a variable using the 'Set' keyword within flash? Does this techinque even exist?

( the only place i use Set w.r.t variables is in my ASP pages)

cosider the following variable

var greeting:String = "hello there";
//this variable is available everywhere


function sums(){

var someN:Number = 5; //this is available only within this function due to using the var keyword
}

function sumMore(){

someN = 5; // as we have not used the var keyword it is just the same as defining this variable on the timeline that this function exists (although i woudnt recommend this method)
}


Hope this helps..