header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Pablo
Points:0
Posts:0

10/28/2010 4:59:31 PM

Title: Native UI Elements


Hi!, I was wondering if there's any way to use native UI elements (i.e. System's buttons, pop-ups, dialogues etc.) when building a Adobe AIR App using ActionScript 3 and Flas.

Thanks!



1
Friend
Points: 710
Posts:0
10/28/2010 9:18:52 PM



In case of flash you can use the components that are provided in Flash only. The UI components that belong to Flex framework cannot be used in the flash environment.

In flash for example to use a button with actionscript it must be present in the library. For that drag the component to stage and then delete it, the component will get added to library now you can use the following code to add it to stage

import fl.controls.Button;

var abc:Button= new Button()
addChild(abc)


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 8+1 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions