FlashVars AS3 – getting values from the URL string
Getting values from the URL string in AS3 isn’t very complicated. First you need to set up your html to pass these into the SWF using a javascript function:
<script language="javascript">
function gup(name){
name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
var regexS = "[\\?&]"+name+"=([^&#]*)";
var regex = new RegExp( regexS );
[...]
![Validate my RSS feed [Valid RSS]](http://blog.sitedaniel.com/valid-rss.png)