dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: Speed85

Page 1 of 15 1 2 3 4

Search: Search took 0.25 seconds.

  1. Replies
    2
    Views
    462

    Is it possible here is an issue with overlapping...

    Is it possible here is an issue with overlapping movieclips? I'm not sure how you have this set up. It might be helpful if you upload the file for a visual.
  2. Replies
    2
    Views
    413

    Off the top of my head, try something like this:...

    Off the top of my head, try something like this:

    for (i=0; i<myArray.length; i++) {
    myvars[i] = myArray[i];

    }
  3. Thread: Using NaN

    by Speed85
    Replies
    2
    Views
    827

    CS3 You have your syntax off. isNaN is a function...

    You have your syntax off.

    isNaN is a function that returns true or false depending on the value you give it in the parentheses. What you want to do is change:


    if ( zipcode.text == "" ||...
  4. Replies
    2
    Views
    853

    Here is something worth looking at: ...

    Here is something worth looking at:

    http://us2.php.net/manual/en/function.pdf-load-image.php

    or maybe:

    http://us2.php.net/manual/en/function.pdf-begin-document.php

    I havn't worked with...
  5. Its been a long time since I've done any AS...

    Its been a long time since I've done any AS coding (been playing with php) but this should do the trick:


    footer._y = (portf._y + portf._height + 20);
  6. The random function generates a number from 0 to...

    The random function generates a number from 0 to the number stated minus 1. So you want what_number = Number(random(5))+1;
  7. Links not working when "www" is not in url

    I seem to have ran across an odd issue. It took me a while to narrow it down to this, but the problem seems to be that any time a user does not put "www" in their url when visiting the site several...
  8. Are the sounds loaded dynamically or are they...

    Are the sounds loaded dynamically or are they included in the flash file?
  9. Replies
    41
    Views
    1,955

    It seems like a milestone to me, but I'd like to...

    It seems like a milestone to me, but I'd like to know what future there is in it. What tangible accomplishments can be attributed to putting people on our moon or in space for that matter. What...
  10. Replies
    4
    Views
    586

    this.onEnterFrame = function() { if...

    this.onEnterFrame = function() {
    if (info_center_desk_mc.hitTest(_root.shopper_mc)){
    _root.shopper_mc.attachMovie("sb_info_center_desk_ mc", "instance1", 1, {_x:-28, _y:-235});
    _root.text = "Info...
  11. Replies
    4
    Views
    344

    When you attach a movie it automatically places...

    When you attach a movie it automatically places it at 0,0. So they are going to all be placed on top of each other.

    You need to insert some code to place them apart instead on top of each other.
  12. Replies
    6
    Views
    491

    Hmm... If its an option, you might try using...

    Hmm... If its an option, you might try using duplicateMovieClip to copy it to the new level then use removeMovieClip to get rid of the old one.

    I believe each level has its own set of depths and...
  13. Replies
    8
    Views
    494

    Be warned, with large amounts of zombies on...

    Be warned, with large amounts of zombies on screen, your game could slow down substantially.
  14. Replies
    8
    Views
    494

    I believe this should work, I don't have a file...

    I believe this should work, I don't have a file set up at the moment to test it though.


    This is the standard loop to hittest anything in an array


    for (i=0;i<zhorde.length;i++) {
    if...
  15. Replies
    3
    Views
    282

    Using an array would also use a loop, but instead...

    Using an array would also use a loop, but instead of the ["item"+i] it would use arrayName[i].

    Just a thought, not sure if it would work too well, but instead of hittesting all of them on every...
  16. Replies
    3
    Views
    282

    No, there are no wild cards in Flash. What you...

    No, there are no wild cards in Flash. What you can do is a for loop, but I wouldn't recommend it with 999 items.

    Something like this might suit your needs
    for (i=0;i<totalItems;i++) {
    if...
  17. Put the score++ on the outside of the...

    Put the score++ on the outside of the onEnterFrame.

    Actionscript's stop is not a true stop, it repeatedly loops back to the same frame. An onEnterFrame function runs every time it refreshes, but...
  18. Replies
    3
    Views
    460

    The closest (well, with the least amount of work)...

    The closest (well, with the least amount of work) you're going to get is use Flash's print function and instruct them print to file (if they even have the option).
  19. Replies
    2
    Views
    1,043

    Right click on a movie clip, and go to the...

    Right click on a movie clip, and go to the timeline effects. Explode is what you're looking for.
  20. Replies
    2
    Views
    383

    Well, there are the timeline effects. There's an...

    Well, there are the timeline effects. There's an explode effect that might meet your needs. You can't control it with code or anything.
  21. Replies
    1
    Views
    2,491

    You are in luck my friend. I had the joy of...

    You are in luck my friend. I had the joy of riding in the back of a van for 8 hours a few months ago and made something very similar. Some people read, some people sleep, I entertain myself by...
  22. Replies
    5
    Views
    780

    That was a let down... I was thinking my...

    That was a let down... I was thinking my childhood heroes were setting a new example for me.
  23. Thread: Why Triangles?

    by Speed85
    Replies
    2
    Views
    337

    My guess would be the fact that 3 points...

    My guess would be the fact that 3 points determine a plane, so for any motion, reshaping, etc the surface would always be flat.

    I imagine that you could make it more efficient for some things if...
  24. I may or may not understand this correctly, but...

    I may or may not understand this correctly, but if I do, then this should solve the problem.

    See what this gives you:

    trace(eval(TraceNumberFromArray));

    If it gives you the correct value...
  25. Replies
    3
    Views
    2,372

    I just woke up, but this right here seems to be...

    I just woke up, but this right here seems to be the problem:

    this.swapDepths(this.getNextHighestDepth());

    When you click on that it then covers your tool tip.
Results 1 to 25 of 370
Page 1 of 15 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center