|
#1
|
||||
|
||||
|
Here's some simple scripts i wrote.
Just for case you don't want to write these yourself everytime These scripts apply to all object types. You can rename these txt files to *.lua and use Application.LoadScript In window resize function i used these simple calculations (just to keep you notised): Code:
--The function > function resize(objects) -- Pos for index, object in objects do if (object.xdist) then *ObjectType*.SetPos(object.name, wndsize.Width-objects[index].xdist, *ObjectType*.GetPos(object.name).Y); end if (object.ydist) then *ObjectType*.SetPos(object.name, *ObjectType*.GetPos(object).X, wndsize.Height-objects[index].ydist); end -- Size if (object.xsize) then *ObjectType*.SetSize(object.name, wndsize.Width-objects[index].xsize, *ObjectType*.GetSize(object.name).Height); end if (object.ysize) then *ObjectType*.SetSize(object.name, *ObjectType*.GetSize(object).Width, wndsize.Height-objects[index].ysize); end end
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Another tough one... Interaction between Web and AMS | Agent Jones | AutoPlay Media Studio 5.0 | 13 | 08-18-2005 03:10 PM |
| Function: String.RandomFromPattern | Brett | Setup Factory 8.0 Examples | 0 | 10-28-2004 09:09 AM |
| Function: TableSum and TableAverage | Darryl | AutoPlay Media Studio 5.0 Examples | 1 | 08-29-2004 02:59 PM |
| Bizarre Callback Function Behaviour - Can anyone help? | SRJ | AutoPlay Media Studio 5.0 | 3 | 06-30-2004 10:16 PM |
| Function: Resize & Center an Image | kpsmith | AutoPlay Media Studio 5.0 Examples | 0 | 05-17-2004 02:36 PM |
All times are GMT -6. The time now is 03:58 AM.








Linear Mode

