Just for a test I uninstalled prefab and deleted the directory that
holds the away3d code. I rebooted. I reinstalled prefab and did
another svn checkout. I loaded another model in prefab set up the
lights and rendered it. I then exported it to a new myBpsTree file/
directory. Copied the Away3d source code into the same directory and
opened up flash. I did not need to set the path since away3d is in the
same directory and then I set the fla class to MyBSPProject and
clicked on the pencil icon and made sure that the MyBSPProject.as file
opened. I published the swf and I get a ton of errors. I have zip file
of all the files that get outputted from Prefab in the myBPSTree
directory. It includes the fla, the away3d src and the dae model. I
can send it to you if you like for it is only 1.7Mb. I did not write
any of the code but if it is dew to a misconfiguration on my part I
would love to know.

Thanks.


On May 5, 9:12 am, Christian <[email protected]> wrote:
> The only code of away3d I have on my system I get with a svn checkout
> to this url
>
> http://away3d.googlecode.com/svn/trunk/fp10/Away3D/
>
> I am just loading different models into the latest version of prefab
> and following the video that you guys put out. Could prefab be
> targeting 3.4?
>
> On May 5, 5:13 am, Fabrice3D <[email protected]> wrote:
>
>
>
> > Are you sure you do target the latest 3.5 ?
>
> > The error you get is related to an API change. All materials extend now 
> > Material.
> > so if you use code where you have IMaterial or ITriangleMaterial you will 
> > get this error
>
> > Fabrice
>
> > On May 5, 2010, at 5:50 AM, Christian wrote:
>
> > > Hello,
> > > I was working with prefab on may 1st exporting models with the bps
> > > generator and it was working fine. I was using the code from the svn
> > > and there was an update. Now when I try to run the new BSP files or
> > > old one's that worked fine now I get errors like this.
>
> > > BSPTree.as 1046: Type was not found or was not a compile-time
> > > constant: Material.
> > > Number3D.as Warning: 3590: void used where a Boolean value was
> > > expected.  The expression will be type coerced to Boolean.
> > > BSPCollider.as Warning: 3590: void used where a Boolean value was
> > > expected.  The expression will be type coerced to Boolean.
>
> > > Did something change with the update or do you think I just messed up
> > > something.
>
> > > Thanks in advance

Reply via email to