Ok I don't know if I'm going absolutely crazy  -- I'm trying to add a button to 
the VideoPlayer -- not the stopButton which is already written in the spark 
VideoPlayer, but a new button to do something I want and will listen for 
outside of the class.

I create a VideoPlayer skin and add my button. I create a new class and extend 
VideoPlayer.as.  I add a public myButton (say) and override static partAdded -- 
I trace out the partName / instance and myButton is always null, never added.  
Hmm.

I duplicate the VideoPlayer classes into my own, add the same public myButton 
and this time my button is being traced out.

Now I could do it this way but it's 10k difference in the swf - from 253 to 
264.  Ok 11.  


What's the deal?

Garry Schafer
grimmwerks
gr...@grimmwerks.com
portfolio: www.grimmwerks.com/




Reply via email to