Well, try this:
 1) read the mm_livepreview.as file very carefully. Read Gary
 Grossman's comments in it and try to understand what each string of
 code does.
 2) Read Components Dictionary chapter of Using Components in Flash
 docs. you'll see the differencies of behaviour (in Live Preview) of MM "native"
 components.
 3) look into source files/code of MM components to see how exactly
 differencies of p.2 are implemented.
 4) make sure you have your own onUpdate and setSize methods defined.

 As to "special case", it's something like this:
 public function init(Void):Void{
      //main content of your init()

      // code below will work in Live Preview only
      if(_global.isLivePreview){
          // your code here

      }
      //end of "special" Live Preview code
 }

 Similar, you can add such "special" section to any of your
 component's method.

 BTW, read my other posts in recent (2) days if you haven't yet - it
 seems I've answered similar issues several times, just not to you.
 
  

-- 
Best regards,
 GregoryN                        
================================
http://GOusable.com
Flash components development.
Usability services.

> ------ Manuel Saint-Victor wrote:
> 
> Bart--This is perfect- I was thinking of something along those lines-
> 
> are there any hidden issues with that that I hadn't thought of?
> 
> 
> GregoryN-I must have missed the mm_livepreview.as comment that you made- I'm
> going to google my gmail and follow up on that -  tell me more about the
> special case-- you're giving me exactly what I need to know-- thanks.


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to