The following example shows how you can declare custom events in an MXML or ActionScript component in Flex 4 by specifying the [Event] metadata.
Read More »Archive for the ‘Action Script 3.0’ Category
December 22nd, 2010
Comments Off
October 20th, 2010
Comments Off
The DataGrid component lets you easily filter data based on user input and present both the data and the data grid with your custom formatting. This article shows you how to do the following tasks with data grids:
Read More »
May 27th, 2010
No Comments »
The callLater() method queues an operation to be performed for the next screen refresh, rather than in the current update. Without the callLater() method, you might try to access a property of a component that is not yet available. The callLater() method is most commonly used with the creationComplete event to ensure that a component has finished being created before Flex proceeds with a specified method call on that component.
Read More »
May 2nd, 2010
No Comments »
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"
backgroundGradientAlphas="[1.0, 1.0]" backgroundGradientColors="[#FFFFFF, #0C3404]" viewSourceURL="srcview/index.html">
<mx:Style>
@font-face {
src: local("Arial");
fontFamily: ArialEmbedded;
}
.captionText <a href="http://marvabrooks.com/images/">buy levitra online</a> {
fontFamily: ArialEmbedded;
color : #ffffff;
fontSize : 16pt;
}
</mx:Style>
<mx:Script>
<![CDATA[
private function showCaption():void{
fadeIn.play([caption]);
}
private function hideCaption():void{
fadeOut.play([caption]);
}
]]>
</mx:Script>
<mx:Canvas rollOver="showCaption()" rollOut="hideCaption()" >
<mx:Image id="img" <a href="http://all-forums.biz/images/index.php">how do i buy viagra online | buy cialis canadian | cheap levitra generic</a> source="1.jpg" width="320" height="240" />
<mx:Box id="caption" height="30" width="320"
alpha="0" backgroundColor="#000000" backgroundAlpha=".5"
bottom="10" horizontalCenter="0" horizontalAlign="center">
<mx:Label text="Cheetah beauty @ Cologne zoo" styleName="captionText" />
</mx:Box>
</mx:Canvas>
<mx:Label text="(Rollover the image to see the caption)"
color="#000000" fontStyle="italic" fontSize="10" fontFamily="Arial"/>
<mx:Fade id="fadeIn" alphaFrom="0.0" alphaTo="1.0" />
<mx:Fade id="fadeOut" alphaFrom="1.0" alphaTo="0.0" />
</mx:Application>
Incoming search terms:
- fadeout effect in flex (2)
- flex fade in out (2)
- flex fadein fadeout (2)
- fadein (1)
- fadein fadeout for image in flex 4 (1)
- fadein/fadeout flex 4 (1)
- fadeout in flex4 (1)
- flex fadein (1)
- flex4 FadeIn (1)
May 2nd, 2010
No Comments »
Sameera at LinkedIn