dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: egdcltd

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Ah, I think I've found what's causing the...

    Ah, I think I've found what's causing the problem. In the ShootingGame.as file (playScreen) there are a number of objects added using DocumentClass.stage.addChild(object);

    Removing them before...
  2. Yes, it is my main DocumentClass. I have used the...

    Yes, it is my main DocumentClass. I have used the same code in other games without this problem.

    Using trace gives the result [object DocumentClass] when used in the DocumentClass, gameOver and...
  3. Error #2025: The supplied DisplayObject must be a child of the caller.

    I'm getting this error in the following script:


    package com.main.classes
    {
    import flash.display.MovieClip;
    import flash.display.SimpleButton;
    import flash.events.MouseEvent;
    import...
  4. Replies
    0
    Views
    296

    [MX04] Weird Tweener problem

    I've been using caurina Tweener in a Flash game. It was working fine with no problems. Now, suddenly, it isn't. No changes have been made to the code at all, but when the game is tested the...
  5. [MX 04] Pause and restart background sound loop

    I'm having problems pausing and restarting a background sound loop. My existing code works fine for everything else but not for this.


    soundOn = true;
    function playSound(name) {
    if (soundOn) {...
  6. Replies
    5
    Views
    423

    The collisions seem to be happening well beyond...

    The collisions seem to be happening well beyond the bounding box, even allowing for rotating it.
  7. Replies
    5
    Views
    423

    I've been testing the script again, and it seems...

    I've been testing the script again, and it seems objects are colliding beyond what should be the bounding box. Is there any way of checking what area the boundind box is covering?
  8. Replies
    5
    Views
    423

    I would say it's currently checking for the...

    I would say it's currently checking for the bounding box, rather than the shape.


    if (flame.hitTest(car1))

    I tried replacing it with this


    if...
  9. Okay, got the required frame to play thanks....

    Okay, got the required frame to play thanks. However, the location where the frame is being played is the new instance of rock, not the old one. Any idea on how I fix this?
  10. Replies
    5
    Views
    423

    [MX04] hitTest problem

    I'm running hitTest for when two movie clips hit each other, but I've noticed that they are considered to have collided even when the graphics haven't. How does hitTest decide the area covered by the...
  11. I think in the first post I used the wrong term....

    I think in the first post I used the wrong term. In Scene1, there is a movie clip called "rock", and I want it to play the sequence from the mc that starts with the frame called "explodered".
  12. The scene already has a label, "explode red"

    The scene already has a label, "explode red"
  13. Want to run a movie clip scene in a code[MX04]

    In this section of code, I want to play the scene "explode red" from the Mvie Clip "rock". How do I do it?


    if (flame.hitTest(car1)) {
    trace("burned car1");
    resetFlame();
    reset(car1);...
  14. Replies
    0
    Views
    1,133

    Looking for royalty free fantasy art

    Can anyone suggest any sites where I can get royalty free fantasy images, either totally free, really small charge for usage, or image collections in either download or cd format? Please note, most...
  15. Replies
    1
    Views
    298

    [MX04] PHP & Flash

    Can you call PHP in Flash files? specifically phpBB which uses some different programming to standard PHP.
  16. Thread: Flames

    by egdcltd
    Replies
    0
    Views
    617

    Flames

    I want to create a row of animated flames, but I don't know how. I've read a number of threads on similar topics, but I'm no better off. Can this be done in Flash? (I also appear to have Animation...
  17. Thread: Hiscore Script

    by egdcltd
    Replies
    7
    Views
    512

    Thanks, I'll give it a try. I don't think I...

    Thanks, I'll give it a try.

    I don't think I can currently write good enough games that I'll overload my server yet. Need more practice.
  18. Thread: Hiscore Script

    by egdcltd
    Replies
    7
    Views
    512

    Don't know much about XML, so would any other...

    Don't know much about XML, so would any other code be required in crossdomain.xml and is the * the php file that would post the highscore?
  19. Thread: Hiscore Script

    by egdcltd
    Replies
    7
    Views
    512

    Reading the tutorial, it looks like the Flash...

    Reading the tutorial, it looks like the Flash game & high score file both need to be on the same website although I'll look into it. I really want one which will work when the games are on other...
  20. Thread: Hiscore Script

    by egdcltd
    Replies
    7
    Views
    512

    Hiscore Script

    I'm looking for a hiscore script that will post scores from a Flash game to (preferably) a MySQL database and will also display a hiscore table in the Flash game, even if the game is on a different...
  21. Replies
    2
    Views
    1,815

    Never mind, I found one, called Robotron

    Never mind, I found one, called Robotron
  22. Replies
    2
    Views
    1,815

    Looking for a font

    I'm looking for a font, unfortunately I have absolutely no idea what it is called.

    It's a "futuristic computer" font that you often found in the older games (like from the 80's)
  23. Replies
    2
    Views
    319

    Thanks, if you could PM that to me it would be...

    Thanks, if you could PM that to me it would be appreciated.
  24. Replies
    2
    Views
    319

    Trying to make a slider puzzle

    I'm trying to make a slider puzzle game, but I'm having problems.

    Firstly, keeping track of the number of moves made. The number should just increase with every valid move made, but is actually...
  25. Replies
    5
    Views
    264

    Tnaks for the help; I was trying to get the sound...

    Tnaks for the help; I was trying to get the sound to play from a movie clip on the main frame. Forgot to name the movie clip instance though, didn't I? Duh.
Results 1 to 25 of 37
Page 1 of 2 1 2




Click Here to Expand Forum to Full Width

HTML5 Development Center