Movie Clip Question

Could some one please help me :frowning:

I have a .fla titled “challenge.fla”

Everything in this movie happens right on the main scene (scene 1)

At about frame 50 I have a movie clip load that I created. It’s not an extrnal movie from a different .fla file, it was created in the “challenge.fla file” I just load it onto the main time line.

My question is this - I am trying to put stop commands for the audio and the effects happening on the main timeline (I am creating an interactive type presentation) and what I need to do is be able to stop the loaded movie clip in the middle of it’s animation with the same button that stops all the action on the main timeline.

I really dont know what to do. Could someone please help?

Ok - this is what I have right now that seems to work, only when testing it, I get a syntax error if the _root.main.graph isnt loaded yet… is there a better way to do it?



on (release) {
    tellTarget ("main") {
        stop();
    }
}
on (release) {
    tellTarget ("_root.main.graph") {
        if (_framesloaded =1) {
            stop();
        }
    }
}


i’m not sure what’s happening here…
but about controlling sound see this http://www.actionscript-toolbox.com/soundobject.php
, after that try this
http://www.kennybellew.com/
, and after that try to search this forum about sound object…

try this sureshot:

[AS]on (release) {
_root.main.stop();
if (_root.main.graph._framesloaded=1) {
_root.main.graph.stop();
}
}
[/AS]

Yo Yo Yo, Guig0!

Thanks so much man, that worked like a charm! I just changed the .stop to .play for the other button to make it start again and all worked fantastic :slight_smile:

You were a big help =)

glad to help you =)

cheers :bounce: