Search:
Type: Posts; User: AfternoonDelite
Search:
Search took 0.05 seconds.
-
"use namespace" has to be used at the class declaration level, if I'm not mistaken.
I can't test this right now, but does this work?
package {
/**
* @author Chris Foulston
-
Nice idea.
Was able to make it on the top scores my first two tries! Wahoo!
-
There are tons of threads on here about optimizing code.
This is from the main page: http://board.flashkit.com/board/showthread.php?t=780650
But, you say that the for loops are in the bullet...
-
Sorry for raising this from the dead, but I was hoping someone could shed some light on an issue I'm having.
I've recently had an opportunity to get back into Flash, and I got a copy of CS4. When...
-
I'm not sure instantiating a class dynamically is really the way to go with this.
I'm assuming that all of your levels inherit from the Level class? If I were you, I'd create a format in XML to...
-
I haven't read all the posts, but I'm going to give my two cents.
I think the IDE is the main issue. They decided to go with a more OOP approach, but they hardly changed their IDE. It makes it...
-
Congrats on your first game.
It wasn't very attractive to me at all. Game play or presentation. I found it difficult and sometimes rather annoying trying to maneuver my circle to match the size of...
-
MXML is an easy, lazy way to lay out an application. You wouldn't get as much functionality as you would using ActionScript.
Flex, in all, is pretty nice, though. Especially with the student...
-
I'm guessing you're calling your function like this:
addToSlot(shop[0]);
If so, the quickest fix would be adding this:
-
I have an implementation in Java.
I've thought about building one in AS3. If I do, I can let you know. Might tonight for the hell of it, actually.
-
-
Done.
PM sent with code and contact information.
-
-
Vague, general questions usually have a rough time being answered.
If you'd like a better response, your chances heighten if you are more specific. Such as what it is exactly you're having trouble...
-
Spaceship.prototype.thrust = function():Void
{
this.getComponents();
if((this.speedX + this.accelX) < this.maxSpeedX) {
this.speedX += this.accelX;
}
if((this.speedY +...
-
The apple thing is impossible right now, isn't it? I feel as if I can't even get past the middle. I tried the bottom and the top of the tree but couldn't find an entry point.
Anyway, the engine...
-
Yes, as long as that you can guarantee nothing else points to it.
-
function GalleryButton(event:MouseEvent):void{
MovieClip(event.target).gotoAndPlay(2);
}
-
Yeah, I understand that you're trying to set a variable that the super constructor will use. But theoretically, that's only misusing inheritance.. and therefore, it's not a 'bug'.
The best...
-
-
What exactly do you need help with?
Sprites? Event handling? Classes? Packages?
-
I don't think I'm understanding
The only real point of inheritance, that I understand, is to reduce code -- lack of repetition.
Why would you need to initialize a parent's variable that the...
-
I wouldn't really consider it a bug, though. Maybe even more of a bug that the others worked.
I don't think the variables should be initialized before the super constructor. All variables that...
-
Why would you want to assign a var before calling the super constructor?
You couldn't assign a var before calling the constructor when instantiating an object for Test1. Why would you want to do...
-
If you don't have a reference, I'm guessing that if you remove it from the display list.. since it will have nothing pointing to it, it will be garbage collected.
...
|
Click Here to Expand Forum to Full Width
|