| |||||||
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) |
| That's bat country! Registriert seit: May 2003 Ort: Berlin
Beiträge: 198
| Ebenenwechsel per AS
Hallo, ich habe folgendes Problem: Da liegen mehrere Objekte direkt nebeneinander auf der Stage, bei Mouse_Over werden diese vergrößert this[grafs].onRollOver = function() { this._width = this._width*1.2; this._height = this._height*1.2; } Das dumme ist nur, das Flash ja mit unterschiedlichen Tiefen arbeitet und jetzt passiert es, dass das jeweilige Objekte zwar größer wird, aber nun durch die anderen Objekte verdeckt wird, kann ich irgendwie sagen, dass das aktuell angeklickte Objekt immer im Vordergrund ist? Danke Jan
__________________ """"""""""""""""""""""""""""""""""""""" Hier können wir nicht halten, dass ist Fledermausland! Geändert von Kind (11-09-2003 um 14:36 Uhr) |
| | |
| | #2 (permalink) |
| Neuer User Registriert seit: Jun 2002 Ort: Muc
Beiträge: 501
|
Hi@Kind Schau dir mal swapDepth an in der Referenz vom Flash. MovieClip.swapDepths Availability Flash Player 5. Usage myMovieClip.swapDepths(depth) myMovieClip.swapDepths(target) Parameters target The movie clip instance whose depth is swapped by the instance specified in myMovieClip. Both instances must have the same parent movie clip. depth A number specifying the depth level where MovieClip is to be placed. Returns Nothing. Description Method; swaps the stacking, or z order (depth level), of the specified instance (MovieClip) with the movie specified by the target parameter, or with the movie that currently occupies the depth level specified in the depth parameter. Both movies must have the same parent movie clip. Swapping the depth level of movie clips has the effect of moving one movie in front of or behind the other. If a movie is tweening when this method is called, the tweening is stopped. See also _level
__________________ mfg. - - Mario - - Icq 124346551 : MyWebHome : flashworld.ch : photozauber.de : Fragen zu Flash bitte im Forum stellen, Danke |
| | |
![]() |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | |
| |