Flash 8 components: scrollpane Components

Source: Internet
Author: User

Flash components are useful if they are used properly. In fact, flex components are also useful, maybe one day, flex and flash will be integrated into a more powerful development environment. I don't know if there is such a day. Today, we recorded the components used in Flash 8 as notes.

 

Scrollpane component

 

This component can be used to browse images or some articles.

The following describes how to use it:

 

First, drag the scrollpane component to the stage to change the size. You can customize the size here.

Step 2: Create a new video clip. How many images can we add to the video clip?

Step 3: Open the library and select a link in the video clip to add an ID

Step 4: enter our parameters in contentpath of component parameters.

Step 5: Export SWF and you will see

Component parameter panel

Feelings:

This component is not difficult to use. The key is to set the link ID in the video clip. You can set the link ID in the component parameter contentpath.

This is the simplest method. We can see that flash magazines use such components.

Similarly, you can use the code to connect to a video clip:

Use a component's contentpath attribute

Assume that the video clip connection ID is first and the component name is SSS.

Write SSS. contentpath = "first" in the first frame ";

This connection is also possible.

You can try it yourself.

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.