Notifications
Clear all
[Closed] UI loading….lag in max
Page 2 / 2
Prev
Jul 12, 2011 1:48 am
The Base64 utility shouldn’t strictly be used each time a script is run. I commonly use it in a startup struct that either –
- checks for some script assets (e.g. when a script is first run) and creates the image assets for the script,
2.holds the images in a global struct that other scripts can call rather than loading similar icons each time a script is run.
It’s just a dotnet equivalent to the setpixel method in the mxs help to allow distribution of code without dependencies.
looking at your code, I haven’t run it but is the Q path a network path? that may not help your load performance if you are calling the same method via the network for 33 buttons. Just a thought though.
Page 2 / 2
Prev