Load Random Movie, Randomly Plays Next
I am using the load random movie script: (http://www.kirupa.com/developer/acti...ndom_movie.htm)
with no problems. I would like to add some functionality to it though. How would I make it so once the movie loaded plays, it will play another movie from the array, but picked randomly as well?
KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 02-01-2006, 07:45 PM
View Complete Forum Thread with Replies
Sponsored Links:
- Movie Plays Randomly
- Movie That Plays Randomly
- Movie Clip Plays Randomly....
- Randomly Loading Mc From Library, And Attaching Random Movie To It
- Load Movie, Only Plays Once--help
- How To Load A Second Movie While The First One Plays
- Randomly Load Movie
- Load Movie Plays B4 100% Loaded
- Load Movie Banners Randomly
- How Do You Load Movie Clips Randomly?
- Load Movie Randomly No Repeat
- Movie That Will Randomly Pick Between And Load One Of Two Other Movies
- Randomly Choose & Load Movie Clips
- Randomly Load Different Movies INSIDE A Movie? Flash 4 Or 5
- [MX04] Rollover One Movie Clip Plays It, And Plays Another. How?
- Load A Flash Movie To A Random Frame Each Load
- Load A Flash Movie To Specified Random Frames Each Load
- Help - Flash Movie Plays Fast By Itself, But Plays Slow When Loaded Within Another Flash Movie
- Plays Sound Event At Random...
- [F8] Loading Random SWF Files After One Plays
- Load Random Movie
- Load Movie At Random
- Load Random Movie
- Load Random Movie
- Random Load Movie
- Load Random Movie
- Load Random Movie
- Random Load Movie
- Load Random Movie
- Random Movie Load
- Load Random Movie For Ad's
- Load Random Movie
- Load Random Movie
- Load Random QT Movie?
- Load Random Swf Into Movie
- Hello, And Random Movie Load, Help.
- Hello, And Random Movie Load, Help.
- Random Load Movie
- Trying To Load Random Movie
- Movie Plays Fine When I Use "play" But Plays Twice Faster When I Use "test Movie"
- When Onmouse An Image Random Sound Plays
- Using Math.random() To Play A Movieclip Randomly
- [MX04] Math.random Randomly Loads Nothing?
- Generating Random Letter Which Moves Randomly
- Random Card Dealer Not Dealing Randomly Enough...
- Make A Mc Randomly Placed, With Random Rotation, And Sizes...
- Load Random Movie Into Movie Clip?HELP?
- HELP - Random Movie Clip Load
- I Need A Random Load Movie Script
- Random Scene Or Movie Load
- Load Random Jpeg In Movie
Movie Plays Randomly
Hey guys.
How can I make a movie play randomly...example...something flashes randomly, or grows and shrinks randomly, without anyone rolling over anything, and without it being constant like every second. ! second it flashes; next time it flashes maybe 10 seconds passes, then maybe 3, and so on... TOTAL RANDOMNESS.
Thanks. By the way, Im new at this so please be gentle.
View Replies !
View Related
Randomly Loading Mc From Library, And Attaching Random Movie To It
Hi guys
Basically, I have movie1, movie2, movie3, movie4 in the library, with linkages.
These are just 5 frame clips, with a single dummy_mc moving statically over the 4 frames.
I need these to be picked randomly and placed (each has its own set of co-ordinates where it should appear) on the stage at a random set interval (ie, every 2-3 seconds).
There are also 7 items (item1, item2, etc) in the library.
So once one of the 4 movies has been placed on the stage, I need one of these 7 items to randomly attach itself to the dummy_mc within that movie (and, I guess, generate instance names etc)
Would greatly appreciate any light someone can shed, i've been playing with some code, but to no avail.
Cheers
View Replies !
View Related
Load Movie, Only Plays Once--help
(I have Flash 4) I have a movie that is a menu system. In that movie, I have a layer with an empty movie clip called dummy (instance). With an onRelease mouse event of a menu button, I load an external movie into the "dummy" instance, then use a Tell Target command to play the movie. I have a stop action in frame 15 of the external movie, because I don't want it to disappear until one of the menu options or the close button is clicked.
When I click the menu button, the external movie plays but disappears right away. Also, I can only get it to play once--it won't play each time the menu button is clicked like I want it to. I've tried different tutorials and looked everywhere, and I don't understand why I can't get this to work. I am getting all confused, can anyone please help? My example is (please click the Tours button):
http://www.hcc-al-ga.org/pilot/intro3.html
View Replies !
View Related
How To Load A Second Movie While The First One Plays
I have a series of kid's songs in seperate .swf files. Each one ends with a loadMovie command to play the next song. The last one loads the first one again.
I'm using Flash MX and am wondering if there is a way to have the next song downloading while the current song plays. I would like it to appear to be one continuous program, but now it stalls at the end of each song so that the next one can begin streaming.
Thanks,
Jim Patton
View Replies !
View Related
Load Movie Banners Randomly
I'm trying to sqeak out a site (even though I'm a print guy) and I've run into a question.
You can view the site-in-progress at: www.taylor-homes.com
You'll notice at the bottom of the main page (lev.1) that I've got a little animated ad (which is currently a movie symbol on the same timeline).
What this client wants to do is sell tons of these ads and so I've got to figure out the best way to have approx. 20 ads up at any one time that will load and run randomly as people come to the site. I've seen it done before in HTML but I wouldn't know where to start here.
Any ideas would be greatly appreciated.
—m
View Replies !
View Related
How Do You Load Movie Clips Randomly?
I've got these mc of characters walking around. I want to add them to my stage randomly with code so these 12 different movie clips seem to come and go as they please. I understand I may need a timer so I don't get to may loaded at one time? This is a bear. Any help or tutorials I can use? Thanks, sincerely frustrated, Keith.
View Replies !
View Related
Load Movie Randomly No Repeat
I have 3 swf's. I want to call them randomly from a main movie but no swf sould repeat. i can call the movies randomly with following script but it repeats. i want to make it no repeat.
on (release) {
RN = random(3);
name = "intro0"+[RN]+".swf";
'intro03.swf'
loadMovieNum(name, 1);
}
View Replies !
View Related
Randomly Choose & Load Movie Clips
Hi All -
I'm still new to Flash, so please forgive me if this is a repeat or remedial question!
I have a html page that has a swf movie on the header. This header movie clip has anywhere between 4 and 6 different embedded movie clips that it cycles through. What I would like to do is have it randomly start the movies, so that the first movie in the movie clip isn't the first one to start everytime the html page is loaded. Is there an action script that will let me randomly load the movie clips?
Any help would be appreciated and please let me know if I can clarify if my question does not make sense. Thanks!
View Replies !
View Related
Randomly Load Different Movies INSIDE A Movie? Flash 4 Or 5
Is it possible to randomly load/display movies inside a .swf? For example, I'll use a simple java ticker effect with say 10 sentences.
Can you randomly have let's say #3 scroll, then fade out (as an independent movie), then when it's done, have another random sentence, let's say #7 scroll, then fade out. And it just keeps randomly looping through those 10 sentences?
I've looked around for a tutorial, but can't find anything.
View Replies !
View Related
[MX04] Rollover One Movie Clip Plays It, And Plays Another. How?
Alright, so I've got two movie clips.
I have one, called fade_mc, which will play on rollover, and then play in reverse on rollout.
Here's the code for that, placed on a separate layer in the MC.
PHP Code:
stop();
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}
What I would like to do is add to this so that, upon rollover of this MC, other movie clips will play in a similar fashion, and play backwards upon rollout.
In this case it is a MC called dark_mc that I would like to have play.
Posted this in the newbie section to no avail, please help!
View Replies !
View Related
Load A Flash Movie To A Random Frame Each Load
I have created a flash file that fades from one picture to the next. However, I would like to find an actionscipt that will allow the flash movie to load to different each time the page is visited/refreshed. That way visitors don't have to see the same image each time the visit the my page, but can still sit and watch all of them if they want. Also I would want to be able to specify which frames are available for load. That way the page will always load at the begining of each image animation... not right in the middle of it switching to the next image.
Any help is greatly appreciated!
View Replies !
View Related
Load A Flash Movie To Specified Random Frames Each Load
Group:
I am trying to find a Actionscript where I can specify random frames and have the movie randomly load to the specified frames each time the page is viewed. The below scrip was given last time I posted this question, but it doesn't seem to load at the specified frames. Sometimes it does, sometimes it load right in the middle of an animation. You can see in the code below I would like the movie to load at frames 1, 116, 231, 346. Any suggestions?
_____________________________________________________
Array.prototype.shuffle = function() {
for (var ivar = this.length-1; ivar>=0; ivar--) {
var p = random(ivar+1);
var t = this[ivar];
this[ivar] = this[p];
this[p] = t;
}
};
ASSetPropFlags(Array.prototype, ["shuffle"], 1, 1);
var Array_ar:Array = new Array(1, 116, 231, 346);
Array_ar.shuffle();
index = 0;
function load_random() {
gotoAndPlay(Array_ar[index++]);
if (index == Array_ar.length) {
(index=0);
}
}
load_random();
View Replies !
View Related
Help - Flash Movie Plays Fast By Itself, But Plays Slow When Loaded Within Another Flash Movie
I have a flash website which I tried to update recently. In particular, I am updating my photo gallery which I load within another flash using loadMovie. Before updating it, everything worked fine. The update is not completed yet, but I notice that my photo gallery is playing extremely slow compared to before. I did add some new graphics such as fading in and stuff like that, but nothing serious. If I played the clip by itself, ie. typing in the actual photogallery.swf, it plays at full speed. When I run the photogallery through my regular website, meaning loading it through loadMovie, it plays very slow. The photogallery.swf is only 58k in size, so download speed shouldn't be the case. Nevertheless, I tried adding a IfFrameLoaded just in case but that didn't solve my problem. Anybody has any ideas why it might be playing slow when I'm using the loadmovie function and plays fine when I just reference it directly?
View Replies !
View Related
Plays Sound Event At Random...
Hi,
I have a few event sounds placed within an animation. The weirdest thing is that a couple of these event sounds are automatically playing by themselves well before their time, if you know what I mean!
They are playing on scenes that they are not even inserted on!!! Why? What can I do about this? There is no trace of them anywhere so how can they play at random???
Thanks,
Christine
View Replies !
View Related
[F8] Loading Random SWF Files After One Plays
Hello,
I wish to load a random swf movie after my original plays.
So I have 'same_day.swf' and another two 'home.swf' and 'haulage.swf'.
The plan is once 'same_day.swf' has reached the end some ActionScript will randomly select either home.swf or haulage.swf to load.
Any ideas on this would be greatly appreciated.
Many thanks.
View Replies !
View Related
Load Random Movie
I'm attempting to load an external swf file at random.
To accomplish this I was hoping to put the paths of the swf files in an array and then call random to generate the random #. Then use the loadMovie command to load the selected file.
I've learned that loadMovie doesn't seem to like arrays or even variables in the arguments.
Example.
var MaxClips = 4;
var RandNum = random(MaxClips);
myClips = new Array();
myClips [0] = "0.swf";
myClips [1] = "1.swf";
myClips [2] = "2.swf";
myClips [3] = "3.swf";
// now for loading the movie
loadMovie(myClips[RandNum], 2);
-- or --
myMovieClip = myClips[RandNum];
loadMovie(myMovieClip, 2);
Later in the movie the user will be able to select options to change the loaded movie and again, I use the array.
Any help is appreciated.
- Keith
View Replies !
View Related
Load Random Movie
I'm sure this'll be simple to somebody! I've tried finding it on the board but soz I couldn't.
Basically... I want a user to arrive at a webpage with an swf file in it. I want this swf to remain constant but within it I then want to load a random movie. So each time the user visits this page its different. Make sense?
Cheers stacks in advance!
steve
View Replies !
View Related
Random Load Movie
Hi,
I want to make a "Do you know that..." and I want to load a different movie everytime someone click on a button because it's gonna be stupid if you come again on the site and u know the order of appearance of the movies. Will be very thankful if you tell me how!
View Replies !
View Related
Load Random Movie
Hi,
Ive created 4 different SWF files and I want to load one of these randomly onto a HTML page. Is it possible to have another movie that sits permanently on the HTML page and assign an actionscript to its first frame that will load a random SWF on top of it.
Any help with this would be a life saver.
Cheers,
Shane
View Replies !
View Related
Random Load Movie
Hi,
I am creating a quick quiz in flash for a client, The problem i am having is I want the file to sit localy on the clients PC and connect to my server to display the swf files. This I can do ! But I also want the local swf file to randomly pick a swf file from my server ? This I cant do?
Is there a way to randomly load swf files into a movie ?
If so can you tell me how ?
Cheers
David
View Replies !
View Related
Load Random Movie
OK, here's what I'm going for and I don't quite know how to go about it. I'm having an all flash site. In the upper right hand corner, I want an external random movie to play. Now, I think I could manage this just creating a random number then using if statements, but here's the kicker. I want that movie to play, then "tell" the main movie that it's over, upon which the main movie will unload that movie, and load another random movie.
What I was thinking was something on the order of:
On the first frame of each seperate movie, call out a variable say movie=0, then the last frame of each seperate movie will have a stop and movie=1.
Now, in the main movie, I will have an empty movie clip that will be something like:
onClipEvent(enterFrame) {
if(movie=1) {
unloadMovie(anotheremptymc)
then do the random thing
}
}
The only problem is that I don't know how to get that main movie symbol to be able to "see" the variable out of the loaded movie. Any help or suggestions?
View Replies !
View Related
Random Movie Load
For my new website header I would like a random .swf to load in a certain position on the stage.
I have been searching and found many similar threads/tutorials but any code I have tried from there, comes up with errors upon publishing. The only problem I thought of is possibly due to the fact they were written for previous Flash versions, but I have set my movie as Actionscript 2.0 and still get errors.
Basically, I'd like one of 10 small .swfs loading randomly, once just when the page loads.
This .swf would stay there until the page is refreshed, then another .swf would be loaded in the same place. So an .swf just needs to load once everytime the animation appears.
The .swfs are named as "movie_0.swf" through to "movie_9.swf. These will all be held in the main directory of the site, the same as the header.
If anyone has a link to another thread that will get this to work in CS3, or if someone could show what the code should look like, I'd be very grateful.
Many thanks,
Cal
View Replies !
View Related
Load Random Movie For Ad's
i'm creating a web page, i'm trying to put some banners, i't work perfect, everytime y reload the page a diferent banner go on... but what i want to do is put a code in my banner (in the last frame) and... this code will call a .swf, but no in secuence, but ramdom... and i read a loot of different posts... i dont want to genetare a number, cuz if i put the code fot 10 banners, if i dont have 10 banners?? or... if i have more than 10 banners??? i have a rotor.php on my web, so, everytime u go in, a different banner go in... PLEASE SOMEONE!!!! HELP ME!!!!!!!!
View Replies !
View Related
Load Random Movie
I'm sure this is old hat for most out here, but I can't seem to piece this together.
I have a movie (parent.swf) and I want to load external movies (ext1.swf, ext2.swf, ext3.swf) into parent.swf.
The catch is, I want the movies to transition (actually enter stage right, exit stage left) through parent.swf randomly and continuously.
I'm sure there is a tutorial I'm missing somewhere but any help will be very appreciated. Thanks.
View Replies !
View Related
Load Random Movie
I need to load random movies into a mc on main stage,...maybe even set the time in loads a new one to random too,...I pretty new to as,...and have not learned varibles very well yet,...if anyone can point me to the right direction that would be very cool,...and nice of them.
View Replies !
View Related
Load Random QT Movie?
I have a series of four QT movies that I would like to randomly load when someone goes to this Flash piece on a web site.
Simple explanation...each time someone visits/refreshes the web page containing this Flash piece (which contains the video), I would like a different video to load in the Flash piece. I don't need to deal with cookies or anything...just a random loading of the movie.
I don't even know where to begin to write and ActionScript like that. I'm in Flash 8 Pro, by the way. Please...any direction would be great.
Thanks so much!
View Replies !
View Related
Load Random Swf Into Movie
I need to load a randomly selected .swf into my main movie. Have found the code below which does all the loading fine...
... however, I need to keep elements from the original, so is there a way to load the new movie INTO the main one?
I think I might need to load into an empty instance? If so, what does my code need to look like?
Thanks in advance
Attach Code
// all variables are global so they will be available
// as we load new swfs into level 0...
_global.fileNames = ["home_bot_alex.swf","home_bot_jackson.swf","home_b ot_rob_gym.swf","home_bot_rob_webber.swf","home_bo t_ross.swf","home_bot_simon.swf"];
//get random file while checking against the last one
_global.getRandomFile=function(oldFile){
do { var newFile = fileNames[Math.round(Math.random()*(fileNames.length-1))]; }
while (oldFile==newFile);
return newFile;
}
_global.loadRandomFile=function(){
_global.fileToLoad = getRandomFile(_global.fileToLoad);
loadMovieNum(fileToLoad,0);
}
View Replies !
View Related
Hello, And Random Movie Load, Help.
First off, Hello every one. I am not new to flash but new to action scrips.
Now, I need help. I have searched the forums. But I can find the answer. I have two intros to my site, and want both to be displayed randomly when people visit my site. I used this site's tutorial to load a random movie and it worked. But the problem is that it shows the animation that is outside the frame. (A ninja flys past the screen) How can I set it so that it will load a random movie and just show whats in the frame?
View Replies !
View Related
Hello, And Random Movie Load, Help.
First off, Hello every one. I am not new to flash but new to action scrips.
Now, I need help. I have searched the forums. But I can find the answer. I have two intros to my site, and want both to be displayed randomly when people visit my site. I used this site's tutorial to load a random movie and it worked. But the problem is that it shows the animation that is outside the frame. (A ninja flys past the screen) How can I set it so that it will load a random movie and just show whats in the frame?
View Replies !
View Related
Trying To Load Random Movie
I am using the below script in flash mx 2004 to load a random movie but it is not working can someone please tell me what I am doing wrong?
Thanks
Tim
PHP Code:
filename = ["pcrx2.swf", "headline.swf"];
path = "";
i = filename.length;
k = Math.floor(Math.random()*i);
loadMovie(path+filename[k], movieTarget);
View Replies !
View Related
Using Math.random() To Play A Movieclip Randomly
Heia!
I have made this nature image with vertor graphics in Flash 5, and decided to have a bird fly over the sky at random points, along with other events happening without following a squence. So I thought this would be an easy little job to do using the Math.random() function, so I typed in this script in the frame before my bird starts flying across the screen in the movieclip:
PHP Code:
var ranum=Math.random (1, 5);
if (ranum != 2) {
stop ();
} else {
play ();
}
I thought "WOOHOOO, that was easy", and then tested it out. I waited and waited and waited and waited and waited and waited and waited, but no birdy came flying over my screen.
Then I thought "AHA!" as my idea obviously was not working cause I've used the stop() function, and for the code to be run over and over again till the right number is hit, it has to say:
PHP Code:
var ranum=Math.random (1, 5);
if (ranum != 2) {
gotoAndPlay (1);
} else {
play ();
}
...but no....
Howcome? And how would YOU do it?
Cheers lovely ppl!!!
View Replies !
View Related
[MX04] Math.random Randomly Loads Nothing?
Hi there. I have a presentation which I want to play music randomly each time it starts. I have 3 music files. I have put them into the timeline of 3 movieclips (mc0, mc1, mc2) with are loaded using the math.random script (below):
clipNum=Math.floor (Math.random () *4);
_root.attachMovie("mc"+clipNum, "mc",1);
This works okay, but it also loads nothing randomly, leaving me with no sound at all?
I have attached a test movie which I made with shapes in movieclips, which does the same thing; every so often it loads nothing.
Does anyone know what is wrong with the script, or if there is something I need to add so that it loads a mc every time?
Thanks
View Replies !
View Related
Generating Random Letter Which Moves Randomly
I am trying to write a script that generates a random letter, then sends that letter to random destinations on the stage. I have been unable to get it to work. I think there may be a conflict with my code, something that is incompatible with the as3 changes.
Here is the code:
---------------------------------
var t:Char;
function randString(newLength=1, userAlphabet:String="abcdefghijklmnopqrstuvwxyzABC DEFGHIJKLMNOPQRSTUVWXYZ0123456789"):String
{
var alphabet:Array=userAlphabet.split("");
var alphabetLength:int=alphabet.length;
var randomLetters:String="";
for (var z=0; z<newLength; z++)
{
randomLetters+=alphabet[int(Math.floor(Math.random()*alphabetLength))];
}
return randomLetters;
}
for(var i=0; i<Math.round(Math.random()*30); i++)
{
t=new Char();
addChild(t);
t.blendMode=BlendMode.LAYER;
t.DisplayObject.x=Math.random()*700;
t.DisplayObject.y=Math.random()*500;
//t.alpha=0;
t.dx=Math.round(Math.random()*700);
t.dy=Math.round(Math.random()*500);
t.DisplayObject.scaleX=Math.round(Math.random()*30 +2);
t.DisplayObject.scaleY=t.DisplayObject.scaleX;
t.addEventListener(Event.enterFrame, mover);
t.onEnterFrame=mover;
t.character.text=randString(1);
}
function mover()
{
this.DisplayObject.x+=(this.dx-this.DisplayObject.x)/(Math.round(Math.random()*6+2));
this.DisplayObject.y+=(this.dy-this.DisplayObject.y)/(Math.round(Math.random()*6+2));
//this.alpha+=this.alpha+(this.dx-this._x);
if(Math.round(this.DisplayObject.x)==this.dx)
{
this.dx=Math.round(Math.random()*700);
this.dy=Math.round(Math.random()*500);
}
}
View Replies !
View Related
Random Card Dealer Not Dealing Randomly Enough...
Hey all,
I've been spending the evening working on a random tarot card dealer, but the problem is that the cards don't seem to come out randomly enough to be realistic. The cards at the start and end of the deck all seem to be drawn last almost every time.
Test it out here -- http://www.drexle.com/tarotDealer001.html (Just keep refreshing the page once it finishes the list)
Also troubling is that sometimes once it gets to the very end of the deck, it will occasionally start drawing blanks... if it worked correctly, you would have 78 cards every time (from 0-77) with no blanks at all.
Here's the relevant code
ActionScript Code:
/////////////////
// The Full Deck
/////////////////
tarotDeck = new Array;
tarotDeck = ["I","will","spare","you","the","giant","list","of","cards"];
/////////////////
// The Used deck
/////////////////
drawnCards= new Array;
drawnCards= [];
////////////////////
// The temp pile
////////////////////
tempPile=new Array;
tempPile=[];
function drawCard(){
//Find a card by using a random number
drawn=Math.round(Math.random()*tarotDeck.length-1);
//Remove cards from tarotDeck and place them in the temp pile until the random number has been reached
for(i=0;i<=(tarotDeck.length-(drawn-1));i++){
tempPile.push(tarotDeck.pop());
}
//place selected card into the drawnCards array
drawnCards.push(tempPile.pop());
//Replace the cards that are in the tempPile array back into the tarotDeck array
for(i=0;i<=tempPile.length;i++){
tarotDeck.push(tempPile.pop())
}
}
File attached, if you want to compile it yourself with the full list of cards.
View Replies !
View Related
Make A Mc Randomly Placed, With Random Rotation, And Sizes...
Hello, I am trying to make this movie clip of a boot get repeated indefinitely until the
screen is covered with a solid color. In addition, I'd like it to have it randomly change its x/yscale evenly and have a slight random rotation (like 20 or 30 degrees)... I've tried a few things and I think the overall result is just sloppy code.. The FLA is too big to attach, but this is what I have in the first frame:
n = Number(n)+2;
setProperty("boots", _x, Math.random()*1024);
setProperty("boots", _y, Math.random()*768);
setProperty("boots", _rotation, Math.random()*30);
duplicateMovieClip("boots", "", n*.07);
duplicateMovieClip("logos", "", n*.08);
var randomSize:Number = 20+Math.random(200);
boots._xscale = randomSize;
boots._yscale = randomSize;
and this is in the movieclip itself:
onClipEvent (load) {
setProperty(_root.boots, _visible, "0");
}
THANK YOU!!
View Replies !
View Related
Load Random Movie Into Movie Clip?HELP?
Load External Random Movies Into a Movie Clip??HELP!
Alright i have done this tutorial on this site http://www.kirupa.com/developer/acti...ndom_movie.htm.
But I need help with the Action Script?? Could any one help me modifie the AS to allow this movie clips to be loaded in to another container movie clip...
My Current AS is;
filename = ["Banner1.swf", "Banner2.swf", "Banner3.swf"];
path = "http://www.buildersmart.com.au/flash/";
i = filename.length;
k = Math.floor(Math.random()*i);
loadMovie(path+filename[k], movieTarget);
View Replies !
View Related
HELP - Random Movie Clip Load
I have a problem. I am trying to get a movie to load a random swf file each time run. The files are 1.swf, 2.swf, 3.swf, ect..... Here is the script I am trying.
ran = random;
loadMovie (load.swf ="brands/(ran).swf", "load");
What the hell am I doing wrong?
Thanks for your help,
Bryan
View Replies !
View Related
I Need A Random Load Movie Script
I want an swf on my homepage that loads a random movie
each time the user visits the site - is this possible?
I guess the master movie would pick from a random list of
the movies with the same root name but anyone got
the code? or fla examples?
View Replies !
View Related
Random Scene Or Movie Load
Is there a fairly easy way to do either of the following:
1. When an .swf movie loads, to play in a _random_ sequence the various scenes in that one .swf file, with no action taken by the viewer.
OR
2. When one .swf movie loads and completes, to load _at random_ any of several external .swf movies over the top. Then when that second .swf movie is completed, to again load _at random_ any of the several external movies.
Has to do with banner advertising, as you might have guessed.
Many thanks for any help.
Randy Scott
View Replies !
View Related
|