+ Antworten
Ergebnis 1 bis 9 von 9

Thema: MC ansprechen

  1. #1
    TP-Veteran Flow09 ist auf einem guten Weg Avatar von Flow09
    Registriert seit
    Jun 2001
    Ort
    Wien
    Beiträge
    1.436

    MC ansprechen

    Recht simple Frage!

    Ich möchte vom Hauptfilm aus ein MovieClip ansprechen damit der anfangt sich abzuspielen!
    Wie ist die Syntax im Actionscript??? Bin "leicht" aus der Übung!

    lg
    Flow
    Lesser known Programming Languages #13: SLOBOL
    ... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.

  2. #2
    TP-Junior MCBeaver macht alles soweit korrekt
    Registriert seit
    Sep 2002
    Ort
    Enns
    Beiträge
    8
    Tja ich weiss zwar net aus was Du den MC ansprechen willst, drum kann ich Dir nur sagen mit _root.<MCName> sprichst den an =)

    lg
    -:: Beaver for President ::-

  3. #3
    TP-Veteran Flow09 ist auf einem guten Weg Avatar von Flow09
    Registriert seit
    Jun 2001
    Ort
    Wien
    Beiträge
    1.436
    Ah! Sorry! Von einem Button aus. Klick auf Button --> Animation fängt an! Der Button ist Seinerseits auch in einem MC!
    Lesser known Programming Languages #13: SLOBOL
    ... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.

  4. #4
    TP-Veteran Scriff macht alles soweit korrekt Avatar von Scriff
    Registriert seit
    Nov 2002
    Ort
    bei Stuttgart (Esslingen)
    Beiträge
    1.356
    jo genau...

    _root.<mcname>.play();

    oder

    _root.<mcname>.gotoAndPlay("<bildmarkierung>");

    von einem Button aus:

    on (press) {
    _root.<mcname>.play();
    }


  5. #5
    TP-Veteran Flow09 ist auf einem guten Weg Avatar von Flow09
    Registriert seit
    Jun 2001
    Ort
    Wien
    Beiträge
    1.436
    Super! Funktioniert schon!

    Tell Target hab ich auch noch gesucht aber darauf bin ich auch schon gekommen!

    lg
    Flow
    Lesser known Programming Languages #13: SLOBOL
    ... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.

  6. #6
    TP-Specialist the0bone ist ein richtiges Arbeitstier - DANKE the0bone ist ein richtiges Arbeitstier - DANKE the0bone ist ein richtiges Arbeitstier - DANKE the0bone ist ein richtiges Arbeitstier - DANKE Avatar von the0bone
    Registriert seit
    Mar 2001
    Ort
    NDS
    Beiträge
    4.269
    Nur mal so.... einen MC kannst du nicht ansprechen!
    Du kannst eine Instanz eines MC´s ansprechen!

    und
    tellTarget soll in MX nicht mehr verwendet werden.

    Aber das nur zur Info!
    the0bone

    Wissen ist Macht, nichts Wissen macht nichts! Doch auch auch wenn man es nicht besser weiss, sollte man beim Erstellen einer Webseite auf Frames und Tabellen verzichten.

  7. #7
    TP-Veteran Flow09 ist auf einem guten Weg Avatar von Flow09
    Registriert seit
    Jun 2001
    Ort
    Wien
    Beiträge
    1.436
    OK, ich hab mich Flasch ausgedrückt, Verzeihung!

    Das mit TellTarget wusste ich nicht, was ist den jetzt die bessere Variante????

    lg
    Flow
    Lesser known Programming Languages #13: SLOBOL
    ... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.

  8. #8
    TP-Specialist the0bone ist ein richtiges Arbeitstier - DANKE the0bone ist ein richtiges Arbeitstier - DANKE the0bone ist ein richtiges Arbeitstier - DANKE the0bone ist ein richtiges Arbeitstier - DANKE Avatar von the0bone
    Registriert seit
    Mar 2001
    Ort
    NDS
    Beiträge
    4.269
    War nicht als Klugscheissen gedacht! Sorry, Flow, wollte nur sicherstellen, dass man dem MC erst einen Instanznamen geben muss.

    PHP-Code:
    _root.instanz.play(); 
    ist die neue "bessere" Schreibweise.
    the0bone

    Wissen ist Macht, nichts Wissen macht nichts! Doch auch auch wenn man es nicht besser weiss, sollte man beim Erstellen einer Webseite auf Frames und Tabellen verzichten.

  9. #9
    TP-Veteran Flow09 ist auf einem guten Weg Avatar von Flow09
    Registriert seit
    Jun 2001
    Ort
    Wien
    Beiträge
    1.436
    Ahhh! Sehr schön! Das erleichert die ganze schon etwas!

    Danke!

    lg
    Flow
    Lesser known Programming Languages #13: SLOBOL
    ... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.

+ Antworten

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

     

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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51