[Logo]
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing  
[Register] Register / 
[Login] Login 
Problem with 3DS tutorial.  XML
Forum Index » Alternativa3D 5
Author Message
Li666


Joined: 11/07/2008 20:42:21
Messages: 9
Offline

Hi,

Im having trouble while compiling the source for this tutorial. I get a sandbox error (?) saying that im not allowed to access the "resource" folder that contains the .3ds file and jpegs. Weird...

Well, Id appreciate any help. Thanks.
mike


Joined: 01/06/2008 00:00:06
Messages: 786
Offline

Alejandro, you have to compile the project with -use-network=false option.
Li666


Joined: 11/07/2008 20:42:21
Messages: 9
Offline

thanks!
Li666


Joined: 11/07/2008 20:42:21
Messages: 9
Offline

How about when the .3ds is online?
I get a 2032 error...

Its at http://www.piar.com.ar/li/temple/load3dstutorial.html

Error: Error #2032: Error de secuencia. URL: resources/house.3ds
at alternativa.engine3d.loaders::Loader3DS/on3DSError()[D:\Workspace\Alternativa3D\alternativa\engine3d\loaders\Loader3DS.as:200]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/redirectEvent()

This message was edited 2 times. Last update was at 17/07/2008 17:37:27

wolf

[Avatar]

Joined: 31/05/2008 23:19:38
Messages: 1521
Offline

-use-network=true
Li666


Joined: 11/07/2008 20:42:21
Messages: 9
Offline


Tryed that, no success...
bekamaster


Joined: 01/06/2008 14:40:01
Messages: 3
Offline

I've the same issue,
in local work perfectly, but on web Loader3DS not work.

I use Flash CS3 with Flash Develop (IDE) to compile so I can't set -use-network=true

please help.
mike


Joined: 01/06/2008 00:00:06
Messages: 786
Offline

I've compiled a release version of this tutorial in FlashDevelop with -use-network=true option and it works just fine through network. I had a problem with Firefox when FlashBlock extension was turned on (the same Stream Error exception after page reload) but disabling this extension has solved the problem. Can you tell me more about how do you compile the project (i.e. what IDE, compiler options, release or debug version etc.)?

Jacopo Dagnino, in FlashDevelop you can enter "-use-network=true" option in Project Properties->Compiler Options->Additional Compiler Options field.

This message was edited 1 time. Last update was at 23/07/2008 10:09:05

bekamaster


Joined: 01/06/2008 14:40:01
Messages: 3
Offline

Compiler Options insert, still not work

I use FlashDevelop 3.0.0 Beta7,
project setting: AS3 Flash IDE Project
Additional Compiler Options : -use-network=true
Alternativa ver: 5.0.2

please help.
cosix


Joined: 18/06/2008 01:47:29
Messages: 14
Offline

What is the advantage using Flash Develop (IDE) to compile ?
mike


Joined: 01/06/2008 00:00:06
Messages: 786
Offline

Joachim Knecht wrote:What is the advantage using Flash Develop (IDE) to compile ?

No advantage, just to ensure we are in equal conditions.

Jacopo Dagnino, let's try this way:
1. Compile the project from command line:

mxmlc -compiler.include-libraries=Alternativa3D.swc,AlternativaTypes.swc,AlternativaUtils.swc Load3DSTutorial.as

May be you'll have to adjust the paths, in my case swc-files are in project's folder.

2. Make sure that old swf is not cached in your browser or proxy, the resources files are in right place and check if the tutorial works in network.

If it doesn't... well, then show the error output and we'll try figure out what to do.
bekamaster


Joined: 01/06/2008 14:40:01
Messages: 3
Offline

I solved the problem!
I create new project without flash, so not in Flash IDE mode.

same code, but now is working!
wolf

[Avatar]

Joined: 31/05/2008 23:19:38
Messages: 1521
Offline

Mysterious...
modoguy


Joined: 28/10/2008 14:31:34
Messages: 2
Offline

Hi All

When I build (Flex 3) I get the black screen and the stats in the top right hand corner but no model.

Please help.


modoguy

This message was edited 1 time. Last update was at 05/11/2008 18:11:07

Kazuya


Joined: 15/11/2008 15:05:21
Messages: 5
Offline

David McKay wrote:Hi All

When I build (Flex 3) I get the black screen and the stats in the top right hand corner but no model.

Please help.


modoguy


Dear David

I have the answer. For Flex Builder, you have to compile those file in sdk 3.2 or later.
Just simply download that in adobe offical site and change your compiler sdk to version 3.2. Don't forget change the "require flash player version" from 9.0 to 10.0.
Good Luck!

Kazuya

This message was edited 1 time. Last update was at 16/11/2008 09:23:48

 
Forum Index » Alternativa3D 5
Go to:   
Powered by JForum 2.1.8 © JForum Team