Skip navigation
Currently Being Moderated

FLVPlayback component... referenecing an external skin part...

Sep 21, 2012 8:03 AM

Hi,

 

I've been scouring the internet for a solution to this, but it seems it's only possible using netstream. I want to use an internal flag to enable and disable the scrubber bar and seekBarHandle:

 

something along the lines of: selectedVideo.skin.seekBarHandle_mc.visible = false;

 

i.e. - the user must watch the video in its entirety, after it's completed, they can watch it again and use the scrubber and seek function. I've been having one heck of a time trying to control this thing. As it stands now, I can't send any properties into my external skin. Right now, I'm using a customized version of MinimaFlatCustomColorPlayBackSeekMute.fla. Has anyone run across this problem before? And if so, what did you do to control the skin parts?

 

Thanks,

Chipleh

 
Replies
  • kglad
    62,194 posts
    Jul 21, 2002
    Currently Being Moderated
    Sep 21, 2012 8:10 AM   in reply to Chipleh

    use a loop (on the skin's numChildren) to find all the children, grandchildren etc until you find the reference(s) you need.

     
    |
    Mark as:
  • kglad
    62,194 posts
    Jul 21, 2002
    Currently Being Moderated
    Sep 21, 2012 12:39 PM   in reply to Chipleh

    no, you probably have an incorrect parent:

     

        

    var theScrubber:Object = getChildByName(scrubber.name);

     

    should probably be

     

         var theScrubber:Object = scrubber.parent.getChildByName(scrubber.name);

     

    but why not use:

     

    scrubber, if that's the object you're trying to reference?

     

    trace("the scrubber: "+scrubber);

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points