pause and play buttons for external swf?

  • eberline
  • Newbie
  • Newbie
  • eberline
  • Posts: 5

Post 3+ Months Ago

Is it possible to create pause and play buttons for an external swf in flash?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Aspirin99
  • Novice
  • Novice
  • Aspirin99
  • Posts: 23
  • Loc: Minneapolis

Post 3+ Months Ago

If you have an external swf that loads into your main movie into a container mc called holderMc (for example) - In other words, you used:

_root.holderMc.loadMovie("myFile.swf");

------ Your pause button.

on(press) {

_root.holderMc.stop();
}

Your play button is the same with _root.holderMc.play();
  • eberline
  • Newbie
  • Newbie
  • eberline
  • Posts: 5

Post 3+ Months Ago

What do you mean by loading the movie into a container?

I've created an empty movie clip, so as to position my swf's and called loadMovie to load all of my swf's.

thanks man
  • eberline
  • Newbie
  • Newbie
  • eberline
  • Posts: 5

Post 3+ Months Ago

Sorry, what I did was created a movie clip ("mc")and inserted it into a new layer called "viewer". I then created a new frame each time I called my next movie with LoadMovie (for example loadMovie("1.swf", "mc")from withing the "viewer" layer.

Thanks for you help
  • eberline
  • Newbie
  • Newbie
  • eberline
  • Posts: 5

Post 3+ Months Ago

Thanks for your help dude. The pause button works. However, I need the pause button to also pause the timeline at the same time. Is this possible?

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 8 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.