PDA

View Full Version : 2 noob questions



Tempest811
July 26th, 2003, 03:51 AM
Hey guys im new here and im also new to flash/as :|
i had 2 quick questions:

1: i want my entire screen to shake/jitter at a point in a movie...what is the script for making the entire screen shake? (if this isnt possible, just the movie window)

2: i already know how to do preloaders where something increases in width/height as the percentage porportionally increases but my friend who is a flash masta says he uses mc's. anyone know of a tutorial that explains how to have an mc play and end exactly when the loading is done? (if you cant actually have a mc play like that, how do u people make those preloaders where a little circle fills itself around or somethin like that?)

eyeinfinitude
July 26th, 2003, 04:15 AM
Take a look at this tutorial for the browser shake effect.

http://www.flashkit.com/tutorials/Special_Effects/Shaking_-Mark_Fen-7/index.php

Take a look at this thread to learn how to create a preloader that does what you're asking about.

http://www.kirupaforum.com/forums/showthread.php?s=&threadid=28906&highlight=special+preloader

Tempest811
July 26th, 2003, 04:24 AM
i wub you. :p

for the second one, tho, looking at that as, it seems that all that happens is more movie clips become visible as the bytes loaded increases. is there a way to get one movie clip (for instance, a cube that spirals towards the center of the screen) to just play at a speed according to the bytes total?

(dont mind my noobness im sure this is incorrect but i was thinking something like this)
mc_name.play({ rate: X })
having X be the variable that is governed by the bytesloaded?
it would be cool if that worked...but then again adjusting the rate a movie clip plays wont necessarily have it finish at the right time.

eyeinfinitude
July 26th, 2003, 04:35 AM
This sounds like what you're looking for, basically the same concept.

http://www.kirupaforum.com/forums/showthread.php?s=&threadid=29009&highlight=preloader