A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Collision Detection Help Needed

  1. #1
    Senior Member
    Join Date
    May 2003
    Posts
    160

    Collision Detection Help Needed

    hello all,

    i am trying to get a movieclip to fade in visible when 2 clips collide (which is working). but what i'd like to happen is have it be totally invisible initially. i got it sort of working but it show up for a second and then fades invisible.

    please check out my sample fla. you'll see that when you drag mc1 over mc2 the background disappears and re-appears.

    any help is much appriciated, thanks!!
    Attached Files Attached Files

  2. #2
    Senior Member
    Join Date
    Jul 2003
    Posts
    156
    Just add

    onClipEvent(load){
    this._visible = 0;
    }

    to the bg clip

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