Created
March 31, 2010 12:59
-
-
Save gillesv/350280 to your computer and use it in GitHub Desktop.
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
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