Flash scenes, layers (lawyer) and layer (level) understanding

Source: Internet
Author: User
For beginners, FLASH (here a FLASH8 for example) scene, layer (lawyer) and layer (level) is very easy to cause confusion 3 concepts, today to see everyone in the discussion on this topic, I think it is necessary to do a comparative system of research. Deficiencies I hope you will point out that I hope you have a role to play. The position relationship of each object of Flash animation is presented according to a certain layered structure. His root is the scene. There are multiple scenarios, in fact each scene is a stand-alone animation, Flash is by setting the order of each scene to play the animation of each scene, one by one, so we see the animation playback is continuous. When editing, an instance of each scene is not available in other scenarios, preferably edited in the same scene. The order of playback of the scene can be set by the window-panel-scene. For a specific scenario, the structure of the other scenes is the same. Contains one or more layers (lawyer), the key frames in each layer can be composed of one or more layers (level), layers of depth, an abstract concept, and layers are different concepts. Each layer can have different objects, and if an object is placed on a layer with another object, the original object is replaced by the new object. Layers can have multiple layers of structure, but these layers are not unordered and are in strict order. Generally, the bottom is level0, in this layer above is level1, then above is Level2, and so on. (In practice, the object is primarily a movie clip). The original part ended, below are some references.
Appendix
The following is a help document referencing FLASH8, about:
_level Property
_leveln
A reference to the root timeline of _level N. Before you use the _level property to locate a SWF file, you must use the Loadmovienum ()
Loads the SWF file into Flash Player. You can also use _level N to locate loaded SWF files for levels that are assigned by N. The initial SWF file loaded into the Flash Player instance is automatically loaded into the _level0. The SWF file in _level0 sets the frame frequency, background color, and frame size for all subsequently loaded SWF files. The SWF file is then stacked in a higher number level above the SWF file in _level0. You must assign a level to each SWF file that is loaded into Flash Player by using Loadmovienum (). You can assign levels in any order. If you have already included a SWF file in the level that you are assigning, the SWF file at that level will be unloaded and replaced by the new SWF file (_level0).

If you're still interested, take a look at one of the F8 help documents:
Getnexthighestdepth (Movieclip.getnexthighestdepth method)
Public getnexthighestdepth (): Number
Determines whether it can be passed to Movieclip.attachmovie (), Movieclip.duplicatemovieclip (), or
The depth value of the movieclip.createemptymovieclip () to ensure that Flash renders the movie clip in front of all other objects at the same level and on the same layer in the current movie clip. Returns a number with a value of 0 or greater (that is, no negative numbers are returned).
You can extend the methods and event handler functions of the MovieClip class by creating subclasses.
Note: Do not use this method if you are using the 2nd version of the component. If you place a version 2nd version of the component on the stage or library, the Getnexthighestdepth () method sometimes returns a depth of 1048676, which is outside the valid range. If you are using the 2nd version of the component, you should always use the version 2nd Component Depthmanager class.
There are a lot of levels related, such as:
Getdepth (Movieclip.getdepth method), Getinstanceatdepth (Movieclip.getinstanceatdepth method)
, Swapdepths (Movieclip.swapdepths method), Getdepth (Textfield.getdepth method), Getdepth (Button.getdepth method), etc. Interested please refer to the F8 Help documentation. Above the flash scene, layer (lawyer) and layer (level) to do a discussion, hope to help you. I also hope you can point out the deficiencies.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.