Unfortunately this gets called BEFORE
loadVariablesNum ("http://blah.com/layout/info.asp", 0);
has had a chance to load the variable picnumberdefault
so the picture does not get loaded.
Is there any way to ensure that the variable picnumberdefault is loaded from the database BEFORE
You might want to use a looped if-then-else statement to continually look to make sure the variable has been loaded, then when it is loaded, have the loop load the movie. I don't know ASP, so I couldn't give an example of code, but logically, that should work. Just make sure to set a limit on the number of times it loops.