Zurück   Flashforum > Flash > ActionScript > ActionScript 1

Antwort
 
LinkBack Themen-Optionen Ansicht
Alt 11-09-2003, 14:35   #1 (permalink)
That's bat country!
 
Benutzerbild von Kind
 
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)
Kind ist offline   Mit Zitat antworten
Alt 11-09-2003, 14:58   #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
root_alpha ist offline   Mit Zitat antworten
Alt 11-09-2003, 15:06   #3 (permalink)
That's bat country!
 
Benutzerbild von Kind
 
Registriert seit: May 2003
Ort: Berlin
Beiträge: 198
Cool, das isses, vielen Dank!
__________________
"""""""""""""""""""""""""""""""""""""""
Hier können wir nicht halten, dass ist Fledermausland!
Kind 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 06:24 Uhr.

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


Copyright ©1999 – 2012 Marc Thiele