Bonjour j'ai crée un bouton, et je n'arrive pas faire ouvrir une autre page web quand on clique dessus
j'ai éssayé ce tutoriel
If due to any reason you have to choose actionscript 3.0 then you can do this:
- Make a new button on the first keyframe and name it my_button
- Select the keyframe not the button and open the actions panel (F9)
- Attach the following code and test
my_button.addEventListener(MouseEvent.CLICK,clickHandler);
function clickHandler(event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.adobe.com"));
}
Hope this is what both of you were looking for.
j'ai a chaque fois des erreurs et ca ne fonctionne pas.
genre :
" L’instruction doit apparaître dans le gestionnaire on"
Je vous remercie d'avance pour votre aide !