I use Cairngorm in my application.
My main.mxml is:

<?xml version="1.0" encoding="utf-8"?>
  <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml";  
  xmlns:view="com.vetclinic.view.*" 
  xmlns:ctrl="com.vetclinic.components.controls.*" 
  xmlns:control="com.vetclinic.control.*" 
  xmlns:business="com.vetclinic.business.*" 
  pageTitle="VetClinic" 
  marginTop="0" 
  marginRight="0" 
  marginLeft="0" 
  marginBottom="0" 
  initialize="applicationViewHelper.init()">
<mx:Script>
<![CDATA[import com.vetclinic.model.ModelLocator;]]>
</mx:Script>
    <view:MainViewHelper id="applicationViewHelper" />
    <business:Services id="services" />
    <control:Controller id="controller" />
    <ctrl:appMenuBar id="menu"
change="applicationViewHelper.menuChangeEvt(event)" />
    <mx:ViewStack  id="views" visible="false" width="100%"
height="100%"  selectedIndex="{ModelLocator.workflowState}" >
      <view:Inventory id="inventory" />
    </mx:ViewStack>
  </mx:Application>

Why when I compile it, the browser shows some space above the menu bar
even if all margins are 0. If I change to:

...
 <ctrl:appMenuBar id="menu"
change="applicationViewHelper.menuChangeEvt(event)" />
 <view:MainViewHelper id="applicationViewHelper" />
    <business:Services id="services" />
    <control:Controller id="controller" />
...

there is no space above the menu bar. Why does it happen? The
applicationViewHelper, services and controller are only classes. 





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to