A Flash Developer Resource Site

Search:

Type: Posts; User: Ralgoth

Page 1 of 19 1 2 3 4

Search: Search took 0.31 seconds.

  1. Replies
    168
    Views
    31,039

    I like Apple, but I never had any intention of...

    I like Apple, but I never had any intention of buying an iPhone/iPad until Adobe announced that Flash CS5 would be able to publish iPhone apps. For that past four years I've been developing a game...
  2. you created a button. The tutorial uses a...

    you created a button. The tutorial uses a MovieClip, because it's storing the URL inside of it. You'll need to change your button into a MovieClip for this to work.

    Either that, or create a new...
  3. Replies
    1
    Views
    571

    that's because the reference "my_loader" is...

    that's because the reference "my_loader" is declared inside the function. It doesn't exist outside of it, so each time the function finishes it discards whatever references only exist within it.
    ...
  4. try adding a rectangle over the whole stage with...

    try adding a rectangle over the whole stage with an alpha of 0, or a transparent button if that doesn't work.
  5. Replies
    8
    Views
    767

    so you don't know the message or what it's...

    so you don't know the message or what it's supposed to be. My only assumption is that you shouldn't be meddling with it.

    If you need a way to encode/decode your own messages, then here's a...
  6. Replies
    8
    Views
    767

    I just unescaped the above code... A virus...

    I just unescaped the above code...

    A virus alert stopped it.
  7. Replies
    4
    Views
    658

    really though, you should setup the .htaccess...

    really though, you should setup the .htaccess file in the site's root directory to redirect any url without a subdomain to www.yachtvid.com

    just google htaccess redirects
  8. Replies
    4
    Views
    658

    yup, it's a sandbox error. what cancer said...

    yup, it's a sandbox error. what cancer said should work... Either that or setup a crossdomain.xml


    Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation:...
  9. Replies
    2
    Views
    741

    you'll need to create a Boolean variable to let...

    you'll need to create a Boolean variable to let you know whether or not the sound is playing

    This doesn't check to see which key is being pushed, which may cause problems with the KEY_UP event if...
  10. Replies
    4
    Views
    1,102

    This will drag everything that's a descendant of...

    This will drag everything that's a descendant of the Sprite class.

    stage.addEventListener(MouseEvent.MOUSE_DOWN, dragIt);
    stage.addEventListener(MouseEvent.MOUSE_UP, dropIt);

    function...
  11. trace(Jolly); trace(Jolly.jollyFindOutMore); ...

    trace(Jolly);
    trace(Jolly.jollyFindOutMore);

    if either one returns as undefined, then there's your problem.

    I have a feeling that you're trying to assign the click event while Jolly is on...
  12. Replies
    3
    Views
    466

    If your enemies are the only thing in the display...

    If your enemies are the only thing in the display list, then yeah that will work. If you have other objects in the same display list that you don't want to test against, then you'll be wasting...
  13. Replies
    3
    Views
    466

    You'll need to figure out a method for detecting...

    You'll need to figure out a method for detecting a collision first. The best method may vary depending on how your game plays (3d, 2d, side-scrolling, tilemap, etc...). I usually assign a radius to...
  14. shape.graphics.clear();

    shape.graphics.clear();
  15. function isNumeric(s:String):Boolean { var...

    function isNumeric(s:String):Boolean
    {
    var regex:RegExp = /^[0-9.]*$/;
    return regex.test(s);
    }
  16. ENTER_FRAME listeners don't work that way. Once...

    ENTER_FRAME listeners don't work that way. Once you set one, it fires repeatedly until you tell it to stop. The frequency is dependent on your project's frame rate. So if your project is set to 30...
  17. Replies
    4
    Views
    567

    it's probably worth mentioning that you should...

    it's probably worth mentioning that you should never store passwords in flash. All someone needs is a swf decompiler and they'll be able to access whatever it is you're trying to protect.
  18. Replies
    4
    Views
    567

    on(release) and getURL are both actionscript2...

    on(release) and getURL are both actionscript2 code. Is your project set to actionscript2 or actionscript3?

    If its as2, are you putting this code directly on the button? Also, the password is...
  19. Replies
    4
    Views
    641

    though, it would be best if you could have the...

    though, it would be best if you could have the timer in your AS file. What happens when you try?
  20. Replies
    4
    Views
    641

    lets say that your code is on frame 1. your...

    lets say that your code is on frame 1. your timer is declared and the listeners are applied. if you go back to frame 1, you will be declaring a new timer, leaving the old one to continue its duties...
  21. Replies
    0
    Views
    324

    full-screen MOUSE_MOVE

    In full-screen mode, is there a way to determine how far the user attempted to move their cursor once it reaches the edge of the screen?

    All that as3 seems to provide is the stageX and stageY. I...
  22. Replies
    9
    Views
    1,348

    you could give each button a name that's...

    you could give each button a name that's identical to the timeline label. Then when you click a button, go to that frame...


    Btn1.name = 'label1';
    Btn2.name = 'label2';
    Btn3.name = 'label3';
    ...
  23. Replies
    3
    Views
    593

    you already have your if statement... ...

    you already have your if statement...

    if(_currentMatches >= _totalMatches)

    for the score, use myTimer.currentCount;

    for the game over, add a timerComplete listener to the timer;
  24. Please start a new thread. Your question has...

    Please start a new thread.

    Your question has nothing to do with this topic.
  25. I don't know that it's good practice to have a...

    I don't know that it's good practice to have a super class reference an extended class, but you can fix your problem by assigning the class during instantiation if it's not already set...

    ...
Results 1 to 25 of 469
Page 1 of 19 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center