Zurück   Flashforum > Flash > ActionScript > ActionScript 3

Antwort
 
LinkBack Themen-Optionen Ansicht
Alt 21-02-2011, 16:36   #1 (permalink)
Neuer User
 
Registriert seit: Feb 2011
Beiträge: 9
Question gotoandplay then stop

Hallo liebe Community,

ich habe ein kleines Problem bei meinem Homepage Projekt. Ich möchte in der Navigationsleiste beim Klick auf ein Element ein gotoandPlay anwenden. Jedoch soll dach dem Klick und dem gotoandPlay ein Stop in Frame 49 stattfinden, bis ein weiterer Befehl eingeht.
Wie lautet hier der richtige Code?

Bisher habe ich:

Leistungen.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndPlayFromFrame);

function fl_ClickToGoToAndPlayFromFrame(event:MouseEvent):v oid
{
gotoAndPlay(1)



}

Vielen Dank für eure Hilfe!

Geändert von Pate1410 (21-02-2011 um 16:37 Uhr)
Pate1410 ist offline   Mit Zitat antworten
Alt 21-02-2011, 16:51   #2 (permalink)
Flash-Designer
 
Benutzerbild von Martin Kraft
 
Registriert seit: May 2006
Ort: Wiesbaden
Beiträge: 6.162
Zitat:
Zitat von Pate1410 Beitrag anzeigen
Jedoch soll dach dem Klick und dem gotoandPlay ein Stop in Frame 49 stattfinden, bis ein weiterer Befehl eingeht.
Dan schreib doch einfach in Frame 49:
PHP-Code:
stop(); 
__________________
Viele Grüße // Martin

Martin Kraft // Interaktionsdesign

Hilfreiche Websites:
// Hilfe zur Adobe Flash Plattform
// ActionScript 2 Referenz
// ActionScript 3 Referenz
// ActionScript 3 Arbeitshandbuch
// weitere Flash Ressourcen

Bitte keine Flashfragen per PM oder Profilnachricht! Dafür ist das Forum da!
Martin Kraft ist offline   Mit Zitat antworten
Alt 21-02-2011, 17:03   #3 (permalink)
Neuer User
 
Registriert seit: Feb 2011
Beiträge: 9
Zitat:
Zitat von Martin Kraft Beitrag anzeigen
Dan schreib doch einfach in Frame 49:
PHP-Code:
stop(); 
Wenn man(n) mal auf dem Schlauch steht...
Danke!
Pate1410 ist offline   Mit Zitat antworten
Antwort

Lesezeichen

Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks sind an
Pingbacks sind an
Refbacks sind an


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
am anfang gotoAndPlay, dann stop? rhythmuskind ActionScript 2 2 21-10-2010 12:45
MC per gotoAndPlay abspiele trotz stop(); in Hauptleiste brandidentity Flash Einsteiger 3 21-02-2007 08:13
gotoandplay mit stop Problematik dombre Flash MX 12 26-08-2006 08:13
Play, Stop, gotoAndPlay, gotoAndStop, Zeitspur, Bildrate und ActionScript hgseib ActionScript 1 3 21-05-2005 17:29
Probleme mit: gotoAndPlay (); & stop (); Matrix**87 Flash 4 und Flash 5 9 05-08-2002 21:21


Alle Zeitangaben in WEZ +1. Es ist jetzt 13:13 Uhr.

Domains, Webhosting & Vserver von Host Europe
Unterstützt das Flashforum!
Adobe User Group


Copyright ©1999 – 2012 Marc Thiele