A Flash Developer Resource Site

Search:

Type: Posts; User: julifos

Search: Search took 0.02 seconds.

  1. Replies
    9
    Views
    1,562

    This will break here at round 2456 (just for...

    This will break here at round 2456 (just for statistical purposes):


    var pk:Number=0;
    kapul();

    function kapul():void{
    pk++
    trace(pk)
    return kapul();
  2. Replies
    9
    Views
    1,562

    I have a silly fix. After some more tests, I...

    I have a silly fix.

    After some more tests, I discovered the code was stack-overflowing after 1167 rounds. So, I added a little counter and a setInterval() to re-init the function.

    Now works...
  3. Replies
    9
    Views
    1,562

    I get the stack overflow/timeout error around 3...

    I get the stack overflow/timeout error around 3 times for 200 runs. I tested allways with the same set of words to pick in and the same fixed "crossword shape". Every few runs, words will repeat...
  4. Replies
    9
    Views
    1,562

    I attach the FLA file. It's no long code so, if...

    I attach the FLA file. It's no long code so, if you have a chance, take a look.

    I'll try to pseudo-code it here:

    1. Load various text files containing words and definitions.
    2. Loop thru blank...
  5. Replies
    9
    Views
    1,562

    Damn! I hate when someone says I can't simply...

    Damn! I hate when someone says I can't simply hide my errors... ;-)

    I've been testing and testing and testing and seems the code breaks allways in the same place, when I call the "randRange"...
  6. Replies
    9
    Views
    1,562

    Avoid recursion errors/stack overflow

    Hi all!

    I have a bunch of code which uses lots of recursion. It's a crossword game. Basically, the code is trying to find the way to exit from the labyrinth (mixing words from a list untill they...
  7. Replies
    3
    Views
    1,056

    You made me think about "matching a word" without...

    You made me think about "matching a word" without using the "comma trick" and I found what I believe is a working version. Simply replace "," with "\b", which I found to be the flag to find the...
  8. Replies
    3
    Views
    1,056

    I include the commas because it must match entire...

    I include the commas because it must match entire words. Using your pattern, would find as well "herradura" inside the word "cuentaherraduras".

    But maybe there is a special flag to match words...
  9. Replies
    3
    Views
    1,056

    Regexp multiple matches

    Hi all!

    This must be a very basic question for regexp advanced users, but I can't find the way to make it work. This is the code:


    var wordList:String =...
  10. Replies
    0
    Views
    1,207

    [F8] JSFL: resize text field

    I don't know where to post about JSFL, sorry ;-)

    How can I resize a dynamic text field in the stage?

    I would like resizing dynamic text fields, so they have extra space on the left/rigth, as I...
  11. After some time, I found the answer here: ...

    After some time, I found the answer here:

    http://www.flashkit.com/board/showthread.php?threadid=437011

    Thanks go to ericlin!
  12. Replies
    5
    Views
    663

    You usually call the levels using "_level0",...

    You usually call the levels using "_level0", "_level1", "_level2", etc. This way, you can refer to them from any loaded movie clip (being "_level0" the one on the bottom and so on).
  13. Change dinamically movie-clip center (or fake it)

    Hi all!

    I would like snapping the edges of two figures programmatically, being these next one to another and with different rotation.

    My first idea was "changing dinamically the movie clip...
Results 1 to 13 of 13




Click Here to Expand Forum to Full Width

HTML5 Development Center