<img src="https://dl.dropboxusercontent.com/u/143636437/examples%20for%20web/Ashampoo_Snap_2014.02.14_08h27m49s_002.png" border="0" />
for example
I call a function with a set of x and y coordinates (0,10,45,67) (upper left x,upper left y, lower right x, lower right y) would be a rectangle with (0,10) as upper left and (45,67) as lower right.
these are sent as "0?10?45?67"
in the function ("fcCreateSpriteInArea") I find the x and y positions using "tokenat"
(from the manual - "tokenat(src, index, separator)
Return the Nth token from src, splitting the string by separator. For example, tokenat("apples|oranges|bananas", 1, "|") returns oranges.")
so now all I need to do is create sprite at (random (x1,x1)),random(y1,y2)
I also called the function with choose("0?0?540?100","540?0?640?380","0?100?100?380","0?380?640?480")
so the choose just picks 1 of the 4 rectangle coordinates I want to create a sprite in
I also used fade to make the sprites fade in pause and fade out (to destroy)
Clear as mud ? <img src="smileys/smiley1.gif" border="0" align="middle" />
any questions please use RamPackWobble as I will get a message to reply
Good luck