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.