📄 advanced7.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.style1 { color: #003366;
font-weight: bold;
}
.style2 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
}
.underline { text-decoration: underline;
}
.style3 {
font-size: 24px;
font-weight: bold;
}
.mainlink { font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: normal;
font-weight: bold;
color: #000080;
}
.style7 {font-size: 12px}
.style8 {font-family: Verdana}
a:link {
color: #0000FF;
}
-->
</style>
</head>
<body>
<h2 class="style2 style3"><span style='font-family:Verdana'>Using the 3DBook
component</span></h2>
<p class="style7" style="font-family: Verdana"><span class="style2">The </span><span class="style1">3D
Book</span> <span class="style2">component is almost the same as
the 3D Box component, but with an additional feature to allow it to display an object such as a book instead of a box. <span style="font-family: Verdana">This component is useful to create book-like 3D objects. These can be used for: books, DVD boxes, video cassette cases and so on...</span></span></p>
<p class="style7" style="font-family: Verdana"><span style="font-family: Verdana">1. Open your
box pattern in <span class="style1">'box.fla'</span> as created in the <a href="advanced2.htm" target="_self"><strong>Controlling the dimensions</strong></a> tutorial or create a
new one:</span></p>
<p class="style7"><span style="font-family: Verdana"><img src="images/image71.gif" width="367" height="258"></span></p>
<p class="style7"><span style="font-family: Verdana"><br>
2. Create six movieclips
as usual and name them: <span class="style1"> "left"</span>, <span class="style1">"right"</span>, <span class="style1">"top"</span>, <span class="style1"> "bottom"</span>, <span class="style1"></span> <span class="style1"><span class="style1">"front"</span></span> and <span class="style1">"back"</span>.</span></p>
<p class="style7"><span style="font-family: Verdana">3. Copy and paste the file <span class="style1">"3D
BookLive.swf"</span> into the same folder as your movie (this is needed
for the 3D Book advanced live preview. Read more about this here: </span><a href="advanced1.htm" target="_self" class="style8"><strong>Using
advanced live preview</strong></a>.</p>
<p class="style2">4. Go back to your
main timeline and drag an instance of the <span class="style1">3D Book</span> component from
the Components Panel and drop it onto the stage.</p>
<p class="style2">5. Test your movie in order to prepare the required swf file for the advanced live preview (ctrl-enter).</p>
<p class="style2">6. Enter the <span class="style1">"content"</span> parameter
in the <span class="style1">3D
Book</span> properties
window: <span class="style1">"top,right,front,back,left,bottom"</span>.</p>
<p class="style2">7. Test your movie again and verify that a <span class="style1">3D box</span> has been is successfully
created.</p>
<p class="style2">8. Now edit the <span class="style1">"right" </span>movieclip, reducing the vertical size (height) of content in this movieclip. Ensure that the contents is still aligned in the center (center registration point): </p>
<p class="style2"><img src="images/image72.gif" width="371" height="258"></p>
<p class="style2"><br>
9. Next, edit the
<span class="style1">"top"</span> movieclip and reduce the horizontal size (width). Ensure that the alignment of the left edge of the clip's content does not change. Do the same with the <span class="style1">"bottom"</span> movieclip:</p>
<p class="style2"><img src="images/image73.gif" width="371" height="258"></p>
<p class="style2"><span style="font-family: Verdana"><br>
10. With
the <span class="style1">3D Box</span> component we would get two
holes in the corners now, however the <span class="style1">3D
Book</span> component knows to shift the </span><span class="style1">"right"</span>,<span class="style1"> "top"</span><span style="font-family: Verdana"> and
</span><span class="style1">"bottom"</span><span style="font-family: Verdana"> sides
to connect them inside like this: </span></p>
<p class="style2"><span style="font-family: Verdana">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="260" height="260">
<param name="movie" value="images/image74.swf">
<param name="quality" value="high">
<embed src="images/image74.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="260" height="260"></embed>
</object>
</span></p>
<p class="style2"> </p>
<p class="style2 style8"> </p>
<p class="style2 style8"> </p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -