Zurück   Flashforum > Flash > ActionScript > ActionScript 1

Antwort
 
LinkBack Themen-Optionen Ansicht
Alt 13-01-2006, 11:19   #1 (permalink)
Ohne Worte
 
Benutzerbild von Masterpi
 
Registriert seit: Jul 2004
Ort: Berlin
Beiträge: 472
Question Bin ich komplett dumm? AS Tween will nicht funktionieren?!

Also ich ich habe drei zeilen Code die einen AS Tween auslösen sollen. Wenn ich die Ganze Funktion auf einen Button lege, geht es aber wenn ich ein onEnterFrame draus mache, geht nischt mehr?!

MIT BUTTON:

PHP-Code:
#include "lmc_tween.as"
button1.onPress _root.button1.onPress=function () {
    
_root.toll_mc.tween(["_y""_x"], [00], 2"easeInOutExpo");
}; 
OHNE BUTTON:

PHP-Code:
#include "lmc_tween.as"
this.onEnterFrame=function () {
    
_root.toll_mc.tween(["_y""_x"], [00], 2"easeInOutExpo");
}; 
was mache ich falsch?

thx und mfg
__________________
Wie kommt mein Öl unter deinen Boden?

Geändert von Masterpi (13-01-2006 um 11:20 Uhr)
Masterpi ist offline   Mit Zitat antworten
Alt 13-01-2006, 11:30   #2 (permalink)
mod_rewrite
 
Benutzerbild von sonar
 
Registriert seit: Feb 2003
Ort: München
Beiträge: 15.621
Is doch auch Blödsinn: im oEF startest du den Tween immer und immer wieder...
__________________
RTFM
Wie man Fragen richtig stellt.

Achim Bindannmalweg

Money makes the world go round, fear makes it turn much faster.
(New Model Army)
sonar ist offline   Mit Zitat antworten
Alt 13-01-2006, 12:14   #3 (permalink)
Custom Title
 
Registriert seit: Aug 2001
Beiträge: 467
Code:
function tuEs() {
    _root.toll_mc.tween(["_y", "_x"], [0, 0], 2, "easeInOutExpo");
};  

tuEs();
Warum nicht so ?
__________________
---::::: AVisioN :::::---
AVisioN 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



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

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


Copyright ©1999 – 2012 Marc Thiele