Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Live Previews 261 So, it's worth reapplying them in the setProperty() method, as the following example illustrates: override public function setProperty(item:DisplayObject, inProperty:String, inValue:*):Boolean { // apply the updated property and store whether it is successful var _propApplied:Boolean = super.setProperty(item, inProperty, inValue); // Reapply any properties that were initially set. setVideoControlBar(VideoController(item)); return _propApplied; } setStyle() , like setProperty() , allows for the applying of style values to the relevant style attribute within your component.Again, like all the extension methods, if you want to perform additional processing, you need to override the setStyle() method and add that functionality. preDeleteItem(), preDeleteChildItem()