Sorry if i have duplicate the similar topic on this forum and for my bad English. I ve exported awd from 3ds max 2012, and successfully include them to flash develop project.
AssetLibrary.enableParser(AWD2Parser);
AssetLibrary.addEventListener(AssetEvent.ASSET_COMPLETE, onAssetComplete);
AssetLibrary.addEventListener(LoaderEvent.RESOURCE_COMPLETE, onResourceComplete);
AssetLibrary.addEventListener(LoaderEvent.LOAD_ERROR, onLoadError);
AssetLibrary.load(new URLRequest(MESH_URL));
AssetLibrary.load(new URLRequest(TEXTURE_URL));
There is no animation inside, only simple meshes and textures. Everything is all right when i start in debug player. But it not works at the hosting. The main .swf cannot load .awd file (i traced this in the code above). My hosting works under apache server, so i added new mime type for .awd:
ErrorDocument 404 /error-docs/404.php
ErrorDocument 403 /error-docs/403.php
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.mebel-to.ru$ [NC]
RewriteRule ^(.*)$ http://mebel-to.ru/$1 [R=301,L]
AddType application/awd .awd
AddCharset utf-8 .css .less .js .xml .json .rss .atom
<IfModule mod_headers.c>
Header set X-UA-Compatible "IE=Edge,chrome=1"
# mod_headers can't match by content-type, but we don't want to send this header on *everything*...
<FilesMatch ".(js|css|less|gif|png|jpe?g|pdf|xml|oga|ogg|m4a|ogv|mp4|m4v|webm|svg|svgz|eot|ttf|otf|woff|ico|webp|appcache|manifest|htc|crx|oex|xpi|safariextz|vcf|awd)$" >
Header unset X-UA-Compatible
</FilesMatch>
</IfModule>
<files *.less>
SetOutputFilter DEFLATE
</files>
I would be glad to any help, thanks:)