MeasureString alternative?

Hi everyone (again),

I was wondering if Adobe AIR or the SDK contained a sort of alternative to the measureString method #. For this unfamiliar with this method, you supply a string and a police, and this method returns the length of the string in pixels.

Concerning

I think you're looking at flash.text.TextField.getLineMetrics)

Tags: BlackBerry Developers

Similar Questions

  • Best alternative to Photoshop for iPad Pro?

    I am a print and web designer and I just bought an iPad Pro. IM has decided to try to work only on my projects using my new iPad Pro for the next few days. Certainly, it should not be a replacement for my iMac, but I want to give it a try.

    I notice that Adobe has a lot of products by way of illustration, but I don't see an alternative to Photoshop. Pixelmator is cool, but it's meh. Model of Adobe is also cool, but it lacks a lot of features.

    Has anyone found an alternative good photoshop that would allow me to create and edit PSD files, when I travel?

    No matter what other digital designers out there that the spirit of sharing their favorite applications?

    Thanks in advance.

    Suz

    Adobe has many applications of Photoshop.

    Search the IOS App Store for only Adobe.

    If you want to maintain an all workflows Adobe, Photoshop, in order to get most of the functionality of Photoshop on a computer, you will need to use all the different Adobe Photoshop applications to work with.

    If you are using an older version of Photoshop and not the current Adobe Creative cloud suite with subscription, most Adobe applications, in order to better integrate them will pay for a monthly subscription of CreativeCloud or connect to your cloud Creative account if you are already paying a subscription.

    If you are using an older version of Photoshop, you'll need to use a service like DropBox Cloud or box or some other Cloud Service, like iCloud Drive Apple, Amazon Cloud Drive or GoogleDrive to bandy your work back and forth between your iPad and your computer.

    Adobe, I guess, won't or don't know how to create a version of Photoshop on iOS that is a close approximation of Photoshop on a full blown computer.

    Adobe Photoshop full in a variety of applications to cover different areas of Photoshop broke.

    You'll find yourself using the multiple applications of Photoshop to cover everything you do with full Photoshop.

    You'll find yourself using several apps to do a great many things, perhaps more easily on a computer, no matter what, in any case.

    This is how iOS works.

    There is not a single application that will cover everything that you could possibly need.

    Working in the iOS is mainly working with multiple applications.

    For the work and digital painting and illustration of image editing, you will find that you will have to constantly import/export files from an application to another.

    If you don't like this multiple iOS approach Photoshop app, your only alternatives are Pixelmator for iPad and may, in addition, http://bit.ly/joc0zm.

    I use apps and paint a little image editing applications, but Pixelmator and http://bit.ly/joc0zm are apps that are in the top of the applications on my big iPad Pro.

    There are other image editors and applications of paint you can use

    I have a little.

    Here is my own incomplete list of creative image and drawing apps I have installed and you are using.

    In no particular order.

    Pixelmator

    Childbearing

    Sketch book / SketchBook Pro

    Sketch of Pro

    Concepts

    Forge

    Inspire Pro

    Ibis paint

    Art Studio

    Memopad

    Chart

    Hit the draw draw

    More than

    Transfer

    HD Photo sorting (an image/document organization function app folder)

    Photogene

    Camera

    TItleFX

    Retype

    Union

    Filterstorm

    Photomotion

    If you want to add more fonts to your iPad applications that might access to, find the app

    AnyFont.

    Good luck!

  • iTunes and alternative player

    Since apple stopped supporting the iPod classic is there 3rd program/app used with inexpensive mp player who would recommend? I'm afraid to invest in the music from iTunes more because of the difficulty of using freely once it was purchased.

    Apple stopped adding DRM to purchased music in 2009.

    The most recent Apple's music service includes so that playback rights can be withdrawn at the end of a subscription.

    iTunes offers backward compatibility with all the Apple iPod. If you encounter problems, update your iPod with iTunes, start with If iTunes does not your iPad, iPhone or iPod - Apple Support.

    MediaMonkey is an alternative media player good.

    TT2

  • I won't accept tab, is there an alternative in FF?

    I won't accept tab, is there an alternative in FF?

    If you don't want to use tabbed browsing? If you don't want new links to open in a new tab, you can uncheck the preference "Open new windows in a new tab instead" in the Firefox options.

    In addition, your Firefox is out of date, please update Firefox 42 (Firefox updated to the latest version)

  • Is it possible to create a spreadsheet Numbers alternating line colors I choose (rather than just a line alternating color)?

    Is it possible to create a spreadsheet Numbers alternating line colors I choose (rather than just a line alternating color)?

    Hi tochan,.

    No, but it is possible to create this look.

    Procedure:

    Open a table.

    Format > table

    Check the alternative line color. The yellow value.

    Click the form button, select the rectangle.

    Click the shape to select it.

    Format > Style

    Set the fill color to green.

    The border value without border.

    Move the shape to align with the upper left corner of the table.

    Drag the handle at the bottom right of the form to the lower right of the table.

    Go to organize > Send to back (or backward and repeat until the form is behind the table, and the Green shape is visible through the non colored lines).

    Note that the form is independent of the table. If the lines are added to the table, alternating lines will continue to have the yellow filling, as it has been applied to the table itself, but the lines between indicate white background, until the shape is expanded to match the size of the table.

    Select the Table (by clicking on the 'target' at the top left.

    Go arrange > Send backward. (Repeat if necessary until the form is in the front of the table)

    Select the shape.

    Resized according to the table.

    Go arrange > Send backward.

    Kind regards

    Barry

  • What is the alternative to the Flash from Adobe that is blocking Firefox.

    reviews Adobe is blocked by Firefox, I can use instead.

    Unfortunately there is no alternative. However, adobe did release a update Flash today, so please update flash.

  • Alternating line colors

    Hi all

    OK, I ticked the box of alternating line colors, selected my color, but you want to color the other lines, I'm sure it's easy but I'm stuffed if I know how to do this. It may be down manually, but I want to do this automatically because it is a spreadsheet live transaction that will evolve over time.

    I tried color all of the table 'Cell' and then 'Fill', and then clicked on the box of the alternating line colors, but the color stays the same in every other row according to the shade was selected in the option ' Cell ' / ' fill ', regardless of me dirty around with the shade etc.!

    Of course possible to choose what color I want when you select the line alternating color option, but is it possible to choose what color goes in the other lines?

    Thank you

    Graeme

    the background color of cell goes too spare line color.

    The only way I could achieve this goal is to leave the the cell fill color 'NONE' then turn the color of line replacing in table formatter then add a rectangle filled with the color I want and place it behind the table.

    Like this:

    Select the green rectangle, put in the background by using the menu item "organize > background.

    Now drag the rectangle behind the table:

  • Since a Firefox update yesterday, Downloadhelper is no longer in effect. Is there an alternative, or can I go back to the previous version of FIrefox?

    Since a Firefox update yesterday, Downloadhelper is no longer in effect. Is there an alternative, or can I go back to the previous version of FIrefox?

    First of all, look for the updates. Check the support site for the program.

  • How to choose the alternative address for email?

    I have in my address book for recipients who have more than one e-mail address. I want to be able to choose the second address. For the moment, I can't work out how to do this automatically.

    Click "address book".
    Select the address book that contains the contacts
    Select the contact
    Info is displayed in the lower list below
    Double-click the alternative e-mail address.
    It is opened in a new write a message to this e-mail address.

  • Hiroto, alternation of colors back to positions in a discussion

    Someone in the room asked alternating positions in a discussion background colors.  I tried, but didn't get far.

    I can not get: nth-child (odd) or any nth child at work.  I am running firefox 47.

    When I went on the nth child, I receive the messages from the original poster crushed.  I tried to fix this, but couldn't figure out how to do.

    /*div#body-apple div.all-replies-container li:nth-child(odd)  {background-color: yellow;}*/
    
    div#body-apple div.all-replies-container li  div.jive-thread-message.clearfix:nth-child(odd)  {background-color: yellow;}
    
    /* Attempt to fix up original poster's replies */
    
    /* div#body-apple div.jive-thread-message.clearfix div.original-poster-comment {background-color: yellowgreen !important;}*/
    

    Hello

    Sorry for replying so late. I was stuck with something and off the Board for a while. Not sure that you are always to tackle this but here is my attempt at combination of background colors another post.

    * In the flat view content, this will create backgrounds replacing correctly as planned but in the display of thematic content, this function will define only replacing horizons by each level of withdrawal due to the document tree.

    /*
        file:
            alternate post background colour.css
       
        function:
            set alternate backgound colour for thread posts
       
        version:
            v0.10
                - draft
    */
    @-moz-document
        domain(communities.apple.com),
        domain(discussions.apple.com),
        domain(discussionsjapan.apple.com),
        domain(discussionskorea.apple.com),
        domain(discussionschinese.apple.com)
    {
        /* ------------------
            alternate post background
        */
        .j-thread li.reply:nth-of-type(2n+0) > div.jive-thread-message > .jive-content::before {
            content: '' !important;
            background: none repeat scroll 0% 0% rgb(247, 249, 247) !important;     /* pale green */
            position: absolute !important;
            top: 0px !important;
            right: -10px !important;
            bottom: 0px !important;
            left: -10px !important;
            z-index: -3 !important;
        }
        .j-thread li.reply:nth-of-type(2n+1) > div.jive-thread-message > .jive-content::before {
            content: '' !important;
            background: none repeat scroll 0% 0% rgb(250, 252, 250) !important;     /* paler green */
            position: absolute !important;
            top: 0px !important;
            right: -10px !important;
            bottom: 0px !important;
            left: -10px !important;
            z-index: -3 !important;
        }
    }
    

    And here is a palette of colors complementary backgound as resolved, useful messages, recommended and original poster. This can be used independently or with the alternate color combination. If used independently, you can activate the message rules border almost to the end, which is for a sharper distinction between messages but currently put in comment.

    /*
        file:
            categorised post background colour.css
       
        function:
            set backgound colour for solved, helpful, recommended and original poster's posts
       
        version:
            v0.11
                - increased selector specificity for solved, helpful, recommended answers
                  so that this can be used with alternate post background colour.css
            v0.10
                - draft
    */
    @-moz-document
        domain(communities.apple.com),
        domain(discussions.apple.com),
        domain(discussionsjapan.apple.com),
        domain(discussionskorea.apple.com),
        domain(discussionschinese.apple.com)
    {
        /* ------------------
            original poster background
        */
        /* thread original messeage (question) */
        .j-thread-post section.j-original-message {
            margin: 0px 30px !important;
            padding: 15px 10px !important;
            border-style: dotted !important;
            border-width: thin !important;
            background: none repeat scroll 0% 0% rgb(247, 247, 237) !important;     /* beige */
        }
    
        /* original poster message background */
        .original-poster-higlight {
            background: none repeat scroll 0% 0% transparent !important;
        }
        .original-poster-higlight::after {
            content: '' !important;
            background: none repeat scroll 0% 0% rgb(247, 247, 237) !important;     /* beige */
            position: absolute !important;
            top: -5px !important;
            right: -15px !important;
            bottom: -5px !important;
            left: -15px !important;
            z-index: -2 !important;
        }
    
        /* ------------------
            solved, helpful, recommended answer background
        */
        /* solved answer background */
        .j-thread ul > li.reply > div[itemprop="acceptedAnswer"].jive-thread-message > .jive-content {
            background: none repeat scroll 0% 0% transparent !important;
        }
        .j-thread ul > li.reply > div[itemprop="acceptedAnswer"].jive-thread-message > .jive-content:before {
            content: '' !important;
            background: none repeat scroll 0% 0% rgb(237, 247, 232) !important;     /* green */
            position: absolute !important;
            top: 0px !important;
            right: -10px !important;
            bottom: 0px !important;
            left: -10px !important;
            z-index: -1 !important;
        }
    
        /* helpful answer background */
        .j-thread ul > li.reply > div.jive-thread-message > .jive-content.j-helpful {
            background: none repeat scroll 0% 0% transparent !important;
        }
        .j-thread ul > li.reply > div.jive-thread-message > .jive-content.j-helpful:before {
            content: '' !important;
            background: none repeat scroll 0% 0% rgb(250, 240, 220) !important;     /* orange */
            position: absolute !important;
            top: 0px !important;
            right: -10px !important;
            bottom: 0px !important;
            left: -10px !important;
            z-index: -1 !important;
        }
    
        /* recommended answer background */
        .j-thread ul > li.reply > div.jive-thread-message > .jive-content.j-correct {
            background: none repeat scroll 0% 0% transparent !important;
        }
        .j-thread ul > li.reply > div.jive-thread-message > .jive-content.j-correct:before {
            content: '' !important;
            background: none repeat scroll 0% 0% rgb(237, 247, 232) !important;     /* green */
            position: absolute !important;
            top: 0px !important;
            right: -10px !important;
            bottom: 0px !important;
            left: -10px !important;
            z-index: -1 !important;
        }
    
        /* ------------------
            rolled-up (solved|recommend) answer background
        */
        .j-answer-rollup.span-full-width {
            background: none repeat scroll 0% 0% rgb(237, 247, 232) !important;     /* green */
            padding-bottom: 10px !important;
            margin: 20px 0px 0px 0px !important;
            border: 1px solid rgb(45, 184, 71) !important;
        }
    
        /* ------------------
            promoted (helpful|recommended) answer background
        */
        .j-inline-promoted-helpful-answer {
            padding: 5px 10px !important;
            background: none repeat scroll 0% 0% rgb(250, 240, 220) !important;     /* orange */
        }
        .j-inline-recommended-answer {
            padding: 5px 10px !important;
            background: none repeat scroll 0% 0% rgb(237, 247, 232) !important;     /* green */
        }
    
        /* ------------------
            thread message box
        */
        /* message border */
        /* currently off; these borders might be redundant if alternate post background scheme is employed */
    /*
        .j-inline-promoted-helpful-answer,
        .j-inline-recommended-answer,
        .jive-discussion-replies li.reply .jive-thread-message {
            border-style: dotted !important;
            border-width: thin !important;
        }
    */
    
        /* thread content margins */
        .j-thread .jive-content { margin: 0px 10px !important; }
    }
    

    Briefly tested with Firefox 45.2.0esr on OS X 10.6.8.

    Good luck

    H

  • WiFi slow Alternative?

    I have a question about the speed of OS X on a MacBook Pro 15"

    I am running 10.10.5

    Cross checking the material with the used Apple seller I find the map Wi - Fi is only capable of 1.5 megabits per second (Yes mega bits, not bytes)

    You are looking for an alternative to wi - fi.  Is there a dongle or something I can use for this slow Wi - Fi?  I can easily use Terminal to change the values of network to use the new card, but don't know (yet) to be used.

    At this slow speed the MacBook Pro decides he has control available networks once every three seconds.  In addition, no matter what starting an application, login, password, etc.. REQUIRES the MacBook Pro to send messages back on slow Wi - Fi.  Since it is 'Standard Apple' Apple will explain themselves in detail, only "that meets the standards of Apple."  No one will say what are the standards of Apple, but it conforms to standards.

    Can you provide a link to where it shows the MacBook wifi is this slow?

    You have a right speed if you connect via Ethernet to the same network?

    When connected via wifi press post a screenshot of the window that opens when you press on and hold down the Option key and click on the wifi icon in the Menu bar

  • Alternative to turn javascript on or off?

    I'm looking all the time in Firefox options, but there is no option in the menu to disable or enable javascript. Is there an alternative solution or only "subject: config" thing (which is very uncomfortable)...

    Removed the boxes to check to enable/disable JavaScript and load images automatically "Options > content.

    A few extensions you can watch:

    The PrefBar extension also comes with a button to enable/disable JavaScript globally and for the active tab.

  • 26.0 FF doesn't support Download Statusbar. An alternative?

    You are looking for an alternative to add it on "Download Statusbar" that will work in Firefox version 26 - something that will show you the status of a download, and when it is finished.

    7 Professional with all updates, Firefox version 26 widows.

    The author of the extension "Download Statusbar fixed" says "If you are looking for a working Download Statusbar add-on for Firefox 26, check the new add-on download status bar."

    The extension of the download status bar is updated to the new download manager (only in Firefox since 20.0).

    https://addons.Mozilla.org/en-us/Firefox/addon/download-status-bar/

    Support for this wire is the mozillaZIne forums.
    http://forums.mozillazine.org/viewtopic.php?f=48 & t = 2782661

  • What is a good alternative software to Adobe Reader DC?

    I have a terrible problem with printing pdf files using Adobe Acrobat Reader - they seem to get "hung up" and just never print.  The system must be completely set.  Printing from a mined or a Word is fine, but it would be more convenient to have a program alternative pdf.  Googled but don't really know how to make sure I chose a safe software and one that will work with my Mac on OS El Capitan 10.11.5

    I would recommend looking at PDFpen, I was very happy with this software for 2010 (I have no affiliation).

    https://smilesoftware.com/PDFpen

  • We pluin NPAPI to our application, but pluings will be blocked soon. Can you suggest an alternative to put our Navigator application?

    There are currently a work for our applications NPAPI plugin that works well in Firefox and Chrome. However, because plugins are getting blocked in the near future, we are looking for alternatives. Is it possible to transfer our web application so that it works with the same code in Firefox and Chrome (in Windows and Mac)?

    Firefox won't block plugins. Where did you read that? Plugins will need to be clicked to be activated, but they will always work.

Maybe you are looking for