dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: flashfriend8

Page 1 of 6 1 2 3 4

Search: Search took 0.39 seconds.

  1. Replies
    5
    Views
    1,036

    This was extremely helpful to me too... This was...

    This was extremely helpful to me too... This was driving me crazy, and all I could find for a while were wacky text effects. Thanks!
    -ap
  2. [MX04] possible "for" issue... and then some?

    I like to think I'm capable of writing a simple 2-layer nested for loop, but this is really starting to make me doubt myself... Basically my short term goal is to create a grid of blocks (10x16)...
  3. Replies
    1
    Views
    383

    simple syntax issue

    There seems to be a bit of a gap in my knowledge of AS syntax... In many of my projects in the past I've used code like this:
    ["mc"+var]_x = 0;
    to access a complexly named mc's fields. I had never...
  4. Replies
    1
    Views
    275

    Gosh, Flash is logical... puzzled it out in 5...

    Gosh, Flash is logical... puzzled it out in 5 minutes once I tried...
  5. Replies
    1
    Views
    275

    [RESOLVED] 2D Array?

    Does anyone know if Flash has any kind of multiple dimension array functionality such as in Java? What I mean is as opposed to this:
    list = new Array(10);
    trace(list[5]);

    I need something akin...
  6. Oh my gosh... haven't tried it yet, but loooks...

    Oh my gosh... haven't tried it yet, but loooks great... thanks, that was really bugging me...
  7. much abstracted problem

    All the details aside, this file is essentially the same thing. Notice that the oval is greatly overlapping the rectangle for one frame, before jumping up to the top of the rectangle.
    The following...
  8. I'm on mx right now (not my computer), so I can't...

    I'm on mx right now (not my computer), so I can't look at the file, but make sure all the "equals" in the if()'s are == and on your buttons they are =. Also be sure that you've got "left" and "right"...
  9. Replies
    2
    Views
    368

    wow... that site went right on my favorites......

    wow... that site went right on my favorites... Thanks!
  10. the == operator compares two values, and return...

    the == operator compares two values, and return true or false, while the = operator assigns the value of the right to the left.

    you want:
    pressed = left;
    in the if statements however in the code...
  11. [MX04] Changing the _y value twice; The way Flash executes code; a falling mc.

    Even though this problem is remotely game-related (scroller), The problem isn't so much; I figured I'd get a better response here.

    This is a long-winded explaination, and the specifics aren't...
  12. Replies
    0
    Views
    311

    More precise number Class?

    I have recently discovered that Flash rounds to two decimal places in its _x and _y calculations. I am making something that requires the use of much more than two decimal place precision. Does...
  13. Replies
    1
    Views
    379

    I believe the only operations I'm using are basic...

    I believe the only operations I'm using are basic operations, and Math.tan
  14. Replies
    1
    Views
    379

    Loss of Number precision?

    Hi,
    I have made a simple little thing (for lack of a better word) that draws a golden spiral both with straight lines and in curves. This is not the problem though, my code pretty much works. My...
  15. You can access the name of a mc with _name I...

    You can access the name of a mc with _name I believe...
  16. Thread: Buttons

    by flashfriend8
    Replies
    1
    Views
    433

    Not sure exactly what your problem is, but a good...

    Not sure exactly what your problem is, but a good rule of thumb is to use frame labels in gotoAndBlank() methods. In the properties window of the frame you want name it something like "target", and...
  17. Thread: SWF Theft

    by flashfriend8
    Replies
    2
    Views
    471

    Just what I needed. Thanks.

    Just what I needed. Thanks.
  18. Thread: SWF Theft

    by flashfriend8
    Replies
    2
    Views
    471

    SWF Theft

    The other day, I saw a very effective way to prevent swf theft on www.teagames.com. The site does not actualy prevent someone form downloading any file on the site, but it seems that the file is...
  19. Replies
    5
    Views
    553

    Just syntax... Use width and height for retuning...

    Just syntax...
    Use width and height for retuning the stage width and height (Stage.height).
    Use _width and _height for movieclip properties.
    Other than that, your code should work, but the...
  20. Replies
    3
    Views
    352

    The code is written assuming the enemy will start...

    The code is written assuming the enemy will start off going left, so be sure that any value you use for speed is negative.
  21. Replies
    12
    Views
    577

    while(rand > -5 && rand < 5) { rand =...

    while(rand > -5 && rand < 5)
    {
    rand = random(20)-10;
    }
  22. Replies
    6
    Views
    465

    OK, I mean what direction are the bullets allowed...

    OK, I mean what direction are the bullets allowed to go? Any direction? or just horizontal
  23. Replies
    2
    Views
    381

    Using a movieclip that is a rectangleas wide as...

    Using a movieclip that is a rectangleas wide as the maxspeed would be ("speedBar"):


    var maxspeed;//the fastest any car can go
    var speed; //the speed of this certain car...
  24. Replies
    6
    Views
    756

    This should work... xlimit = 300;//sets...

    This should work...


    xlimit = 300;//sets
    ylimit = 300;//boundaries
    if(this._width > this._height)
    {
    factor = xlimit/this._width;
    }
    if(this._height > this._width)
  25. Replies
    6
    Views
    756

    So what exactly do you mean by set size?...

    So what exactly do you mean by set size? Identicle xscale? Yscale? Make all of them exactly 100x100?
Results 1 to 25 of 146
Page 1 of 6 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center