Hmm, won't be as simple as that. You'll have to implement the logic that actually reads that parameter somewhere.
So the quickest thing would be to write a small plugin that does just that (registers a setting with that name and
then sets the url attribute of the ASUL element). Just a real quick draft to get the idea across:
public class ButtonShare extends AbstractPlugin {
public ButtonShare(data:PluginData = null) {
super(data || new PluginData("buttonshare", "1.0.0", [new Dependency("navigationbar", true)]));
}
override protected function register():void {
settings.register("button_share", "");
}
override protected function initialize():void {
var btn:IAsulObject = IAsulObject(megazine.pluginLayer).deepGetChildByName("button_share") as IAsulObject;
if (btn) {
btn.setAttribute("url", settings.getSetting("button_share"));
}
}
}