Was doing some RnD , was looking for a kind of flipping card in flex
Here is what i found ..
Other sites for flex components
Thursday, July 31, 2008
Wednesday, July 30, 2008
ActionScript and MXML relation
How do MXML and ActionScript relate to one another? The compiler, after parsing through the different idioms, translates MXML into the same objects, so that
< mx:button id="btn" height="100" label="My Button" >
and
var btn:Button = new Button();
btn.label = "My Button";
btn.height = 100;
produce the same object. ActionScript and MXML compiles into a SWF file
< mx:button id="btn" height="100" label="My Button" >
and
var btn:Button = new Button();
btn.label = "My Button";
btn.height = 100;
produce the same object. ActionScript and MXML compiles into a SWF file
Monday, July 21, 2008
Sunday, July 20, 2008
Friday, July 18, 2008
Flex : Self Growing Button
I have been experimenting around with flex , figured out you can make a Self growing button easily in flex.
< id="button1" label="Click to Increase Size" height="20" click="button1.width+=10;button1.height+=5; ">
I am not trying to display something unusual here. But just a thought its so easy in Flex. If I had to do something similar in JSF or Ajax then it would have involved lot more coding and would use Partial Page Refresh.
< id="button1" label="Click to Increase Size" height="20" click="button1.width+=10;button1.height+=5; ">
I am not trying to display something unusual here. But just a thought its so easy in Flex. If I had to do something similar in JSF or Ajax then it would have involved lot more coding and would use Partial Page Refresh.
Thursday, July 17, 2008
Password Management : Too Many passwords ... how do u manage them ??
With technology touching our lives more than ever before , this is becoming a common issues faced by MANY ...
A partial solution came up ... OpenID With some drawbacks
Well the answer is simple ALGORITHM .. he he .. wondering how ??
let me give you an example...
Generate an algorthim , exploiting the fact that the website names are unique.
If you are member of two websites www.websiteone.com and websitetwo.com
your password may be ... webONEsite and webTWOsite
And if you decide to join another www.websitethree.com then following your example you may keep your password as webTHRsiteEE
The algorithm used above is ... take the 1st three letters of website , append with the last three letters of website and then followed by the remaining letters.
Intelligent lot may think of Exceptional cases like
There are certain Implicit Requirement of this technique. The generated password must follow certain guidelines.
for example your Algorithm may be take the first three letters of website and then append with last three letter's ascii value.
So
www.websiteone.com => web797869
www.websitetwo.com => web848779
Well thats better.. you are a quick learner. :)
But the downside of this algorithm is that it will give same password for sites like webXXXone.com and webYYYone.com or infact webYYYYone.com well thats not a downside how can someone know that you have same password for two of your website ??
Hope this helps
~cheerz !!
A partial solution came up ... OpenID With some drawbacks
- Not applicable to secure sites like banking etc
- Adopted by most NOT ALL.
Well the answer is simple ALGORITHM .. he he .. wondering how ??
let me give you an example...
Generate an algorthim , exploiting the fact that the website names are unique.
If you are member of two websites www.websiteone.com and websitetwo.com
your password may be ... webONEsite and webTWOsite
And if you decide to join another www.websitethree.com then following your example you may keep your password as webTHRsiteEE
The algorithm used above is ... take the 1st three letters of website , append with the last three letters of website and then followed by the remaining letters.
Intelligent lot may think of Exceptional cases like
- What if the website name is less than 6 letters ( eg yahoo.com , gmail.com )
- What if it is exactly 6 letter
- etc , etc ....
There are certain Implicit Requirement of this technique. The generated password must follow certain guidelines.
for example your Algorithm may be take the first three letters of website and then append with last three letter's ascii value.
So
www.websiteone.com => web797869
www.websitetwo.com => web848779
Well thats better.. you are a quick learner. :)
But the downside of this algorithm is that it will give same password for sites like webXXXone.com and webYYYone.com or infact webYYYYone.com well thats not a downside how can someone know that you have same password for two of your website ??
Hope this helps
~cheerz !!
Thursday, July 3, 2008
Subscribe to:
Posts (Atom)