/ Forside / Teknologi / Multimedie & design / Flash / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
Flash
#NavnPoint
bentjuul 4251
molokyle 1978
Klaudi 1488
jhvp 1265
pallenoc 1160
katekismus 1020
Fnollerpi.. 790
slander 510
Dr.Disco 500
10  Flash77 500
to front
Fra : Bo Rattenborg


Dato : 18-03-02 20:40

er der muligt via actionscript at flytte et object foran et andet ?

Bo



 
 
Bo Kalvslund (19-03-2002)
Kommentar
Fra : Bo Kalvslund


Dato : 19-03-02 00:03

MovieClip.swapDepths

Syntax

anyMovieClip.swapDepths(depth);
anyMovieClip.swapDepths(target);
Arguments

target The movie clip instance whose depth that is being swapped by the
instance specified in anyMovieClip. Both instances must have the same parent
movie clip.

depth A number specifying the depth level where the anyMovieClip is to be
placed.

Description

Method; swaps the stacking, or z, order (depth level) of the specified
instance with the movie specified by the target argument, or with the movie
that currently occupies the depth level specified in the argument. 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.

Mvh. Bo

"Bo Rattenborg" <bo.rattenborg@[no spam]mail.dk> skrev i en meddelelse
news:a75fef$cvg$1@sunsite.dk...
> er der muligt via actionscript at flytte et object foran et andet ?
>
> Bo
>
>



Søg
Reklame
Statistik
Spørgsmål : 177501
Tips : 31968
Nyheder : 719565
Indlæg : 6408521
Brugere : 218887

Månedens bedste
Årets bedste
Sidste års bedste