A method of embedding animated content into a computer application, said method comprising: drawing animated content directly into at least one animated content window overlapping with a computer application window on a graphical interface using a player responsible for playing the animated content; drawing a transparent window on the graphical interface over top of said at least one animated content window; defining a clipping region for the at least one animated content window that corresponds in size and shape to the at least one animated content window, the clipping region being active during drawing of objects (400, 402) of the computer application that are defined below the animated content and preventing objects (400, 402) from being drawn in said clipping region, said clipping region being removed during drawing of objects of the computer application that are defined above the animated content; for each object (400, 402) of the computer application to be drawn on the transparent window that is defined to be below the animated content, drawing the object (400, 402) at its appropriate location on the transparent window except at locations overlapping with the clipping region thereby to prevent the object (400, 402) from overwriting the animated content drawn into the at least one animated content window; and for each object of the computer application to be drawn on the transparent window that is defined to be above the animated content, drawing the object at its appropriate location on the transparent window whereby if the object overlaps with the at least one animated content window, the overlapping portion of the object is drawn on the transparent window so that the object overwrites the animated content that has been drawn into the at least one animated content window as a result of the removal of said clipping region. drawing animated content directly into at least one animated content window overlapping with a computer application window on a graphical interface using a player responsible for playing the animated content; drawing a transparent window on the graphical interface over top of said at least one animated content window; defining a clipping region for the at least one animated content window that corresponds in size and shape to the at least one animated content window, the clipping region being active during drawing of objects (400, 402) of the computer application that are defined below the animated content and preventing objects (400, 402) from being drawn in said clipping region, said clipping region being removed during drawing of objects of the computer application that are defined above the animated content; for each object (400, 402) of the computer application to be drawn on the transparent window that is defined to be below the animated content, drawing the object (400, 402) at its appropriate location on the transparent window except at locations overlapping with the clipping region thereby to prevent the object (400, 402) from overwriting the animated content drawn into the at least one animated content window; and for each object of the computer application to be drawn on the transparent window that is defined to be above the animated content, drawing the object at its appropriate location on the transparent window whereby if the object overlaps with the at least one animated content window, the overlapping portion of the object is drawn on the transparent window so that the object overwrites the animated content that has been drawn into the at least one animated content window as a result of the removal of said clipping region.