dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: unrealhacker12

Page 1 of 11 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    3,237

    Thanks!

    Thanks!
  2. Replies
    3
    Views
    3,237

    One of the parameters is invalid?

    Hi when I use the following code:
    stage.addEventListener(MouseEvent.MOUSE_DOWN,mousePressed);
    stage.addEventListener(MouseEvent.MOUSE_MOVE,mouseMoved);

    function mousePressed(e:MouseEvent) {...
  3. Replies
    5
    Views
    628

    Ok I've found the best way of handling menu's...

    Ok I've found the best way of handling menu's opening and closing.
    function openCloseMenu(Name:Object) {
    switch(Name){
    case "buttonName":

    break;
    }
    }...
  4. Replies
    1
    Views
    320

    Got it after about half hour of searching ...

    Got it after about half hour of searching

    e.target.name
  5. Replies
    1
    Views
    320

    Referencing instanceName

    If I have a function that references a Button Component inside a predefined movieClip on stage and the trigger for the button is as follows:

    hud.*theName*.addEventListener(MouseEvent.CLICK,...
  6. Replies
    5
    Views
    628

    jAQUAN Thanks but learning all that theory...

    jAQUAN

    Thanks but learning all that theory with no specifics relating to menu management is no use at all.

    dawsonk

    Thanks your code doesn't work but I'll work with it until it does, while I...
  7. Replies
    5
    Views
    628

    Creating Efficient Menus (Help!)

    Hi I'm designing the UI for my level editor and I found managing multiple menus and buttons can become complex and annoying to program for every single situation and for every single button. Which as...
  8. Replies
    7
    Views
    1,639

    I got my desired effect in the end using this...

    I got my desired effect in the end using this page as reference. http://www.kirupa.com/developer/as3/elastic_collisions_pg2.htm

    To avoid the problem where the balls get stuck together by...
  9. Replies
    7
    Views
    1,639

    That causes some nasty bugs when they collided in...

    That causes some nasty bugs when they collided in close proximity like as if the force is being multiplied for every ball it hits. I think the problem here is instead of setting it up as:

    ballA...
  10. Replies
    7
    Views
    1,639

    Bump!

    Bump!
  11. Replies
    7
    Views
    1,639

    This is the new code...

    This is the new code implemented it solves the problem of the penetrating balls. The only problem now is it's taken away the transfer of momentum :( like in the old one when two collided they bounce...
  12. Replies
    7
    Views
    1,639

    Thanks man I'll implement that code and post the...

    Thanks man I'll implement that code and post the results ;]
  13. Replies
    7
    Views
    1,639

    Ball vs Ball Collision Issues

    Hi I'm currently messing about with Ball vs Ball Collision and came across a nasty bug in my demo. Use the arrow keys to move the red ball if you hold the left key down you can recreate the bug the...
  14. Replies
    1
    Views
    439

    Multiple HitTests Help! Please!

    Hi there I've been reading up and looking at examples of how to handle multiple hittests. So far in my example I have failed.

    ///Variables
    var Xdist:Number = 0;
    var Ydist:Number = 0;
    var...
  15. Platformer Engine Design Discussion

    Hi everyone! I've decided to make a start on a new platformer and I was wondering specifically how each of you programmers would go about handling multiple frequent collisions between the player and...
  16. Replies
    5
    Views
    447

    "//Runs every frame " the add eventlisteners in...

    "//Runs every frame " the add eventlisteners in in the other doc

    var t5:MovieClip = new trail5;
    addChild(t5);
    var t4:MovieClip = new trail4;
    addChild(t4);
    var t3:MovieClip = new trail3;...
  17. Replies
    5
    Views
    447

    I'm trying to run the spawn function every time...

    I'm trying to run the spawn function every time the timer reaches the limit.

    if the function is run from the begin it works but if it is triggered during later at run time it will spawn but won't...
  18. Replies
    5
    Views
    447

    Odd Function Problem, HELP!

    Hi I have set up a system that spawns barriers for the player to dodge but it appears the functions won't trigger properly from within "if" statements. I've put nots on my code to guide you through...
  19. bump

    bump
  20. No its associated with an MC in the main .fla's...

    No its associated with an MC in the main .fla's library. I've attached the project directory.
  21. TypeError: Error #1009: Cannot access a property...

    TypeError: Error #1009: Cannot access a property or method of a null object reference.

    package {
    import flash.display.MovieClip;
    import flash.events.Event;

    public class DumbClass extends...
  22. Yes the user is a a MC with the instance "user"...

    Yes the user is a a MC with the instance "user" on stage. The idea is that when ever space is pressed a instance of the class is created on the stage. But from within the class it cannot seem to get...
  23. How would I go about that?

    How would I go about that?
  24. Access of Undefined Property from a Class

    package {
    import flash.display.MovieClip;
    import flash.events.Event;

    public class DumbClass extends MovieClip {

    var dumbXS:Number = 0;
    var dumbYS:Number = 0;
    var dumbACC:Number =...
  25. Replies
    2
    Views
    367

    Hi, I'm new to all the AS3 features I only just...

    Hi, I'm new to all the AS3 features I only just recently made the move. But I need some new buddies to converse about AS3 so:

    MSN: joshua-barnett@excite.com
Results 1 to 25 of 270
Page 1 of 11 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center