Hi mehmood,

Drag the swa member on stage and apply this script to that sprite

on beginSprite me
  -- play
  sprite(me.spriteNum).member.play()
end

on exitFrame me
  -- if playing then nothing
  if sprite(me.spriteNum).member.state = 3 then
    exit
  else
    -- if not play again
    sprite(me.spriteNum).member.play()
  end if
end if

regards
----------------------------------------------------------
Ramesh CT
Phoenix Global Solutions (I) Pvt Ltd
http://www.lingoman.net/
----------------------------------------------------------



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to