dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: mammy

Search: Search took 0.03 seconds.

  1. Replies
    23
    Views
    1,517

    oh... the may 3rd, 9:02 note "nope..." was for...

    oh... the may 3rd, 9:02 note "nope..." was for beathoven's remark, btw.

    ric, check out the code i posted earlier. that'll show you were i put everything. use loadType to toggle between the...
  2. Replies
    23
    Views
    1,517

    nope. didn't work. it shouldn't matter, though....

    nope. didn't work. it shouldn't matter, though. if and event is fired and updated then it shouldn't matter where in the routine flow it is, i would think. it's either updated or not.
  3. Replies
    23
    Views
    1,517

    Ric, updateAfterEvent() doesn't come into play...

    Ric, updateAfterEvent() doesn't come into play here since the timer itself is the solution to force display. no need to add updateAfterEvent() to the timer event trigger.

    and since...
  4. Replies
    23
    Views
    1,517

    yup, this line listens for the event:...

    yup, this line listens for the event:
    this.addEventListener("continueLoad", continueLoad_evt);

    and this line dispatches the event:
    dispatchEvent(new Event("continueLoad"));

    which calls:...
  5. Replies
    23
    Views
    1,517

    beathoven, thx for the example. the code i...

    beathoven,
    thx for the example. the code i posted is just a test i threw together that represents the issue rather than the code itself which is much more complicated and unwieldy. the processor...
  6. Replies
    23
    Views
    1,517

    sstalder and beathoven, here you go. use...

    sstalder and beathoven, here you go. use loadType to toggle between event and timer techniques to force a screen update.


    package evt_test {
    import flash.display.*;
    import flash.text.*;...
  7. Replies
    23
    Views
    1,517

    actually, after testing, a dispatched event does...

    actually, after testing, a dispatched event does *not* force an update. so it seems like the setTimer() strategy is all i have.
  8. Replies
    23
    Views
    1,517

    thx beathoven, if so, then that's the way to go.

    thx beathoven, if so, then that's the way to go.
  9. Replies
    23
    Views
    1,517

    yup. i agree triggering an event is a...

    yup. i agree triggering an event is a better/cleaner way to go but will it force a display update mid frame? will code be able to display something upon receiving an event within a frame's routine?...
  10. Replies
    23
    Views
    1,517

    thx sstalder, i wound up solving the problem by...

    thx sstalder,
    i wound up solving the problem by putting setTimer() calls between the subroutines. that forced an update to allow me to track progress.

    m
  11. Replies
    23
    Views
    1,517

    force update during processor intensive routine

    hello all,
    i have a swf with several processor intensive subroutines within a main init() routine at start up (about a 5 secs startup wait). it needs a preloader not due to asset loads but to the...
Results 1 to 11 of 11




Click Here to Expand Forum to Full Width

HTML5 Development Center