This is G o o g l e's cache of http://www.flashsandy.org/forum/lofiversion/index.php/t285.html as retrieved on 12 Jul 2007 18:38:05 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:xN4VeI5itCIJ:www.flashsandy.org/forum/lofiversion/index.php/t285.html+site:www.flashsandy.org+index.php&hl=en&ct=clnk&cd=92


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: index php

Abraxas
Hello,

I am very glad this forum exists and the great Sandy-Library.
I found it by googeling for how to show 3d content with flash.

I made experiences by using VRML, so I know how to create and export *.wrl files with
3ds Max. Now I am interested in testing the possibility of parsing wrl with sandy.

I downloaded the demo-files-set for this, and just played the "WrlTest.swf".
But when I open the downloaded fla with flash and then try to see a preview, I have a lot of
compiling errors. but it should be the fla of the same file.

Can anybody give me any advice?

How must I create the directories and subdirectories of all the files (and there are many)?
Do I have to adjust any paths (some of the errors say that something isn't found),
and where can I do that? The compiler just says it couldn't load ... to everything.
Or do I have the wrong version of flash? I have flash 8, but I cannot export to actionscript3,
only actionscript1 and actionscript2. I really do not know how to set the paths.

Or am I wrong and this demo is not to use with flash to do any changes? Can I only change the
target *Wrl-file?


Greetings from Stuttgart

Abraxas
Abraxas
Hello again,

sorry for posting above.
I think the problem is I do not have the right paths for the many classes.
But I do not know how they are to be set, even in the "petit labs" I couldn't find an answer. I think I must leave the hope of using sandy and look for something else, my version of flash seems to not support this. I only can change the Target wrl file and remane it to "2cubes.wrl", this works.

Thank you very much.

Abraxas
kiroukou
Hi and welcome,
Give a try to the search tool of the forum, I'm pretty sure you'll find the answer wink.gif

If not, I'll take time later to explain this wink.gif
++
Abraxas
Hello,

thank you for your advice.
I tried using the "search" function with keywords like "classes paths", but it doesn't
work on my computer:

"an error occured..."

I will try to look at the search-function tomorrow
when I can go to a friend and try to search on his
computer.

And I did not ever work with "classes", I never needed something like that.


Thank you for your advice.


Abraxas
Petit
QUOTE(Abraxas @ Jan 25 2007, 09:01 PM) *

I think the problem is I do not have the right paths for the many classes.
But I do not know how they are to be set, even in the "petit labs" I couldn't find an answer.

That's a bit strange. In the primitives part of my tutorial, I do my best to explain how to set parts to Flash class libraies. I'm using Flash 8 myself, so it should be the same for you.

In short:
Don't forget to download the pixlib libraies, that ar not included in the Sandy distribution!
Also you must unpack the libraries ( zip file ) with all subdirectories intact.

You may place the sandy and pixlib directories where you like.
Say that you place them in E:\flashlibs

This is the structure they must have.

E:\flashlibs\sandy\
E:\flashlibs\com\bourre\

Then you must tell the Flash IDE ( or authoring tool ) where the new libraries are.
1. Go to Edit/Preferences, click on the button "Actionscript 2.0 Settings".
This brings up a dialog with the search paths to AS libraries.
2. Click the + sign and enter E:\flashlibs

You have to keep the paths you already have, of course!

Good luck and don't give up!
tonio
Hello,

Here is my problem :this is my best error numbers 3 !!!
I did all you tell us ...pixlibs ....
I can't make the first cube working !!! sad.gif
thanks for any help...
perhaps these exemples are not working with sandy 1.1


**Erreur** D:\flashlibs\sandy\view\ClipScreen.as: Ligne 102 : La méthode nommée 'updateScreen' n'existe pas.
_c.updateScreen();

**Erreur** Séquence = Séquence 1, calque = Calque 1, image = 1 :Ligne 22 : Incompatibilité de types.
var cam:Camera3D = new Camera3D( 700, screen );

**Erreur** Séquence = Séquence 1, calque = Calque 1, image = 1 :Ligne 29 : La méthode nommée 'addCamera' n'existe pas.
world.addCamera( cam );

Total des erreurs ActionScript : 3 Erreurs signalées : 3

kiroukou
Hi,
are you sure to use sandy 1.1 and not 1.2 ? smile.gif

Je pense que tu utilises les betas de la 1.2 qui ne sont pas compatibles avec cet exemple, mais cependant rien de bien sorcier à changer.

yoyoyoyo5698
I'm having the exact same problem. I have the package set up in

C:\Macromedia\flash8\libraries

and in that I have the pixlib package com, and also sandy

C:\Macromedia\flash8\libraries\com\*
C:\Macromedia\flash8\libraries\sandy\*

But when I try to run examples, I get the errors

**Error** C:\Macromedia\flash8\libraries\sandy\view\ClipScreen.as: Line 102: There is no method with the name 'updateScreen'.
_c.updateScreen();

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 25: Type mismatch.
var cam:Camera3D = new Camera3D( 700, screen );

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 32: There is no method with the name 'addCamera'.
world.addCamera( cam );


as if there are problems with the classes themselves, but I'm sure that's not true, as it works for most people. I've tried it with versions 1.1 & 1.2, and I'm getting desperate. Any ideas?
kiroukou
You certainly use a 1.2 BETA 2 library and try to compile a tutorial based on 1.1 wink.gif

You should look at the examples provided with the 1.2 BETA, and see what have changed as the Petit's post explains too smile.gif

Come back if you still have some problem for sure

Seamus
QUOTE(yoyoyoyo5698 @ Feb 23 2007, 07:14 PM) *

I'm having the exact same problem. I have the package set up in

C:\Macromedia\flash8\libraries

and in that I have the pixlib package com, and also sandy

C:\Macromedia\flash8\libraries\com\*
C:\Macromedia\flash8\libraries\sandy\*

But when I try to run examples, I get the errors

**Error** C:\Macromedia\flash8\libraries\sandy\view\ClipScreen.as: Line 102: There is no method with the name 'updateScreen'.
_c.updateScreen();

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 25: Type mismatch.
var cam:Camera3D = new Camera3D( 700, screen );

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 32: There is no method with the name 'addCamera'.
world.addCamera( cam );
as if there are problems with the classes themselves, but I'm sure that's not true, as it works for most people. I've tried it with versions 1.1 & 1.2, and I'm getting desperate. Any ideas?


Like Petit and kiroukou have said, you seem to be using 1.2.
If you get rid of the Clipscreen and change

CODE
var cam:Camera3D = new Camera3D( 700, screen );


to something like:

CODE
var cam:Camera3D = new Camera3D( 700, 700 );



and change

CODE
world.addCamera( cam );


to

CODE
world.setCamera( cam );


it should work fine. You may want to delete the ASO files just in case. smile.gif
matic
Hi,
i tried 1.1 and 1.2 but always get Errors.

If I try the Create your first box with Sandy-Example (1.1) I get the Error

QUOTE
**Error** C:\Dokumente und Einstellungen\flayoo\Desktop\_\sandy\skin\SimpleLineSkin.as: Line 98: The implementation of the interface method doesn't match its definition.
public function begin( f:Face, mc:MovieClip ):Void

**Error** C:\Dokumente und Einstellungen\flayoo\Desktop\_\sandy\skin\SimpleLineSkin.as: Line 109: The implementation of the interface method doesn't match its definition.
public function end( f:Face, mc:MovieClip ):Void

Total ActionScript Errors: 2 Reported Errors: 2

Petit
QUOTE(matic @ Mar 25 2007, 01:37 PM) *

i tried 1.1 and 1.2 but always get Errors.
If I try the Create your first box with Sandy-Example (1.1) I get the Error

If you compile and run the "Create your first box with Sandy" example from the Wiki, using Sandy version 1.1 it should work.
I just did that.

If it doesn't it may be because you experimented with different versions.
Your errors indicate inconsistencies within the libraries, that doesn't exist.

What you should do, is to make sure that you don't have only version 1.1 in the global class path.
Then, if you use the Flash tool, you should delete ASO files, which are compiled and cached classes from earlier compilations. In Flash 8 you do this under control/Delete ASO files ..."

The example doesn't work in version 1.2

You can find more examples written for Sandy 1.1 here.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2007 Invision Power Services, Inc.