Changeset 849
- Timestamp:
- 02/24/10 11:59:00 (3 years ago)
- Location:
- branches/plugins/agegate
- Files:
-
- 2 edited
-
AgeGate.as (modified) (6 diffs)
-
agegate.swf (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
branches/plugins/agegate/AgeGate.as
r724 r849 62 62 private var header:Label; 63 63 /** The instructional message UI element **/ 64 private var sub Header:Label;64 private var subheader:Label; 65 65 /** The background which covers the player. **/ 66 66 private var background:MovieClip; … … 82 82 cookielife: 60, 83 83 header: 'The content in this video requires age verification.', 84 sub Header: 'Please enter your date of birth below:',84 subheader: 'Please enter your date of birth below:', 85 85 autostart: false 86 86 }; … … 159 159 submitButton.x = yearInput.x + 80; 160 160 header.x = w / 2 - (header.width) / 2; 161 sub Header.x = w / 2 - (subHeader.width) / 2;161 subheader.x = w / 2 - (subheader.width) / 2; 162 162 fullscreenexit_message.x = w / 2 - (fullscreenexit_message.width) / 2; 163 163 var yHeight:Number = (h / 2) - 10; … … 168 168 fullscreenexit_message.y = yHeight + SUB_HEADER_OFFSET; 169 169 header.y = yHeight - HEADER_OFFSET; 170 sub Header.y = yHeight - SUB_HEADER_OFFSET;170 subheader.y = yHeight - SUB_HEADER_OFFSET; 171 171 if (result){ 172 172 result.x = w / 2 - (result.width) / 2; … … 211 211 setFontColor(header, uint(0xFFFFFF), 14); 212 212 addDisplayElement(header, api.config['width'], header.height, 0, api.config['height'] / 2 - header.height); 213 sub Header = new Label();214 sub Header.textField.text = String(getConfig('subHeader'));215 setFontColor(sub Header, uint(0xFFCC00));216 addDisplayElement(sub Header, api.config['width'], subHeader.height, 0, api.config['height'] / 2 - subHeader.height);213 subheader = new Label(); 214 subheader.textField.text = String(getConfig('subheader')); 215 setFontColor(subheader, uint(0xFFCC00)); 216 addDisplayElement(subheader, api.config['width'], subheader.height, 0, api.config['height'] / 2 - subheader.height); 217 217 fullscreenexit_message = new Label(); 218 218 fullscreenexit_message.visible = false; … … 385 385 background.visible = state; 386 386 header.visible = state; 387 sub Header.visible = state;387 subheader.visible = state; 388 388 if (state == false){ 389 389 fullscreenexit_message.visible = state;
Note: See TracChangeset
for help on using the changeset viewer.
