Newby Question: Can AIR app have BOTH use HTML and Flex?

I need to make a desktop app using HTML and JavaScript but I want 99% of the logic to be written in Flex.  Is that possible?
Also, do I need to buy Flash in order to compile Flex?  Or does AIR SDK include a compiler?
Pete

Yes, it is possible.  For Air apps, Flex has an html control that is basically a self-contained webkit browser you can drop into your application.  You can insert html either by loading an html string, or pointing the browser to a particular location on your filesystem or on the internet.  As far as javascript, it can either be part of the site you load into the browser, or you can "cross-script" javascript in action script.  Cross-scripting may be better in certain instances, because then you can use controls written in flex to access or manipulate the html content.  To cross-script, you do something like this: var dom:Object = html.window.document, where "html" is the id of your html control.  Then, you can access javascript methods and properties through the dom object, like this: var p1:Object = dom.getElementById("p1").  See the webkit docs for available javascript methods and properties.
No, you don't need to buy Flash.  The Flex SDK has a compiler.  You still might want to get Flex Builder (or the upcoming Flash Builder, which is the same as Flex Builder, but very different than Flash--not confusing at all...).  Or I think there are some third party IDEs for Flex, one or more of  which might be free, but I'm not sure.  I imagine it would be pretty hard for someone just learning flex and air to start building apps without Flex Builder.  Also, I think the beta of Flash Builder is still available for free, if you want to try it out.

