Flex mobile 4.5 - Multiline labels?

Hey, not quite sure how to make multi-line labels. Is this easy to do? Tried to give the standard labels height but that doesn't seem to work. In most other languages theres usually a multiline = true a little Delisle but im not sure how to do it in flex. Thank you!

Should work if your label has a quite small width which requires several lines:

Tags: Flex

Similar Questions

  • How to insert a background image in VGroup in Flex Mobile

    I want to insert a background image for the VGroup. Help out me. I'm new to Flex!

    I use this code in the Flex Mobile Application *.

    < s:VGroup height = "100%" width = "100%".

    paddingTop = "10" paddingBottom = "10" paddingLeft = "10" paddingRight = "10" >

    < s:List id = "homeList" height = "100%".

    labelField = "title".

    dataProvider = "{Homearticles}" >

    < s:layout >

    < s:TileLayout requestedColumnCount = '1 '.

    verticalGap = "5" / >

    < / s:layout >

    < s:itemRenderer >

    < fx:Component >

    < s:ItemRenderer >

    < s:VGroup >

    < s:BitmapImage source = "{data.source}" / >

    < s:Label text = "{data.title}" / > "

    < / s:VGroup >

    < / s:ItemRenderer >

    < / fx:Component >

    < / s:itemRenderer >

    < / s:List >

    < / s:VGroup >

    I don't think that you can add a background image to a VGroup directly, or VGroup can be skinned.

    As much as I know there are probably 2 solutions

    (1) use a SkinnableContainer skin rather the container to have a background image and set its layout to VerticalLayout

    (2) place the VGroup one group with a BasicLayout. You can then add a background image for the Group and the overlay VGroup

  • Native UI in Flex Mobile Application action bar

    Hi all

    I managed to port sample WeatherGuesser of FDT Mobile AS Application and market.

    But how to do so that the port in Flex Mobile application.

    I would use native look of the action bar, back and all that.

    are there opportunities to achieve.

    Thank you

    Vedran

    Any QNX control should be wrapped in a Flex control that you want to include in the MXML. It works well as a control of AS3.

  • Any suggestion for the option of compiling the Flex Mobile of the project in Flash builder (Blackberry platform)

    I use Flex mobile project type to create a stand-alone for targeting blackberry and android application both versions.

    Depending on the configuration of my test application works ok in blackberry tablet Simulator. As I am new to blackberry AIR application development if anyone can help me for the compilation of project I currently put for my application is good or not?

    When I checked the project-> properties-> Flex compiler, I found "Flex Hero" as compilation same SDK, so I'm trying to pass the value of the configuration option available, that it won't allow me to set the 'Blackberry Tablet OS SDK 0.9.1 for Adobe AIR"- any suggestions?

    The question above, see attached screenshot.

    Hey Dounibiligda,

    He was right to what you saw originally in your settings. the default SDK should be the flex SDK Hero. If you want to add libraries specific blackberry, you must manually import the qnx - screen.swc which will give you most of the libraries QNX which are skinned to resemble the appearance of the standard playbook.

    so to summarize, keep the default Flex Hero sdk and manually import the qnx - screen.swc to your project. Good luck!

  • universal support iOS and CSA 2.0. It will affect Flex Mobile projects?

    Hello

    Regarding the latest release notes for AIR 16, it says

    "The legacy compiler is not (and will not) compatible with iOS 64-bit." [...] It will be removed with the 16 of the AIR SDK version"

    I'm a little lost with what it means for Flex Mobile (4.6 or Apache Flex SDK). We will always be able to compile once AIR 16 is released or this new compiler will be the issue with Flex compiled for iOS projects? Must make us changes on existing applications in Flex?

    Thanks for your clarification,

    Fabien

    It seems that this evil is rumor spreading around... a lot of people don't bother research properly.

    When they talk about the legacy compiler, they speak of the ADT, MXMLC will continue to work. Simplified IPA packaging process is: Source code - MXMLC / ASC2---> SWF - ADT AOT compiler---> IPA

    So with AIR 16 ADT -useLegacyAOT argument is removed.

  • Flex mobile? should I avoid it?

    Hello

    I need to develop an application for mobile... And it seems that the Flex mobile framework is a huge time saver!

    But I know adobe has fallen Apache Flex... I would not use it?

    Thank you

    Gil

    The AIR SDK and Flex SDK are different. For example, you probably have the AIR inside your flash environment but try to load something from the Flex SDK as something of a spark component would use:

    for example, Flex:

    Import mx.collections.ArrayCollection;

    It works for you? Probably not. It is only a part of a modern installation of Flex.

    Mobile Flex introduced spark optimized components that are all mobile. Adobe AIR is the runtime (VM) which gets exported in captivity and compiled to ARM. You need not have a single component Flex in your AIR for Mobile project. AIR for Mobile does not Flex.

  • Scaling Flex Mobile project with iPad Retina display (3rd generation).

    Adobe and al.,.

    With the new iPad 3 we have now a ton more pixels to use. I know well and have already tested AIR 3.1 + compiler command line option (-platformsdk) for the Retina display on the new iPad. In ActionScript projects mobile, the content is rendered beautifully on the new iPad. But with Flex Mobile projects, something happens that forces him to render incorrectly. It is the retina-fine screen, but the size is too small.

    Here is a picture WITHOUT the construction tag - platformsdk, which causes the application to be doubled to fit on the new iPad to pixel:

    FB_Non_Retina.PNG

    Note that it is scaled proportionally, even while the text and the items are a bit pixelated. Not a big deal, but noticeable on the device.

    This image is taken with the rendering of the app to the retina (the platformsdk - pointing to iOS SDK 5.1 setting):

    FB_Retina.PNG

    As you can see, text components are made really clear, but the scale is far away. Obviously, it's getting the width of 2048 x 1536 of the device, but it is much too small.

    How can I fix it? I tried to change the applicationDPI, but it doesn't fix it. Setting a width/height of 1024 x 768 has nothing either. It seems that we have to overrride a behavior that causes all so small adjustment.

    A little help?

    Thank you

    iBrent

    Richard Lord posted a blog yesterday using the iPad screen retina with Adobe Air and one of the things I noticed is that the new iPad returns a 132 DPI, the specs say that the device is 264 ppi. I don't have one of the new iPads, so I can't test this, but it seems that it is just a case of the return the wrong DPI device which is something that has happened before. I could check the section to this page titled "substitute the default DPI" and see what happens if the device return 240 when running on the new iPad.

  • Flex Mobile 4.6 this step text - how render you HTML text with it?

    I have a little cat component in a Flex Mobile application that I just upgraded to 4.6 SDK.  The chat component has a text box displaying messages, and they are HTML formatted by the following text:

    StyleableTextField (textArea) .htmlText += myHTMLText;

    He worked in the SDK 4.5 but StyleableTextField is not part of the new text introduced in SDK 4.6 stage framework.

    Question: How HTML format messages in my chat text box now?

    I think I have a solution for you (and me) while watching devgirl.org. It seems that you have not need to set the skinClass on your textArea in MXML (as suggested above). Setting the skinClass fixed my Android problem.

    In actionscript, import this class:

    Import spark.components.supportClasses.StyleableTextField;

    In actionscript, also add the following to your new text Manager:

    ta.appendText (newText);

    StyleableTextField (ta.textDisplay) .scrollV ++;

    I don't know exactly why, but this solution works fine on an iPad, but it doesn't work for me on a Tablet I test here. The TextArea component on the Android tablet is not scrolling unless it is developed. Maybe I made a mistake of deployment to the Android device, and I will check that. Fixed this by setting the skinClass on the component.

  • Flex AIR for Flex Mobile

    I made a Flex AIR 4.5.1 for office project using Flash Builder 4.5 and I want to convert a Flex Mobile for use on Android.

    Is this possible?

    The answer to your last question is no, it does not work like that. The final construction must be configured and optimized for the target platform.

    What you need to do is put a little thought into the design of your project so that you can split your shared code that is platform-dependent code. Shared code would go in a separate and is library project used by your main application.

    You then create a project (or the configuration, if you are using a build advanced environment) for each platform that you plan to deploy to (desktop, mobile, web, etc.). The main application should contain little or no code. Above all, it serves just as a wrapper for the shared library code. This allows the application to be configured and optimized for the target platform while allowing you to use a library shared between platforms.

  • Flex Mobile: presentation of carousel or 3D Coverflow

    Anyone know if someone has set up a scheme of carousel or Flex Mobile 3D coverflow.

    I did some research on Google and found a little Flex on the Web, but looked like they would work in Flex Mobile.

    Here is an example...

    http://www.rialvalue.com/blog/2010/03/30/Flex4-Coverflow-layout/

    Yes. same as that.  But, app is only internal business app for my client and is not in the market.

    But, here is my code from her...

    Click = "listClickHandler (Event)" id = 'list' "

    skinClass = "CoverFlowListSkin" useVirtualLayout = "false".

    itemRenderer = "TouchPresentationsCoverFlowRenderer" >

    horizontalDistance = "103".

    selectedItemProximity = '0 '.

    depthDistance = '1 '.

    elementRotation = "-70".

    perspectiveProjectionX = "-1".

    perspectiveProjectionY = "-1" / >

    rendering engine...

    <>

    xmlns:FX ="http://ns.adobe.com/mxml/2009"clipAndEnableScrolling = 'false'

    xmlns:s = "library://ns.adobe.com/flex/spark".

    xmlns:MX = "library://ns.adobe.com/flex/mx" xmlns:local = "" * "width ="100% "height ="100% ">"

    Import mx.core.FlexGlobals;

    override public function set data(value:Object):void {}

    {if (value)}

    IMG.source = FlexGlobals.topLevelApplication.assetsUrl+'Thumbs/300/'+value.imageFile;

    LBL. Text = value.imageCaption;

    BC. Visible = true;

    If (LBL. Text.Length == 0) {}

    BC. Visible = false;

    }

    }

    }

    ]]>

    backgroundColor = "#000000" cornerRadius = "10" borderAlpha = "0.3".

    borderColor = "#000000" backgroundAlpha = "0.3" top = "50" right = "50" >

    fontFamily = "Myriad Pro Semibold" fontSize = "14"

    Color = "white" / >

  • Two styles for a native look (Flex Mobile App)?

    Hello

    is it possible to use two styles/looks for the same application, it will look native on iOS AND Android?

    Or do I have to build the same application twice to get this?

    -BB

    Check out the blog of Jason San Jose post here: http://blogs.adobe.com/jasonsj/2011/06/ios-theme-for-flex-mobile-projects-proof-of-concept .html

  • What can I use if I need the htmlText property in Flex Mobile project

    Hello

    What control exposes a property htmlText in Flex Mobile? MXML or AS3, is not serious.

    Does that help?

    http://help.Adobe.com/en_US/Flex/mobileapps/WS19f279b149e7481c-3c2dbaa612bb06a5ea2-8000.ht ml

  • ProgressBar on Flex Mobile? HOWTO?

    I feel like a fool asking this, but is there really no official way to put a ProgressBar component on a Flex Mobile project, even up to version 4.5.1?  The documents seem to indicate as such, as the spark still has no equivalent ProgressBar and mobile is only spark.

    There may be a 3rd party progress bar out there somewhere?

    I am trying currently to hack the fl.controls.ProgressBar Flash Pro CS5.5 in my project in Flash Builder through a CFC, which is simply dirty, because Adobe seems to have made deliberately incompatible between Pro and Builder Flex-side interfaces (for example, fl.controls instead of mx.controls).

    What gives?  It cannot seriously be this involved to put a bar of progression on a mobile Flex project... I feel like I am Bizarro-world...

    Please keep this civil.

    The mx:ProgressBar in Flex component is designed to be shown to a user to indicate that an operation is taking place which will have a certain amount of time to complete.  The conduct of this operation can be either specified as a fixed progress bar (completed percentage is still known and visible by the user) or indefinite (the percentage complete has ever known).

    With the help of a progress bar for display the remaining time is very often seen in desktop applications, but is less common in mobile applications.  Instead mobile applications tend to use a disc rotation for an indefinite period.  Given that the use of rotating disc case was much more popular on mobile devices the spark component BusyIndicator was added in Flex 4.5.

    Looks like you are looking for something more general that is not designed specifically to view the progress of something over time, but rather showing a value regarding a max value.  For this, you can consider using the spark component range (http://opensource.adobe.com/wiki/display/flexsdk/Spark+Range) that were also introduced in Flex 4.5.  API of the component of the range seems to be in the same direction as the Android SDK ProgressBar and BlackBerry GaugeField.

  • Flex mobile tablet os 2.0 project

    Everyone should confirm that I can run the project mobile flex sdk 4.6 (bootrstraping in ) on the 2.0 OS. A key assumption of my project is cross-platform compilation, not performance. Now I run on os 1.0.8.

    Yes, Flex works very well on the PlayBook.

  • Flex [mobile] iOS app refuses to connect to a self-signed SSL server: error 2032. Ring the bells?

    Hello everyone, thank you for reading this and I hope you could help me with this problem.

    I'll cut to the Chase. I am currently working on a mobile app in Flex for Android and iOS and the app has to get a few HTTP requests and retrieve information from a server, which is currently developing a teammate.

    Everything had to be working very well until we decided a few days before when we have integrated a SSL self-signed certificate in order to make connections more secure, etc.

    On the side of the app, this change, lying just to replace the http with https url and it seems to work perfectly, or that's what we thought.

    Tests on the Simulator or on an Android device worked well, he just showed the warning provided access to a server that had a rogue certificate that could be ignored without any problem. But when we tried to test a Release on a camera of the iPhone version, it would not just work more. A connection every time trying to be established with the server, error 2032 flash is triggered and it fails miserably does not display not warning about certificates not approved at all. For me, it's really confusing that it works on Android devices, but not on the iPhone device.

    I searched on the Web for people having the same problem but I couldn't find an answer to this specific issue of Flex-iOS-Self-signature-SSL. I found this post unanswered questions: http://forums.adobe.com/message/3359072#3359072 but nothing much.

    I tried to create a crossdomain.xml file on the server with guaranteed set to false, and some other stuff to avoid crossdomain policies, but it changed nothing and the problem persists.

    I'm really out of clues, sort of desperate and have no idea how fix it. If anyone knows something related to this problem, please, help me, I'll be less grateful.

    Thank you!

    We decided to buy a verified SSL certificate, and it worked. We can say that the problem is solved, but it wasn't actually because the connection must be established and that the invited user to accept or decline the self-signed certificate, not only do not make the connection.

Maybe you are looking for