Select to view content in your preferred language

How to make a form look like a alert box?

606
1
03-07-2014 04:21 AM
HectorChapa
Frequent Contributor
I am creating a form but its suppose to be the login page form my website. The problem I am encountering is how to make the form to have the same ability as this login form. See the url. I want my form to act the same characteristics as mine. Like gray out the back ground.


https://developers.arcgis.com/flex/sample-code/editsecureservice.htm



Here is my source code so far.

[HTML]<s:BorderContainer  width="560" height="410" y="164" x="410" cornerRadius="10" backgroundColor="#D3D3D3">
  
 
  <mx:Form x="10" y="10" width="538" height="388"  backgroundColor="#000099">
  <s:HGroup horizontalAlign="center">
  
 
  </s:HGroup>
  
   <mx:FormHeading label="Welcome to STEAR!" fontSize="20"  textAlign="center" fontSharpness="400" color="White" width="213" height="41">
 
  </mx:FormHeading>
  
  </mx:Form>
  </s:BorderContainer>[/HTML]
Can some one please help me I know is something simple but I can't really figure it out. Thanks, for any help. I am using 2.5 api.
Tags (2)
0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus
Hector,

   When you use the PopUpManager to display the form you just set the modal property to true.

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/managers/PopUpManager.html
0 Kudos