Howdy all,

I currently have a app that pulls a single variable from the URL

I.e. =  index.html?page=2

I pass that info into my program with FlashVars using:

------------------------------
<script src="Scripts/AC_RunActiveContent.js"
type="text/javascript"></script>
<script type="text/javascript">
function querySt(ji) {
    hu = window.location.search.substring(1);
    gy = hu.split("&");
    for (i=0;i<gy.length;i++) {
        ft = gy[i].split("=");
        if (ft[0] == ji) {
            return ft[1];
        }
    }
}
</script>


<snippet from the Flash swf embed>

"FlashVars", 'whichSection=' + querySt('page'));

<end snippet>
-------------------------------

So querySt parses the value of 2 and passes it into my whichsection just
fine.

Now I have to have two things passed in:

I.e. Index.html?page=2&login=1

Can FlashVars handle this??

I tried:

"FlashVars", 'whichSection=' + querySt('page'),'loggedin=' +
querySt('login')); 


But loggedin is NOT getting picked up inside of Flash.

Can Flash handle multiple query strings being passed into itself?

Did I explain this well enough?


Thanks in advance,
John

===================================================
John R. Sweeney Jr.        ([EMAIL PROTECTED])
Interactive Multimedia Developer/
Digital Media Specialist

OnDemand - Interactive, Inc.
847.651.4469 (cell)      847.310.5959 (office/fax)
=================================================== 

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to