A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Stop stream loading ...

  1. #1
    Junior Member
    Join Date
    Nov 2005
    Posts
    28

    Stop stream loading ...

    Here's a tricky one (at least for me) I have a button, and the script:

    Code:
    on (press) {
    	unloadMovieNum(66);
    	loadMovieNum("sounds/nameofthefile.swf", 66);
    }
    It works perfectlly !!
    But the problem is, how to stop it ?
    StopAllSounds won't work with this,,,

    Any ideas ?
    thanks

  2. #2
    Junior Member
    Join Date
    Nov 2005
    Posts
    28
    well i figured it out ,,, kind of

    i just created a stop button with

    loadMovieNum on it ,, but i just load a "blank file" (published .swf of nothing on it)

  3. #3
    Registered User
    Join Date
    Apr 2001
    Location
    Akron OH, USA
    Posts
    4,841
    you can also use unloadMovieNum() to remove the SWF.

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