Created
August 30, 2013 15:55
-
-
Save 7LayersDesign/6391300 to your computer and use it in GitHub Desktop.
Load random XML file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var randomXML = Math.floor(Math.random()*4); | |
| var xmlUrlArray = new Array( | |
| "placeholder", // PATH TO URL #1 | |
| "placeholder", // PATH TO URL #2 | |
| "placeholder", // PATH TO URL #3 | |
| "placeholder" // PATH TO URL #4 | |
| ); | |
| flashvars.randomNum = xmlUrlArray[randomXML]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment