A Flash Developer Resource Site

Search:

Type: Posts; User: topnotch4004

Search: Search took 0.01 seconds.

  1. Flash5 I've just had a revelation! Ever heard of the...

    I've just had a revelation! Ever heard of the 'eval' statement?

    Layer=0;
    Card = new Array();

    for(i=0;i<4;i++){

    Card[i] = new Array();

    for(j=0;j<13;j++){
  2. Flash5 So I've actually found a bit of a work around....

    So I've actually found a bit of a work around. Without over complicating my explanation with the specific details of my Movie, it goes along the following lines:

    The code for changing the 'Image'...
  3. Flash5 Hi fruitbeard, Thanks for your reply. I like...

    Hi fruitbeard,

    Thanks for your reply. I like the idea of using a variable to carry the information about the value of i within the for loop. Sadly I cant get the code working. I've tried the...
  4. Flash5 Expert - Changing movie frame (gotoAndPlay) in a for loop using a counter

    I'm having some difficulties using counters. Specifically related to using the gotoAndPlay (or Stop) command within a 'for' loop. This does not relate to the layers of attached movie clips but the...
  5. Replies
    2
    Views
    1,611

    Possible solve using arrays

    Hi All.

    I may have solved my own issue through the use of arrays:

    for (i=0 ; i<20 ; i++){
    set (vx[i], rate[i]);
    }

    This is based on previously initializing the arrays:
    vx = new Array();...
  6. Replies
    2
    Views
    1,611

    Passing concatenated variables

    Hi All,

    I'm trying to pass the value of a variable which is made up of 2 parts, name + counter. Please can you advise on the correct formatting.

    Code that works:

    for (i=0 ; i<20 ; i++){
    set...
Results 1 to 6 of 6




Click Here to Expand Forum to Full Width

HTML5 Development Center