|
| Vatrobot |
Post
#1
|
|
Member Group: Members Posts: 18 Joined: 16-February 07 From: Germany / Frankfurt a. M. area Member No.: 808 |
Hello!
To make it short here is the relevant code: CODE function createThumb() { thumb = new Box( 160, 15, 160, 'tri'); thumb.enableBackFaceCulling(true); } function addSkin() { var thumbFaces = thumb.aFaces; var skinA:Skin = new MovieSkin( 'skinfront', true); var skinB:Skin = new MixedSkin(0xC89159, 100,0,0,0); skinA.setLightingEnable( true ); skinB.setLightingEnable( true ); //top face thumbFaces[6].setSkin(skinA); thumbFaces[7].setSkin(skinA); // the rest thumbFaces[0].setSkin(skinB); thumbFaces[1].setSkin(skinB); thumbFaces[2].setSkin(skinB); thumbFaces[3].setSkin(skinB); thumbFaces[4].setSkin(skinB); thumbFaces[5].setSkin(skinB); thumbFaces[8].setSkin(skinB); thumbFaces[9].setSkin(skinB); thumbFaces[10].setSkin(skinB); thumbFaces[11].setSkin(skinB); } Problem: Faces skined correctly, but Bitmap in a MovieClip not visible (grey). Same skin works fine as Plane3D-Skin > Bitmap visible + correct animations check it out at http://sandyplayground.vatrobot.com there are also some strange "white light stripes" on left and top of the whole scene if i play it in a browser (Firefox 2.0), but I'm not sure if it's not a local problem of some kind... please give me some feedback on that too... thanx! |
| kiroukou |
Post
#2
|
|
Administrator Group: Root Admin Posts: 923 Joined: 12-June 06 Member No.: 1 |
Hi
indeed there's a problem with white lines... strange. Otherwise try to disable the lightening to see if it makes the movie skin applied correctly? Damo reported a problem with MovieSkin already... bad news... And with an external movie ? + |
| Lo-Fi Version | Time is now: 18th August 2007 - 03:30 PM |