This is G o o g l e's cache of http://www.flashsandy.org/forum/index.php?act=Print&client=printer&f=17&t=392 as retrieved on 1 Aug 2007 11:28:23 GMT.
G o o g l e's cache is the snapshot that we took of the page as we crawled the web.
The page may have changed since that time. Click here for the current page without highlighting.
This cached page may reference images which are no longer available. Click here for the cached text only.
To link to or bookmark this page, use the following url: http://www.google.com/search?q=cache:7BLE-ZBjrJYJ:www.flashsandy.org/forum/index.php%3Fact%3DPrint%26client%3Dprinter%26f%3D17%26t%3D392+act%3DPrint+%22index+php%22+-lofiversion+site:www.flashsandy.org&hl=en&ct=clnk&cd=20


Google is neither affiliated with the authors of this page nor responsible for its content.
These terms only appear in links pointing to this page: act print index php

Printable Version of Topic

Click here to view this topic in its original format

Sandy's Forum _ AS2 1.x versions _ First test

Posted by: KoPanda Mar 21 2007, 07:42 AM

Hi all,

I'm new to Sandy and I just love it after viewing the demos. I downloaded Sandy 1.1 and try to follow the tutorial to see how it works. I copied and pasted the code form the first tutorial to flash but flash failed to compile it. It gave me the following errors.


QUOTE

**Error** D:\Work Folder\Flash\Library\sandy\view\IScreen.as: Line 38: The class or interface 'sandy.view.Camera3D' could not be loaded.
public function setCamera( c:Camera3D ):Void;

**Error** D:\Work Folder\Flash\Library\sandy\view\ClipScreen.as: Line 19: The class or interface 'sandy.view.Camera3D' could not be loaded.
import sandy.view.Camera3D;

**Error** D:\Work Folder\Flash\Library\sandy\view\ClipScreen.as: Line 57: The class or interface 'Camera3D' could not be loaded.
public function setCamera( c:Camera3D ):Void

**Error** D:\Work Folder\Flash\Library\sandy\view\ClipScreen.as: Line 128: The class or interface 'Camera3D' could not be loaded.
private var _c:Camera3D;

**Error** D:\Work Folder\Flash\Library\sandy\core\World3D.as: Line 128: The class or interface 'sandy.view.Camera3D' could not be loaded.
public function addCamera ( cam:Camera3D ):Number

**Error** D:\Work Folder\Flash\Library\sandy\core\World3D.as: Line 149: The class or interface 'sandy.view.Camera3D' could not be loaded.
{

**Error** D:\Work Folder\Flash\Library\sandy\core\World3D.as: Line 250: The class or interface 'sandy.view.Camera3D' could not be loaded.
{

**Error** D:\Work Folder\Flash\Library\sandy\core\World3D.as: Line 267: The class or interface 'sandy.view.Camera3D' could not be loaded.
var cam:Camera3D ;

**Error** D:\Work Folder\Flash\Library\sandy\core\World3D.as: Line 424: The class or interface 'sandy.view.Camera3D' could not be loaded.
private var _oCam:Camera3D;

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 16: The class or interface 'sandy.view.Camera3D' could not be loaded.
var cam:Camera3D = new Camera3D( 700, ecran);

Total ActionScript Errors: 10 Reported Errors: 10


Any idea what happened?

Posted by: Petit Mar 21 2007, 12:57 PM

QUOTE(KoPanda @ Mar 21 2007, 08:42 AM) *

Any idea what happened?

It will seem that Flash finds all the classes except Camera3D.
Have you checked that you have Camera3D.as in D:\Work Folder\Flash\Library\sandy\view\
?
Another tip. If you have moved the class libraries of Sandy around, and have made attempts to compile earlier,
you may have to delete ASO files ( cached compiled classes ), when you compile again.
You do this under Control/Delete ASO Files (and Test Movie ).

If you are working with more Sandy projects, I hope you add the library directory to the global class path in Flash. Edit/Preferences - select ActionScript - Click "ActionScript 2.0" button.
In the dialog press '+' and add the path to D:\Work Folder\Flash\Library

Posted by: KoPanda Apr 4 2007, 09:05 AM

QUOTE(Petit @ Mar 21 2007, 08:57 PM) *

It will seem that Flash finds all the classes except Camera3D.
Have you checked that you have Camera3D.as in D:\Work Folder\Flash\Library\sandy\view\
?
Another tip. If you have moved the class libraries of Sandy around, and have made attempts to compile earlier,
you may have to delete ASO files ( cached compiled classes ), when you compile again.
You do this under Control/Delete ASO Files (and Test Movie ).

If you are working with more Sandy projects, I hope you add the library directory to the global class path in Flash. Edit/Preferences - select ActionScript - Click "ActionScript 2.0" button.
In the dialog press '+' and add the path to D:\Work Folder\Flash\Library



Thanks for you advice. But what if I have already...

1. confirmed that Camera3D.as is placed under D:\Work Folder\Flash\Library\sandy\view\
2. deleted the ASO files
3. added D:\Work Folder\Flash\Library\ to the classpath

I still can't compile the file properly. It gives the same errors. I just don't understand. I have no problems using other classes from flash.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)