A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: How to know when a swf ends?

  1. #1
    God Bless AMFPHP
    Join Date
    May 2004
    Location
    in a far far place
    Posts
    144

    How to know when a swf ends?

    hello guys! i was wondering how to know when an swf ends, without using any code at all, i had a little code that called an upper level each time the head passed over it, but i would like to know if there is any method that tells me when the timeline is over or the swf ends.
    Programming is literature, webdesign is art
    Check out my blog at www.asb-labs.com/blog Preguntas??? ---> Respuestas www.asb-labs.com/board >hablemos de flash en español<

  2. #2
    go blues ! audas's Avatar
    Join Date
    Oct 2000
    Location
    london ,piccadily circus!
    Posts
    665
    on the last frame _root.thisClipHasEnded();


    thisClipHasEnded=function(clip){
    upperLevelDoSomething();
    }
    peace.

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