Tu môžete vidieť rozdiely medzi vybranou verziou a aktuálnou verziou danej stránky.
Both sides previous revision Previous revision Next revision | Previous revision | ||
dev:omega:flash:ui:messagebox [2014/11/18 10:28] Roman Sališ [Table] |
dev:omega:flash:ui:messagebox [2017/10/12 16:43] (aktuálne) Roman Sališ [Vlastné tlačítka] |
||
---|---|---|---|
Riadok 41: | Riadok 41: | ||
| - ''symbolId'' | //string// | | | | | - ''symbolId'' | //string// | | | | ||
| - ''key'' | //string// \\ //number// \\ //array// | | | | | - ''key'' | //string// \\ //number// \\ //array// | | | | ||
+ | | - ''callback'' | | | | | ||
| ''timeout'' | //object// | ''null'' | | | | ''timeout'' | //object// | ''null'' | | | ||
| - ''time'' | //number// | ''10'' | | | | - ''time'' | //number// | ''10'' | | | ||
Riadok 47: | Riadok 48: | ||
| ''autoScroll'' | //boolean// | ''false'' | | | | ''autoScroll'' | //boolean// | ''false'' | | | ||
| ''autoScrollHtml'' | //boolean// | ''false'' | | | | ''autoScrollHtml'' | //boolean// | ''false'' | | | ||
+ | |||
Riadok 335: | Riadok 337: | ||
</code> | </code> | ||
- | Alternatívne použitie: | + | __Alternatívne použitie:__ |
<code actionscript space=2> | <code actionscript space=2> | ||
_UI.messageBox({ | _UI.messageBox({ | ||
Riadok 616: | Riadok 618: | ||
callId: "opt2", | callId: "opt2", | ||
label: "Option2", | label: "Option2", | ||
- | key: ["2", Key.ENTER] | + | key: ["2", Key.ENTER], |
- | } | + | callback: [this, "callbackFnc"] |
+ | } | ||
], | ], | ||
- | showBottomLine: true | + | bottomLine: true |
}); | }); | ||
</code> | </code> | ||
Riadok 631: | Riadok 634: | ||
_UI.messageBox({ | _UI.messageBox({ | ||
label: "Naozaj chcete pokračovať?", | label: "Naozaj chcete pokračovať?", | ||
+ | template: _UI.MESSAGE_BOX_YES_NO, | ||
checkbox: { | checkbox: { | ||
label: "Aj nabudúce...", | label: "Aj nabudúce...", | ||
state: true | state: true | ||
}, | }, | ||
- | showBottomLine: true | + | bottomLine: true |
}); | }); | ||
</code> | </code> | ||
Riadok 647: | Riadok 651: | ||
<code actionscript callbackNormal.as space=2> | <code actionscript callbackNormal.as space=2> | ||
_UI.messageBox({ | _UI.messageBox({ | ||
+ | template: _UI.MESSAGE_BOX_YES_NO, | ||
label: "Naozaj chcete pokračovať?", | label: "Naozaj chcete pokračovať?", | ||
- | showBottomLine: true, | + | bottomLine: true, |
callback: [this, "callbackFnc1", "ARG1"] | callback: [this, "callbackFnc1", "ARG1"] | ||
}); | }); | ||
Riadok 661: | Riadok 666: | ||
<code actionscript callbackEvent.as space=2> | <code actionscript callbackEvent.as space=2> | ||
_UI.messageBox({ | _UI.messageBox({ | ||
+ | template: _UI.MESSAGE_BOX_YES_NO, | ||
label: "Naozaj chcete pokračovať?", | label: "Naozaj chcete pokračovať?", | ||
- | showBottomLine: true, | + | bottomLine: true, |
response: _UI.MESSAGE_BOX_RESPONSE_EVENT, | response: _UI.MESSAGE_BOX_RESPONSE_EVENT, | ||
[this, "callbackFnc2", "ARG1"] | [this, "callbackFnc2", "ARG1"] | ||
Riadok 678: | Riadok 684: | ||
<code actionscript callbackEvent.as space=2> | <code actionscript callbackEvent.as space=2> | ||
_UI.messageBox({ | _UI.messageBox({ | ||
+ | template: _UI.MESSAGE_BOX_YES_NO, | ||
label: "Naozaj chcete pokračovať?", | label: "Naozaj chcete pokračovať?", | ||
- | showBottomLine: true, | + | bottomLine: true, |
response: _UI.MESSAGE_BOX_RESPONSE_EVENT, | response: _UI.MESSAGE_BOX_RESPONSE_EVENT, | ||
callback: [this, "callbackFnc2", "ARG1"], | callback: [this, "callbackFnc2", "ARG1"], |