Bonjour voila un moraceau de code ke je narrive pas a comprendre
a partir de flash on charge les variables dune page php juska la jai compris
mais ceux ke je compren pa c lutilisation de Math.random()
kan je demande a celui ki a ecri ca c un anglais il me di
"to prevent the browser from using a local copy, a cache, of the file"
en frqncqis si je compren bien *pour eviter que le navigateur utilise une copy locala , "a cache" du fichier
mais je comprend pas sil vous plai help me
//Create random number
_root.board.Status = "Creating random number.";
randNum = Math.random()*10000000000;
//call PHP script
loadVariables (domain add "viewboards.php?" add randNum, this);
_root.board.Status = "Loading boards...";
stop();
//Function to load specific Board
function viewBoard(boardID)
{
//the random number
randNum = Math.random()*100000000;
//load board
loadVariables (domain add "viewthreads.php?boardID=" add boardID add "&" add randNum, this);
_root.board.Status = "Loading board #" add boardID;
gotoAndStop("Load Threads");
}