A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: ghosts

  1. #1
    Junior Member
    Join Date
    Mar 2003
    Location
    hampsterville
    Posts
    19

    ghosts

    i want to have a random ghost thing so they fade in and out across the screen, i can make the image of the ghosts myself, i just want a few random fade in, glide, fade out things

    thanx in advance
    this is my stylish signature, do you like it?

  2. #2
    Senior Member dipkya's Avatar
    Join Date
    Mar 2001
    Location
    Mumbai (India)
    Posts
    158
    hi
    make a ghost movie clip with animation and on last frame write this
    stop();
    removeMovieClip(this);


    and on your main timeline frame put this action
    makeGhost= function () {
    trace(i);
    _root.attachMovie("ghost","ghost" add i, i);
    setProperty("ghost" add i,_x,random(500))
    setProperty("ghost" add i,_y,random(400))
    i++;
    };
    setInterval(makeGhost, 1000);

    check the fla file

    Is this what you wanted?
    Attached Files Attached Files
    dipkya
    ---------------------------------------------------------------
    SO MUCH HAVE TO DO, SO LITTLE HAS DONE!

  3. #3
    Junior Member
    Join Date
    Mar 2003
    Location
    hampsterville
    Posts
    19
    looks good, except 1 can i change what they look like and
    2 i want them to glide across the screen a little before vanishing.
    this is my stylish signature, do you like it?

  4. #4
    Senior Member dipkya's Avatar
    Join Date
    Mar 2001
    Location
    Mumbai (India)
    Posts
    158
    Hey
    That was dummy grafixs
    Let your creativity flow as per your requirement.
    Just open the moviclip from library and do whatever animation you want.
    GoodLuck
    dipkya
    ---------------------------------------------------------------
    SO MUCH HAVE TO DO, SO LITTLE HAS DONE!

  5. #5
    I have an icon and U dont! johnwun's Avatar
    Join Date
    Nov 2000
    Location
    Santa Cruz, CA
    Posts
    258
    try this for a tutorial:

    http://wundes.com/smoke/ASTutor1.html
    [a.fun>b.fun ? trace("do(a)") : trace("do(b)");

    wundes.com

  6. #6
    Junior Member
    Join Date
    Mar 2003
    Location
    hampsterville
    Posts
    19
    i am totaly confused about that
    i can't get my ghosts to show up a t all
    this is my stylish signature, do you like it?

  7. #7
    I have an icon and U dont! johnwun's Avatar
    Join Date
    Nov 2000
    Location
    Santa Cruz, CA
    Posts
    258
    Try this...

    1) post your SPECIFIC problem...

    2) attach a fla file so we can look at it...
    [a.fun>b.fun ? trace("do(a)") : trace("do(b)");

    wundes.com

  8. #8
    Junior Member
    Join Date
    Mar 2003
    Location
    hampsterville
    Posts
    19
    ok, this is what i have so far, i still need to add a few things, like a button that glows when you hover and when you click something happens, but first i want to get teh ghosts working properly
    this is my stylish signature, do you like it?

  9. #9
    Junior Member
    Join Date
    Mar 2003
    Location
    hampsterville
    Posts
    19
    i got an extended deadline, so please help me!!! check the .fla a couple posts ago see if u can fix it please!
    this is my stylish signature, do you like it?

  10. #10
    Junior Member
    Join Date
    Mar 2003
    Location
    hampsterville
    Posts
    19
    grr, forget the ghosts, totaly scrach this whole thread, delete it if you want admins...
    this is my stylish signature, do you like it?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center