A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: targeting labels

  1. #1
    Member
    Join Date
    Nov 2000
    Posts
    59
    I need to target a label in a loaded swf and am trying:

    on (release) {
    unloadMovieNum (0);
    loadMovieNum ("PR.swf", 0);
    gotoAndPlay ("start");

    but with no luck.
    Any ideas?

    Many thanks in advance.

  2. #2
    Junior Member
    Join Date
    Apr 2001
    Posts
    23

    try this

    Loading a swf into a level with a movie already loaded, do not need a unload action. It just replaces the old one.

    on(release){
    loadMovieNum ("PR.swf", 0);
    tellTarget ("_level0") {
    gotoAndPlay ("start");
    }
    }


  3. #3
    Member
    Join Date
    Nov 2000
    Posts
    59
    If I don't use unloadMovNum the original SWF is still visible under the loaded SWF.

    Next, I tried this

    on(release){
    unloadMovieNum(0);
    loadMovieNum ("PR.swf", 0);
    tellTarget ("_level0") {
    _level0.gotoAndPlay ("start");

    but with still no luck.

    Any ideas?



  4. #4
    Junior Member
    Join Date
    Apr 2001
    Posts
    23
    This is what another guy answered for a similar question from me. The link:

    http://board.flashkit.com/board/show...hreadid=171696

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