Similar Messages

  • Do I have to uninstall my trial apps for CC (expired) so that my daughter's subscription can begin? We both use the same computer.

    Do I have to uninstall my trial apps for CC (expired) so that my daughter's subscription can begin? We both use the same computer, and nothing happens when she tries to download PS.

    It is always a good idea to uninstall before installing new, so the system registry entries are fresh
    -http://forums.adobe.com/thread/1408331?tstart=0
    -http://forums.adobe.com/thread/1398961?tstart=0
    -and http://helpx.adobe.com/creative-cloud/help/install-apps.html
    -using the cleaner after uninstalling and before reinstalling will usually help
    -http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html

  • The App Store want allow me to download new apps because I have not set up security questions.But I share an iTunes account with my friend. So if I set up the questions will my friend have to use and answer the same thing?

    The App Store want allow me to download new apps because I have not set up security questions.But I share an iTunes account with my friend. So if I set up the questions will my friend have to use and answer the same thing?

    They will have to be answered the first time when purchasing from a new computer or device.

  • HT204053 I have both an Ipad and Iphone ( not so unique) But I ran in to a question. Is there a way I can send messaged to my Ipad from my Iphone? Is so Please realize thathis is new to me  and step by step is the only way I am going to figure it out.

    I have both an Ipad and Iphone ( not so unique) But I ran in to a question. Is there a way I can send messaged to my Ipad from my Iphone? Is so Please realize that is is new to me  and step by step is the only way I am going to figure it out.  My iPhone is a 5s running 8.12 and Ipad 4 but not the latest version.  Any thoughts?
    Ty in advance ,
    Eric ...
    <E-mail Edited by Host>

    Yes, you can send Messages to your iPad 4 from the iPhone.
    See here:
    https://www.apple.com/ios/messages/
    iOS: Troubleshooting Messages - Apple Support

  • I purchased Creative Cloud single-app membership for Dreamweaver. Can I download this app on both my desktop and laptop?

    I purchased Creative Cloud single-app membership for Dreamweaver. Can I download this app on both my desktop and laptop?

    Yes, maximum of two activations at any one time.
    Creative Cloud Help | Creative Cloud / Common Questions
    "Can I use the software I download from Creative Cloud on more than one machine?"

  • Some of my apps on both my iPad and iPod Touch no longer have sound.  Others still do.  Checked general settings.  Any other ideas?

    Some of my apps on both my iPad and iPod Touch no longer have sound.  Others still do.  I checked general settings.  Any other ideas of how to fix this?

    If you lose sounds for keyboard clicks, games or other apps, email notifications and other notifications, system sounds may have been muted.
    System sounds can be muted and controlled two different ways. The screen lock rotation can be controlled in the same manner as well.
    Settings>General>Use Side Switch to: Mute System sounds. If this option is selected, the switch on the side of the iPad above the volume rocker will mute system sounds.
    If you choose Lock Screen Rotation, then the switch locks the screen. If the screen is locked, you will see a lock icon in the upper right corner next to the battery indicator gauge.
    If you have the side switch set to lock screen rotation then the system sound control is in the task bar. Double tap the home button and in the task bar at the bottom, swipe all the way to the right. The speaker icon is all the way to the left. Tap on it and system sounds will return.
    If you have the side switch set to mute system sounds, then the screen lock rotation can be accessed via the task bar in the same manner as described above.
    This support article from Apple explains how the side switch works.
    http://support.apple.com/kb/HT4085

  • My Ipad mini does not see my printer. my wife's ipad2 does. We both use IOS8 and upgraded at the same time. How can I remedy this?

    My Ipad mini does not see my printer. my wife's ipad2 does. We both use IOS8 and upgraded at the same time. How can I remedy this?

    OK great info!
    I found 2 possible ethernet to USB adapters:
    By "Plugable":  USB 2.0 to ethernet LAN wired network adapter - seems this will work, but I'll contact Plugable.
    2. Apple USB Ethernet Adapter
    Easily connect your MacBook Air computer to an Ethernet network with the Apple USB Ethernet Adapter. Small and light, it connects to the USB 2.0 port of your MacBook Air and provides an RJ-45 connector that supports 10/100BASE-T performance.  BUT NOT SURE IF THIS WILL WORK ON ANYTHING BUT a MacBook Air…
    One person commented: 
    This little gem used to be the device of choice for adding a second Ethernet interface to a Mac Mini Server and I'd been using one that way for about a year. After doing a software update to 10.6.6 it stopped working. Forewarned is forearmed – it appears that Apple is finally enforcing the MacBook Air system requirement.
    Thanks for any additional comments.
    Best regards,
    Steve Schulte
    Sunday 6 January 2013

  • I have both Photoshop 4 and Photoshop 6 on my computer. When I am in Bridge and want to open an image by double clicking, it automatically opens in 6. I see, when I go to "open with" 6 is listed as "default" How can I change the "double click" defult to o

    I have both Photoshop 4 and Photoshop 6 on my computer. When I am in Bridge and want to open an image by double clicking, it automatically opens in 6. I see, when I go to "open with" 6 is listed as "default" How can I change the default to open an image with a double click in 4?

    You can associate files from the Bridge level and the Desktop level.
    In Bridge CS4, go to Preferences > File Type Associations and change it to Photoshop CS4 for the file types you want.
    If you want to open files from the Windows Desktop in CS4, these are the instructions:
    Do this from the Windows Desktop:
    If you want your image file to open in Photoshop and it doesn't, right click on it and choose
    Open with > Choose default program… select Photoshop CS4 or CS6 and checkmark "always use the selected program to open this type of file".

  • If I can buy apps on the iPhone 4, and then I want the same apps I bought it in the new iPhone that I have. Can or not?

    If I can buy apps on the iPhone 4, and then I want the same apps I bought it in the new iPhone that I have. Can or not?

    If the device has the same Apple ID signed onto the iTunes & App Store, then you can download any apps purchased under that Apple ID to that device.
    I thought you were asking about a game and game statistics being shared between two devices with two separate players. What I said about that is that if it is under the same ID, then the game is going to have the same statistics on both devices, and any updates to those would be reflected in both places. So, two different players wouldn't be able to have separeate statistics if they were playing under the same Apple ID.
    Cheers,
    GB

  • I have an iMac. I noticed that I have both versions 8 and 9 of Adobe Reader. Can I remove version 8 ?

    I have an iMac. I noticed that I have both versions 8 and 9 of Adobe Reader. Can I remove version 8 ?

    Yes.
    If you double click on a PDF and your system uses 8 to open it, you may have to repair (Help>Repair... in Reader) the 9 installation or you could change your file associations to use 9 to open PDF files.
    If 9 opens them already, just remove 8 and you're good to go.

  • We have purchased the complete Creative Cloud license. Can we install it both in PCs and Mac?

    We have purchased the complete Creative Cloud license. Can we install it both in PCs and Mac?

    Hi Pandora,
    You can install one single license of a Creative Cloud on upto 2 machines. CC is a platform independent product so you can use it on both Windows & Mac but make sure that you are not using it at the same time.
    Cheers,
    Kartikay Sharma

  • My question is that if I am using Mac and another friend of mine is using Ipad mini and her skpe isnt working and we want to share screens how can we do it through Ichat? Since on facetime screens cant be shared!

    My question is that if I am using Mac and another friend of mine is using Ipad mini and her skpe isnt working and we want to share screens how can we do it through Ichat? Since on facetime screens cant be shared!

    Hi,
    You can't.
    Messages - the replacement for iChat in Mountain Lion and beyond will  do Screen Sharing  but only to the accounts it did in iChat 5 and 6  (actually it includes iChat 4 as well)
    That is to say in earlier version of iChat you could login to AIM and Jabber servers as well as enabling the Bonjour option to chat on your LAN.
    All these will do Video and Audio only chats which in turn means they will Screen Share.
    At iChat 6 an Yahoo option was added but it can only Text chat (it can't even send Files or Pics)
    This means only the Internet able accounts that login in to AIM or to a Jabber server  can Video and therefore Screen Share.
    The iMessages account will Invoke FaceTime if you use the Video icon during text chat.  (I.e. it is not Video inside the app like the AIM or Jabber accounts can do)
    NOTE.
    AIM includes Apple Issued Apple ID as Valid AIM Screen Names.
    Google Mail ID s can be used and Google Talk IDs with Messages as they run a Jabber server.
    Facebook allow you to create a Chat ID (Facebook Chat ID) which is also a Jabber server.
    9:13 pm      Tuesday; June 10, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Can I have both Lightroom 3 and Lightroom 5 both installed on the same computer?

    Can I have both Lightroom 3 and Lightroom 5 both installed on the same computer? I like the "fill light" feature in 3 and use it a lot. I would have not gotten 5 except that the images from my new Canon 5D Mk III are not re4cognized on 3. I have 5 on a laptop and 3 on my desktop but would like to have both on my desktop .

    Yes you can do this, but you can also get rid of Lightroom 3 and use the "Fill Light" command in Lightroom 5. You need to set the Process Version to 2010 (default is 2012 in Lightroom 5). Use the menu command  Settings > Process > 2010
    But honestly, you would be wise to stop using "Fill Light", as the new sliders in Lightroom 5 produce superior image quality than anything you can come up with using "Fill Light". Yes, the new sliders take a little time to get used to, but your patience and effort learning the new sliders will be rewarded. You can find some tutorials and videos on using Process Version 2012 on that Internet thing.

  • How to unjam my ipad? I cannot receive but can send so have to use main pc to receive

    I sent many photos to friends yesterday morning suddenly I noticed that I no longer receive mail into my inbox and the sent box was also frozen to that point. I can however still send more photos but had to go to my PC to receive my emails as I c.c. myself into all the emails I sent.  Is the ipad jammed because I sent too many phtos at one time? 

    You're funny, but also on my website and I do not bother you, who are you?
    发自我的 iPhone
    在 2014年11月7日,下午4:22,Apple Support Communities Updates <[email protected]> 写道:
    Apple Support Communities
    Gobilow has posted in the Using iPad community.
    How to unjam my ipad? I cannot receive but can send so have to use main pc to receive
    I sent many photos to friends yesterday morning suddenly I noticed that I no longer receive mail into my inbox and the sent box was also frozen to that point. I can however still send more photos but had to go to my PC to receive my emails as I c.c. myself into all the emails I sent.  Is the ipad jammed because I sent too many phtos at one time?
    To post a reply, go to the discussion in Apple Support Communities.                                                             
    You are receiving this email from Apple Support Communities. You can change your email preferences in your Apple Support Communities Profile.
    TM and copyright © 2014 Apple Inc. 1 Infinite Loop, MS 96-DM. Cupertino, CA 95014.
    All Rights Reserved | Privacy Policy | Terms of Use | Apple Support

  • I can't update my apps on both my iPhone and ipad

    I can't update my apps on both my iPhone and iiPad

    Unless you can provide more details about the problem, here are a bunch of things that you can try. They may not apply to your situation, but we have no way of knowing what that is, because you didn't provide specifics.
    Make sure that you do not have a stalled download in iTunes - a song or podcast .... if you have a download in there that did not finish, complete that one first. Only one thing can download at a time on the iPad so that could be what is causing the problem.
    If that doesn't work - sign out of your account, restart the iPad and then sign in again.
    Settings>Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>Store>Sign in and then try to update again. Tap one waiting icon only if necessary to start the download stream.
    You can also try deleting the waiting icons - tap and hold down on an icon until it wiggles - the tap the X on the icon to delete it. Then try to download again.
    You can try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your app preferences and device settings again.

Maybe you are looking for