dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: albert105

Page 1 of 9 1 2 3 4

Search: Search took 0.55 seconds.

  1. Replies
    8
    Views
    556

    Btw: I'm not just sitting here waiting for...

    Btw: I'm not just sitting here waiting for someone posting the quickest fix.
    Just trying to understand how things works and how classes relate to each other.
  2. Replies
    8
    Views
    556

    Thanks for the responses. Much appreciated! I...

    Thanks for the responses. Much appreciated!

    I have worked with event dispatchers once before and I understand why they are the smartest solution. But I must admit that they do confuse me a lot and...
  3. Replies
    8
    Views
    556

    Ok thanks! But I might have narrowed down my...

    Ok thanks! But I might have narrowed down my problem a bit too much..
    It's slightly more complicated:

    http://www.triggerfish.nl/as32.jpg

    in mainholder I have a pagesholder that is in
    control...
  4. Replies
    8
    Views
    556

    It's probably a pretty basic/noobie question....

    It's probably a pretty basic/noobie question. Forgive me for my ignorance.

    I mean that I initialised yaddayadda inside Main like:

    var yaddayadda:YaddaYadda = new YaddaYadda();...
  5. Replies
    8
    Views
    556

    communication between classes

    Yo everyone,

    I have question about communication between classes.
    Here's a pic that explains the problem:

    http://www.triggerfish.nl/as3.jpg

    Thanks!
  6. Replies
    0
    Views
    249

    Upload file is not working

    Hi there,

    I'm having a problem with a upload module I want to use in a form.

    Everything seems to work fine..
    My completeHandler is being called..
    Only the file is nowhere to be found.........
  7. Replies
    2
    Views
    513

    I get the info I'd expect.. The button first...

    I get the info I'd expect..

    The button first enters the screen via a tween. After the tween is done the listeners are set. I only get the error when I'm hovering the button at the time the...
  8. Replies
    2
    Views
    513

    mouse out listener error

    Hi there,

    I've got the following problem:

    I have a button with two listeners: a mouseover and a mouseout.

    When I mouseover I trigger a TweenLite x tween that tweens the position of a...
  9. something like this should work: var...

    something like this should work:



    var timeout;
    btn.onPress = function(){
    timeout = setTimeout(gameover,5000);
    };
    btn.onRelease = function(){
    clearTimeout(timeout)
  10. Replies
    4
    Views
    373

    Yes true. That's because the if statement is only...

    Yes true. That's because the if statement is only read once. It doesn't recheck A after it's been checked.

    You can make a function that you can call at anytime to update:


    function...
  11. Replies
    2
    Views
    426

    have you embedded the font? If not, try that.

    have you embedded the font? If not, try that.
  12. Replies
    4
    Views
    373

    It doesn't work because it reads the code from...

    It doesn't work because it reads the code from top to bottom. So it first reads the if(A==1) before A gets declared. So at the time of the if statement A hasn't been set yet. This works:



    A=1;...
  13. Replies
    4
    Views
    373

    yes; the on(press) is the oldfashion way

    yes; the on(press) is the oldfashion way
  14. Replies
    2
    Views
    360

    try to avoid using scenes.. they add no value.

    try to avoid using scenes.. they add no value.
  15. Replies
    4
    Views
    373

    Use buttonname.onPress=function() instead of...

    Use buttonname.onPress=function() instead of on(press).
    Avoid to attach code directly onto movieclips but place it in timeline frames. It keeps your code way cleaner and managable in the long run.
  16. You can give each randomPic an Id number that you...

    You can give each randomPic an Id number that you can use as reference.


    randomPic.pid = i;


    target.onRelease = function(){
    trace(this.pid);
    };
  17. It's not the depths. It's because the external...

    It's not the depths. It's because the external files aren't loaded yet at the time you assign the event actions to them. Try this:


    // -----------------load random Clips function...
  18. try randomPic.onRelease edit.. mm not working...

    try randomPic.onRelease

    edit.. mm not working either.. probably because the external swf isn't loaded yet. It probably needs to be fully loaded first
  19. It's not working because you have assigned the...

    It's not working because you have assigned the onPress action of the sub buttons before the buttons are actually on the stage. So at the time you declare the onPress action the buttons do not yet...
  20. Replies
    0
    Views
    431

    textfield focus

    Hi there,

    Couldn't find an answer here on the following question:

    How do set the focus on a input textfield by default?
    As soon as the field appears it should be active.

    cheers,
    Albert
  21. Replies
    2
    Views
    522

    To answer your first question: Set the variable...

    To answer your first question:
    Set the variable first outside your keydown check code, like this:
    var fire1:Number = 0;
  22. Replies
    4
    Views
    577

    ohhhh ok thanks! It works

    ohhhh ok thanks! It works
  23. Replies
    4
    Views
    577

    Sorry I'm not quite getting it..... To be...

    Sorry I'm not quite getting it.....

    To be more specific:
    I have all the files (flas, as files and swfs) in one folder named "virtualzoo/src".
    The package name in the as files is named "zoo"....
  24. Replies
    4
    Views
    577

    newbie compiling problem

    Hi there,

    I'm completely new to actionscript 3.0 as well as using external *.as files.
    I'm now studing the moock essential 3.0 book. The problem is that I don't
    know how to compile it... I...
  25. Replies
    8
    Views
    543

    oy.. it's been a while... I did actually used...

    oy.. it's been a while... I did actually used silentweed's code.

    If I'm not mistaken I think a build a fake preloader that divided 100 percent with the amount of swfs. I had around 30 small swf...
Results 1 to 25 of 209
Page 1 of 9 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center