How to use cc.MessageBox(message)?

Sorry my english because i am brazilian, but i need to learn how to use this native function in my projects, when i use this function i receive the message, “message box is not a function” help me please