1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
| home_btn.addEventListener(MouseEvent.CLICK, geturl1);
function geturl1(evt:MouseEvent):void {
var req:URLRequest = new URLRequest("http://ma page1.com/");
navigateToURL(req, "string");
}
contact_btn.addEventListener(MouseEvent.CLICK, geturl5);
function geturl5(evt:MouseEvent):void {
var req:URLRequest = new URLRequest("ma page1l");
navigateToURL(req, "string");
}
realisation_mc.addEventListener(MouseEvent.ROLL_OVER, sousmenu1);
function sousmenu1(evt:MouseEvent):void {
realisation_mc.gotoAndPlay(2);
}
realisation_mc.addEventListener(MouseEvent.ROLL_OUT, sousmenu2);
function sousmenu2(evt:MouseEvent):void {
realisation_mc.gotoAndStop(1);
}
realisation_mc.LienD_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
function mouseDownHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("ma page1l"));
}
realisation_mc.photo_btn.addEventListener(MouseEvent.CLICK, geturl3);
function geturl3(evt:MouseEvent):void {
var req:URLRequest = new URLRequest("http://macharisbertrand.blogspot.com/p/realisations-photo.html");
navigateToURL(req, "_string");
}
realisation_mc.graph_btn.addEventListener(MouseEvent.CLICK, geturl4);
function geturl4(evt:MouseEvent):void {
var req:URLRequest = new URLRequest("ma page1l");
navigateToURL(req, "_string");
} |
Partager