nice. object-oriented vs procedural. smart guys those Away3D devs

On Aug 11, 7:23 pm, Laani <[email protected]> wrote:
> Problem solved!
>
>  instead of using the above syntax. I've used this syntax and it
> works.
>
> view = new View3D(scene1);
>
> I think they have simplified the code in away4.0.
>
> On Aug 12, 10:16 am, Laani <[email protected]> wrote:
>
>
>
>
>
>
>
> > Can somebody help me with this simple but puzzling error.
>
> > I'm trying to pass a scene3D variable  into my view3D and I get a
> > compile error. I have no issues when I don't pass in any parameters.
>
> > Here is the code:
>
> >                         scene1 = new Scene3D();
> >                         view = new View3D({scene:scene1});
>
> > Here is the error:
>
> >       1118          Implicit coercion of a value with static type Object to
> > a possibly unrelated type away#d.containers.Scene3D
>
> > Thanks!

Reply via email to