you'd have to post more code to tell. By class you mean that method that is used when you embed an image to use as a material? Otherwise if you are using a loader on a bitmap you need to add listeners that fire once the image has fully loaded before you can do anything with it
On May 17, 3:45 pm, Ross Smith <[email protected]> wrote: > Does it matter that I'm not using a Class for my bitmap source? The > LightingTest.as example is doing that. That is the only major difference I > can see between the example and mine now. > > > > > > > > > > On Tue, May 17, 2011 at 4:26 PM, Ross Smith <[email protected]> wrote: > > Yep, I'm following along with the Broomstick examples, and this logic > > triggers after both are loaded. > > > On Tue, May 17, 2011 at 4:24 PM, John Brookes <[email protected]>wrote: > > >> mesh.material.lights = [_light1]; > > >> should work, it does for me, but make sure both the mesh and mat are > >> loaded. > > > -- > > Ross Smith > > [email protected] > > -- > Ross Smith > [email protected]
