This is G o o g l e's cache of http://www.flashsandy.org/forum/index.php?act=Print&client=printer&f=17&t=150 as retrieved on 31 Jul 2007 20:16:32 GMT.
G o o g l e's cache is the snapshot that we took of the page as we crawled the web.
The page may have changed since that time. Click here for the current page without highlighting.
This cached page may reference images which are no longer available. Click here for the cached text only.
To link to or bookmark this page, use the following url: http://www.google.com/search?q=cache:ZtMK1m5QudYJ:www.flashsandy.org/forum/index.php%3Fact%3DPrint%26client%3Dprinter%26f%3D17%26t%3D150+act%3DPrint+%22index+php%22+-lofiversion+site:www.flashsandy.org&hl=en&ct=clnk&cd=76


Google is neither affiliated with the authors of this page nor responsible for its content.
These terms only appear in links pointing to this page: act print index php

Printable Version of Topic

Click here to view this topic in its original format

Sandy's Forum _ AS2 1.x versions _ Using light

Posted by: keita Oct 23 2006, 12:09 AM

I'm trying to use the light. It's working fine, but I can't change the power value using setPower().
I tryed rendering the World3D or mine Object3D objects, but nothing seens to happen.

Oh, it worked, i used the refresh() on my objects and worked.

but... can't it just refresh after using Light3D.setPower() ?

Posted by: fjr Oct 23 2006, 02:53 AM

Yeah.. I got this problem too.. My work-around was to call the function inside the method onRender (or add another eventlistener) then right after setPower(), I called cam.tilt(0); just to refresh the camera tongue.gif

Im sure Im not doing it right tongue.gif Is there any solution for this?

Posted by: kiroukou Oct 23 2006, 06:05 AM

Hi guys,
I didn't know this problem...
Going to check and fix this!

Thanks

Posted by: keita Oct 23 2006, 12:44 PM

Also, if u set
Camera3D._compiled = false;
just after you set setPower(), works too.

Posted by: kiroukou Oct 23 2006, 03:05 PM

Yes It is working too smile.gif
You found the hacks by yourself ^^

Now I need to fix this by making the modification information noticeable by the world at the rendering time.

Another bug will be fixed, great news smile.gif

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)