hi I'm building a player, which loads flv,mp3, or img files into a player, but I can't seem to get my reset button working... here is my code so far.
stop ();
//
function playInit(){
media_cb1.selected = false;
media_cb2.selected = false;
vsource_ti1.text = "media";
vsource_ti2.text = "image";
player_mc.picture_mc.enabled = false;
}
//
function load1Player(movie:String){ Reset button:: A reset button is available on the SAN Volume Controller 2145-8A4 node, but do not use it. http://publib.boulder.ibm.com/infocenter/svcic/v3r1m0/topic/com.ibm.storage.svc.console.doc/svc_resetbutton_3w.htmlHOME |
player_mc.picture_mc.enabled = false;
player_mc.video_mc.contentPath = movie;
} Reset button - TOH Discussions:: 8 posts - Last post: Oct 14, 2007In looking at the reset button I found an adjustment on the back side which got it "clicking" again. I reinstalled the button and the motor http://advice.thisoldhouse.com/showthread.php?t=1466HOME | The reset button:: The reset button returns you to the starting point of the tool you're using, as if you had entered the tool in a new session. You can also click the tool http://elearning.ufp.pt/portal/help/TOCDisplay/content.hlp?docId=aqznHOME |
//
function load2Player(image:String){
player_mc.picture_mc.enabled = true;
player_mc.picture_mc.contentPath = image;
}
//
playInit();
//
var check1Lis:Object = new Object ();
var check2Lis:Object = new Object ();
var mediaLis:Object = new Object ();
var imageLis:Object = new Object ();
var load1Lis:Object = new Object ();
var load2Lis:Object = new Object ();
var resetLis:Object = new Object ();
//
var mediaFile:String = new String ();
var imageFile:String = new String ();
//
check1Lis.click = function () {
if (this.media_cb1.selected = true) {
this.vsource_ti1.enabled = true;
} else if (this.media_cb1.selected = false) {
this.vsource_ti1.enabled = false;
}
};
//
check2Lis.click = function () {
if (this.media_cb2.selected = true) {
this.vsource_ti2.enabled = true;
} else if (this.media_cb2.selected = false) {
this.vsource_ti2.enabled = false;
}
};
//
load1Lis.click = function() {
mediaFile = vsource_ti1.text;
trace(mediaFile);
load1Player(mediaFile);
}
load1_btn.addEventListener("click", load1Lis);
//
load2Lis.click = function() {
imageFile = vsource_ti2.text;
trace(imageFile);
load2Player(imageFile);
}
load2_btn.addEventListener("click", load2Lis);
//
resetLis.click = function() {
trace("reset all");
playInit();
}
reset_btn.addEventListener("click", resetLis);
I'm not sure of a good way to reset everything...
stank you smelly much.
Red Hat's Rough Recovery From CFO Exit
Windows Live Finds a New, Pre-installed Home
|