Deployment macros are expanded to their actual values during compilation. This means that return values of macros are not objects of a basic type but constants.
In action script, you need to use them as a constant, for instance concat("Service Category: ", getURLFromAlias())
works, whereas getURLFromAlias().concat(" is the service category.")
does not.