Now here is an example how to check a user using our CAPTCHA.
For source files see bellow.
And now here is a running example. This shows how to generate a CAPTCHA setting about 4 parameters.
More parameters can be added to this example, like dots size, polygons transparency, font size but all that are features.
Enjoy!
PS: Sources are bellow.
This it’s a clean example about how to add a CSS style to a component in Flex.
We need to create the CSS file (style.css) and add a custom style:
.myStyle {
font-size: 20px;
color: #cc0000;
}
Make a new Flex project and in the defalul MXML aplication file add this code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute" >
<!–// Here we call our [...]
So you need a modal window and you are using Flex . This a small example that will open a modal window when application it’s initialized. I put the title to the modal window, but you can add also an icon.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute" initialize="openModalWindow()">
[...]
A bunch of examples for Adobe Flex and ActionScript.It’s a good starting point if you need help on any problem. There are examples with sources (mxml files) and a working swf.
I thing this is a really useful tool for everyone how it’s thinking to start using Flex.
So visit Peter deHaan’s blog at [...]
Having the code bellow:
<mx:application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute">
<mx:script>
<!–[CDATA[
public static const menubarXML:XMLList =
<root>
<menuitem label="main1" data="1">
[...]