主题:  雪花效果

hehj

职务:普通成员
等级:1
金币:0.0
发贴:78
注册:2000/12/2 15:34:44
#12001/3/19 19:37:43
第一帧
Set Variable: "maxballs" = 100
Set Variable: "i" = 1
Set Property ("ball0", Visibility) = 0

第五帧
Duplicate Movie Clip ("ball" & (i - 1), "ball" & i, i )
Set Property ("ball" & i, Y Position) = GetProperty ( "ball" & (i - 1),_y ) + (i / 5)
Set Property ("ball" & i, X Position) = GetProperty ( "ball" & (i - 1),_x ) - 2
Set Property ("ball" & i, X Scale) = GetProperty ( "ball" & (i - 1),_xscale ) + 1
Set Variable: "i" = i + 1

第六帧
If (not (maxballs < i))
Go to and Play (5)
Else
Stop
End If
用了以上代码后无法产生雪花效果这是为什么?



Demon.S

职务:版主
等级:5
金币:10.0
发贴:2468
注册:2000/9/15 13:56:49
#22001/3/20 2:16:13
场景中需要有ball0这个mc一直出现在动画过程中。