Subversion Repository Public Repository

Nextrek

Diff Revisions 1085 vs 1086 for /s2s/data/611C50B503B7324D026B38669E1A2D89103D.json

Diff revisions: vs.
  @@ -1 +1,195 @@
1 - {"uid":"611C50B503B7324D026B38669E1A2D89103D","isLoaded":true,"lastModificationTime":0,"items":{"name":"Update Pages","type":"data_record","order":1,"category":"commonEvents","id":"611C50B503B7324D026B38669E1A2D89103D","isFolder":false,"parentId":"72A65D9D3FA5C349F70A8EB8E315DC45F796","data":{"name":"Update Pages","startCondition":0,"conditionEnabled":false,"parallel":false,"autoPreload":true,"singleInstance":true,"inline":true,"parameters":[],"commands":[{"id":"gs.Comment","params":{"text":"This common event is inlined, so it is pasted into the scene at the position of the \"Call Common Event\" command. So all local variables accessed here are the local variables of the scene. The local numbers from 0001 to 0005 represent the selection-status of the 1 to 5 page numbers at the bottom of the screen. Since that page numbers are displayed via an image-map, they can be all selected independent from each that. But for this example, we have to make sure that only one page can be active at a time. So in the \"Show Image Map\" command of scene, we bound the pages 1 to 5 to the Switches 0001 to 0005.\n\nWhat we do here is that we set all 5 switches to OFF and then only turn the switch on for the current selected page. Since the switch is bound to the hotspot of the image, changing the switch also changes the hotspot state. So with that, we implemented a small logic here which makes sure that only one switch/hotspot can be selected at the same time."},"indent":0,"uid":"4943D52850A5F34CEA580BB4CBFEA7C6A887","expanded":true},{"id":"gs.ChangeBooleanVariables","params":{"target":0,"targetVariable":{"name":"Page 1","index":0,"scope":0},"targetRangeScope":0,"rangeStart":0,"rangeEnd":0,"value":0,"previewBackground":{"name":"$live_preview_snapshot"}},"indent":0,"uid":"DE10DB381172A246D01BAF984902DCD1641F"},{"id":"gs.ChangeBooleanVariables","params":{"target":0,"targetVariable":{"name":"Page 2","index":1,"scope":0},"targetRangeScope":0,"rangeStart":0,"rangeEnd":0,"value":0,"previewBackground":{"name":"$live_preview_snapshot"}},"indent":0,"uid":"265C235F4937D044EA5B5975AE961E7E62D4"},{"id":"gs.ChangeBooleanVariables","params":{"target":0,"targetVariable":{"name":"Page 3","index":2,"scope":0},"targetRangeScope":0,"rangeStart":0,"rangeEnd":0,"value":0,"previewBackground":{"name":"$live_preview_snapshot"}},"indent":0,"uid":"4ABBBC170EB3F5466B2A40A3C9BACF94254A"},{"id":"gs.ChangeBooleanVariables","params":{"target":0,"targetVariable":{"name":"Page 4","index":3,"scope":0},"targetRangeScope":0,"rangeStart":0,"rangeEnd":0,"value":0,"previewBackground":{"name":"$live_preview_snapshot"}},"indent":0,"uid":"F4B65ECE690AD744E45B97D3FB8EA9911CDF"},{"id":"gs.ChangeBooleanVariables","params":{"target":0,"targetVariable":{"name":"Page 5","index":4,"scope":0},"targetRangeScope":0,"rangeStart":0,"rangeEnd":0,"value":0,"previewBackground":{"name":"$live_preview_snapshot"}},"indent":0,"uid":"5ABEBB928A7EF34FFD3B20D98056077C1EEE"},{"id":"gs.ChangeBooleanVariables","params":{"target":2,"targetReference":{"name":"Page","index":1,"scope":0},"targetVariable":{"scope":1,"index":0,"domain":"com.degica.vnm.default"},"targetRangeScope":0,"rangeStart":0,"rangeEnd":0,"value":1,"previewBackground":{"name":"$live_preview_snapshot"},"targetReferenceDomain":"com.degica.vnm.default"},"indent":0,"uid":"1E2B7C8176AE624DAF0A1D02C0BC800AFC5A"}],"index":"611C50B503B7324D026B38669E1A2D89103D","booleanVariables":[{"name":"","index":0,"scope":0}],"numberVariables":[{"name":"","index":0,"scope":0},{"name":"Page","index":1,"scope":0}],"stringVariables":[{"name":"","index":0,"scope":0}],"defaultExpressionId":"BF7CB12110894142C299D341A545C910AA86"},"localizableStrings":{}},"summary":["name","type","order"]}
1 + {
2 + "uid": "611C50B503B7324D026B38669E1A2D89103D",
3 + "isLoaded": true,
4 + "lastModificationTime": 0,
5 + "items": {
6 + "name": "Update Pages",
7 + "type": "data_record",
8 + "order": 1,
9 + "category": "commonEvents",
10 + "id": "611C50B503B7324D026B38669E1A2D89103D",
11 + "isFolder": false,
12 + "parentId": "72A65D9D3FA5C349F70A8EB8E315DC45F796",
13 + "data": {
14 + "name": "Update Pages",
15 + "startCondition": 0,
16 + "conditionEnabled": false,
17 + "parallel": false,
18 + "autoPreload": true,
19 + "singleInstance": true,
20 + "inline": true,
21 + "parameters": [],
22 + "commands": [
23 + {
24 + "id": "gs.Comment",
25 + "params": {
26 + "text": "This common event is inlined, so it is pasted into the scene at the position of the \"Call Common Event\" command. So all local variables accessed here are the local variables of the scene. The local numbers from 0001 to 0005 represent the selection-status of the 1 to 5 page numbers at the bottom of the screen. Since that page numbers are displayed via an image-map, they can be all selected independent from each that. But for this example, we have to make sure that only one page can be active at a time. So in the \"Show Image Map\" command of scene, we bound the pages 1 to 5 to the Switches 0001 to 0005.\n\nWhat we do here is that we set all 5 switches to OFF and then only turn the switch on for the current selected page. Since the switch is bound to the hotspot of the image, changing the switch also changes the hotspot state. So with that, we implemented a small logic here which makes sure that only one switch/hotspot can be selected at the same time."
27 + },
28 + "indent": 0,
29 + "uid": "4943D52850A5F34CEA580BB4CBFEA7C6A887",
30 + "expanded": true
31 + },
32 + {
33 + "id": "gs.ChangeBooleanVariables",
34 + "params": {
35 + "target": 0,
36 + "targetVariable": {
37 + "name": "Page 1",
38 + "index": 0,
39 + "scope": 0
40 + },
41 + "targetRangeScope": 0,
42 + "rangeStart": 0,
43 + "rangeEnd": 0,
44 + "value": 0,
45 + "previewBackground": {
46 + "name": "$live_preview_snapshot"
47 + }
48 + },
49 + "indent": 0,
50 + "uid": "DE10DB381172A246D01BAF984902DCD1641F"
51 + },
52 + {
53 + "id": "gs.ChangeBooleanVariables",
54 + "params": {
55 + "target": 0,
56 + "targetVariable": {
57 + "name": "Page 2",
58 + "index": 1,
59 + "scope": 0
60 + },
61 + "targetRangeScope": 0,
62 + "rangeStart": 0,
63 + "rangeEnd": 0,
64 + "value": 0,
65 + "previewBackground": {
66 + "name": "$live_preview_snapshot"
67 + }
68 + },
69 + "indent": 0,
70 + "uid": "265C235F4937D044EA5B5975AE961E7E62D4"
71 + },
72 + {
73 + "id": "gs.ChangeBooleanVariables",
74 + "params": {
75 + "target": 0,
76 + "targetVariable": {
77 + "name": "Page 3",
78 + "index": 2,
79 + "scope": 0
80 + },
81 + "targetRangeScope": 0,
82 + "rangeStart": 0,
83 + "rangeEnd": 0,
84 + "value": 0,
85 + "previewBackground": {
86 + "name": "$live_preview_snapshot"
87 + }
88 + },
89 + "indent": 0,
90 + "uid": "4ABBBC170EB3F5466B2A40A3C9BACF94254A"
91 + },
92 + {
93 + "id": "gs.ChangeBooleanVariables",
94 + "params": {
95 + "target": 0,
96 + "targetVariable": {
97 + "name": "Page 4",
98 + "index": 3,
99 + "scope": 0
100 + },
101 + "targetRangeScope": 0,
102 + "rangeStart": 0,
103 + "rangeEnd": 0,
104 + "value": 0,
105 + "previewBackground": {
106 + "name": "$live_preview_snapshot"
107 + }
108 + },
109 + "indent": 0,
110 + "uid": "F4B65ECE690AD744E45B97D3FB8EA9911CDF"
111 + },
112 + {
113 + "id": "gs.ChangeBooleanVariables",
114 + "params": {
115 + "target": 0,
116 + "targetVariable": {
117 + "name": "Page 5",
118 + "index": 4,
119 + "scope": 0
120 + },
121 + "targetRangeScope": 0,
122 + "rangeStart": 0,
123 + "rangeEnd": 0,
124 + "value": 0,
125 + "previewBackground": {
126 + "name": "$live_preview_snapshot"
127 + }
128 + },
129 + "indent": 0,
130 + "uid": "5ABEBB928A7EF34FFD3B20D98056077C1EEE"
131 + },
132 + {
133 + "id": "gs.ChangeBooleanVariables",
134 + "params": {
135 + "target": 2,
136 + "targetReference": {
137 + "name": "Page",
138 + "index": 1,
139 + "scope": 0
140 + },
141 + "targetVariable": {
142 + "scope": 1,
143 + "index": 0,
144 + "domain": "com.degica.vnm.default"
145 + },
146 + "targetRangeScope": 0,
147 + "rangeStart": 0,
148 + "rangeEnd": 0,
149 + "value": 1,
150 + "previewBackground": {
151 + "name": "$live_preview_snapshot"
152 + },
153 + "targetReferenceDomain": "com.degica.vnm.default"
154 + },
155 + "indent": 0,
156 + "uid": "1E2B7C8176AE624DAF0A1D02C0BC800AFC5A"
157 + }
158 + ],
159 + "index": "611C50B503B7324D026B38669E1A2D89103D",
160 + "booleanVariables": [
161 + {
162 + "name": "",
163 + "index": 0,
164 + "scope": 0
165 + }
166 + ],
167 + "numberVariables": [
168 + {
169 + "name": "",
170 + "index": 0,
171 + "scope": 0
172 + },
173 + {
174 + "name": "Page",
175 + "index": 1,
176 + "scope": 0
177 + }
178 + ],
179 + "stringVariables": [
180 + {
181 + "name": "",
182 + "index": 0,
183 + "scope": 0
184 + }
185 + ],
186 + "defaultExpressionId": "BF7CB12110894142C299D341A545C910AA86"
187 + },
188 + "localizableStrings": {}
189 + },
190 + "summary": [
191 + "name",
192 + "type",
193 + "order"
194 + ]
195 + }