I get it. We decided not to included this capability, but this will be a great exercise for me. For the audience that needs that kind of control, we're converting to a movie and will let others overlay controls.

Thanks.

On Sep 24, 2008, at 11:41 PM, sebastian wrote:

It's not that complicated once you get your head around it.

If you can write a function that stops and starts your movie from INSIDE the movie, then you can call that same function from OUTSIDE of it, just by referencing the name of the MC and then the function you want to call.

So break it into steps, to make it simple and thus achievable:

1. figure out how to start and stop timers
2. put that in a function
3. test the function w/i the MC by having it call its own function
4. put that movie in the holding MC and then do another test to call that function, see same results
5. skin your function in the holding MC as a button, interface etc.

Good luck!

Seb.

Jim Elmore wrote:
This is getting very deep for me. The movie clips have timers that would have to stop, and I don't know I would tell a timer to stop and resume that is running in another movie clip. Perhaps I've built this wrong.
On Sep 24, 2008, at 5:03 PM, sebastian wrote:
Yes it is, but, erm, it's really hard to answer your question because there is no one way to implement it and, I have no idea how your scripted movie clips are running themselves...

If each of your sub movies has a function that starts/pauses the playback, then you can simply have the parent MC call the currently loaded scripted MC's pause/play function.

Something like:

Main clip:

this.loadedClip.pausePlay()

And inside of the sub movie (container):

public function pausePlay ():Boolean
{

this.stop();
//do something to pause playback, in this case just 'stop()' but depending on how you wrote this code, it might be something else like "resetTimer();" or ...

return true;
//if successful or if paused [depending on what you wan to
//check when  debugging]

}

Hope this helps a little.
:)

Seb.

Jim Elmore wrote:
I have a slide show built of scripted movie clips placed on the main timeline to sync to a voice over audio. This is way over my head, but I'd like to add play/pause functionality and a scrubber to this show. Is that possible to start and stop scripted movie clips from any frame in the swf?
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to