A Flash Developer Resource Site

Search:

Type: Posts; User: nicke85

Page 1 of 10 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    1
    Views
    507

    Importing movies. (Sound)

    I was thinking about makingt the movies on my homepage i swf.
    Like youtube.com has done their movies.

    But I can't get it right.
    The sound is getting after.

    How should I import the movies to...
  2. Thread: Removing mc

    by nicke85
    Replies
    11
    Views
    837

    Ah, that was the wrong. I fixed it. Everything...

    Ah, that was the wrong. I fixed it. Everything works fine now. :D
    Thanks guys!
  3. Thread: Removing mc

    by nicke85
    Replies
    11
    Views
    837

    well... I'm publishing the game into "flash...

    well... I'm publishing the game into "flash player 6", so you could say that I am using flash5. This because I'm using some old codes etc.

    That cheat you are talking about, could you show it to...
  4. Thread: Removing mc

    by nicke85
    Replies
    11
    Views
    837

    Doesn't work.

    Doesn't work.
  5. Thread: Removing mc

    by nicke85
    Replies
    11
    Views
    837

    Removing mc

    If I have a item (mc), and I want it to dissapear after it has been picked up.
    I use this code:

    onClipEvent (enterFrame) {
    if (this.hitTest(_root.player) && Key.isDown(Key.SPACE)) {...
  6. Replies
    3
    Views
    578

    Thanks. :) It worked. :D

    Thanks. :)
    It worked. :D
  7. Replies
    3
    Views
    578

    Getbounds, Mc inside another mc

    To calculate if the player hits the walls, I used this text. And it calculated the whole mc.


    z = this.getBounds(this);

    If I want the walls to calculate if its a hit based on if the mc inside...
  8. Replies
    2
    Views
    514

    thanks

    Perfect it worked. :D
    Thanks for helping me.
  9. Replies
    2
    Views
    514

    Controlling a mc

    In my game, I have a mc with the instance name clock.
    That mc contains many frames. (If the mc plays in a swf, it counts down from 200 to 0)

    I also have a mc on the stage that contains another mc...
  10. Thread: Countdown time

    by nicke85
    Replies
    12
    Views
    964

    What should I write when the time is zero, and i...

    What should I write when the time is zero, and i want to go to the end frame in that case?

    Something like this`?

    if(tidkvar<1){
    gotoAndStop("end");
    }
  11. Thread: Countdown time

    by nicke85
    Replies
    12
    Views
    964

    I got it to work. Now the counter is counting...

    I got it to work. Now the counter is counting down...

    How do I add some more time to the counter?

    This I have on a mc.

    onClipEvent (enterFrame) {
    if (this.hitTest(_root.player)) {...
  12. Thread: Countdown time

    by nicke85
    Replies
    12
    Views
    964

    Your fla seems to work nice. But when I add it...

    Your fla seems to work nice.

    But when I add it to my game it gets weird.

    in my scene "game" every frame is a level in the game.

    So I put this code in a scene before "game".

    /// this will...
  13. Thread: Countdown time

    by nicke85
    Replies
    12
    Views
    964

    help

    Ok, should I place the script on a mc?
    Changed the code a little...
    But I can't get it working. Only get error messages. :(

    var frameRate=12;
    var secs=_root.tidkvar;
    var ticks=0;...
  14. Thread: Countdown time

    by nicke85
    Replies
    12
    Views
    964

    help please

    I can't get it working.
    Could someone be nice and help me?
    Have posted the fla file.

    When the player hits the "moretime" it adds 10secs to "tidkvar".
    That's correct.

    But how do I make...
  15. Thread: Countdown time

    by nicke85
    Replies
    12
    Views
    964

    Thanks for answering. :) Don't exactly...

    Thanks for answering. :)
    Don't exactly understand how to make it work.
    But, I will play with it and try to get it to work.

    ok, but the game is almost finished.
  16. Thread: Countdown time

    by nicke85
    Replies
    12
    Views
    964

    Countdown time

    I have a textfield called tidkvar,
    its for a rpg game. If you pick up some speciel thing, the time adds 10seks to the textfield.

    How can I make the textfield to count down? In sekunds.
    And when...
  17. Replies
    12
    Views
    973

    Hello Sorry about the time it took me to answer....

    Hello
    Sorry about the time it took me to answer.
    have had some problem's with my internet connection. :(

    But I have attached the fla file.
    Try to create a swf file, and then play it from the...
  18. Replies
    12
    Views
    973

    onClipEvent (enterFrame) { if...

    onClipEvent (enterFrame) {
    if (this.hitTest(_root.player)) {
    _root.coins = _root.coins + 1;
    _parent.gotoAndStop(2);
    }
    }



    didn't work. The...
  19. Replies
    12
    Views
    973

    Making the coin dissapear

    Hello!
    Could someone be nice and help me with this script?
    I'm going grazy, I don't know how it should be scripted...
    have tested many things, removeclip, which seem's not to work. :(

    I have...
  20. Replies
    0
    Views
    432

    arrays for a conversation

    Arrays... I'm newbie at. :/

    But for my rpg conversation i'm going to use arrays.

    Here's the script for the conversation.

    onClipEvent (load) {
    text = new Array("Are you still thinking about...
  21. Replies
    6
    Views
    587

    Excellent. :D It work's perfect! :D Want to...

    Excellent. :D
    It work's perfect! :D

    Want to have credit?
    Then tell me your name,
    and I put it on the credit list.
  22. Replies
    6
    Views
    587

    player is the instance name of the hero/character...

    player is the instance name of the hero/character that you control.
    It has a size of 32x32.
    hitarea is a mc inside the hero/character mc. this has
    a size of 32x16.

    the instance hit is a mc...
  23. Replies
    6
    Views
    587

    BlinkOk: But, that will not work, because i have...

    BlinkOk:
    But, that will not work, because i have to define
    "hitarea" (mc), somehow.
    Tested some solution's but nothing works. :(
  24. Replies
    6
    Views
    587

    "this" What should i write instaed? =/

    Hello!

    This script i'm using for moving the character in my game;

    onClipEvent (load) {
    s = 16;
    Pause=false;
    b = this.getBounds(this);
    function move(x, y) {
    if...
  25. Replies
    1
    Views
    466

    Storing highscore.

    I heard that Flash Mx, can save stat's online and offline.
    Is it true?
    That would be almost perfect for toplist's.

    Could someone be nice and help me with this script?
    Have nothing else than...
Results 1 to 25 of 226
Page 1 of 10 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center