JSUI rendering text with black background

Oct 7, 2010 at 10:59am

JSUI rendering text with black background


Had a quick look at previous forum posts but came up with no answer… I am drawing text into a JSUI but, after compiling the JS file, the text appears on a black background, and as the text is black this is a problem! If I resize the JSUI object the text redraws properly, with a transparent background. How can I fix this? (JS file attached)


Adam Jansch

  1. aj-js-router.js
Oct 8, 2010 at 6:03am

here’s a work-around which will sort it out – you need to give the jsui object the appropriate scripting name (‘routerUI’)

– Pasted Max Patch, click to expand. –

but prevention would be better than cure…

: )


Oct 8, 2010 at 8:33am

Hey Sam,

That’s a cute workaround :-) I tried the same thing from within Javascript but it didn’t work; this though should work as it mimics the mouse movement of resizing the JSUI externally.

You’re right though, prevention is better than cure … does anyone know if there is a prevention for this problem?



You must be logged in to reply to this topic.