FLV Playback, control buttons/sliders

  • ucdavis
  • Newbie
  • Newbie
  • ucdavis
  • Posts: 5

Post 3+ Months Ago

I'm a bit rusty with my Flash. I've been using a file that I created over a year ago and now need to modify it.

My control buttons used to be on the main stage. Code looked like this...

Code: [ Select ]
with (videoFile) {
    playPauseButton = vcPlayPause;
    stopButton = vcStop;
    seekBar = vcSeek;
    volumeBar = vcVolume;
  2. with (videoFile) {
  3.     playPauseButton = vcPlayPause;
  4.     stopButton = vcStop;
  5.     seekBar = vcSeek;
  6.     volumeBar = vcVolume;
  7. }

Now I've got an invisible button that shows the controls on rollover and hides them on rolloff. My control instances are still called vcPlayPause, vcStop, etc, except now they're inside a movie clip instance called "controls". This movie clip has some motion tweening in it for the show/hide feature, and it is placed directly on the main stage.

I tried modifying the code to "playPauseButton = controls.vcPlayPause;" and "playPauseButton = _root.controls.vcPlayPause;" to no avail. What's the correct way to do this?


Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 5 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-2017. Ozzu® is a registered trademark of Unmelted, LLC.