?? flash_3d教程——閃吧 flash8.htm
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0037)http://www2.flash8.net/teach/3741.htm -->
<HTML><HEAD><TITLE>FLASH_3D教程——從頭開始 教程 閃吧 Flash8 Flash MTV 閃客 動畫 源文件 教材 動漫 音效 矢量 軟件 字庫 排行榜 源碼</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META
content="flash,flash8,design,china,web design,dreamweaver,firework,flash,forum,3D,photoshop,動畫,卡通,閃吧,閃客,音效,字體,網站制作,建站程序,網頁設計,設計論壇,flash制作,資源,教學,Flash教學,Chinese Flash,Movie,Flash Movie,排行榜,中國閃客,論壇,Flash 作品,教學,教程,Flash MX 2004,Flash MX,下載,動畫,中國動畫,動漫,Macromedia Flash,FLA,SWF,Sound Library,tutorials,FAQ"
name=Keywords>
<META content=專業的中國flash資源門戶網站,為您提供Flash動畫以及網絡應用的相關資源 name=Description>
<STYLE type=text/css>BODY {
BACKGROUND-IMAGE: url(../images/bg.gif); MARGIN: 0px
}
.style1 {
COLOR: #999999
}
.style9 {
COLOR: #ff3300
}
.styled {
COLOR: #ff6600
}
.styleyw {
FONT-SIZE: 9px; COLOR: #999999
}
.stylefont {
FONT-SIZE: 14px; COLOR: #666666
}
.stylefont2 {
FONT-SIZE: 13px; COLOR: #666666
}
.styletopic {
FONT-SIZE: 15px; COLOR: #5500aa
}
</STYLE>
<SCRIPT src="FLASH_3D教程——閃吧 Flash8.files/flash8.js"></SCRIPT>
<LINK href="FLASH_3D教程——閃吧 Flash8.files/f8.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.2668" name=GENERATOR></HEAD>
<BODY>
<SCRIPT language=JavaScript
src="FLASH_3D教程——閃吧 Flash8.files/head_teach.js"></SCRIPT>
<TABLE cellSpacing=0 cellPadding=0 width=778 align=center border=0>
<TBODY>
<TR>
<TD vAlign=top bgColor=#ffffff>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD
background="FLASH_3D教程——閃吧 Flash8.files/diandian.gif"> </TD></TR>
<TR>
<TD background="FLASH_3D教程——閃吧 Flash8.files/dot_line_bg.gif"
height=20>
<DIV align=left><SPAN class=style1><IMG height=5
src="FLASH_3D教程——閃吧 Flash8.files/spacer.gif" width=15><A
href="http://www.flash8.net/">閃吧首頁</A> <IMG height=10
src="FLASH_3D教程——閃吧 Flash8.files/to.gif" width=7> <A
href="http://www2.flash8.net/teach/">教材區</A> <IMG
height=10 src="FLASH_3D教程——閃吧 Flash8.files/to.gif" width=7> <A
href="http://www2.flash8.net/teach/list.aspx?c_id=1055">Flash教學</A> <IMG
height=10 src="FLASH_3D教程——閃吧 Flash8.files/to.gif" width=7> <A
href="http://www2.flash8.net/teach/list.aspx?c_id=1055&s_id=1080">Action應用</A> </SPAN><BR></DIV></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
<TBODY>
<TR>
<TD height=8></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=778 align=center border=0>
<TBODY>
<TR>
<TD vAlign=top bgColor=#ffffff>
<TABLE cellSpacing=0 cellPadding=0 width=600 align=center border=0>
<TBODY>
<TR>
<TD vAlign=top>
<TABLE cellSpacing=0 cellPadding=0 width=559 align=center
border=0><TBODY>
<TR>
<TD background="FLASH_3D教程——閃吧 Flash8.files/teach_head.gif"
height=14></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=559 align=center
border=0><TBODY>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width=559 border=0>
<TBODY>
<TR>
<TD width=10
background="FLASH_3D教程——閃吧 Flash8.files/teach_left.gif"></TD>
<TD height=120>
<TABLE cellSpacing=0 cellPadding=0 width=515
align=center border=0>
<TBODY>
<TR>
<TD width=30
background="FLASH_3D教程——閃吧 Flash8.files/xianxian.gif"
height=20><IMG height=20
src="FLASH_3D教程——閃吧 Flash8.files/teach_topic.gif"
width=30></TD>
<TD
background="FLASH_3D教程——閃吧 Flash8.files/xianxian.gif">
<DIV align=left><SPAN
class="styletopic btd">FLASH_3D教程——從頭開始</SPAN>
<BR></DIV></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=515
align=center border=0>
<TBODY>
<TR>
<TD height=4></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=515
align=center border=0>
<TBODY>
<TR>
<TD bgColor=#bbbbbb height=2></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=515
align=center border=0>
<TBODY>
<TR>
<TD class=stylefont2 height=28>作者:<A
href="http://www.flash8.net/user/teach.asp?username=kianxin">kianxin</A> 來源:<A
href="http://www2.flash8.net/teach/"
target=_blank>閃吧</A>
<TD>
<TR>
<TD height=20><SPAN class=style1>時間:
2005年8月8 類型: 原創 </SPAN></TD>
<TR>
<TD height=20><IFRAME
src="FLASH_3D教程——閃吧 Flash8.files/click.htm"
frameBorder=0 width=500 scrolling=no
height=20></IFRAME></TD>
<TR>
<TD height=20><SPAN class=style1><A
onclick="tURL('教材區|FLASH_3D教程——從頭開始',3741,'tutorials');return false"
href="http://www2.flash8.net/teach/<%=id%>">收藏</A> <A
onclick="open_win(this.href,'send',500,400,'no');return false"
href="http://www2.flash8.net/teach/send.asp?title=FLASH_3D教程——從頭開始&url=http://teach.flash8.net/3741.htm">發送</A>
<A
href="http://www2.flash8.net/teach/3741.htm#gbook">評論</A>
<%=votevote%><A
href="javascript:printNews()">打印</A>
<SCRIPT>
function runCode(){
var code=event.srcElement.parentElement.children[0].value;
with(window.open("")){
opener = null
document.open("text/html")
document.write(code);
document.close();
}
}
function copyCode(){
var obj=event.srcElement.parentElement.children[0];
obj.select();
obj.createTextRange().execCommand("Copy");
}
function printNews(){
sHTML="<title>FLASH_3D教程——從頭開始<\/title><center>FLASH_3D教程——從頭開始</center><br>"+document.getElementById("txts").innerHTML+"<script defer>window.print()<\/script>"
document.write(sHTML)
}
function setFont(n){
event.returnValue=false
document.getElementById("txts").runtimeStyle.fontSize=n;
}
</SCRIPT>
字體選擇: <A onclick=setFont(15)
href="http://www2.flash8.net/改變字體為大">大</A> <A
onclick=setFont(14)
href="http://www2.flash8.net/改變字體為中">中</A> <A
onclick=setFont(12)
href="http://www2.flash8.net/改變字體為小">小</A></SPAN>
</TD></TR></TBODY></TABLE></TD>
<TD width=9
background="FLASH_3D教程——閃吧 Flash8.files/teach_right.gif"></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD background="FLASH_3D教程——閃吧 Flash8.files/teach_r4_c2.gif"
height=13></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=778 align=center border=0>
<TBODY>
<TR>
<TD vAlign=top bgColor=#ffffff>
<TABLE style="TABLE-LAYOUT: fixed" cellSpacing=0 cellPadding=0 width=600
align=center border=0>
<TBODY>
<TR>
<TD class=content id=txts><BR>
<DIV align=center>FLASH_3D教程——從頭開始</DIV>
<DIV></DIV>
<P>
<DIV align=center>作者kianxin</DIV>
<DIV></DIV>
<P>
<DIV><FONT face=宋體></FONT><BR><IMG
src="FLASH_3D教程——閃吧 Flash8.files/fla.gif" border=0> <A
href="http://www.flash8.net/bbs/viewFile.asp?Boardid=10&ID=261629"
target=_blank>點擊瀏覽該文件</A><BR><BR><IMG
src="FLASH_3D教程——閃吧 Flash8.files/swf.gif" border=0> <A
href="http://www.flash8.net/bbs/UploadFile/2005-8/200586131420726.swf"
target=_blank>點擊瀏覽該文件</A><BR><FONT face=宋體></FONT></DIV>
<DIV></DIV>
<P>
<DIV><FONT
face=宋體>大家都知道三維的點都有3個坐標,但FLASH只是有二維的坐標,所以要在FLASH里實現“三維”的效果,就需要對點的坐標進行轉化,簡單的說,就是怎么把三維坐標轉換成二維坐標。(其實,這并不是真正的三維,而是一種視覺欺騙,看上去像三維的就這么回事。所以上面三維帶引號。)</FONT></DIV>
<DIV></DIV>
<P>
<DIV><FONT face=宋體>一、三維坐標系轉化成二維坐標系</FONT></DIV>
<DIV></DIV>
<P>
<DIV><FONT face=宋體>(1)、坐標的轉換</FONT></DIV>
<DIV></DIV>
<P>
<DIV><FONT
face=宋體> flash中場景左上角為(0,0),而在數學中是場景中心為(0,0),怎樣把它轉成數學中的坐標系呢? </FONT></DIV>
<DIV></DIV>
<P>
<P>
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD>
<DIV>
<DIV><FONT face="Times New Roman">FLASH</FONT>里的坐標視圖</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV></DIV></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD>
<DIV>
<DIV><FONT face="Times New Roman">x</FONT></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV></DIV></TD></TR></TBODY></TABLE><FONT
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -