作者Ake (放眼世界拥抱未来)
看板Flash
标题Re: 程式?
时间Sat Aug 9 08:25:37 2003
※ 引述《MartinID (yayaya~~~)》之铭言:
: 现在网页的东西越来越多需要跟程式扯上关系。..
: 什麽asp php...等我都不懂...
: 而flash的action script又是学好flash必懂的...
: 请问有程式底子的人 对於一个没碰过程式的人...
: 该怎嘛在这些看起来吓人的程式中下手呢??? :)
FLASH 的话,
初阶的,
从 gotoAndPlay(n), stop(), play(),
Mouse.show(), Mouse.hide()
button 的 on 事件,
有了以上几个, 就可以做出技术简单而内容有趣的flash了.
进阶一点,
movie clip的 _x, _y, _xscale, _yscale, _visible 属性
和 startDrag(), stopDrag()
Math.random()
if 条件式, 以及 for 回圈.
再进阶一点,
就开始用 movie clip 的 onClipEvent 事件,
loadMovie, duplicateMovieClip, removeMovieClip,
hitTest, 动态文字, input , function 等,
会了以上的, 大概可以写出一个flash game来了.
要跟 .htm , .asp , .php 有互动的话.
就要会 getURL, loadVariables, fscommand 等.
其实我觉得没有一定的学习流程,
用到的时候就自然会了. :p
(好像很懒的样子, 但我每天都有看书充实自己的 >_< )
不过,
如果连if和for回圈也学不来的话,
大概与程式设计无缘了...
---
以上纯粹个人意见, 欢迎批评指教.
--
Don't think that it's just a dream.
It'll become ture.
--
※ 发信站: 批踢踢实业坊(ptt.csie.ntu.edu.tw)
◆ From: 210.58.175.34
1F:推 qwe12340812:1XD 10/12 23:00