Posted by: Kathirvel K on: December 24, 2009
1) Create New document save it some where in local drive 2) Create button in flash and be sure the button is selected and hit F9 Paste the below code on (press) { if (Stage["displayState"] == “normal”) { Stage["displayState"] = “fullScreen”; }else Stage["displayState"] = “normal” } // Code here for resize the movieclip while toggle full [...]
Posted by: Kathirvel K on: December 24, 2009
function convertTime(t, type) { var time = Math.ceil(t); var min = Math.floor(time/60); var secs = time-(min*60); return min+”:”+strPad(time%60, 2, 0, “left”); } function strPad(str, places, pad, side) { while (str.length<places) { if (side == “left”) { str = pad+str; } else { str = str+pad; } } var lengthTester = str.toString(); if (lengthTester.length<=1) { str [...]