Já agora... esqueci-me de indicar onde quero a rotation, pois durante as muitas experiências que fiz para tentar por aquilo a funcionar acabei por apagar a label. Aqui vai o código:
Ficheiro Home:mxml <?xml version="1.0" encoding="ISO-8859-1"?> <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" width="990" height="550" creationComplete="utilizadoresService.getUtilizadores()" > <mx:Style> @font-face{ src:url("assets/verdana.ttf"); fontFamily: myFont; } </mx:Style> <mx:RemoteObject id="utilizadoresService" destination="utilizadoresDestination" source="GestorDeUtilizadoresService" showBusyCursor="true"> <mx:method name="getUtilizadores" result="getUtilizadoresHandler(event)"/> </mx:RemoteObject> <mx:Script> <![CDATA[ import mx.collections.ArrayCollection; import mx.rpc.events.ResultEvent; [Bindable] private var dp:ArrayCollection; private function getUtilizadoresHandler(event:ResultEvent):void { dp=event.result as ArrayCollection; } ]]> </mx:Script> <mx:HBox width="100%" height="100%" id="mainHBox" horizontalAlign="center" verticalAlign="middle" horizontalCenter="0" verticalCenter="0"> <mx:VBox width="230" height="100%"> <mx:Canvas width="100%" height="100%" id="leftCanvas"> <mx:Canvas left="10" top="10" width="100%" height="60" backgroundColor="#ebebe9" id="bannerHome"> </mx:Canvas> <mx:Canvas left="10" top="78" width="100%" height="280" backgroundColor="#ffffff" id="noticiasHome"> <mx:DataGrid x="10" y="10" width="198" height="258" editable="false" dataProvider="{dp}" id="noticiasGrid"/> </mx:Canvas> <mx:Canvas left="10" width="100%" backgroundColor="#ebebe9" id="caledarioHome" bottom="10" height="174"> <mx:Label x="10" y="366" text="Qualquer coisa" width ="51" height ="174" rotation="90"/> <<<<<<<<<<<<<<<<<<<<<<<ROTATION <mx:DateChooser width="167" right="0" bottom="0" top="0" showToday="true"/> </mx:Canvas> </mx:Canvas> </mx:VBox> <mx:VBox id="mainVBox" width="750" height="100%"> <mx:Canvas width="100%" height="100%" id="rightCanvas"> <mx:Canvas id="imagemHome1" width="740" right="10" top="10" height="192"> <mx:Image width="740" height="192" id="imagemTop" autoLoad="true" source="@Embed('assets/fotos/CanvasCima.jpg')" scaleContent="true" horizontalCenter="0" y="0" creationCompleteEffect="WipeDown"/> </mx:Canvas> <mx:Canvas width="740" height="289" borderStyle="none" bottom="51" right="10" id="imagemHome2"> <mx:Image x="0" y="0" width="740" height="289" source="@Embed('assets/fotos/CanvasBaixo.jpg')" creationCompleteEffect="WipeUp"/> </mx:Canvas> <mx:Canvas width="253" height="33" id="copyRights" bottom="10" horizontalCenter="-239"> <mx:Label text="Projecto Kokas @ 2007 | Direitos de Autor" fontFamily="Verdana" fontSize="9" textAlign="left" width="253" height="33" horizontalCenter="0" verticalCenter="0"/> </mx:Canvas> <mx:Canvas width="445" height="33" backgroundColor="#ebebe9" id="mailingList" bottom="10" right="10"> <mx:TextInput width="214" height="20" right="45" verticalCenter="0.5" id="mailingListBox"/> <mx:Label text="Inscrever na Mailing List" width="170" textAlign="left" verticalCenter="-0.5" left="10" fontSize="12" fontWeight="bold"/> <mx:Button x="408" y="10" label="OK" labelPlacement="right" fontFamily="Verdana" fontWeight="bold" width="27" height="13" fontSize="8"/> </mx:Canvas> </mx:Canvas> </mx:VBox> </mx:HBox> </mx:Canvas> Ficheiro main.mxml: <?xml version="1.0" encoding="ISO-8859-1"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns="*" minWidth="990" minHeight="550" pageTitle="LRG SkatePark"> <mx:Style> @font-face{ src:url("assets/verdana.ttf"); fontFamily: myFontBold; } </mx:Style> <mx:VBox width="990" paddingLeft="0" paddingRight="0" horizontalCenter="0" top="12"> <mx:ApplicationControlBar id="acb" width="100%"> <mx:Image id="image"/> <mx:ToggleButtonBar height="100%" dataProvider="{storeViews}"/> </mx:ApplicationControlBar> <mx:ViewStack id="storeViews" width="100%" height="550"> <Home id="home" label="Home" showEffect="WipeDown" hideEffect="WipeUp"/> </mx:ViewStack> </mx:VBox> </mx:Application> A linha onde seria suposto existir rotação da label está indicada com "<<<<<<<<<<<<<<<<<<<<<ROTATION" Mais uma vez obrigado pela atenção --~--~---------~--~----~------------~-------~--~----~ Recebeu esta mensagem porque está inscrito em Grupo "Mailing List da Comunidade Portuguesa de Desenvolvimento de RIAs - www.riapt.org" do Grupos Google. Para enviar mensagens para este grupo, envie um email para [email protected] Para anular a inscrição neste grupo, envie um email para [EMAIL PROTECTED] Para mais opções, visite este grupo em http://groups.google.com/group/riapt?hl=pt-PT -~----------~----~----~----~------~----~------~--~---
