Changeset 9b93481ba94e38e5a94c8f74e474a3790aa4a7ce
- Timestamp:
- 03/07/11 14:20:32 (15 months ago)
- Author:
- Robin Gareus <robin@…>
- Parents:
- f50d604d32ac938942e5c715c1f9dc095c44e464
- Children:
- 5677ea307610865f4d7c68e0733c1fc4dde54eee
- git-committer:
- Robin Gareus <robin@gareus.org> / 2011-03-07T15:20:32Z+0100
- Message:
-
sansarmes: checkbox and size style.
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
rf50d604
|
r9b93481
|
|
| 2 | 2 | <mx:Application |
| 3 | 3 | xmlns:mx="http://www.adobe.com/2006/mxml" |
| 4 | | width="800" height="600" |
| | 4 | width="800" height="620" |
| 5 | 5 | layout="vertical" |
| 6 | 6 | verticalAlign="middle" |
| … |
… |
|
| 66 | 66 | bp.enabled=false; |
| 67 | 67 | bu.enabled=false; |
| | 68 | cbNotify.enabled=false; |
| 68 | 69 | |
| 69 | 70 | // cam & mic |
| … |
… |
|
| 118 | 119 | bp.enabled=false; |
| 119 | 120 | bu.enabled=false; |
| 120 | | Alert.show('You do need a camera for live streaming.\nPlease connect one and then reload this Page.', |
| 121 | | 'No camera detected', mx.controls.Alert.OK); // XXX translate |
| | 121 | cbNotify.enabled=false; |
| | 122 | Alert.show('Pour vous enregistrer il faut qu\'une camera et un microphonne soient connectés à votre ordinateur.Connectez une camera et rechargez cette page. Il se peut aussi qu\'un autre programme utilise la camera. Il faut l\'interrompre avant d\'enregistrer.', |
| | 123 | 'caméra n\'est pas détectée', mx.controls.Alert.OK); // XXX translate |
| 122 | 124 | } |
| 123 | 125 | |
| … |
… |
|
| 216 | 218 | bp.enabled=true; |
| 217 | 219 | bu.enabled=true; |
| | 220 | cbNotify.enabled=true; |
| 218 | 221 | } |
| 219 | 222 | |
| … |
… |
|
| 222 | 225 | bp.enabled=false; |
| 223 | 226 | bu.enabled=false; |
| | 227 | cbNotify.enabled=false; |
| 224 | 228 | |
| 225 | 229 | tt.enabled=false; |
| … |
… |
|
| 246 | 250 | bp.enabled=false; |
| 247 | 251 | bu.enabled=false; |
| | 252 | cbNotify.enabled=false; |
| 248 | 253 | startConnection(); |
| 249 | 254 | } else { |
| … |
… |
|
| 264 | 269 | Alert.show('error:\n'+event.info.code, 'Alert.', mx.controls.Alert.OK); |
| 265 | 270 | bu.enabled=false; |
| | 271 | cbNotify.enabled=false; |
| 266 | 272 | bp.enabled=false; |
| 267 | 273 | case "NetStream.Play.Stop": |
| … |
… |
|
| 309 | 315 | |
| 310 | 316 | private function onPubOK(event:ResultEvent):void { |
| 311 | | Alert.show('Your video entered the moderation queue and will be published after review, soon.', |
| 312 | | 'Published.', mx.controls.Alert.OK); // XXX translate |
| | 317 | Alert.show('Votre vidéo sera publiée aprÚs modération.', |
| | 318 | 'Publication réussie', mx.controls.Alert.OK); // XXX translate |
| 313 | 319 | bu.enabled = false; |
| | 320 | cbNotify.enabled=false; |
| 314 | 321 | } |
| 315 | 322 | |
| 316 | 323 | private function onPubFault(event:FaultEvent):void { |
| 317 | | Alert.show('Publication failed. please contact robin.gareus@citu.info', |
| 318 | | 'Publication Failed.', mx.controls.Alert.OK); // XXX translate |
| | 324 | Alert.show('la demande de publication a échoué. Merci de contacter robin.gareus@citu.info', |
| | 325 | 'Publication a échoué', mx.controls.Alert.OK); // XXX translate |
| 319 | 326 | bu.enabled = false; |
| | 327 | cbNotify.enabled=false; |
| 320 | 328 | } |
| 321 | 329 | |
| … |
… |
|
| 381 | 389 | </mx:htmlText> |
| 382 | 390 | </mx:Text> |
| 383 | | <mx:Spacer height="1" /> |
| 384 | 391 | |
| 385 | 392 | <mx:Text styleName="center"> |
| … |
… |
|
| 388 | 395 | </mx:htmlText> |
| 389 | 396 | </mx:Text> |
| 390 | | <mx:Spacer height="4" /> |
| 391 | 397 | |
| 392 | 398 | <mx:Box direction="horizontal" width="100%"> |
| 393 | | <mx:VBox width="388" height="440"> |
| | 399 | <mx:VBox width="388" height="460"> |
| 394 | 400 | <mx:Text width="370"> |
| 395 | 401 | <mx:htmlText> |
| … |
… |
|
| 407 | 413 | <mx:Text width="370"> |
| 408 | 414 | <mx:htmlText> |
| 409 | | <![CDATA[<b>données non publiées sur le site</b>]]> |
| | 415 | <![CDATA[<b>données non publiées sur le site:</b>]]> |
| 410 | 416 | </mx:htmlText> |
| 411 | 417 | </mx:Text> |
| 412 | 418 | <mx:Box direction="horizontal" > |
| 413 | 419 | <mx:Label width="130" text="Adresse email:" /> |
| 414 | | <mx:TextInput id="te" width="240" text="@" restrict="a-zA-Z@0-9" maxChars="128"/> |
| | 420 | <mx:TextInput id="te" width="240" text="@" restrict="a-zA-Z@0-9._%+-" maxChars="128"/> |
| 415 | 421 | </mx:Box> |
| 416 | 422 | <mx:Spacer height="100%"/> |
| … |
… |
|
| 437 | 443 | </mx:VBox> |
| 438 | 444 | |
| 439 | | <mx:VBox height="440"> |
| | 445 | <mx:VBox height="460"> |
| 440 | 446 | <mx:VideoDisplay id="video" width="340" height="240" /> |
| 441 | 447 | <mx:ProgressBar width="340" mode="manual" label="%3%%" labelPlacement="center" visible="false" id="soundProgress"/> |