what is the use of depth?
how many methods for depth are available?

Answers were Sorted based on User's Feedback



what is the use of depth? how many methods for depth are available?..

Answer / kanu

depth works as layers works in flash.
used for determining stacking order of objects on the stage.


methods of depth are:
swapDepths()
getNextHighestDepth()
getInstanceAtDepth()

Is This Answer Correct ?    23 Yes 0 No

what is the use of depth? how many methods for depth are available?..

Answer / gopal

In flash there is one method is used to know the depth i.e.
getNextHighestDepth().

Is This Answer Correct ?    6 Yes 3 No

what is the use of depth? how many methods for depth are available?..

Answer / murali

The Depth is used to indicates the movie clip number.

Methods,

getNextHighestDepth()
getdepth()
swapdepth()
getInstanceAtDepth()

Is This Answer Correct ?    3 Yes 4 No

what is the use of depth? how many methods for depth are available?..

Answer / a.vinod vincent joseph

depths are normally used to present the depth (range) of
the object that we are going to use.eg.in what size(random)
this.createEmptyMovieClip
("variable",this.getNextHighestDepth());
likewise we also have swapDepths(),
getInstanceAtDepth().

Is This Answer Correct ?    2 Yes 4 No

Post New Answer

More Flash Action Scripting Interview Questions

How can we goto next Scene by giving code on a button inside a movie clip. in short. =>Scene 1. ====>MovieClip ======>Button [ on(release) { gotoAndPlay("Scene 2", 1); } ] =>Scene 2. This thing is not working. Please tell me the answer of how to goto next scene from this scene 1.

4 Answers   ABC,


user accessibility on your video project is a key factor. Which two features should you choose? : Adobe flash

0 Answers  


you have a video project that would best be served by using full screen mode. This needs to be done from within the browser, since you are not able to use a projector. Which publish settings should you use? : Adobe flash

0 Answers  


What will replace flash?

0 Answers  


Tell me what are the functions used with flash media?

0 Answers  






Do you know how does removal of actual objects and data work in actionscript?

0 Answers  


which code should be added to create a second blue square to the right of the first? : Adobe flash

0 Answers  


who can view flash? : Adobe flash

0 Answers  


what is flash tweening? : Adobe flash

0 Answers  


what is the best reason for using the geturl command, instead of the fscommand, when communicating with the host application? : Adobe flash

0 Answers  


what happens when you drag an object created with the oval tool to the library panel? : Adobe flash

0 Answers  


How to make synchronous data calls in actionscript?

0 Answers  


Categories