Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
February 04, 2012, 02:49:55 AM
Home
Forum
Documentation
Search
Help
Login
Register
Gaia Framework for Adobe Flash
>
Forum
>
Support
>
Gaia AS3 Support
(Moderators:
Nemo
,
Ramiro
) >
sound asset unknown
Pages: [
1
]
« previous
next »
Print
Author
Topic: sound asset unknown (Read 216 times)
rycill
Gaia Novice
Posts: 1
sound asset unknown
«
on:
September 07, 2010, 05:56:14 AM »
Hi !
I'd like to add a sound asset in a gaia website.
I just put it in my site.xml (in the audio page) like this :
<?xml version="1.0" encoding="UTF-8"?>
<site title="Gaia Framework Site: %PAGE%" menu="true">
<page id="index" src="index.swf">
<asset id="langage" src="xml/langage.xml"/>
<asset id="styles" src="css/flash.css"/>
<asset id="myFonts" src="fonts.swf" fonts="MyArial,MyDinRegularLatinMax,MyMonaco,MyImpact,MyFutura" preloaded="true"/>
<page id="nav" src="nav.swf" depth="top">
<page id="home" title="Home" src="home.swf" menu="true" />
<page id="video" title="Video" src="video.swf" menu="true" />
<page id="audio" title="Audio" src="audio.swf" menu="true">
<asset id="myMusic" title="prince" src="mp3/audio.mp3"/>
</page>
</page>
</page>
</site>
and without typing any code, flash returns an error :
Error: Unknown asset type | mp3
at com.gaiaframework.assets::AssetCreator$/create()
at com.gaiaframework.core::SiteModel/parseAssets()
at com.gaiaframework.core::SiteModel/parsePage()
at com.gaiaframework.core::SiteModel/parseChildren()
at com.gaiaframework.core::SiteModel/parsePage()
at com.gaiaframework.core::SiteModel/parseChildren()
at com.gaiaframework.core::SiteModel/parsePage()
at com.gaiaframework.core::SiteModel/parseTree()
at com.gaiaframework.core::SiteModel/onLoadComplete()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
how can you explain this ?
Thanks
cyrille
Logged
steven
Gaia Author
Administrator
Gaia Evangelist
Posts: 3863
Re: sound asset unknown
«
Reply #1 on:
September 07, 2010, 09:23:54 AM »
You probably used the Optimize button in the panel before you added the sound asset to your xml.
Logged
Steven Sacks | Gaia Author
Please support Gaia by
donating to the project!
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Downloads and Information
-----------------------------
=> * Download Gaia *
=> Lessons, Examples, Tips+Tricks, Mods and Utilities
=> Gallery
-----------------------------
Support
-----------------------------
=> General Gaia Support
=> Gaia AS3 Support
=> Gaia AS2 Support
=> Feature Requests
=> Non-Gaia Questions
-----------------------------
International Support
-----------------------------
=> Deutsche
=> Español
=> Français
=> Italiano
=> Português
=> 日本語
TinyPortal v1.0 beta 4 ©
Bloc
Loading...