J'essaie de configurer le framework swiz en flex mais je n'arrive pas à le compiler. Im en utilisant swiz 0.6.2 et flex 3.0.2. Le swc est dans le répertoire libs de mon projet flexible.Flex: swiz .6.2 Méthode non définie loadbeans
Im suivant le tutoriel ici: http://code.google.com/p/swizframework/wiki/DefiningApplicationComponents
et mon code ressemble à:
Swiz.mxml--
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute" width="100%" height="100%"
preinitialize="onInitialize()">
<mx:Script>
<![CDATA[
import org.swizframework.Swiz;
private function onInitialize() : void {
// load up swiz beans
Swiz.loadBeans([ Beans ]);
}
]]>
</mx:Script>
<!-- rest of view -->
</mx:Application>
Beans.mxml--
<?xml version="1.0" encoding="utf-8"?>
<BeanLoader xmlns="org.swizframework.util.*" xmlns:mx="http://www.adobe.com/2006/mxml">
<!-- custom channel set -->
<DynamicChannelSet id="myAmfChannel">
<serverPort>8080</serverPort>
<contextRoot>/demo-web</contextRoot>
</DynamicChannelSet>
<!-- user service -->
<mx:RemoteObject id="userService"
destination="userService"
channelSet="{myAmfChannel}"/>
</BeanLoader>
quand j'essaie de compiler je reçois l'erreur méthode non identifiée loadBeans à travers une référence avec sta Type de tic Class. Des pensées?