newTexture errors?!


i creating overlay in 3d scene using newtexture. works fine in director, when publish , run in shockwave, error "shockwave has script erros , cannot continue". altered shockwave.ini file full out put , says "error: -2147219502 ". if click "yes" continue, goes bit , gives me "object expected" error. placed alert() commands in code until narrowed down problem line:

txtr = psprite.member.newtexture("mytexture1", #fromimageobject, member("myimage").image)

any ideas why work in director , in projector, not in shockwave

assuming member("myimage") bitmap .image part of final argument extraneous. try txtr = psprite.member.newtexture("mytexture1", #fromimageobject, member("myimage")).


More discussions in Director 3D


adobe

Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support