JSUI rendering text with black background

Oct 7, 2010 at 10:59am

JSUI rendering text with black background

Hi,

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)

Thanks,

Adam Jansch

Attachments:
  1. aj-js-router.js
#52630
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…

: )

sdf

#189222
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?

Adam

#189223

You must be logged in to reply to this topic.