Part 4 - View States and Special Effects
Almost done, hang in there!
This part is quite easy, lots of drag + dropping, and VERY little coding
In the upper right hand corner of Flex, you should see a box that says States, and it should have one state(<Base state>(start)) in it. Right click somewhere in that box and click "New State...":
Now that you have created a new state, set the panel width and height to 95% and the title to "Members Section" or whatever you want. Now delete all the stuff inside the panel(the labels, text inputs etc.) so you have a clean panel.
Now all you have to do is throw some labels in there and whatnot, and you"re done!
You now have a fully functional login system using Adobe Flex and PHP!
If you want, you can throw in some cool resize effects. Edit the following code.
Find:
<mx:Panel ...
Add This:
<mx:Panel resizeEffect="Resize" ...
Now you should have a cool resizing effect if your login was successful!
That"s the end of it. Hope you enjoyed this tutorial, and please feel free to ask any questions in the forums or just leave a comment!
View LIVE Example! (Login with user:test,pass:test)
Download: Login System.zip (539 KB)
Thanks!
Previous 1 2 3 4 5 Print