Redirect to new url when flash video ends

How often does it happen and is it in a particular browser?

when it happens, then a couple of times after each other, primarly on Safari and FF on Mac. have just tested it about 20 times on PC IE and FF, and there it didn’t happen.

Ah sorry. I don’t have mac so this is where my help runs dry. Hopefully someone else will be able to help you out that has a mac.

I did some more tests and on Safari the following happened:

10x fine
3x undefined
1x fine
1x undefined
4x fine
1x undefined
12x fine
1x undefined
5x fine

today I couldn’t get the undefined page on Firefox but it did appear there before as well, much less than with safari

does this make any sense to you?

any mac flashers/actionscripters out there which might be able to help?

sorry I see no pattern in what you posted.

Can you post your fla and i will have a look and see if there is anything i can do to optimize the code a bit more.

the fla is zipped up here:
http://inkenrohweder.com/intro_final.zip

let me know when you’ve got it and I remove it again.
cheers

got it.

You should really get a preloader put on that swf. I’s just over 2mb.
It could be this that is causing the issue.

Replace what’s between the array and get url call with below. Plus get a preloader on that swf.



// Get random number created  
var n:Number = randRange(0, urlArray.length);
//    
// if undefined retry
if(urlArray[n]==undefined){
    var n:Number = randRange(0, urlArray.length);
}

thanks Paul, will try later this evening when I’m back online! and let you know the outcome…