A passenger who touched the buttocks of a crew member and tried to kiss him on the cheek on a flight from Manila to Melbourne has been ordered by a magistrate to behave for the next three months.

Magistrate Tim Walsh accepted that Alexandra Rose Williams, 36, had behaved "completely out of character" on the Philippine Airlines flight on July 19 last year.

Alexandra Williams at the Magistrates Court with her lawyer, left, and husband. Credit:Eddie Jim

Mr Walsh heard that Ms Williams had been offered drinks after take-off that included a "bit of vodka" which she drank while taking medication.

Before the hearing started, Mr Walsh admonished Williams for earlier "dancing" out of court when the case was stood down. She told him she had "tiptoed".