A Flash Developer Resource Site

Search:

Type: Posts; User: plutohnik

Search: Search took 0.02 seconds; generated 46 minute(s) ago.

  1. Replies
    4
    Views
    3,079

    Opp, your right it is a bit vague, I'm wanting it...

    Opp, your right it is a bit vague, I'm wanting it so that, my character, which is a movieclip will collide with my ground which will also be a movieclip, but can be a bitmap (only if it matters). I...
  2. Replies
    4
    Views
    3,079

    Hill detection

    Hello,

    I'm currently working on a game which will eventually require hill collision detection, as in my environment will not be flat and i want my character to be able to follow the different...
  3. Replies
    6
    Views
    971

    O ok sorry, I've added comments on the script...

    O ok sorry, I've added comments on the script now. Its very weird.


    public class Model extends Sprite{

    private const SIZE:int = 1;

    private var robots:Array;
    private var...
  4. Replies
    6
    Views
    971

    So when I trace directionQueue[index] in...

    So when I trace directionQueue[index] in robotFacing() I get constant 0s, however if I trace it in the changeDirection function I get the changes updated as they should, is there a reason why...
  5. Replies
    2
    Views
    6,600

    It sounds like you may have encoded the video in...

    It sounds like you may have encoded the video in question with set key frames ticked. If this is the case, untick it and re-encode the video, otherwise goodluck =]
  6. Replies
    6
    Views
    971

    Yep, the dir:int variable is sent because of a...

    Yep, the dir:int variable is sent because of a keypress event, and the trace when I press a key does change however only for one tick, then it switches straight back to 0.
  7. Replies
    6
    Views
    971

    Variable not Updating

    Hello,

    So my problem is the directionQueue Array, which I've created, is not updating its value when I update it in my changeDirection method, I don't know if I've forgotten something but I just...
  8. Replies
    3
    Views
    1,244

    yep, you can make a nested movieclip and then...

    yep, you can make a nested movieclip and then just access the currentframe of the door that you want.
  9. Replies
    3
    Views
    986

    Its incredibly weird and i have no idea whats...

    Its incredibly weird and i have no idea whats going on. I also tried rounding x to 2d.p to no effect.
  10. Replies
    3
    Views
    986

    I didn't include y because it has nothing to do...

    I didn't include y because it has nothing to do with it. I understand that Number can be any length however for some reason it is returning 2 different lengths for each variable, as if the variables...
  11. Replies
    3
    Views
    1,244

    Hello! Yep I think there is an easy way to do...

    Hello! Yep I think there is an easy way to do this, you should be able to create an array full of doors, then instead of doing it so the event occurs when you click, rather the event occurs when you...
  12. Replies
    3
    Views
    986

    Number returning different lengths

    Hello,

    I'm trying to track one of my characters as it moves across my stage, however it seems that samuraiChar's (my character) x position has a much higher decimal rounding system in place...
  13. Replies
    5
    Views
    1,628

    Ok nevermind I managed to fix the problem after...

    Ok nevermind I managed to fix the problem after testing some of the older versions to see the differences, thanks for the help though. RESOLVED.
  14. Replies
    5
    Views
    1,628

    Ok, there is a main movieclip which holds all of...

    Ok, there is a main movieclip which holds all of the animations. Frame 1 of the main movieclip holds another movieclip which is the idle animation, frame 2 the left facing run animation, frame 3 the...
  15. Replies
    5
    Views
    1,628

    O i forgot to mention that its accessing a nested...

    O i forgot to mention that its accessing a nested movieclip with the gotoAndStop(), gotoAndStop(1) = idle animation, gotoAndStop(2) RuncycleLeft etc etc
  16. Replies
    5
    Views
    1,628

    Animation play problem!

    Hello,

    I'm having a problem with my animation playing for one of my characters, I have a method which is constantly sending the que to play the animation. When i press a key the character...
  17. Replies
    4
    Views
    1,175

    Problems Removing Target Child

    Hello, I've run into a problem when trying to move one of my sprites from the stage when it dies. So far what I'm having to do is call the Death method from the main class, which then goes to the...
  18. Replies
    3
    Views
    773

    Opp sorry about that haha, I was looking through...

    Opp sorry about that haha, I was looking through some stuff and saw one of the forum mods say they wouldn't look at someones code if they posted all of it instead of the important part. I think I...
  19. Replies
    3
    Views
    773

    Nevermind, it disapeared without me changing...

    Nevermind, it disapeared without me changing anything... Weirdness.
  20. Replies
    3
    Views
    773

    What just happened??? Please help =[

    Hello, I was workin away on my game when suddenly I start getting this error.

    TypeError: Error #2007: Parameter child must be non-null.
    at flash.display::DisplayObjectContainer/addChild()
    at...
  21. Replies
    1
    Views
    959

    Flash Builder Referencing Stage Issue

    Does Flash Builder Not support referencing the stage???

    public class Enemy extends MovieClip
    {
    private var target:Samurai;
    private var stageRef:Stage;

    public function...
  22. Replies
    1
    Views
    773

    Weird argument error

    Hello!, I'm getting a weird argument error I'm not sure whats going on I'm using senocular's KeyObject Source file, I have no idea why its throwing this error =[

    This is the tutorial I followed to...
  23. Replies
    2
    Views
    1,853

    thats a good point actually I'm not sure i guess...

    thats a good point actually I'm not sure i guess it doesn't really matter they still do the same thing =] But thanks for replying anyway! Managed to fix the problem!
  24. Replies
    1
    Views
    1,157

    Can't access array from function

    Hello, I'm having trouble accessing the turnQueue array which is being updated in the first function and accessed in the second, no idea what the rules are between functions for actionscript. Heres...
  25. Replies
    2
    Views
    1,853

    Can't access array from function

    Hello, I'm having trouble accessing the turnQueue array which is being updated in the first function and accessed in the second, no idea what the rules are between functions for actionscript. Heres...
Results 1 to 25 of 25




Click Here to Expand Forum to Full Width

HTML5 Development Center