?flash actionscript?
- Started
- Last post
- 6 Responses
- lara
I believe this is an easy question, but I am somewhat flash illiterate. what's the script needed for a "next" button to load new images into a mc? Also how does it correspond with numbers (1 2 3 4 etc?)
- unfittoprint0
imgCount=9;
imgNr=0;next.onPress=function(){
if(img
- unfittoprint0
//damnuQBN...
imgCount=9;
imgNr=0;next.onPress=function(){
if(img != imgCount){
myMC.loadovie("img"+imgNr+".jpg...
trace("loading image nÂș "+imgNr);
++imgCount;
} else {
trace("no more images to load");
}
}
- lara0
thought there was something wrong with the first script :)
Thanks so much!
- jpea0
dumb question, but what's the naming scheme for the jpg's? are they supposed to have linkage in the library or something? (i'm a tad slow)
- unfittoprint0
oi
where u see
if(img != imgCount){
it should read
if(imgNr != imgCount){
- jpea0
nevermind..
should also read loadMovie vs. loadovieoops