Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AS3 Bootstrap SERVER_URL #30

Open
cesaric opened this issue Aug 25, 2011 · 0 comments
Open

AS3 Bootstrap SERVER_URL #30

cesaric opened this issue Aug 25, 2011 · 0 comments
Labels

Comments

@cesaric
Copy link
Member

cesaric commented Aug 25, 2011

Thoughts about splitting the SERVER_URL in the AS3 bootstrap class into two constants? For example:

public static const DOMAIN:String = "aerialframework.com";
public static const SERVER_URL:String = "http://" + DOMAIN + "/server.php";

It's convenient when you need to have something coded against a dev and prod server automatically. i.e.,

...="mailto:test@{DOMAIN}.com"

or

URLRequest("http://" + DOMAIN + "/some.pdf");

...but I understand we can also let the user add & expose these from config.xml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant