dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: dudeqwerty

Page 1 of 20 1 2 3 4

Search: Search took 0.88 seconds.

  1. Thanks caseyryan, I'd completely forgotten...

    Thanks caseyryan,

    I'd completely forgotten about this thread and had figured it out already (using tweens).

    I can post the code up as it's now too integrated with the rest of my code base, but...
  2. Can anyone help me with a bounceTo function?

    Hello,

    I'm trying to write a function which makes a movieclip bounce to a certain position.

    All I've come up with is a bit of trig which moves the clip up and down while gradually shifting the...
  3. Replies
    22
    Views
    3,523

    In the middle? Gerbick's got the most...

    In the middle? Gerbick's got the most recognisable "forum trait".

    You know what I'm talking about
  4. You're not including that class or package.

    You're not including that class or package.
  5. Replies
    4
    Views
    562

    Flash8 Ah beaten to the mark.

    Ah beaten to the mark.
  6. Replies
    4
    Views
    562

    Flash8 It's just down to rounding errors in the floating...

    It's just down to rounding errors in the floating point arithmetic. Although I don't get the same rounding error, I get 90.9.

    It's an easy problem to overcome though, just use this function which...
  7. The problem is that you are using the logical OR...

    The problem is that you are using the logical OR operator rather than the logical AND operator. Switch all your ||'s to &&'s and it should work.
  8. Thread: Date Object

    by dudeqwerty
    Replies
    3
    Views
    436

    Oops, little mistake, should probably test code...

    Oops, little mistake, should probably test code in flash before posting!!!


    var currentDate:String = "03/31/09";
    function getNextDate(d:String):String {
    var temp:Array = d.split("/");
    var...
  9. Thread: Date Object

    by dudeqwerty
    Replies
    3
    Views
    436

    var currentDate:String = "04/30/09"; function...

    var currentDate:String = "04/30/09";
    function getNextDate(d:String):String {
    var temp:Array = d.split("/");
    var date:Date = new Date(int((temp[2].length==2?"20":"")+temp[2]), int(temp[0])+1,...
  10. myValue*myValue is more efficient as the Math...

    myValue*myValue is more efficient as the Math class does not need to be called up. Plus if the value of myValue is known to the compiler it will probably get preprocessed.
  11. Thread: 11800

    by dudeqwerty
    Replies
    13
    Views
    1,424

    Well actually seeing as the question was "... 1...

    Well actually seeing as the question was "... 1 ton exactly?"

    It was stupid then to start trying to calculate the monetary worth of spam, when the question at hand was to do with mass.

    Currency...
  12. Flash8 make a setTimeout on every mouse click to switch...

    make a setTimeout on every mouse click to switch a boolean:


    var canClick:Boolean = true;
    function mouseClicked() {
    // PUT YOUR CODE HERE
    }
    function switchCanClick() {
    canClick =...
  13. Thread: 11800

    by dudeqwerty
    Replies
    13
    Views
    1,424

    No, that's not how the conversion would work. ...

    No, that's not how the conversion would work.

    You would see how much storage space that many messages take up, then get the weight of that many harddrives. Which give you the amount of spam.

    I...
  14. Replies
    7
    Views
    827

    CS3 == is used for comparison and = is used for...

    == is used for comparison and = is used for assignment.

    So change these lines:


    _root.player.shooting == false;

    and

    _root.player.shooting == true;
  15. Replies
    7
    Views
    827

    CS3 Oh, and If you want to declare a function in...

    Oh, and If you want to declare a function in "variable style" declaration, do it like this:


    var myFunc:Function = function():Void {
    trace("myFunc called");
    }

    myFunc();

    Putting Void in...
  16. Replies
    7
    Views
    827

    CS3 You're (nearly) using set interval correctly, but...

    You're (nearly) using set interval correctly, but its your function declaration which is mostly off:


    var pistolshottime:Number = 1
    var counter:Number = 0;
    var interval:Number =...
  17. Replies
    4
    Views
    1,156

    Also, you can forget the movieclip all together...

    Also, you can forget the movieclip all together if you want, here is an example with a bitmap move/lineTo function:



    var bmd:BitmapData = new BitmapData(stage.stageWidth, stage.stageHeight,...
  18. Replies
    4
    Views
    1,156

    It's because vector graphics are quite memory/cpu...

    It's because vector graphics are quite memory/cpu intensive, best bet is draw to a bitmapdata:


    var bmd:BitmapData = new BitmapData(stage.stageWidth, stage.stageHeight, false, 0xFFFFFF);
    var...
  19. Replies
    6
    Views
    922

    I apologise if you feel that I mocked you, it...

    I apologise if you feel that I mocked you, it wasn't the intention. Just trying to deter you away from this idea.
  20. Replies
    2
    Views
    1,057

    It's a nice shot and it shows the detail of the...

    It's a nice shot and it shows the detail of the spider well.

    It is over exposed though, and I can't help thinking that it would have been a better shot had you closed down the DOF a bit.
  21. Replies
    8
    Views
    794

    Age verification is a redundant thing, if someone...

    Age verification is a redundant thing, if someone wants to see that part of the site, they will lie, nothing you can do about that.

    It might be a legal requirement though. If it is, I suggest you...
  22. Replies
    6
    Views
    922

    However, on a more constructive note. There is a...

    However, on a more constructive note. There is a html component for the flex framework which will let you display html pages "within" your application with a bit of trickery. It will set you back...
  23. Replies
    6
    Views
    922

    I'm sorry but are you joking??? Making a full...

    I'm sorry but are you joking???

    Making a full html renderer in actionscript is ridiculous on so many levels. Most browsers' rendering engines are written in C or C++ which are about as low level...
  24. Replies
    4
    Views
    769

    Simplest idea number guessing game, higher/lower...

    Simplest idea number guessing game, higher/lower kinda thing.

    Bit harder would be pairs, not really too much to trip you up there.

    Noughts and crosses (tic tac toe)
  25. Ok, I can't open the .fla and I have no idea...

    Ok, I can't open the .fla and I have no idea what's going on with the code you pasted, but I don't think its the code in the .swf .

    The problem with the example is that the pupils dont really...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center