in flash/actionscript you can provide flashvars to the movie.
in actionscript you can access them like this:
var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters;
then i can check a parameter like this:
if (paramObj["somekey"] == someValue)
{
}
now i want to make this check case-insensitive. so that it matches SomeKey or soMekEY, etc.
what is the best way to do this?
I faced this problem a few years ago when I was working with ColdFusion and Flash, because ColdFusion is case insensitive whereas AS3 is not.
So here’s what I did to get around that problem.