checking current 3dRenderer 2003-12-05 - By Thomas Higgins
Back Carl,
> Is there a way to check what the current 3d renderer is while in a > projector? I've tried the following: > > member("theRenderer").text = the active3dRenderer > > and > > member("theRenderer").text = getRendererServices().renderer > > ...and I keep getting an error.
The error is quite likely because you are setting the text of a member to a _symbol_ value. Try the right side of your equations in the Message Window, you should see symbol values output, you need to convert these to strings:
member("theRenderer").text = string(the active3dRenderer)
or
member("theRenderer").text = string(getRendererServices().renderer)
But this shouldn't be projector specific, you should get an error in authoring as well. Are you sure the above work in authoring? I get a "string expected" script error every time I try your code.
Cheers, Tom Higgins Product Specialist - Director Team Macromedia
FEBO, de lekkerste!
... __ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|