*Example of using an embedded asset (jpg) with Away3D and a sphere primitive:* http://www.allforthecode.co.uk/aftc/forum/user/modules/forum/article.php?index=4&subindex=4&aid=118
*Example of using a preloaded asset (jpg) with Away3D and a sphere primitive:* http://www.allforthecode.co.uk/aftc/forum/user/modules/forum/article.php?index=4&subindex=4&aid=119 *Example of using an embedded asset from an SWF with Away3D:* http://www.allforthecode.co.uk/aftc/forum/user/modules/forum/article.php?index=4&subindex=4&aid=121 D On 27 January 2011 06:57, Darcey Lloyd <[email protected]> wrote: > Embedded assets 101: > > 1. See link http://lmgtfy.com/?q=as3+embedded+assets click on 1st link on > this page > > 2. Embedded assets are exactly that embedded, not preloaded. > > 3. If the path to the embedded assets (jpg,mp3,swf,etc) is not found then > no asset will be embedded and an will result in an error. > > 4. Embedded assets are embedded into the swf > > 5. Loaded / preloaded files / assets are loaded via a path / url > > 6. When you change the code of your project to see a new version of the > project you need to compile it (ctrl enter, f11 in flex, etc) this creates a > new swf with running your new code and if you added embedded assets via (see > point no 1) then they will be included in your SWF also. > > 7. Your problem is not really Away3D it's more ActionScript 3, you should > google for example code and check www.actionscript.org actionscript 3 > forum. > > D > > > > On 27 January 2011 06:52, Radioactivelizard <[email protected]>wrote: > >> thats what i have have done, is there something special i do to >> compile the swf or will the one created when executed(control+enter) >> from flash develop the only/correct method? > > >
