A Flash Developer Resource Site

Search:

Type: Posts; User: Matin.1520

Search: Search took 0.02 seconds.

  1. Replies
    11
    Views
    1,449

    My Removing lives works perfectly. and this is...

    My Removing lives works perfectly. and this is the code

    var lives:Number = 3;
    var livesBall:Life;
    var xPos:Number = 89;
    var yPos:Number = 39;
    var lastBall:int;
    var newBall:int;
    var...
  2. Replies
    8
    Views
    1,195

    That was just an example I gave. If you put my...

    That was just an example I gave. If you put my code in an empty fla file, you will see.

    But in your case/code for me it works perfectly when I put it in flash file ....
  3. Replies
    11
    Views
    1,449

    IT SEEMS TO BE WORKING AND THAT'S WHAT I DID ...

    IT SEEMS TO BE WORKING AND THAT'S WHAT I DID


    //when collide,
    circle.stopDrag();
    circle.removeEventListener(MouseEvent.MOUSE_DOWN, MouseDown);
    ...
  4. Replies
    8
    Views
    1,195

    well For me it seems to work ..... ? Thats...

    well
    For me it seems to work ..... ?

    Thats what I put
    Exactly yours

    main_map.addEventListener(MouseEvent.MOUSE_WHEEL,handleMouseWheel);

    var zoom_const:Number = 2;
  5. Replies
    11
    Views
    1,449

    right now this code is on my main timeline ...

    right now this code is on my main timeline

    import flash.display.DisplayObject;
    import flash.display.MovieClip;
    import flash.events.Event;
    import flash.events.MouseEvent;

    var lives:Number =...
  6. Replies
    8
    Views
    1,195

    and your zoomIn() zoomOut(), zoomcConst functions?

    and your zoomIn() zoomOut(), zoomcConst functions?
  7. Replies
    8
    Views
    1,195

    Hi Leo You didn't write your code so maybe I...

    Hi Leo

    You didn't write your code so maybe I could see the error (im no expert)

    but try putting this code on an empty flash frame and see if it helps
    ...
  8. Replies
    11
    Views
    1,449

    That's How I call it This code is inside a...

    That's How I call it

    This code is inside a movieclip, a child of the main timeline

    function checkForCollision(e:MouseEvent):void {

    var collisions:Array = collisionList.checkCollisions();
    ...
  9. Replies
    11
    Views
    1,449

    I think That has to do with this Cuz I run the...

    I think That has to do with this

    Cuz I run the function from a child and I wrote this

    //when collide
    MovieClip(this.root).deductLives();
  10. Replies
    11
    Views
    1,449

    Oh I see I see I got that But I don't know...

    Oh I see I see

    I got that
    But I don't know why I'm getting this error
  11. Replies
    11
    Views
    1,449

    Thank you for your kind reply That's what I...

    Thank you for your kind reply

    That's what I did... it doesn't seem to work... I don't know where my mistake is

    var lives:Number = 3;
    var livesBall:Life
    var xPos:Number = 89;
    var yPos:Number...
  12. Replies
    11
    Views
    1,449

    Game Lives (Remove Child)

    Hi
    I'm creating a game.
    In the beginning there is three lives added with the addChild(); method, as shown.

    http://i49.tinypic.com/10zy8le.jpg

    Now, Every time the player loses a life, the...
  13. Replies
    0
    Views
    559

    Preloader till a certain frame

    Hi,
    I am creating a game that has many levels. I'm scared that by the end, the file size will be too big (although I'm not using HQ pictures or...).

    Could I for example load or preload the flash...
  14. Replies
    3
    Views
    578

    I've already seen those and downloaded them. I...

    I've already seen those and downloaded them. I tried to understand I didn't.
    I tried to customize it I couldn't since the script didn't work anymore.

    All I want is a pixel-perfect collision...
  15. Replies
    3
    Views
    578

    What's the problem??????

    Hi,
    This is a pixel-perfect collision detection. I've got the kit and I wrote this code. I think the problem is small.

    If someone would kindly check and fix it or tell me what's the problem so I...
  16. Replies
    0
    Views
    733

    Collision from as2 to as3

    Hi,
    This is an Actionscript 2 code.
    I was wondering if someone would kindly convert it to actionscript 3 for me?

    Someone who knows how to...?

    Thank you

    import flash.display.BitmapData;...
  17. ??

    ??
  18. For example I want exactly something like this...

    For example I want exactly something like this
    but this is in AS2
    I want it in AS3

    http://gskinner.com/blog/archives/2005/08/flash_8_shape_b.html
  19. I've read the book ActionScript 3 for Beginners...

    I've read the book ActionScript 3 for Beginners
    It's an amazing book and they suggested this for pixel perfect also.
    But no one ever explained how to use it in your own project
  20. I'm sorry please ignore my last post I got it ...

    I'm sorry please ignore my last post
    I got it

    Thank you

    But now this is level 1
    what if in future levels I would wanna put a let's say diagonal wall....??
    then when I convert it to a symbol...
  21. Thank you for your help I'm really trying to...

    Thank you for your help
    I'm really trying to understand what you're saying but I can't

    1. My wall is only one as you see it in the picture. How do you want me to create 3 walls

    2. what are the...
  22. Actually here's the complete explanation This...

    Actually here's the complete explanation

    This is what it looks like

    http://i49.tinypic.com/ake3k0.jpg

    The black ball can be dragged. I want the ball to be able to travel between the hole....
  23. Thank you But it still doesn't work for me ...

    Thank you
    But it still doesn't work for me

    Maybe it's because I didn't put the whole code
    That's the whole code


    stop();

    var lvl1:MovieClip = new Linelvl1();
  24. Collision with an object replacing the mouse

    Hi,
    I am a beginner to Actionscript 3
    I am creating a simple game (for practice purpose)

    here is my code:




    stop();
Results 1 to 24 of 24




Click Here to Expand Forum to Full Width

HTML5 Development Center