Menu

[r432]: / cairngorm3 / trunk / libraries / ModuleTest / src / example / LazyModuleViewLoaderSkin.mxml  Maximize  Restore  History

Download this file

56 lines (48 with data), 1.6 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0" encoding="utf-8"?>
<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
<fx:Metadata>
[HostComponent("com.adobe.cairngorm.module.ModuleViewLoader")]
</fx:Metadata>
<s:states>
<s:State name="normal"/>
<s:State name="disabled"/>
<s:State name="loading"/>
<s:State name="error"/>
<s:State name="loaded"/>
</s:states>
<!-- contains the landing view -->
<s:Group id="landingGroup"
left="0" right="0" top="0" bottom="0"
includeIn="normal">
<s:Label
width="300"
horizontalCenter="0"
verticalCenter="0"
text="Dispatch a PingMessage with moduleId='moduleA2' to trigger the loading of this module"
maxDisplayedLines="5"/>
</s:Group>
<!-- contains the error view -->
<s:HGroup id="loadingGroup"
left="0" right="0" top="0" bottom="0"
includeIn="loading">
<s:Label
horizontalCenter="0"
verticalCenter="0"
text="Loading"/>
</s:HGroup>
<!-- contains the error view -->
<s:Group id="errorGroup"
left="0" right="0" top="0" bottom="0"
includeIn="error">
<s:Label
horizontalCenter="0"
verticalCenter="0"
text="Error"/>
</s:Group>
<!-- content group contains the loaded module -->
<s:Group id="contentGroup"
left="0" right="0" top="0" bottom="0"
includeIn="loaded"/>
</s:Skin>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.