dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: kraxyk

Page 1 of 16 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    3,489

    ok everything is working right now. The only...

    ok everything is working right now. The only problem i am having is detecting what the score is so I can have a picture change so I have this code and everything above the last //comment works. I...
  2. Replies
    12
    Views
    3,489

    well it seems the problem is because I am not...

    well it seems the problem is because I am not using a duplication script and instead am putting that code on all the dropping money mc's. Do you have a duplicating random x script idea?
  3. Replies
    12
    Views
    3,489

    ok through your code which I modified some of the...

    ok through your code which I modified some of the names of instances...I got it to partially work, it recognizes the hit but it restarts everything on the frame, like the objects falling flash and...
  4. Replies
    12
    Views
    3,489

    ok so on my frame i have just stop(); on my...

    ok so on my frame i have just stop();
    on my falling object I have all this

    onClipEvent (enterFrame) {
    this._y += 5;
    if (this.hitTest(_root.pig)) {
    this._x = 10.5;
    this._y = -54.5;
    }...
  5. Replies
    12
    Views
    3,489

    ok, I have a hitTest that is supposed to update...

    ok, I have a hitTest that is supposed to update the variable so the text of the score will go up one every time. But unfortunately, it works but it doesn't. It passes the number to the variable but...
  6. Replies
    12
    Views
    3,489

    like collect the falling money, that kind of game...

    like collect the falling money, that kind of game is what I am trying to achieve
  7. Replies
    12
    Views
    3,489

    Falling Objects Game

    Can anyone steer me in a direction on how to build one? Like have money graphic fall down and if it hits a wallet your score goes up by one? But it keeps looping. Is there any easy way of doing this....
  8. Replies
    7
    Views
    497

    MX04 what if I used this on an empty movie clip ...

    what if I used this on an empty movie clip

    onClipEvent (load) {
    //moneyupdate
    var scoreupdate = function () {
    _root.score.text = _global.score;
    _global.endcall = true;
    };
    var...
  9. Replies
    7
    Views
    497

    MX04 um its just my luck, its like the text just isn't...

    um its just my luck, its like the text just isn't refreshing
  10. Replies
    7
    Views
    497

    MX04 Thanks but, well, the game is NSFW...so it might...

    Thanks but, well, the game is NSFW...so it might not be a good idea to post it
  11. Replies
    7
    Views
    497

    MX04 ok I tried this and the other method mentioned...

    ok I tried this and the other method mentioned and neither worked


    if (_root.money.hitTest(_root.pig)) {
    _global.score += 1;
    }
    _root.score.text = _global.score;
    stop();
  12. Replies
    7
    Views
    497

    MX04 [RESOLVED] score doesn't work

    ok I have a hitTest that is supposed to update the variable so the text of the score will go up one every time. But unfortunately, it works but it doesn't. It passes the number to the variable but...
  13. Replies
    6
    Views
    1,016

    MX04 ok basically I'm having a lot of trouble. how...

    ok basically I'm having a lot of trouble. how would I create something like this

    **NSFW**

    Game Link
  14. Replies
    6
    Views
    1,016

    MX04 thanks unfortunately that doesn't help much....

    thanks unfortunately that doesn't help much. Because my problem is how do I tell it to create lots of them and at random x's. Sorta like falling snow or rain. Kinda like this coin falling. Except I...
  15. Replies
    6
    Views
    1,016

    MX04 ok so I would use (Math.random(this._x)); ?

    ok so I would use
    (Math.random(this._x)); ?
  16. Replies
    6
    Views
    1,016

    MX04 basically I have to figure out a way to make an...

    basically I have to figure out a way to make an mc fall from different random x corrdinates, from top and have them fall down. I think for the falling I would just use,
    this._y += 5;
    but I don't...
  17. Replies
    6
    Views
    1,016

    MX04 falling items game

    Ok I want to create a falling items game, but how do you code the falling movie clips? sorta like catch the money, or something like that.
  18. Replies
    3
    Views
    598

    CS3 hmm ok, it would be easier for me to walk you...

    hmm ok, it would be easier for me to walk you through it. could you upload the fla? But I have Flash MX so you would have to save it for my version.
  19. Replies
    3
    Views
    598

    CS3 well u could use something like this on...

    well u could use something like this
    on (rollOver) {
    _root.btn.gotoAndStop(2);
    }

    and for the second frame of the button you could make the btn have its rollover image
  20. Thread: enter button

    by kraxyk
    Replies
    19
    Views
    942

    MX I also tried on enter frame...or putting code on...

    I also tried on enter frame...or putting code on the frame. it just won't go
  21. Thread: enter button

    by kraxyk
    Replies
    19
    Views
    942

    MX ok but now I have another problem I have another...

    ok but now I have another problem I have another button a completely frame, but I can't get it to work with this code. I have tried changing the code to press. I tried putting a this in front, _root...
  22. Thread: enter button

    by kraxyk
    Replies
    19
    Views
    942

    MX omg thank you so much now it finally works

    omg thank you so much now it finally works
  23. Thread: enter button

    by kraxyk
    Replies
    19
    Views
    942

    MX ok let me try and break it down. I have a button...

    ok let me try and break it down. I have a button with this code on it

    on (press) {
    startDrag(drag,false,-56.1,100.4,54.2,100.4);
    }
    on (release) {
    stopDrag();
    }

    the numbers seam...
  24. Thread: enter button

    by kraxyk
    Replies
    19
    Views
    942

    MX ok I have this and it didn't work. I also tried...

    ok I have this and it didn't work. I also tried 25 for a value and that didn't work either


    stop();
    if (drag._x>=40) {
    this.gotoAndStop(33);
    }
  25. Thread: enter button

    by kraxyk
    Replies
    19
    Views
    942

    MX oh I see I'll give that a try tomorrow

    oh I see I'll give that a try tomorrow
Results 1 to 25 of 394
Page 1 of 16 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center