Hallo,
mit den zwei Zeilen alleine kann doch kein Mensch was anfangen und ich bezweifle auch ernsthaft das es bei der migration von den zwei Zeilen bleiben wird.
Hallo Forum,
ich habe hier ein altes Skript. (AS1.0)
Wie muss ich den umschreiben, damit das auch als AS3.0 läuft?
Vielen Dank für eure HilfeCode:_root.imagewidth = 720; _root.trig.xposnew = -(_root.imagewidth)
Hallo,
mit den zwei Zeilen alleine kann doch kein Mensch was anfangen und ich bezweifle auch ernsthaft das es bei der migration von den zwei Zeilen bleiben wird.
Gruß
Wanderratte
Gebildet ist,
wer weiß,
wo er findet,
was er nicht weiß.
4bugs
Home
Amazon Wunschzettel
Kein Problem
hier ist die gesamte Code:
Code:// _root.imagewidth defines the width of the image// _root.imagewidth = 720; // _root.speed defines the speed of the sliding images// _root.speed = 3; /* _root.trig.xposnew defines the x position of the sliding images */ _root.trig.xposnew = -(_root.imagewidth); // About us Button but1.onRelease = function() { _root.trig.xposnew = -(_root.imagewidth); }; // Products Button but2.onRelease = function() { _root.trig.xposnew = -((_root.imagewidth)*2); }; // Services Button but3.onRelease = function() { _root.trig.xposnew = -((_root.imagewidth)*3); }; // Clients Button but4.onRelease = function() { _root.trig.xposnew = -((_root.imagewidth)*4); }; // Contact Us Button but5.onRelease = function() { _root.trig.xposnew = -((_root.imagewidth)*5); };
Hallo
wie ich es mir schon gedacht habe, wenn du nicht unbedingt AS3 brauchst erstelle ein AS2 Projekt.
Ansonsten gucke in die Hilfe nach der migration, folgendes gibt es unter AS3 nicht mehr.
_root, onRelease, onRollOver, _x, _y, onEnterFrame und etliches mehr.
Das Script was du gepostet hast, ist ja immer noch nicht alles da wird wohl noch die eine oder andere Function fehlen.
Gruß
Wanderratte
Gebildet ist,
wer weiß,
wo er findet,
was er nicht weiß.
4bugs
Home
Amazon Wunschzettel
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)