Get SWF Base URL


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. var baseURL = loaderInfo.url.substring(0, loaderInfo.url.lastIndexOf("/") + 1);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.