Programez différent... J'ai pas eu le temps de mettre de commentaire puisque j'ai fait cette source spécialement pour vous, aprés avoir lu les... Lire la suite
c'est un prototipe pour créer un menu qui se déplace de droit à gauche et inversement en utilisant deux boutons transparent mais dans cette exemple les... Lire la suite
Voici un petit diaporama en as2 qui utilise des tweens pour les déplacements... j'ai bien galéré pour le faire et je n'ai pas trouvé de source ou... Lire la suite
Le but est de naviguer dans un fichier XML (façon playliste) dont on connait la structure mais dont on ne connait pas le contenu... ce qui m'a poser... Lire la suite
ceci est un exemple d'un menu qui fait une rotation lors de survol du souris.On peux modifier des paramètres comme la vitesse du rotation et la taille... Lire la suite
ActionScript 3.0 Le package supertweenpack v1.0 contient deux classes étendant la classe EventDispatcher, et deux classes d'évènements associés. Il est... Lire la suite
Le zip contient le source flash et un fichier word expliquant comment obtenir un masque avec dégradé. Deux types de clips sont utilisés pour générer un... Lire la suite
Elle permet de générer une lumière à partir d'un point. La classe calcule énormément la zone de lumière donc utilise le cpu quand on change x, y ou la... Lire la suite
Ce code est une reprise de "machine à sous simple" de libertyblood converti en as3 pour flash cs4. N'hésitez pas si vous voyez des améliorations à... Lire la suite
Comme je code avec le flex_sdk_4, je ne bénéficie pas d'une interface graphique. Donc j'essaye de créer un éditeur de niveau, qui va me permettre... Lire la suite
Voilà un exemple basique d'utilisation de la fonction appendchild de flash pour ajouter un enregistrement à un fichier xml. Le principe: - on ouvre le... Lire la suite
voila un petit"jeux"de tire .mais je ne sais pas comment faire en sorte que le perso ne sort pas du terrain et que quand il se fait toucher par une balle... Lire la suite
voila un petit jeux de voiture ou vous dessiner votre terrain mais faut pas rever on passe a travers :) je suis un programmeur avertit ... mais si... Lire la suite
Voici l'interface d'administration pour le calendrier événementiel - Flash/Php/MySQL. Cet interface complète cette source qui se trouve ici :... Lire la suite
Une idée qui m'est venu en dormant ! L'idée étant de distribuer des objets, de façon que cela soit toujours le plus carré possibble. Et en passant... Lire la suite
Voici un truc que j'ai trouvé pour créer des instances d'objet en constantes et que ces derniers ne soit pas modifiables. Tout en s'assurant... Lire la suite
Extention de Bitmap ne chargeant qu'un seul et unique fichier pour toutes les références faisant appel à la même URL. Est fournie avec une aide HTML.... Lire la suite
Des ennemis sur la scène regardent autour d'eux pour vous chercher. Leur champ de vision tient compte des obstacles qu'ils rencontrent. S'ils... Lire la suite
zoom sur image se trouvant dans la bibliothèque du swf rester appuier et bouger la souri pour voir changer le zoom sur cette image explication voir le code... Lire la suite
avec un minimum de code en peut lire le contenu du texte désolé j’ai oublier comment la faire fonctionner en français il faut change le dernier paramètre de... Lire la suite