[Papervision3D] Loading an PV3D .as File in a .fla
Ross Sclafani
ross.sclafani at gmail.com
Wed Jul 29 06:59:13 PDT 2009
http://en.wikipedia.org/wiki/Occam%27s_razor
that's why public forums are useful:
when looking for our nose, we are usually the last to lay eyes on it :)
_r
On Jul 29, 2009, at 9:42 AM, Javier España | javierespana.com wrote:
> I must be asleep or something...
>
> The addChild solved everything, how could I miss that... :S
>
> Thanks a lot!
>
> On Wed, Jul 29, 2009 at 10:34 AM, FlashDev <flash at funkdaweb.com>
> wrote:
> Your import should work, try checking these
> Make sure the .as file is in the same directory as the .fla
> Make sure the class name is the same as the file name (i.e
> BoxesTest_01)
> Also make sure that the class is written properly including the
> package tags etc,
> Hope that helps
>
> SJM
>
> Javier España | javierespana.com wrote:
>> Hi there,
>>
>> I have a BoxesTest_01.as file that creates a cube with textures,
>> and it all works great when in my .fla I put the name of the .as in
>> the Class box in the Document Settings...
>>
>> But how can I add that .as via ActionScript? I'm trying this and
>> it's throwing some errors and not working:
>>
>> import BoxesTest_01;
>> var createPV3D:BoxesTest_01 = new BoxesTest_01();
>>
>> Thanks a lot,
>>
>> Javier
>>
>> _______________________________________________
>> Papervision3D mailing list
>> Papervision3D at osflash.org
>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>>
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20090729/3c3cf8fb/attachment-0001.html>
More information about the Papervision3D
mailing list