Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Passer à partir d'un bouton checkbox au frame suivant

Guest
Mar 01, 2016 Mar 01, 2016

J'aimerai bien effectuer un passage a le frame suivant a partir d'un bouton checkbox apres que l'utilisateur coche la case qui se trouve dans le scrollpane.

Merci.

voila le code que j'ai utiliser

Scrolpanel.source= inhal;

Scrolpanel.setSize(465, 400);

import flash.events.MouseEvent;

MovieClip (ScrollPane.content).btn.addEventListener(MouseEvent.CLICK, goForward);

function goForward(event:MouseEvent):void {

    MovieClip (ScrollPane.content).nextFrame();

}

et voila les erreurs:

Scene 1, Layer 'Layer 1', Frame 1, Line 101119: Access of possibly undefined property content through a reference with static type Class.
Scene 1, Layer 'Layer 1', Frame 1, Line 71119: Access of possibly undefined property content through a reference with static type Class.

;Merci

TOPICS
ActionScript
171
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation