A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: buttons to external files

Hybrid View

  1. #1
    Junior Member
    Join Date
    Jul 2003
    Location
    london
    Posts
    1

    buttons to external files

    hello all. i'm new to this game so bare with me if my problem has been mentioned before

    My site is made entirely in flash. i have a button that loads external SWFs (which works) and shows another movie clip that relates to the new SWF.
    My problem is that I can't get the buttons inside the MC to, for example, nextFrame the new SWF

    Here is the code on the button

    on (release) {
    _root.external swf movie clip name .nextFrame();
    }

    The external file has two frames, one with preloader, the next with MC
    please help
    thanks

  2. #2
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    I need to know if you are loading into a _level or a target movieclip.Or show the loadMovie code.

    Or taking a chance here.....

    _root.targetMovieclip.gotoAndStop(2);


    or levels...

    _level1.gotoAndStop(2);

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

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