Lingo07-use the cast script Library

Source: Internet
Author: User

Dean's: http://www.deansdirectortutorials.com/scripting/tut14.htm


 

Just a bit clear about cast

Cast is a list. Cast member is the item, such as text, script, and palette.

Intuitively, cast is the tab in the cast window. The items in the tab are cast member and can be dragged into the stage.

This is different from the actual movie where only one cast is available.

Create CST

Open the cast window and press Ctrl + 3;

There is a function key under the cast tag. Open and select new cast;

In the new cast window that appears, enter the cast name and set storage to external. Make sure that use in current movie is selected and create;

Select the newly created cast and open the script window. The shortcut key is Ctrl + 0;

A script-type member will appear in the new cast.

Write a few words in script window.CodeFor example, go to the frame, set the Script Attribute to behavior, and press Ctrl + S to save the script. A dialog box Indicating to save the cast file is displayed;

Obtain the desired name in the desired place, and generate a. CST file.

Use CST

In other ctor projects, use file-> open (CTRL + O) to open the CST file;

The new cast will appear in the new cast window, and the form looks a little inactive at this time. You cannot merge it into the original cast window no matter how it is merged;

Drag the script member to score and a prompt will be displayed... View by yourself;

Select link... .

At this time, the new cast will be merged into the cast window of the current movie.

Remove external cast

Open movie casts window, and press Ctrl + Shift + C;

.


 

Note: When the script is not moved to the score, check whether you forget to modify the script to behavior.

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.