import mx.transitions.*; import mx.transitions.easing.*; TransitionManager.start(some_mc, {type:Fade, direction:Transition.IN, duration:3, easing:Strong.easeOut}); Legenda: Blinds La classe Blinds mostra l’oggetto clip filmato mediante rettangoli che scompaiono o compaiono. Fade La classe Fade applica all’oggetto clip filmato una dissolvenza in entrata o in uscita. Fly La classe Fly fa comparire l’oggetto clip filmato facendolo scorrere da una direzione particolare. Iris [...]
Archive for the ‘Computer Science’ Category
TransitionManager in Actionscript 3, Flash, AIR and Flex
Posted in Actionscript, Flash, Flex, tagged Actionscript, air, Flash, Flex on April 28, 2009 | Leave a Comment »
How to install synfig on Ubuntu 8.10
Posted in Ubuntu, tagged synfig, Ubuntu on April 6, 2009 | 2 Comments »
System Menu, then Administration, then Synaptic In Settings, Packet Archives, Thirdy party Software add: deb http://ppa.launchpad.net/stemp/ubuntu intrepid main go in Synaptic and search: synfig install synfigstudio and all dependencies proposed bye!
How to Install Cinelerra on Ubuntu 8.10
Posted in Cinema & Video, Open Source, Ubuntu on April 1, 2009 | 2 Comments »
Open the terminal and with root privileges type this commands: echo deb http://akirad.cinelerra.org akirad-intrepid main | sudo tee /etc/apt/sources.list.d/akirad.list wget -q http://akirad.cinelerra.org/dists/akirad.key -O- | sudo apt-key add – sudo apt-get update sudo apt-get install cinelerra
Actionscript 3 inline function call in addEventListener
Posted in Flex on February 6, 2009 | Leave a Comment »
_timer = new Timer(1000, 1); _timer.addEventListener(TimerEvent.TIMER, function(event:Event):void { // show the next panel showPanel(index++);});
STRUTS 2 Best Practices
Posted in Java on August 21, 2008 | Leave a Comment »
La bibbia di struts 2 è su: http://struts.apache.org/2.0.11.2/docs/guides.html 1) nei tag struts delle pagine jsp può essere invocata la action tramite elemento action=”” che può contenere: il name della <action name=”” >.. oppure contestuale esempio “#{action.Cerca}” che chiama il metodo Cerca della classe action (pojo class) associata 2) i nomi delle azioni sono mappati su [...]
How to get components and data from an ItemRenderer of a List in Adobe Flex 3
Posted in Actionscript on March 31, 2008 | Leave a Comment »
var tl:TileList = TileList( event.currentTarget ); var thumb:Thumbnail = Thumbnail(tl.indexToItemRenderer(ind)); var img:Image = thumb.image;
Sql Server 2000 progressive index or row number select query
Posted in SqlServer 2000 on March 7, 2008 | Leave a Comment »
SET NOCOUNT ON CREATE TABLE #RowNumber ( RowNumber int IDENTITY (1, 1), emp_id char(9) ) INSERT #RowNumber (emp_id) SELECT emp_id FROM employee WHERE job_id = 10 ORDER BY lname SELECT RowNumber, e.emp_id, lname, fname, job_id FROM #RowNumber r JOIN employee e ON r.emp_id = e.emp_id ORDER BY RowNumber DROP TABLE #RowNumber SET NOCOUNT OFF
How to set icon to a Button in Adobe Flex 2 and 3
Posted in Flex on December 5, 2007 | Leave a Comment »
First of all create a images directory in your flex project folder, then add your icons to it. After that remember to set properly the icon attribute of your mx:Button element: <mx:Button icon=”@Embed(‘/images/youricon.png’)” click=”makesomething()” toolTip=”This button does…”/>
How to insert in Sql Server 2000 database table a XML document String
Posted in SqlServer 2000 on November 5, 2007 | Leave a Comment »
DECLARE @idoc int DECLARE @doc nvarchar(300) SET @doc = ‘<?xml version=”1.0″ ?> <ROOT> <Shippers ShipperID=”4″ CompanyName=”The RoadRunner” Phone=”(503) 666-9831″/> <Shippers ShipperID=”5″ CompanyName=”Speedy Gonzalez” Phone=”(503) 666-3199″/> </ROOT>’ EXEC sp_xml_preparedocument @idoc OUTPUT, @doc INSERT Northwind..Shippers SELECT * FROM OPENXML (@idoc, N’/ROOT/Shippers’) WITH Northwind..Shippers EXEC sp_xml_removedocument @idoc
Petizione di Beppe Grillo per il WIMAX libero, free, gratis, gratuito contro decreto Gentiloni.
Posted in Internet & Web on November 3, 2007 | Leave a Comment »
Non serivirà a granchè (visti i precedenti risultati delle petizioni già mandate a Gentiloni and company), però forse siccome a promuoverla è Beppe Grillo, magari questa volta un po’ più di rumore si fa… Firmate gente, il WIMAX è NOSTRO e deve essere LIBERO, GRATIS , FREE!!! Cliccate sulla faccia di Gentiloni per firmare la petizione…