Skip to content

AS3 Bootstrap SERVER_URL #30

Description

@cesaric

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions