Thanks Alex and everyone else who responded!
 

Jason Merrill 
Bank of America 
L&LD GT&O 
eTools & Multimedia Research & Development 




 


________________________________

        From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui
        Sent: Friday, December 07, 2007 11:40 AM
        To: [email protected]
        Subject: RE: [flexcoders] Application.application.container?
        
        

        

        In order to present a framework that hides a lot of flash-isms
and tries to make dev more efficient, we take over root, put borders in
containers, etc.  sysmgrs graphics is likely covered by apps bordes, and
apps graphics are probably also covered by its borders.

        

        So I'd use canvas or customize border.  Forget levels in AS3,

        

        
________________________________


        From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason
        Sent: Friday, December 07, 2007 8:26 AM
        To: [email protected]
        Subject: RE: [flexcoders] Application.application.container?

        

        OK  - thanks, so that's good info, and fine.  So I guess my REAL
question is, where and how would you do it?  Have it draw on a
<mx:Canvas> component?  I guess that would work fine, I'm just coming
from the Flash IDE perspective, and I'm used to Actionscript
development, putting MovieClips on the _level0 movieClip timeline. 

        

        Jason Merrill 
        Bank of America 
        L&LD GT&O 
        eTools & Multimedia Research & Development 

        
        
        

        

                

                
________________________________


                From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Samuel R. Neff
                Sent: Friday, December 07, 2007 11:22 AM
                To: [email protected]
                Subject: RE: [flexcoders]
Application.application.container?

                Application.application actually is not the root display
object from the Flash's display list perspective.  SystemManager is and
you can get a reference to it through the "systemManager" property
defined on UIComponent.  Not sure I would suggest drawing on it, but
technically that's the root.  

                

                Here's some info from one of the Flex SDK developers:

                

                http://iamdeepa.com/blog/?p=11
<http://iamdeepa.com/blog/?p=11> 

                

                Personally, I don't understand why you'd have anything
outside of your root MXML class drawing on Application.application..
seems like broken encapsulation and trouble that could be solved another
way.

                

                HTH,

                
                Sam

                -------------------------------------------
                We're Hiring! Seeking a passionate developer to join our
team building Flex based products. Position is in the Washington D.C.
metro area. If interested contact [EMAIL PROTECTED]
                  

                

                

                
________________________________


                From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason
                Sent: Friday, December 07, 2007 10:39 AM
                To: [email protected]
                Subject: RE: [flexcoders]
Application.application.container?

                OK - thank you.  I guess my core question is, if I want
to draw directly on the _level0 stage, the way to pass that UI object to
a class which draws on it is to do UIComponent(Application.application)
?  That seems a little convoluted, but that's how it's done?  I could
create a canvas and pass that into the class, but I'm wondering about
the root UI object. In Flash, I can draw directly on the stage.  

                

                

                Jason Merrill 
                Bank of America 
                L&LD GT&O 
                eTools & Multimedia Research & Development 

        

        

         

Reply via email to