948 Forum Posts by "Murch"
You could have an MC with a different background on each frame and have the button change the frame of that MC when it's clicked.
I figured it out now. I just had to declare the array outside of the function. All is good now. Thank you for your persistence.
I have a function called makeLvl which goes through and makes a square, changes its location on the stage, and then places it. Then it pushes the object into idArray and repeats the process until all the squares are made. I tried accessing both those booleans (redSquare and blueSquare) from inside this function and it worked fine without using root or parent. Outside of the function, on the same frame of code, i can't access idArray. It's like because idArray was declared inside the function makeLvl, it can't be used anywhere else.
Ok, i just realized the problem is not referring to attributes inside the class (which works, so mission accomplished), but rather referring to the array outside of the function it was defined in. I tried using root.idArray and stage.idArray, but neither work and i'm too tired to figure it out right now.
Thanks again, man! :)
Oh wow, the array worked this time. I must have been doing something stupid before. Thank you, sir!
If you could humor me one more question, is there any way to check attributes of an object of an external class? For instance, i have the external as3 file called Square and two boolean variables inside it called redSquare and blueSquare, so that i know the state a given object is in. My array of objects is called idArray, but the code:
txt3.text = "" + idArray[2].redSquare;
inside an onEnterFrame function is giving me the error "Access of undefined property idArray."
So, if i wanted to change the frame of a square with the name 3, i'd say 3.gotoAndStop(2)? I tried doing the MCs by array using the AS3:Main tutorial, but it wouldn't work, so i'd rather just do it this way.
I'm trying to make a game, kind of like whack-a-mole, which involves clicking red squares to make them blue again. I'm making all of the squares off of one class. I wanted to be able to refer to each square individually by some sort of id, so that i could have an array of ids. I know that MCs have a property, name, so i can set the names to something convenient like 0, 1, 2... and so on. The problem is, i don't know how to refer to an MC by its name (if that's even possible).
Anyone know what to do?
At 3/24/09 05:31 PM, Metal-Sonic-v2 wrote: People shouldn't be offended by words in the first place.
Words are the medium by which we express a feeling. If someone whose opinion you respect were to say something negative to you, it would have an effect. On the other hand, a person who is worthless to you shouldn't be able to offend you.
Words can have extreme power.
Please, let me see beyond your event horizon?
Perhaps too obscure for the majority
Probably because it's the only number which has the same amount of letters as its value.
I think snuck is informal compared to sneaked.
Like what was somewhat mentioned before, when you take the offer, you do some sort of survey or offer, BUT you have to get 10 OTHER people to do that offer and THEN you get the cash/prize. I'm pretty sure there are some forums where you can pay other people say 20$ (example) and they would help you complete the 10 people you need to get to have completed the said offer. The reason why this method is so profitable is because these ads get paid a premium to get people to fill surveys. As we know from this thread, hardly anyone completes these offers which makes them so profitable. IF anyone could find 10 trustworthy friends, they could have a great time filling out every one of these.
Those ARE really good.
At 8/20/07 05:20 PM, Slug-Gunner wrote: But that wouldn't be made by you, it would be made by some other people you and your brother don't even know. In the newgrounds Flash portal, try searching Flash MX Tutorials. You might find something there.
He didn't say, "make the game for me," he said "help with the graphics." You think that he will have a game with graphics???
Yea, lets just do a normal one, or it wont be part of this collab series. Maybe in a year or something we can make the 6th because then we would have more animating skills :P
There is a flash with 4.2 in the portal today :/
At 8/11/07 01:31 AM, salted-tator-tot wrote: The first link is a resident evil 5 movie I made after watching the new trailer, I was very bored.
The second one is a flash I made a day or two ago and it is about a boy and his many cats.
RE: 5 Bored Animation
Kitty :D
Both are broken, lol. :P
Top 5 games and top 5 movies each get $250 a certificate and various other nice things (basically like a goodie bag :D). You can go to the news section and there will be a Best of <insert month here>! And you can just check those for the best ones. It also has runner ups past just top 5 if that interests you.
Bored, so i started it, and bored so i won't finish it. :P
Well, you're using the songs as part of the entertainment. Try seeing what would happen if you didn't have any music 0_0.
That is pretty advanced, i don't think you would find a tutorial to make one.
Guess i had a misunderstanding about the junkycow situation. D:
Why don't you just go to the enemy attack anim on the last frame of the players attack, under certain circumstances...?
Even if he is on vacation, he should have had his act together long before he even went.
At 8/3/07 10:44 AM, Mechabloby wrote:At 8/3/07 10:43 AM, hijackreaper wrote: it's stillpouring out, i heard another huge bam, and it STILL scared the shit out of me. damnDon't you mean thunder?
Actually, the noise itself was thunder, but it came from lightning, which is what you were asking earlier.
At 8/2/07 01:22 PM, SDS-Doggy wrote: I deleted my first flash but luckily put it on YouTube, here's mine. This first flash was back in 2005 D:
Lol, i can't believe it's not butter, wtf?
You can check my first in my profile, it is FBF Crazy! Don't be alarmed by the score, i voted it up for a year to see how much i could influence it. Apparently, a LOT.
At 7/30/07 06:59 AM, 05user wrote: shut up you bitch u wouldn't say this in real life lol XD
In real life?? Do they have some kind of sticky note forum where you live??
At 7/28/07 06:02 AM, Kuoke wrote:At 7/28/07 05:59 AM, garrythehat wrote: huh? what? why? whats wrong with thatI think he wants you to post that you use MSN, I'm assuming from your Hotmail account.
Don't you think that this is a bit ironic? You know? Newbs trying to get better by helping out and getting help from other newbs?
Nah, the point of it is to try and mess around in flash with a partner so as to learn its tricks and learn how to get around, which is slower but better in my opinion than a newb with an expert. If you are a newb with an expert, you'll be confronted with too much material to learn and it won't be fun for the teacher whereas in this sitiuation, both parties learn and have together at the same time. :D

