dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: AfternoonDelite

Page 1 of 16 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,142

    "use namespace" has to be used at the class...

    "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
  2. Replies
    6
    Views
    686

    Nice idea. Was able to make it on the top...

    Nice idea.

    Was able to make it on the top scores my first two tries! Wahoo!
  3. There are tons of threads on here about...

    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...
  4. Replies
    9
    Views
    3,310

    Sorry for raising this from the dead, but I was...

    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...
  5. I'm not sure instantiating a class dynamically is...

    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...
  6. Replies
    140
    Views
    12,115

    I haven't read all the posts, but I'm going 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...
  7. Replies
    3
    Views
    663

    Congrats on your first game. It wasn't very...

    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...
  8. Replies
    9
    Views
    1,694

    MXML is an easy, lazy way to lay out an...

    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...
  9. I'm guessing you're calling your function like...

    I'm guessing you're calling your function like this:


    addToSlot(shop[0]);


    If so, the quickest fix would be adding this:
  10. Replies
    9
    Views
    4,979

    I have an implementation in Java. I've thought...

    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.
  11. Replies
    1
    Views
    357

    Email sent.

    Email sent.
  12. Done. PM sent with code and contact...

    Done.

    PM sent with code and contact information.
  13. Replies
    5
    Views
    554

    PM sent.

    PM sent.
  14. Replies
    7
    Views
    1,539

    Vague, general questions usually have a rough...

    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...
  15. Spaceship.prototype.thrust = function():Void { ...

    Spaceship.prototype.thrust = function():Void
    {
    this.getComponents();
    if((this.speedX + this.accelX) < this.maxSpeedX) {
    this.speedX += this.accelX;
    }
    if((this.speedY +...
  16. The apple thing is impossible right now, isn't...

    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...
  17. Replies
    14
    Views
    4,486

    Yes, as long as that you can guarantee nothing...

    Yes, as long as that you can guarantee nothing else points to it.
  18. Replies
    7
    Views
    746

    function GalleryButton(event:MouseEvent):void{ ...

    function GalleryButton(event:MouseEvent):void{
    MovieClip(event.target).gotoAndPlay(2);
    }
  19. Replies
    13
    Views
    2,339

    Yeah, I understand that you're trying to set a...

    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...
  20. Replies
    19
    Views
    14,998

    PM sent

    PM sent
  21. Replies
    19
    Views
    14,998

    What exactly do you need help with? Sprites?...

    What exactly do you need help with?

    Sprites? Event handling? Classes? Packages?
  22. Replies
    13
    Views
    2,339

    I don't think I'm understanding The only...

    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...
  23. Replies
    13
    Views
    2,339

    I wouldn't really consider it a bug, though....

    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...
  24. Replies
    13
    Views
    2,339

    Why would you want to assign a var before calling...

    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...
  25. Replies
    2
    Views
    3,355

    If you don't have a reference, I'm guessing that...

    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.

    ...
Results 1 to 25 of 386
Page 1 of 16 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center