Be a Supporter!

Help with adjusting snow effect cod

  • 228 Views
  • 2 Replies
New Topic Respond to this Topic
maniac1122
maniac1122
  • Member since: Aug. 21, 2005
  • Offline.
Forum Stats
Member
Level 01
Blank Slate
Help with adjusting snow effect cod 2005-09-08 14:31:35 Reply

i created a dot representing a snowball with instance name "snow", with another layer named action where i kept the action code.

I need to create a snow effect, I made this code which seems fine:- for (k=0; k<50; k++) {
duplicateMovieClip(_root.snow, "snow"+k, k);
}
The problem is, i cant fit it into my 450x300 screen, its stays at 200x200, what do i have to do next to make it 450-300, any help is appreciated

Darkaxl
Darkaxl
  • Member since: Oct. 23, 2004
  • Offline.
Forum Stats
Member
Level 08
Blank Slate
Response to Help with adjusting snow effect cod 2005-09-08 14:33:47 Reply

http://www.kirupa.co..eveloper/mx/snow.htm
one hell of a sweet tutorial site its got everything.


BBS Signature
maniac1122
maniac1122
  • Member since: Aug. 21, 2005
  • Offline.
Forum Stats
Member
Level 01
Blank Slate
Response to Help with adjusting snow effect cod 2005-09-08 14:45:43 Reply

actually i got it from there, but when i type the second part of the code i get this error:-

Symbol=snow, Layer=Layer 1, Frame=1: Line 16: Clip events are permitted only for movie clip instances
onClipEvent (enterFrame) {