Attachmovie method of Flash

Source: Internet
Author: User
Attachmovie (movieclip. attachmovie method) Public attachmovie (ID: String, name: String, depth: Number, [initobject: object]): movieclip retrieves a component from the library and attaches it to the video clip.
Use movieclip. removemovieclip () or movieclip. unloadmovie () to delete the SWF file appended using the attachmovie () method. You can create child classes to expand the movieclip class methods and event processing functions. Availability: ActionScript 1.0 and Flash Player 5Parameters: ID: String-the name of the link to the video clip element to be appended to a video clip on the stage. This is the name entered in the "identifier" field in the "Link Properties" dialog box. Name: String-the unique name of the video clip instance appended to the video clip. Depth: Number-an integer that specifies the depth level of the position where the SWF file is stored. Initobject: object [Optional] (supported by Flash Player 6 and later) contains the object to be used to fill in the attributes of the newly attached video clip. This parameter enables dynamically created video clips to receive the editing parameters. If initobject is not an object, ignore it. All attributes of initobject have been copied to the new instance. The attributes specified by initobject are available for constructors.

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.