A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: calling a loaded movie? HOW?

  1. #1
    Member
    Join Date
    Oct 2000
    Posts
    83
    This should be easy, but I'm having a hell of a time with it.

    I have a movieclip with an instance of soundClip on the main timeline.

    In this movieclip, I am loading an SWF file as such:

    loadMovie ("mySound.swf", "soundClip");

    In my main movie, I want to control this loaded SWF file.

    What is the path to it?

    I've tried this but it didn't work:

    _root.soundClip.mcControl.sLoop.start(0, 99);

    (mcControl is a MC in the loaded movie) but that does not work at all.

    Any help is appreciated!


  2. #2
    Senior Member
    Join Date
    Jan 2001
    Posts
    146
    heres an excerpt from the flash 5 help - should help. basically - put _level1 or _level2 depending where u have loaded the movie and then address the MCs

    "The following example stops the Timeline of the movie in level 0:

    _level0.stop();
    The following example sends the Timeline of the movie in level 4 to frame 5. The movie in level 4 must have previously been loaded with a loadMovie action:

    _level4.gotoAndStop(5);
    "

    sid

  3. #3
    Senior Member
    Join Date
    Jul 2001
    Posts
    177

    Just a thought....

    Hi
    Just try doing this might just help
    _root.soundclip.mcControl.gotoAndPlay(2);


    Regards

  4. #4
    Senior Member
    Join Date
    Jul 2001
    Posts
    177

    tell me...

    Hi again
    can U please tell me whether you have placed the sound file on the timeline of your movieclip mcControl or playing it from the library...

    Regards

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