Flash help
- Started
- Last post
- 10 Responses
- spmitch
I need to load 4 swf's using a next button without having to specify movie name.
smething like
next -->1.swf +1 would load 2.swfany help would be great
- unfittoprint0
this.createEmptyMovieClip("holde...
count=1;
limit=10;
myButton.onPress = function(){
if(count
- spmitch0
thanks
- unfittoprint0
NT erased part of the code.
'less' stands for the 'less than' sign:this.createEmptyMovieClip("holde...
count=1;
limit=10;
myButton.onPress = function(){
if(count 'less' limit){
holder.loadMovie(count+".swf");
++count
} else {
trace("no more M's 2 load!!");
};
};
- spmitch0
it seems to be working but it is not finding the file
the files 1,2,3,4 are in another folder
example
cards/save/1.swf...how do I change the line to reflect that?
_root.content.loadMovie(count...
- unfittoprint0
_root.content.loadMovie("cards/s...
- F_180
damn unfit....is there nothing you don't know?
- unfittoprint0
yes there is.
why America voted Bush?
- spmitch0
thanks for all your help but...
it loads the first movie again
- spmitch0
stil out there unfitt?
- caseyc0
it's simple man... come on now!
counter = 1;
then increment the counter and load the file each time:
file = (counter++) + ".swf";
path = "cards/save/";
my_mc.loadMovie(path+file);