Display messages script for Flash
The flash file will load the pictures and place them on the x,y positions with the right rotation angle that was defined in the xml file.
The Flash file should display the messages inside the frame (x0,y0,x1,y1) one by one 'til the amount of messages (messagesnum) are displayed, then, flash will clear the messages and go to the next message. for each message, the Flash will calculate the right font-size depends on the length of the message to display as bigger as can inside the frame.
**** Must be based on TLF to full support with the Hebrew language.
Mesages will be written in the effect chosen.
XML Structure will contain:
x0,y0,x1,y1 - frame of positions to display the message / messages
messagesnum - number of messages to display in frame
pictures - array of picture filenames, each one contains x,y,rotate positions
effects type - graffiti (write letter by letter), fade in/out, small to big, random