“Being the richest man in the cemetery doesn’t matter to me … Saying we’ve done something wonderful… that’s what matters to me.”

by Steve Jobs

Adobe Airas2as3flashflex

Documentation Flash/Flex/AIR offline

7 March 2009

doc? est une application AIR qui centralise tout la documentation de Flash et Flex dans un seul endroit. Elle savère utile lorsque vous souhaitez consulter la documentation sans lancer Flash ou Flex (comme si vous utilisez FlashDevelop).
Ajoutant a tout cela une recherche rapide, bien précise et une interface trés simple.
Il y a aussi des plugins pour l'IDE Flash et Eclipse.

Vous pouvez téléchargé Doc? à partir de http://airdoc.be

doc




Ajaxas2as3flashflexjavascript

SWFAddress 2.2

20 December 2008

Une nouvelle version de SWFAddress vient d'être publiée.
voici les principales nouveautés de la version 2.2 :

  • Refactored JavaScript implementation
  • New SWFAddress.swc AS3 component
  • New CS4 based Splash screen sample
  • New Digg API sample
  • New up() method for easier deep linking path navigation
  • New XSS protection that doesn't affect special characters
  • Support for Internet Explorer 8
  • Support for custom HTTP status messages in the SEO sample
  • Improved title handling
  • Improved unload event handling for IE
  • Updated Rails sample
  • Fixed getBaseURL() for AS3
  • Fixed Safari 2.0-2.0.3 support
  • Build-in fix for the Firefox 3/Mac OSX blinking effect
  • Additional onLoad fix for application/xml content type
  • Fixed optional options parameter for the popup method
  • Cross platform build script
  • Various optimizations

Visiter le site : http://www.asual.com/swfaddress/




Créer une vidéo Flash avec effet de reflet.

27 August 2006

Avec la class BitmapData on peut faire des miracle avec Flash, maintenant on va essayer d'insérer une vidéo et créer un reflet (style  iChat).

code :

  1. import  flash.display.BitmapData;
  2. var nc =  new NetConnection();
  3.         nc.connect(null);
  4.         var ns =  new NetStream(nc);
  5.         videoBox.video.attachVideo(ns);
  6.         //ns.play("movie.flv");
  7. var  myBitmapData = new BitmapData(videoBox._width, videoBox._height, true,  0xff0000);
  8.         reflectBox.attachBitmap(myBitmapData,  1);
  9.         reflectBox._yscale  = -100;
  10.         reflectBox._y  = videoBox._y + videoBox._height*2;
  11.     gradianBox._x  = ref._x;
  12. reflectBox.cacheAsBitmap  = true;
  13.         gradianBox.cacheAsBitmap  = true;
  14.         reflectBox.setMask(gradianBox);
  15. this.onEnterFrame  = function (){
  16.         myBitmapData.draw(videoBox);
  17.         };
  18. PlayButton.onRelease  = function(){
  19.         this._visible = false;
  20.         ns.play("movie.flv");
  21.         }

Download Source File :  reflet video source (132)




Modifier les dimensions d’une fenêtre popup avec flash et la class Transition – partie 2

5 January 2006

On a vu dans la partie 1 de cette exemple comment modifier les dimensions d’une fenêtre avec flash en appelant simplement une fonction javascript. Maintenant on va faire la même chose sauf que la fenetre sera transformé selon certaines transitions, ces pour cela q’on va utilisé la class mx.Transitions. On garde la même fonction javascript, puis on crée un clip (box_mc) sur la scène.

  1. import mx.transitions.Tween;
  2. import mx.transitions.easing.*;
  3.  
  4. function flash_call(w,h){
  5. var tween_handler:Object = new Tween(box_mc, "_width", Regular.easeOut, box_mc._width, w, 1.5, true);
  6. var tween_handler2:Object = new Tween(box_mc, "_height", Regular.easeOut, box_mc._height, h, 1.5, true);
  7. tween_handler.onMotionChanged = function() {
  8. getURL("javascript:resize('"+box_mc._width+"','"+box_mc._height+"');");
  9. };
  10. }
  11.  
  12. this.reduire_mc.onRelease = function(){
  13. flash_call('300','300');
  14. }
  15. this.agrandir_mc.onRelease = function(){
  16. flash_call('550','400');
  17. }

Plus d’informations sur cette class sur macromedia

Voire l'exemple





© 2013 mutationevent. All Rights Reserved.

REJOINEZ NOTRE MAILING LIST
Get awesome projects delivered to your inbox each week.

Connect with us