====== Flash ====== ===== Sites ===== http://fr.wikipedia.org/wiki/ActionScript http://wiki.media-box.net/tutoriaux/flash/ \\ http://www.5etdemi.com/blog/ \\ http://www.phireworx.com/content/tutorials/default.asp \\ http://www.flashxpress.net * http://alternativaplatform.com/en/alternativa3d/ * camembert 3D animé http://www.flashkit.com/movies/3D/Pseudo/Animate_-Eric_Lin-7127/index.php * rotation http://www.flashkit.com/movies/3D/Pseudo/3D_Rotat-Prashant-7680/index.php * gradient http://www.flashkit.com/movies/Basics/Drawing/multi-gr-KidCoder-7837/index.php ===== Tips ===== ==== Calcul tros long = User Abort Question ==== Si un calcul prend trop de temps, le Player Flash ouvre une fenêtre pour demander à l'utilisateur s'il veut continuer ou abandonner l'exécution du script. C'est terriblement ennuyeux dans certains cas. Solution: FlashM http://flasm.sourceforge.net/ : Flasm disassembles your entire SWF including all the timelines and events. Looking at disassembly, you learn how the Flash compiler works, which improves your ActionScript skills. You can also do some optimizations on the disassembled code by hand or adjust the code as you wish. Flasm then applies your changes to the original SWF, replacing original actions. Voir le chapitre [[http://flasm.sourceforge.net/#scriptlimits|scriptLimits tag]] scriptLimits recursion 2000 timeout 10 ===== Rich Internet Application (RIA) ===== [[glossaire:RIA|Rich Internet Application (RIA)]] ==== Côté Serveur ==== OpenAMF : Java Flash Remoting - http://www.openamf.org/ \\ The OpenAMF project is a free open-source alternative to Macromedia's Java Flash Remoting. It is as capable of providing application services to Flash MX as Macromedia's proprietary solution. This project began as a Java port of AMF-PHP. \\ Tutoriel : http://wiki.media-box.net/tutoriaux/flash/remoting_java AMF-PHP : http://www.amfphp.org/ \\ Tutoriaux : http://wiki.media-box.net/tutoriaux/flash/utilisation_flash_remoting_avec_amfphp, http://wiki.media-box.net/tutoriaux/flash/amfphp_option_methodes [[informatique:OpenLaszlo|OpenLaszlo]] WebORB : XServer : http://flashcenter.free.fr/xserver/ \\ XServer est un serveur socket spécialisé pour les applications flash. En effet grâce à celui-ci vous pourrez créer facilement des applications telles que des chats ou bien des jeux multi joueurs. \\ Développé en Java. \\ Un tutoriel : http://flash.media-box.net/index.php?showtopic=41330 ==== Côté Client ==== FAME : Tout d’abord, qu’est ce que FAME, c’est un diminutif pour l’utilisation de Flashout, Ascdt, Mtasc, Eclipse. Avec ces 4 éléments, il est possible de compiler des swf en se passant totalement de l’IDE de Flash. On peut donc faire des fichiers swf sans utiliser Flash. \\ Tutoriel : http://wiki.media-box.net/tutoriaux/flash/fame ===== Tools ===== ==== MTASC ==== [[http://www.mtasc.org/]] MTASC is the first ActionScript 2 Open Source free compiler. It can compile large number of .as class files in a very short time and generate directly the corresponding SWF bytecode without relying on Macromedia Flash or other tools. ==== FlashDevelop ==== [[http://www.flashdevelop.org/]] FlashDevelop is a free and open source code editor. * Microsoft Windows .NET 2.0 application * Mac OSX/Linux compatible using virtualization software (VirtualBox, VMWare, Parallels) ==== Adobe Flex ==== [[http://www.adobe.com/fr/products/flex/]] Adobe Flex 4 est un framework Open Source multi-plateforme permettant la création d'application internet riches (RIA) avec un rendu identique sur la plupart des navigateurs et des systèmes d'exploitation (Windows, Linux, Mac). Grâce à son compilateur, Flex donne la possibilité de créer des fichiers .SWF pouvant être lu par Adobe Flash Player. Tout comme Adobe Flash Professional peut créer des fichiers SWF, Flex peut aussi le faire mais la méthode de développement est totalement différente. La description de l'interface s'opère au moyen du langage MXML, basé sur XML un peu comme ce que proposent XUL ou XAML. * [[http://www.flex-tutorial.fr/]] Créer un projet Flex avec Eclipse: * [[http://www.seanhsmith.com/2010/03/29/flex-for-free-setting-up-the-flex-4-sdk-with-eclipse-ide/]] FB4Linux: * [[http://code.google.com/p/fb4linux/wiki/HowToInstall]] * [[http://tboxmy.blogspot.com/2011/03/flex-4-on-eclipse-galileo-for-linux.html]] ===== Libraries and Components ===== ==== Logging & Debug ==== === ThunderBolt === ThunderBolt AS2 is a logger extension for Flash ActionScript 2 based on MTASC´s trace facilitiy and the superb Firebug add-on for Firefox. Features: * Detailed information (class, file, line number, time, frame) * Log levels (info, warning, error, fatal) * Interactive tree view for complex object structures * Profiling (time spend during code execution) * Collapsible grouped output * Interactive console (inspect and modify object on runtime) http://code.google.com/p/flash-thunderbolt/wiki/ThunderBoltAS2 ==== Chart & Graph ==== === Graph Gear === http://www.creativesynthesis.net/blog/projects/graph-gear/ === BirdEye === http://code.google.com/p/birdeye/ **RaVis** http://code.google.com/p/birdeye/wiki/RaVis http://birdeye.googlecode.com/svn/trunk/ravis/RaVisExamples/example-binaries/RaVisExplorer.html