I just did ilyas’ grid tutorial, I took my time to fully understand the code. Now I got a whole lot of movie clips orginized in nice rows each with an individural name. What can I do now? I know a gird can do alot of things, I just dont know any of them. :-\ Can someone give me some additional code to mess around with, maybe explain it if it is confusing.
Here’s what I got so far. (excuse my variable names )
gridy=30;
gridx=30;
num=0;
for (var i=0;i < 10;i++)
{
for (var j=0;j < 10;j++)
{
mr.duplicateMovieClip(“mr”+num,num);
mc=this[“mr”+num];
mc._y=gridxi+30;
mc._x=gridyj+30;
stupid = Math.round( Math.random()*0xFFFFFF );
mybad = new color (_root.mc);
mybad.setRGB(stupid);
num++;
}
}
hey, pom… i have tried a bunch of times to get that effect where depending on your distance from a movie clip it will scale up or down… there are a couple of them in the grid contest thing… i was wondering how you do that… cuz every time i try it gives me this spasm and like grows bigger than the screen… can you please tell me how to do this?
it seems like if i take the absolute value of the distance from the x of the movie clip and the x of the mouse… it will always be ok… but once i get the mouse greater than the x… it spasms… and also… i dunno how to make it coincide with the y scale… cuz if i put the same thing pertaining to y… it scales all weird… i’m sure its much more complicated than i can come up with… i have no clue where to go from here…
Yeah, I learned that method after I posted my entries. I didn’t feel like going back and fixing all my files so I left them at my difficult way (I love doing things the hard way for some reason…just doesn’t make sense).
thanks, thats great… what would i do if i wanted to make it scale up if you are closer… or down for farther away… i think i may want to use this method on a menu of some sort… where the buttons scale up when you get closer… your help is very much appreciated… i wish i knew as much about flash as you guys here…
no, i dont mean on mouse moving up and down… i mean when you get closer to the movie clip, it gets bigger… and when you get farther it gets smaller… as opposed to as it is now…
thanks, thats great… i appreciate it… and ya that tsunami thingy was a little out of my league… for now anyway evil laugh… you will see… i am going to be the best flasher ever!.. (probably not though)… haha but thanks again…