Flash Q: mousetrailer

  • Started
  • Last post
  • 1 Response
  • Drno

    I have a small problem
    i'm trying to update this site:

    I didn't code it and the person that did used scenes and lots of flash 4 effect, the problem arise when i need to upload it, it only shows 2 eyes when it suppose to show lots of them:

    this is the actions script for the duplicateMovieclip
    count++;
    if ((count > 1) ) {
    count = 1;
    }
    Xpos = Xpos + ((_xmouse - Xpos) / delay);
    Ypos = Ypos + ((_ymouse - Ypos) / delay);
    duplicateMovieClip("particle", "particle" add count, count);
    this["particle" + count ]._x = Xpos;
    this["particle" + count ]._y = Ypos;

    it gives me this error

    **Error** Symbol=mouseTrailer, layer=Layer 1, frame=2:Line 7: ')' or ',' expected
    duplicateMovieClip("particle", "particle" add count, count);

    help me please

  • st33d0

    duplicateMovieClip("particle", "particle"+count, count); ?

    Oh, and it's best to link thru to flash scripts here on NT:

    http://pastebin.coconut.se/

    Makes it easier to read and it doesn't get garbled by the PVN.