Thursday, July 29th 2010, 1:22pm UTC+2

You are not logged in.

  • Login
  • Register

teror

Beginner

Posts: 10

Location: Port Arthur, Texas

1

Monday, February 25th 2008, 3:03pm

Wie kann ich per Mausklick MC's in den Vordergrund holen?

Ich habe mehrer Bilder die ich via Drag & Drop auf der Hauptbühne bewegen kann. Alle Objekte werden per Script auf die Bühne geladen und haben somit ein fest definiertes Level.


Meine Frage :

Wie kann ich das jeweils angewählte Bild in den Vordergrund holen per ActionScript?
  • Go to the top of the page

2

Monday, February 25th 2008, 4:47pm

Es gäbe die Möglichkeit mit "getNextHighestDepth()" oder mit "swapDepths ()" zu arbeiten.



mfg ;)
  • Go to the top of the page

teror

Beginner

Posts: 10

Location: Port Arthur, Texas

3

Monday, February 25th 2008, 4:55pm

thx, funktioniert alles bestens !!!

TeRoR
  • Go to the top of the page

4

Monday, February 25th 2008, 5:10pm

... und wie hast du es gelöst? :P
  • Go to the top of the page

teror

Beginner

Posts: 10

Location: Port Arthur, Texas

5

Monday, February 25th 2008, 5:40pm

Ja . hab einfach bei jedem Bild bei der Funktion onPress "swapDepths ("Zahl der höchsten Ebene")" angefügt.

Funktioniert bis jetzt prima.
  • Go to the top of the page