dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: flip-Ed

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    689

    Play sound only once

    Hey everyone!

    I put a sound starting from frame 1 to the last frame.
    In my code I have 2 gotoAndStop() functions
    one goes to frame 1 again.
    When that happens the sound plays again, so the sound...
  2. Replies
    1
    Views
    524

    Animating Player

    Hi!
    How can I animate my player correctly?
    I did this:
    My player (movieclip) is standing in frame 1 where I put a label called 'idle', in frame 2 it is taking a step and I put a label 'walking'....
  3. Replies
    2
    Views
    724

    Delete Object from Array

    Hi!
    I have many objects(movieclips) on my stage and I put them in an array

    for(var i = 0; i<numChildren; i++)
    {
    if(getChildAt(i) is MC)
    {
    ...
  4. Thread: AS2 into AS3

    by flip-Ed
    Replies
    0
    Views
    938

    AS2 into AS3

    Hi
    I found a really helpful code, but it's in AS2. Would someone be so kind as to convert it into AS3 or just tell me what the arts are in AS3 (for example onClipEvent(load) and so on)

    Or is...
  5. Replies
    5
    Views
    1,133

    i was following this tutorial: ...

    i was following this tutorial:

    http://www.youtube.com/watch?v=tD-t9DKvFJA

    there is one mc that is called platform and i put it into an array so i can place it more than once. then i check if...
  6. Replies
    5
    Views
    1,133

    here's the code: this part is in the...

    here's the code:

    this part is in the constructor:
    var level:Array = new Array();

    for(var i = 0; i<numChildren; i++){
    if(getChildAt(i) is platform)
    {...
  7. Replies
    5
    Views
    1,133

    Creating more levels problem

    Hi
    I have level 1 on frame 1 with hitTests on some objects and if the player hits the door the game goes on to level 2 with nextFrame();

    On frame 2 I rearranged the objects from level 1 but the...
  8. Replies
    1
    Views
    474

    Classes for MovieClips

    Hello everyone!

    I have all my code in my main-class. Also I have some MovieClips linked to classes but they don't have any code.
    I only write for example if I define a new variable

    var ball =...
  9. Replies
    3
    Views
    716

    Check if no keys are down

    Hi!
    How do I check wheter KEY_DOWN is false on every key on the keyboard? (no keys are pressed)
    Thanks in advance!
  10. Thread: hitTest glitch

    by flip-Ed
    Replies
    0
    Views
    376

    hitTest glitch

    Hello!

    I made a platform game and the hittest works fine when the player is on top of the platform or hits the side of it.
    but sometimes it just passes through the walls.
    also when I jump from...
  11. Thread: Walljump

    by flip-Ed
    Replies
    1
    Views
    956

    does anyone know? or is there a tutorial...

    does anyone know?
    or is there a tutorial somewhere?i've searched everywhere but i only found one for AS2...
  12. Thread: Walljump

    by flip-Ed
    Replies
    1
    Views
    956

    Walljump

    Hi
    How can i program a wall-jump. for example i press up an left after jumping on a wall the character should jump that way. also the oppoite direction (up and right).
    i got the basic jump and the...
  13. Replies
    6
    Views
    1,239

    thank you! it works :)

    thank you! it works :)
  14. Replies
    6
    Views
    1,239

    i can move and jump with the followed MC...

    i can move and jump with the followed MC (left,right, and jump with the up-key). let's call this mc 'player'.
    and the following mc('follower') follows the player when i press the spacebar.

    now if...
  15. Replies
    6
    Views
    1,239

    thanks that works perfectly :) is there a way i...

    thanks that works perfectly :)
    is there a way i can switch to the follower so that i can move it around and let it stay somewhere, then switch over to the folowed mc again?(when the follower doesnt...
  16. Replies
    6
    Views
    1,239

    Make a MC folor another MC

    Hi!
    Can someone please tell me how I can have a movie clip follow another movieclip that is moved with keyboardevents(arrow-keys)
    and make it stop following the movie clip when i press the space...
  17. Replies
    1
    Views
    6,464

    Balancing Tutorial

    Hi everyone,
    Is there a tutorial for a game like this http://www.youtube.com/watch?v=VwNek2GPNXU&feature=related

    Just the balancing part from 2:50-3:03.

    That would be awesome!
    Thanks!
  18. Thread: Drag MC out

    by flip-Ed
    Replies
    1
    Views
    875

    Drag MC out

    Hi
    I tried this tutorial
    http://active.tutsplus.com/tutorials/games/create-a-drag-and-drop-game-in-actionscript-3-0/
    and thats what I exactly wanted but I additionally want that if the MC is in...
  19. Replies
    1
    Views
    1,755

    drag-drop/multiple MCs

    Hi,

    I have this code:

    public class myHitTest extends MovieClip
    {
    var myClip:MyClip;
    public function myHitTest()
    {
    init();
  20. Thread: currentFrame

    by flip-Ed
    Replies
    2
    Views
    856

    currentFrame

    Hi
    How do I check if the movie is at a specific frame with a class that is linked to a movieclip on stage?


    I have a class that is linked to The .fla-File. This code works fine with that class:...
  21. Replies
    9
    Views
    1,176

    so i have to create the object directly in every...

    so i have to create the object directly in every class that extends DraggableShirt (BlackShirt and WhiteShirt)?
  22. Replies
    1
    Views
    1,014

    removeEventListener from another class

    Hi

    I hve a class in which I created an Mouse-Event-Listener. It's not my main class and it's linked to an object on the stage.

    In my main-class which is linked to the .fla file I want to remove...
  23. Replies
    9
    Views
    1,176

    oh...i understand. thank you another question:...

    oh...i understand. thank you

    another question:
    i used the code from the tutorial (with inheritance)

    so there is draggableShirt-class and two classes
    1) whiteShirt
    2)blackShirt
    which extend...
  24. Replies
    9
    Views
    1,176

    thanks..but how can i check if the object that is...

    thanks..but how can i check if the object that is being dragged was in the cart

    because i have objects on the stage and then also in the cart so

    if object is in the cart and dragged out,...
  25. Replies
    9
    Views
    1,176

    just one more question: if I drag the object out...

    just one more question:
    if I drag the object out of the cart it should subtract it from the cart.length...how do I do that?
Results 1 to 25 of 28
Page 1 of 2 1 2




Click Here to Expand Forum to Full Width

HTML5 Development Center