dreamweaver| the function of DW is too powerful, the special effects of light layer can write a lot of things out. Slide with Flash is very easy, the effect is very good, but some people do not like it, the main reason is that it needs plug-in support. In Java, it affects the browsing speed of web pages, nor is it a desirable method. Is there a compromise approach? There, DW can be achieved, it achieved the effect of although less than Flash,java, but it has its advantages, the production of simple, fast browsing speed, without plug-in support.
>> implement slide effect with DW ( See example ) I think this effect is not too bad than the Java do, read the fourth section of the tutorial friends, learn This example is much easier. This example mainly uses the timeline and displays the hidden layer effect. Here we begin:
1. Please prepare a few pictures of the same size, GIF animation will do.
2. You have to do a few slides to do a few hidden layers, insert your picture in the layer. This example is three slides, we do three hidden layers, do the hidden layer must be three layer coordinates, or you can change the picture will find a displacement phenomenon. I'll teach you a little way, is to do a hidden layer out, copy this layer, copy the layer coordinates are the same, but you have to change the picture in the layer, but also to change the name of the layer, duplicate the layer name (in the property of the floating bar change).
3. Press CTRL+F9 to tune out the Timeline edit window and add three layers to three animation tracks respectively. Put the track like the image below.
4. In the position of the first frame, add the Behaviors event, double-click the behavior track above the first frame, jump out of the Behaviors edit window, click to select Show-hide Layers, come out show-hide edit window, Select Layer1 and click OK.
5. Double-click the behaviors track at 15 frames, jump out of the beahoviors window, join the Show-hide layers event, this time to join the event is to hide layer1. When the animation to 15 frames to change the picture, so at 15 frames also want to add a show-hide layers event, this is the show layer2. After adding two events to 15 frames, the Behaviors window shows the following figure:
6. Add two behaviors events at frame 29th, one to hide Layer2 and the other to show Layer3, which is changing the picture. If you have more than 3 slides, you can add two behaviors events after a frame.
7. At the last frame, add the hidden layer3 behaviors event.
8. There is also a bit of cleanup work to select the Autoplaly and loop in the Timelines window. When you're done, drag the small square to coincide with the last frame of the behaviors, so you can avoid a pause when a frame is not displayed while repeating the animation. The last frame of the behaviors event is shown in figure:
This tutorial is almost over, the next section is about using DW3 to do the scroll board, the same time to use the timeline.
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