Which event dispatched after text selection done on spark text area in Apple iPad using Adobe Flex 4

I need to know which event triggered after text selection done in Apple iPad. This way i have done in desktop air app code (mouse events)
protected function txtEditor_mouseUpHandler(event:MouseEvent):void
            if(txtEditor.selectionAnchorPosition != txtEditor.selectionActivePosition){
                showNoteToolBar(event);
                txtEditor.focusEnabled = true;
                txtEditor.setFocus();
But in Apple iPad how to achieve through "Touch Event" ? And also i need how to hide all context menu on Spaek TextArea?. Why Touch.End event is not fired after place cursor on text area ?
Please help me !

Ok, so I finally got it working but this is not ideal at all. Adobe really needs to give us some direction on how to properly deal with font embedding and TLF now that the release build breaks all functionality with loading runtime fonts and TLF.
Problem:
I am embedding collections of fonts (faces) into single family classes. Each individual face is registered with Font.registerFont(). I need to do this because I have to have mixed fonts within text flows - at least according to Alex H's recent blog post.
Fonts do not display in TLF without doing the following:
1. GlobalSettings.resolveFontLookupFunction = null;
2. editor.textFlow.flowComposer.swfContext = ISWFContext(this.getFontContext("AnyFamilyNameFromAnyFontEmbedded", false, false, FontLookup.EMBEDDED_CFF));
3. Instead of #2, use editor.textFlow.invalidateAllFormats();
Either #2 or #3 need to be performed. If I have a spark richEditableText control in MXML with defined familes from the loaded fonts. I even tried placing the control into a separate state so it wasn't created until after the fonts were loaded... I still needed to invalidate the formats or set the context.
The "AnyFamilyNameFromAnyFontEmbedded" does not need to be all of the embedded family names. It only needs to be one of them. Once one is used, all embedded fonts work. Also, I have to use the internal namespace to even get access to getFontContext, another oddity that, in my humble opinion, should never be necessary to create mixed style TLF content.
My questions are then:
1. Why am I required to use ISWFContext if I am using Font.registerFont()?
2. Why is GlobalSettings.resolveFontLookupFunction = null; also required for this to work?
3. What is the recommended workflow to embed fonts from multiple SWF files into the release build and have it work without having to jump through all these hoops?

Similar Messages

  • I have built a android application using adobe flex, and i have exported it with native air. The application is working fine on samsung phones whereas it is getting crashed on Moto Phones, which runs on android kitkat, is there any compatibility issue ?,

    I have built a android application using adobe flex, and i have exported it with native air. The application is working fine on samsung phones whereas it is getting crashed on Moto Phones, which runs on android kitkat, is there any compatibility issue ?, I have built a android application using adobe flex, and i have exported it with native air. The application is working fine on samsung phones whereas it is getting crashed on Moto Phones, which runs on android kitkat, is there any compatibility issue ?, I have built a android application using adobe flex, and i have exported it with native air. The application is working fine on samsung phones whereas it is getting crashed on Moto Phones, which runs on android kitkat, is there any compatibility issue ?

    Thanks, Flex harUI, for the direction in regards to isolating build changes. That aside (still working on it), can you offer any direction in regards to my original question on SDK and AIR compatibility? I'm specifically looking for a version compatibility mapping or anything that definitively states, "Flex SDK x.y.z works with the following versions of AIR". This information is crucial for us in order to more specifically plan our own roadmap built upon these two frameworks as we consider both existing installations of our software and future distributions.

  • Adobe reader should get a "listen to text" feature so that visually impaired or blind people can use Adobe Reader

    Adobe reader should get a "listen to text" feature so that visually impaired or blind people can use Adobe Reader

    hi,how can i change the default settings on my adobe readerX1 such that it will display all my pdf files according to their individual cover pages (as cover picture thumbnails)before i click them to open and read........i really enjoyed this feature as a default settings upon installation in previous editions of adobe reader .i use a windows 8 pc now.thanks

  • I don't receive verification email when trying to use Adobe email services in elements 6

    I don't receive verification email when trying to use adobe email services in elements 6.

    Hello zayarlin,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/HT5312
    Best of luck,
    Mario

  • Text selection (copy/paste) of text messages

    Why is there no color highlight or flash or indicator of success at all when copying text from a text message?
    Steps:
    1. Copy a text message
    2. Paste text message into text entry field
    Problems:
    1. There is no visual indicator of what text will be copied
    2. There is no visual indicator of a successful copy
    and, quite truthfully,
    3. The long-press on the gesture area is an unusual (for webOS) gesture
    Moving text between applications/areas should be identical in all applications, text fields, boxes.  
    In addition, the text-select instructions on palm.com:
    http://kb.palm.com/wps/portal/kb/na/pre/pre2/unlocked/solutions/article/45101_en.html#N103A8 
    do not work from the Pre 2 browser (it is not possible to select individual words in the example phrase and then grow the selection).  These instructions should be updated, or, more desirably, text selection should be standardized on an OS level.
    While this is a complaint, if anyone has any suggestions or guides I may have missed, please let me know.  Also, if I'm simply doing it wrong, I'd appreciate help, as I've now spent far more effort than a non-phone-enthusiast would to understand the copy/paste functionality of my new device.
    Post relates to: VisorPhone

    Having used the phone for a few weeks now I can say that I've gotten used to selection & cursor motion, but still have problems as there is no indicator of successful action.
    I also greatly miss the iPhone's magnifying action for cursor placement, as on my Pre 2 I have to place the cursor and then move it, because I can't see where I'm putting it initially (finger covering word).
    I'd love to hear other's thoughts/experiences w/ text selection, the cursor, and copy/paste.

  • JComboBox fires an event only after changed selection?!

    I have added a JComboBox to my application, combined with an ActionListener which is added to the combobox just after initialization. It works fine, but there is one problem left:
    Generally, an event for the ActionListener is initially only fired by a combobox, if the user selects a different item than the last selected one. But I need an event that is fired by the combobox each time an item will be selected, even if it is the same item as the last selected one.
    I tried to use an ItemChangeListener, but it gave no success (and sense), it fires an event each time the user wants to select an item from the combobox' item list, that is no solution.
    Best way to solve this problem? I thought about a adding a MouseListener, but that might be the longest way. There seems to be no special method in JComboBox class to set this desired property?
    Any suggestions?

    Hello,
    thank you for your answer so far. Well, here is a trivial source code with the problem that still exists (see also my text at the end of this post). This one has been tested using Java 2 SDK V1.4, even using the newest SDK version did not change anything on the behaviour:
    import javax.swing.*;
    import java.awt.Container;
    import java.awt.FlowLayout;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    * JComboBox-Test: using Java 2 SDK V1.4, ActionEvent is only fired by combobox, if
    * a different item than the previous one is selected from combobox;
    public class Forum3 extends JFrame implements ActionListener {
        String[] CB_ITEMS = {
            "item 1",
            "item 2",
            "item 3",
        public Forum3 () {
            super();
            setDefaultCloseOperation(EXIT_ON_CLOSE);
            setLayout(new FlowLayout());
            JComboBox cb = new JComboBox(CB_ITEMS);
            cb.addActionListener(this);
            getContentPane().add(cb);
        public void actionPerformed (ActionEvent e) {
            System.out.println("action!");
        public static void main (String[] argv) {
            Forum3 test = new Forum3();
            test.setSize(300,200);
            test.setVisible(true);
    }If you start this program (I am also using Windows XP), you see the JFrame window including the JComboBox. "item 1" is selected by default. If you click again on "item 1", no event will be fired. An event will be fired only, if you choose "item 2" or "item 3". You can try this with any other of the given items. An event will be only fired, if you choose a different item than the last one.
    What I need, is a routine that fires an event each time any item is selected!
    I would be grateful for a helpful hint, how to solve this in a "clean" way :-)

  • Blank Page appears after converting MS Word (2010 on Win 7) document to PDF using Adobe Acrobat XI

    Hi,
    Even after updating to the latest version of Adobe Acrobat Pro XI (11.0.2). While converting a MS Word 2010 .docx format document to .pdf, the cover page with text, image and background color, appears blank with only the background color.
    Apperciate if someone can give me a resolution for this issue.
    Best Regards

    The coverpage gets converted in Acrobat.com cloud service. Is Abobe going to fix this bug in the Acrobat XI version too?

  • After recent Verizon upgrade, my music files are messed up.  Used to be able to see all artists.  Now only some artists display and there's one giant file of "unkown".  Why would that change affter the upgrade?

    Prior to March, 2015 upgrade, all my music appeared by Artist.  After the March, 2015, upgrade, about half of my music appears by Artist and then there's one giant "unknown" file.  Why would this change with the upgrade?  Makes my music unsearchable unless I want to search by the song name or album name. 

    You can try an app like Album Art in the Play Store and it will take any tag info and find and sort music.  Should work unless the music files were altered during update, in that case you'd need to remove those files and re-add them to the phone.

  • Can i install amazon prime app if I don't have itunes on my apple ipad mini

    trying to install amazon prime app on my tablet but it keeps asking me for an itune account/password I don't have itunes is there any way to get past this so i can watch prime movies on my tablet with out itunes I really don't like itunes it is had to controll it trys to take over everything so I really don't want to install it unless I have too, thanks any help appericated, joy316

    All iPads have the iTunes app permanently installed. Users cannot remove it. They can set up Restrictions in the Settings app and hide it, but it cannot be removed.
    An iPad is a closed ecosystem. You cannot install anything on it without using the apps connected to an iTunes account; iTunes, App Store, iBooks, Podcasts and Newsstand.
    I have no idea what you mean that iTunes takes over everything.

  • I've been wanting to reset my security questions because it disabled my Apple ID to purchase on Apps store. I don't know how to contact apple support using the 800 number since I'm located in the Philippines, what no. should I use and how? Help pls. :(

    How to contact apple support using the 800-number from the Philippines?

    You need to ask Apple to reset your security questions. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to call, fill out and submit this form.
    (122986)

  • HT5624 Why do I have to change my password when I've only just done one to set up my Apple ipad?

    I've just set up my ipad account and am now being asked to change my password - why?  Seems nuts and no explanation given

    This is not normal. There may be an issue with your Account.
    Suggest you Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Event dispatching exception thrown when invoking a webpage in a JEditorPane

    I have a help option in one of the menus of my tool. When this help option is chosen from the menu, the tool invokes a frame which is of JEditorPane type and displays an HTML doc in it. Here is the stack trace I am getting.
    My problem is I get this error only on Unix platforms (Solaris) and despite the exception being thrown the application works alright. Although the help frame has serious performance issues, it takes a while for this frame to load the html doc in it and display it (the html file is about 8 pages long).
    Please let me know how to get rid of this exception. Thanks in advance. Here is the stack trace of the exception I am getting:
    Exception occurred during event dispatching:
    java.lang.NullPointerException
    at javax.swing.text.LabelView.syncFragments(Compiled Code)
    at javax.swing.text.LabelView.getPreferredSpan(Compiled Code)
    at javax.swing.text.ParagraphView.layoutRow(Compiled Code)
    at javax.swing.text.ParagraphView.rebuildRows(Compiled Code)
    at javax.swing.text.ParagraphView.layout(ParagraphView.java:216)
    at javax.swing.text.BoxView.setSize(BoxView.java:259)
    at javax.swing.text.BoxView.layout(Compiled Code)
    at javax.swing.text.BoxView.setSize(BoxView.java:259)
    at javax.swing.text.BoxView.layout(Compiled Code)
    at javax.swing.text.BoxView.setSize(BoxView.java:259)
    at javax.swing.plaf.basic.BasicTextUI$RootView.setSize(Compiled Code)
    at javax.swing.plaf.basic.BasicTextUI.getPreferredSize(Compiled Code)
    at javax.swing.JComponent.getPreferredSize(Compiled Code)
    at javax.swing.JEditorPane.getPreferredSize(JEditorPane.java:991)
    at javax.swing.ScrollPaneLayout.layoutContainer(Compiled Code)
    at java.awt.Container.layout(Compiled Code)
    at java.awt.Container.doLayout(Compiled Code)
    at java.awt.Container.validateTree(Compiled Code)
    at java.awt.Container.validateTree(Compiled Code)
    at java.awt.Container.validateTree(Compiled Code)
    at java.awt.Container.validateTree(Compiled Code)
    at java.awt.Container.validateTree(Compiled Code)
    at java.awt.Container.validate(Compiled Code)
    at java.awt.Window.dispatchEventImpl(Compiled Code)
    at java.awt.Component.dispatchEvent(Compiled Code)
    at java.awt.EventQueue.dispatchEvent(Compiled Code)
    at java.awt.EventDispatchThread.pumpOneEvent(Compiled Code)
    at java.awt.EventDispatchThread.pumpEvents(Compiled Code)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)

    I am still at a loss, any help/ tips/ guidance is welcome to solve this problem. thanks in advance.

  • How will adobe Flex SDK 3.2 supports arabic text on Mac Systems

    Hi,
    We have developed a webapplication using Adobe Flex SDK 3.2. the content in the application is in arabic language. We Arabic text on Mac Systems is unreadable, but the same arabic language/text is perfect and accurate if viewed in Windows systems.
    Please help us in finding a solution.
    What we need is the arabic text should be accurate and readable on Mac systems.
    Thankyou
    regards
    sandeep

    The legacy TextField class in Flash Player -- which is the basis for all text display in Flex 3 components -- does not properly support right-to-left or bidirectional languages such as Arabic. However, the newer Flash Text Engine (FTE) APIs in Player 10, and the Text Layout Framework (TLF) library that is built on top of FTE, support bidirectional text.
    If you use Flex 3.X you will have to write directly to the FTE or TLF APIs. If you use Flex 4.X, you can just use the Spark component set, which use FTE/TLF for text display. The MX components in Flex 4 still use TextField by default but can be configured to use FTE/TLF.
    Gordon Smith
    Adobe Flex SDK Team

  • [svn:osmf:] 15527: Fix bug FM-696: Capability change events being dispatched after the trait to which they refer has been modified .

    Revision: 15527
    Revision: 15527
    Author:   [email protected]
    Date:     2010-04-16 17:21:06 -0700 (Fri, 16 Apr 2010)
    Log Message:
    Fix bug FM-696: Capability change events being dispatched after the trait to which they refer has been modified.  Updated unit tests.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-696
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/media/MediaPlayer.as
        osmf/trunk/framework/OSMFTest/org/osmf/media/TestMediaPlayer.as

    Major Update: The G-Keys can now be edited without recompiling by editing shell scripts at "/usr/share/g15daemon/macros/"
    Each button has it's own script file named by it's label (e.g. to edit the functionality of G1, open the script named G1.) The button will try to execute the scripts as programs, so make sure they are executable (chmod +x) and as long as the name remains the same, if you want to replace the files with something different, know that the arguments currently given to the files ($1 and $2) are ($1)on/off and ($2)0-2  (where 0 is M1 and 2 is M3)
    To download the updated sources, go here (only the g15daemon source/patch was updated). This thread's OP has been updated.
    Last edited by rabcor (2015-02-12 04:46:48)

  • Which system field returns the number of records returned after a select?

    Which system field returns the number of records returned after a select?
    a) sy-index
    b) sy-recno
    c) sy-lncnt
    d) sy-dbcnt
    e) sy-tabix

    Hi,
       SY-DBCNT
    Regards,
    Prashant

