import flash.display.LoaderInfo;
import flash.events.MouseEvent;
click_btn.addEventListener(MouseEvent.CLICK, onButtonClicked);
function onButtonClicked(e:MouseEvent) :void {
if (root.loaderInfo.parameters.clickTAG.substr(0, 5) == "http:")
{
navigateToURL(new URLRequest(LoaderInfo(root.loaderInfo).parameters.clickTAG), "_blank");
}
}
AS 2 is it possible to make characters click-to-move?
-
What I'm asking specifically is, is it possible to make characters (or just
plain symbols) dynamically move to your cursor when you click on something?
I'v...
2 weeks ago
0 comments:
Post a Comment