A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Go to and load

  1. #1
    Senior Member
    Join Date
    May 2005
    Location
    Canada
    Posts
    212

    Go to and load

    Im building a website and i need a command to tell a movie clip to go to play fram 240 then load an external swf into a empty movie clip
    i tried this
    on (release) {
    _root.gotoAndStop(240);
    _root.contents.loadMovie("links.swf");
    }
    but it doesnt work. ne suggestions?

  2. #2
    anyone else hear that? flashpipe1's Avatar
    Join Date
    Jan 2003
    Location
    Upstate NY
    Posts
    1,929
    You won't be able to load the file until you're in the frame with the movieClip. I would set a variable to "links.swf" and then when you get to frame 240 (which I would put a label on & go to that label instead of using the frame number), then say:

    _root.contents.loadMovie(variable_name);

    Hope that helps!!
    Love like you've never been hurt, live like there's no tomorrow and dance like nobody's watching.

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