The reason you are having a problem is because of the "first in wins" 
rule that applies to loading classes. Your monkey patched VideoPlayer 
class is in your swf file, but in frame 2. The framework swz file is 
loaded in frame 1, so its definition of VideoPlayer wins.  The way to 
work around this is to create your own RSL with just your VideoPlayer 
class and its dependencies. Load this new RSL before the signed 
framework RSL and your definition of the VideoPlayer will win.

Note: the new RSL can be large in some cases, depending on the size of 
the classes the monkey patched file is dependent on.


-Darrell


--- In flexcoders@yahoogroups.com, "luvfotography" <ygro...@...> wrote:
>
> Hi, I've made a change to mx.controls.videoClasses.VideoPlayer.as and
> placed it in my 'src' folder under the folders 'mx', then 'controls',
> then 'videoClasses' and it picks up the change no problem.
> 
> If I then change my project to use 'runtime shared library' it's not
> picking up my changes.
> 
> What do I need to do?  
> do i need to recompile the framework_3.0.0.477.swz somehow?
> thanks,
>


Reply via email to