ERLEDIGT
NEIN
NEIN
ANTWORTEN
0
0
ZUGRIFFE
5857
5857
EMPFEHLEN
-
09.04.03 11:48 #1
Hi Folks,
Hier was zum Testen - die Panorama Steuerung lässt sich sicher ausbauen.
Beispiel (Lupeneffekt):PHP-Code:function setzeLupe(obj) {
obj.iniPosX = obj._x;
obj.iniPosY = obj._y;
obj.zoomfaktor = 2;
obj._xscale = obj._yscale = 100 * obj.zoomfaktor;
obj.onMouseMove = function() {
this._x = _xmouse;
this._y = _ymouse;
this.maske._x = this.iniPosX - this._x;
this.maske._y = this.iniPosY - this._y;
updateAfterEvent();
};
}
setzeLupe(maske_mc);
http://www.flashangel.de/mx/fslupemaske2.swf
Beispiel (Panorama):PHP-Code:function setzePano(obj) {
obj.mittelpunkt = 150;
obj.umkehrPunkt = (obj._width - (obj.mittelpunkt * 2)) / 2;
duplicateMovieClip(obj, "bild2", 1);
bild2._y = obj._y;
obj.onEnterFrame = function() {
this._x += (this.mittelpunkt - this._parent._xmouse) / 10;
if (this._x < -this.umkehrPunkt) {
this._x += this._width;
}
if ((this._x - this._width) > -this.umkehrPunkt) {
this._x -= this._width;
}
this._parent.bild2._x = this._x - this._width;
};
}
setzePano(bild);
http://www.flashangel.de/mx/fspanorama.swf
Liebe Grüsse
Matze K.FlashStar:
http://www.flashstar.de
[Flash Experimentals - News - Links]
Flashpower:
http://www.flashpower.de
[Flash Portal - Prototypes]
ActionScript Praxis:
http://www.actionscript-praxis.de
[Buchinfo - Ergänzungen - Zusatz Material]
Bücher zu Flash 8 und CS3:
HotStuff Buch -=- Professional Series Buch -=- Flash CS3 Powerworkshops
Ähnliche Themen
-
360° Panorama
Von S-AGE im Forum PhotoshopAntworten: 1Letzter Beitrag: 03.12.08, 20:33 -
Lupeneffekt für Bilder
Von YU-Koda im Forum Javascript & AjaxAntworten: 3Letzter Beitrag: 03.02.05, 02:56 -
360°-panorama
Von Alfred Eyrich im Forum Fotografie & DigitalfotografieAntworten: 9Letzter Beitrag: 07.10.04, 21:32 -
Panorama FLA
Von guruk im Forum Flash PlattformAntworten: 4Letzter Beitrag: 01.07.04, 20:14 -
Panorama?
Von DoedGrv im Forum PhotoshopAntworten: 4Letzter Beitrag: 19.06.02, 15:03





Login





