Scaling Tricks and Token Replacement

Last week 2 items came across on which i now made a sample.

– Scaling from another point then the center
Darrel @klaatu allready shared the code, but to make it easier for whomever wants to use it i made this sample. As you can see in the sample its really easy and smooth to scale to whatever point you want.

– Html names and Token Replacement
As posted before i struggled a lot in the past with reusability for created elements and awts when using a lot of Javascript. Well Token Replacement helps a bit here. It aint a solution for all cases, but you can make better reusable awts with the use of this.
Check out my sample… you can copy and paste and add elements whatever you want… as long as you copy and paste the actions on the will work as my sample.

Preview image

Tags: , , , ,


Your email address will not be published. Required fields are marked *