i want open an instagram page by clicking on a button in my app, for example "instagram/mypage" in Instagram app. whats the code?
mybuttun.addEventListener(MouseEvent.CLICK, open_instagram_page);
function open_instagram_page(event:MouseEvent)
{
//what should i write here?
}
i found this code that open "setting" page of android device,how change it to open specific page on instagram app:
var url:String = ("intent:#Intent;" +
"action=android.intent.action.MAIN;" +
"category=android.intent.category.LAUNCHER;" +
"component=com.android.settings/.Settings;" +
"end");
navigateToURL(new URLRequest(url));