Maybe you are looking for

  • Browser keeps opening with previous tabs from day before. How do I stop this?

    Under Tools>Options>General I have the browser set when I open the browser to "open up a blank page" but it keeps opening up previous tabs from the day before. How can I stop this? I read the forum boards but either did not find it or overlooked the

  • Portege A200 wireless on off doesn't work

    hello guys someone please help. everytime i switch the wireless button on an error message comes up in a lovely blue screen. DRIVER_IRQL_NOT_LESS_OR_EQUAL please help. this laptop is nothing but trouble, its well cute though. :)

  • Web Service deployment problem

    Hi all, I'm trying to deploy a Stateless EJB 3.1 as a web service in JBoss 6.0 M5. I'm using maven to build the two projects (one for the ejb jar and one for the ear itself). My ejb looks like this: package com.company.testejb; import javax.ejb.State

  • Latitude/Longitude on Oracle Locator

    Hi, I'm using Oracle Locator I'm trying to select latitude and longitude through this query SELECT t.X AS LATITUDE, t.Y AS LONGITUDE FROM geo.cultura c, TABLE(SDO_UTIL.GETVERTICES(c.geometry)) t; but the numbers are coming from different 90 and -90 A

  • How to make apple unlock my iphone?

    I bought a phone in hong kong and it was suppose SIM free. when i came home, friends discovered for me that it is a jailbroken phone. I upgrade it and use it with a gevey sim and i do no not use jailbreak. Now i want to go to OS5 and i am advise not