| |||||||
Du magst keine Werbung? Wir auch nicht!
Einfach registrieren und die Werbung ist weg. Diese Nachricht sehen nur nicht registrierte Nutzer.
![]() |
| | LinkBack | Themen-Optionen | Ansicht |
| | #1 (permalink) |
| Neuer User Registriert seit: Aug 2002
Beiträge: 88
| as geht nicht in flash 8 ???
if (_framesloaded>=70) { _root.gotoAndPlay("start"); } else { bytes_geladen = this.getBytesLoaded(); bytes_gesamt = this.getBytesTotal(); prozent = math.ceil((bytes_geladen/bytes_gesamt)*100); Ladebalken._width = prozent*3; if (prozent == 100 && bytes_geladen>100) { gotoAndPlay(3); } x_position = _x+(459)-60; setProperty("_root.ladestatus", _xscale, prozent); setProperty("_root.ladestatus", _x, x_position+(prozent/2)); } am was liegts denn??? |
| | |
| | #2 (permalink) |
| Flashworker Registriert seit: Nov 2001 Ort: Wiesbaden
Beiträge: 10.945
|
Ich nehme an an "Math" (M groß schreiben), aber habs dir noch ein bisschen verbessert: ActionScript:
Hab dir eine Abfrage mal rausgemacht, weil es irgendwie doppelt war. Und hast du zwei Ladebalken oder wie? Hast du dir den Code irgendwo zusammenkopiert? Ein mal setProperty, einmal die normale Syntax usw. |
| | |
| | #3 (permalink) |
| Neuer User Registriert seit: Aug 2002
Beiträge: 88
|
funzt danke dir!!! hab ein wenig copy paste betrieben ;-) kannst du mir da vielleicht noch helfen funzt ebenfalls nicht mehr in F8... movieclip.prototype.grid = function(obj, tiefe, dim, linie, farbe, alpha, rot) { this.createEmptyMovieClip(obj, tiefe); var b = this._width; var h = this._height; with (this[obj]) { lineStyle(linie, farbe, alpha); for (var i = Math.round(b/dim); i>=0; i--) { var x = i*dim; moveTo(x-b/2, -h/2); lineTo(x-b/2, h/2); } for (var i = Math.round(h/dim); i>=0; i--) { var y = i*dim; moveTo(-b/2, y-h/2); lineTo(b/2, y-h/2); } moveTo(-b/2, h/2); lineTo(b/2, h/2); lineTo(b/2, -h/2); _rotation = rot; } }; this._visible = 100; _parent[this._targetInstanceName].grid(gname, glevel, gdimension, glinewidth, gColor, galpha, grot); |
| | |
![]() |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | |
| |