Show
Ignore:
Timestamp:
03/08/11 00:05:28 (15 months ago)
Author:
Robin Gareus <robin@…>
Parents:
5677ea307610865f4d7c68e0733c1fc4dde54eee
Children:
f35a3cded31bcba366c5d2ee708fe889dbb5fd8f
git-committer:
Robin Gareus <robin@gareus.org> / 2011-03-08T01:05:28Z+0100
Message:

sansarmes: small version (again)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • flex/sansarmes/main.mxml

    r5677ea3 rf53c943  
    22<mx:Application 
    33  xmlns:mx="http://www.adobe.com/2006/mxml" 
    4     width="800" height="720" 
     4    width="720" height="460" 
    55    layout="vertical" 
    66    verticalAlign="middle" 
     
    364364                myVu.graphics.clear(); 
    365365                myVu.graphics.beginFill(0x000000); 
    366                 myVu.graphics.drawRect(0, 0, 260, 16); 
     366                myVu.graphics.drawRect(0, 0, 210, 16); 
    367367                myVu.graphics.beginFill(color); 
    368                 myVu.graphics.drawRect(1, 1, vol*2.58, 14); 
     368                myVu.graphics.drawRect(1, 1, vol*2.08, 14); 
    369369                myVu.graphics.endFill(); 
    370370            } 
     
    392392            font-size: 12pt; 
    393393            color:#1F3D89; 
     394            horizontal-gap: 2; vertical-gap: 2; 
    394395        } 
    395396 
     
    420421        } 
    421422    </mx:Style> 
    422  
     423    <!-- 
    423424    <mx:VBox styleName="nomargin" horizontalAlign="center" width="100%"> 
    424425        <mx:Image source="@Embed(source='media/header.png')" width="200" height="67" horizontalAlign="center"/>  
    425426        <mx:HRule height="1" width="100%" strokeColor="#000000" /> 
    426427        <mx:Box direction="horizontal" width="300" backgroundColor="#404040"> 
    427             <mx:Label styleName="title" text="Sans Armes Citoyens !" width="300"/> 
     428            <mx:Label styleName="title" text="Sans  Armes  Citoyens !" width="300" letterSpacing=".5" paddingTop="-4" paddingBottom="-4"/> 
    428429        </mx:Box> 
    429430        <mx:Spacer height="6"/> 
     
    431432        <mx:Spacer height="2"/> 
    432433    </mx:VBox> 
    433  
    434     <mx:Box direction="horizontal" width="100%"> 
    435         <mx:VBox width="388" height="460"> 
    436             <mx:Text width="370"> 
     434    --> 
     435 
     436    <mx:Box direction="horizontal" width="100%" height="100%"> 
     437        <mx:VBox width="340" height="100%"> 
     438            <mx:Text width="330"> 
    437439                <mx:htmlText> 
    438440                    <![CDATA[<font face="Colaborate-Medium" size="12">Étape 1</font>: InterprÚte et titre]]> 
     
    440442            </mx:Text> 
    441443            <mx:Box direction="horizontal" > 
    442                 <mx:Label width="130" text="Titre:" /> 
    443                 <mx:TextInput id="tt" width="240" text="pas de titre" restrict="a-zA-Z0-9ÀÁÂÄÈÉÊËÌÍÎÏÒÓÔÖÙÚÛÜÇàáâÀÚéêëìíîïòóÎöùúûÌç, " maxChars="64"/> 
     444                <mx:Label width="80" text="Titre:" /> 
     445                <mx:TextInput id="tt" width="140" text="pas de titre" restrict="a-zA-Z0-9ÀÁÂÄÈÉÊËÌÍÎÏÒÓÔÖÙÚÛÜÇàáâÀÚéêëìíîïòóÎöùúûÌç, " maxChars="64"/> 
    444446            </mx:Box> 
    445447            <mx:Box direction="horizontal" > 
    446                 <mx:Label width="130" text="InterprÚte:" /> 
    447                 <mx:TextInput id="ta" width="240" text="moi" restrict="a-zA-Z0-9ÀÁÂÄÈÉÊËÌÍÎÏÒÓÔÖÙÚÛÜÇàáâÀÚéêëìíîïòóÎöùúûÌç, " maxChars="64"/> 
     448                <mx:Label width="80" text="InterprÚte:" /> 
     449                <mx:TextInput id="ta" width="140" text="moi" restrict="a-zA-Z0-9ÀÁÂÄÈÉÊËÌÍÎÏÒÓÔÖÙÚÛÜÇàáâÀÚéêëìíîïòóÎöùúûÌç, " maxChars="64"/> 
    448450            </mx:Box> 
    449             <mx:Text width="370"> 
     451            <mx:Text> 
    450452                <mx:htmlText> 
    451453                    <![CDATA[<font face="Colaborate-Medium" size="12">Données non publiées sur le site :</span>]]> 
     
    453455            </mx:Text> 
    454456            <mx:Box direction="horizontal" > 
    455                 <mx:Label width="130" text="Adresse email:" /> 
    456                 <mx:TextInput id="te" width="240" text="@" restrict="a-zA-Z@0-9._%+-" maxChars="128"/> 
     457                <mx:Label width="80" text="Adresse email:" /> 
     458                <mx:TextInput id="te" width="140" text="@" restrict="a-zA-Z@0-9._%+-" maxChars="128"/> 
    457459            </mx:Box> 
    458460            <mx:Spacer height="100%"/> 
    459461 
    460             <mx:Text width="370"> 
     462            <mx:Text width="330"> 
    461463                <mx:htmlText> 
    462464                    <![CDATA[<font face="Colaborate-Medium" size="12">Étape 2</font>: configurer la caméra:<br/>Clic droit sur cette fenêtre (Mac ctrl+clic) &#8594; paramÚtres  &#8594; camera (choisir dans le menu déroulant)  &#8594; micro (choisir dans le menu) régler le niveau d'enregistrement, dans les moment les plus forts le signal ne doit pas devenir rouge]]> 
     
    464466            </mx:Text> 
    465467            <mx:Spacer height="100%"/> 
    466             <mx:Text width="370"> 
     468            <mx:Text width="330"> 
    467469                <mx:htmlText> 
    468470                    <![CDATA[<font face="Colaborate-Medium" size="12">Étape 3</font>: Démarrer la caméra.<br/>Ajuster votre position pour le visage soit ni trop gros ni trop petit au centre de la partie supérieur de l'image]]> 
     
    471473            <mx:Button id="bc" toggle="true" change="camBt(event)" label="démarrer la caméra"/> 
    472474            <mx:Spacer height="100%"/> 
    473             <mx:Text width="370"> 
     475            <mx:Text width="330"> 
    474476                <mx:htmlText> 
    475477                    <![CDATA[<font face="Colaborate-Medium" size="12">Étape 4</span>: démarrer l'enregistrement]]> 
     
    479481        </mx:VBox> 
    480482 
    481         <mx:VBox height="460"> 
    482             <mx:VideoDisplay id="video" width="340" height="240" /> 
    483             <mx:ProgressBar width="340" mode="manual" label="%3%%" labelPlacement="center" visible="false" id="soundProgress"/> 
    484             <mx:Box direction="horizontal" visible="false" id="vubox" width="340"> 
    485                 <mx:Label width="70" text="Micro:" /> 
    486                 <mx:Canvas id="vucanvas" width="260" height="16"/> 
     483        <mx:VBox width="330" height="100%"> 
     484            <mx:VideoDisplay id="video" width="280" height="210" /> 
     485            <mx:ProgressBar width="280" mode="manual" label="%3%%" labelPlacement="center" visible="false" id="soundProgress"/> 
     486            <mx:Box direction="horizontal" visible="false" id="vubox" width="280"> 
     487                <mx:Label width="55" text="Micro:" /> 
     488                <mx:Canvas id="vucanvas" width="210" height="16"/> 
    487489            </mx:Box> 
    488490            <mx:Spacer height="100%"/> 
    489491 
    490  
    491             <mx:Text width="340"> 
     492            <mx:Text width="320"> 
    492493                <mx:htmlText> 
    493494                    <![CDATA[<font face="Colaborate-Medium" size="12">Étape 5</span>: vérifier l'enregistrement]]> 
     
    495496            </mx:Text> 
    496497            <mx:Button id="bp" toggle="true" change="playBt(event)" label="lecture"/> 
    497             <mx:Text width="340"> 
     498            <mx:Text width="320"> 
    498499                <mx:htmlText> 
    499500                    <![CDATA[<font face="Colaborate-Medium" size="12">Étape 6</span>: valider et autoriser l'enregistrement pour publication]]> 
    500501                </mx:htmlText> 
    501502            </mx:Text> 
    502             <mx:CheckBox id="cbNotify" width="340" label="Informez-moi par e-mail quand la vidéo est publiée." selected="false"/> 
     503            <mx:CheckBox id="cbNotify" width="320" label="Informez-moi par e-mail quand la vidéo est publiée." selected="false"/> 
    503504            <mx:Button id="bu" click="ask_license()" label="publier"/> 
    504505        </mx:VBox> 
    505506    </mx:Box> 
    506  
    507507    <mx:Spacer height="100%"/> 
    508  
    509508    <mx:Text width="100%" styleName="footer"> 
    510509        <mx:htmlText>