Skip to content

Instantly share code, notes, and snippets.

@gillesv
Created March 31, 2010 12:59
Show Gist options
  • Save gillesv/350280 to your computer and use it in GitHub Desktop.
Save gillesv/350280 to your computer and use it in GitHub Desktop.
package
{
import be.proximity.framework.Framework;
import be.proximity.framework.config.Config;
import be.proximity.framework.net.VarSources;
/**
* By extending from Framework the Config class is automatically set up correctly.
*/
public class QuerystringsDemos extends Framework
{
public function QuerystringsDemos()
{
super();
}
override protected function application_complete():void{
// check if the querystring exists
if(Config.getInstance().existsByType("someParameter", VarSources.QUERYSTRING)){
trace("Querystring found: " + Config.getInstance().readByType("someParameter", VarSources.QUERYSTRING));
}else{
trace("No querystrings defined.");
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment