TCYElement dissapeared.

Hi, All.
This problem is on the release build of Adobe Flash Builder 4.
Introduction
Now I'm trying to make e-Book Reader which can handle with Japanese vertical text layout.
Of course, TCY(Tate-Chu-Yoko) Layout is needed.
Please see the snapshot below.
Generally say, the TextFlow object which applyed "rl" on BlockProgression shows Japanese vertical Layout properly.
Multi byte Japanese characters are "standing up" same as horizontal layout.
And Single Byte characters (I wonder if this name is proper. ASCII? Like "a", "0", "é" ,etc...) are rotated +90 degree, in other words, "layed down".
So, in ordinary Japanese vertical text layout, independent single character or  independent 2 characters will be TCYed as shown above.
Rest (I mean consecutive 3 or more Single Byte Characters) are "layed down".
Now, the introduction ends.
Problem: TCYElement which contains text are dissapeared on "NORMALIZATION".
On the release build of Flash Builder 4, some Multi Byte characters are not "standing up properly".
These are, for example, "◇", "□", "☆", "①".
For the precaution, "☆" is the character which has code "A1F9" on UTF-8.
To solve this problem, I implemented the function "Auto TCY", which scratches xml to be import and wrap these Not-StandingUp-Characters with <tcy> tag.
It works well as I'd thought, and as a result, I got proper XML.
But all of them(TCY tags) were removed after being passed to TextConverter.ImportToFlow method.
Checked the API Reference, I've found It told that.
TCY blocks which contain no text will be removed from the text flow  during the normalization process.
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flashx/textLayout/eleme nts/TCYElement.html
Now, the problem is TCYElements are removed despite they have a character.
Anyone has idea?

Hi, robin.
Thanks for you reply.
But I found this problem is not because of TCY, but because of nesting SubParagraphGroupElement inside of FlowLeafElement.
First, the part of markup After "Auto TCY"ed was like this.
<flow:p fontSize="14">
    <flow:span styleName="font3366cc">
      <flow:tcy>★</flow:tcy>
      不快な態度をチェック
    </flow:span>
  </flow:p>
  <flow:p styleName="color3366cc">
    <flow:tcy>□</flow:tcy>
     話すときに口を手で覆う
</flow:p>
If you haven't installed Japanese font, it wouldn't be displayed properly.
Anyway, The Entire XML is valid.
After applyed to "TextConverter.importToFlow()" method, <flow:tcy>★</flow:tcy> dissapeared, but <flow:tcy>□</flow:tcy> didn't.
After stripping span tags from this markup, "★" was displayed.
New markup is like below.
<flow:p fontSize="14" styleName="font3366cc">
   <flow:tcy>★</flow:tcy>
   不快な態度をチェック
</flow:p>
<flow:p styleName="color3366cc">
   <flow:tcy>□</flow:tcy>
   話すときに口を手で覆う
</flow:p>
So I think this isn't BUG.
Markup is the matter.
Now, I realized the importance of markup structure.
Thanks a lot.

Similar Messages

  • Loops dissapeared

    Hi
    My Loops dissapeared from my browser, I guess I must of clicked on something without realising what the consequences were/are (LOL). When I click on the Loop browser it just tells me it can't find them and asks me to re-install them!
    I (of course) can see them in my audio folder (home/library/audio/apple loops .... and all the other stuff apple loops index etc) so I assume you don't need to re-install. However, how do I get them back into my Garage band - and later I hope into Logic which is what I more often use.
    Thanks in advance.
    p.s. i'm still on Tiger and so using 3.0.4. But that shouldn't make a big difference. 

    joesh2 wrote:
     I (of course) can see them in my audio folder (home/library/audio/apple loops
    reindex them:
    http://www.bulletsandbones.com/GB/GBFAQ.html#reindex
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • Wow! Mail dissapears, stores in wrong folder, wrong titles, ...

    I am getting a very strange behaviour in mail.app since my update to 10.5.4. Parts of emails are stored in the drafts folder without me asking. Some mails will open with a different text from the title or header. Some mail will seemingly be sent but does not appear in the Sent folder...
    I've reintiated the prefs file, rebuilt all the mailboxes. To no effect, I'm still getting the same behaviour erratically, it is not permanent, it appears very suddenly, then for no reason dissapears again. Could it be a ... (wolves crying) ...virus!?!?
    Please help.
    Mark

    Hello mark:
    You can set aside a concern about a virus. There are NO documented viruses that affect a Mac running OS X - none.
    If I were you, I would download the combo updater, install it, and see if that fixes the problem. Sometimes things go wrong with either the download or the update itself.
    I do see that you trashed the preference file and rebuilt the mailboxes - two things that I would have suggested.
    If the above does not help, I would opt for an archive and install.
    Barry

  • Bought ringtones on my iphone 6 from the itunes store, and they reset to default after 1 day of using them and dissapeared pelase help me get them back

    How to get ringtones that have dissapeared  after purchased?

    This is a known issue and other's have experienced the same thing.  It has something to do with iOS 8.1.1.  If you didn't sync them to your iTunes library after purchase, you'll need to contact iTunes Support. 
    https://www.apple.com/support/itunes/contact/

  • Dissapeared videos & Mp3 files

    Today dissapeared videos & Mp3 files in Video and Music App, files are available only via File Commander and Downloads, - no music- no content available and the same is in Video App -no items, empty folders.
    I've been using Lolipop for 2 moths, not any other problem have detected yet.
    Any ideas to solve it?
    Have restarted 2 times- Not work

    @Berber
    few more suggestions
    1 uninstall the album updates 
    or 
    2 download a third party album app
    or 
    3 repair the phone with PCC
    PC Companion (PCC)
    Bridge (for Mac)
    Alternatives on How to backup Xperias
    http://talk.sonymobile.com/thread/36355
    "I'd rather be hated for who I am, than loved for who I am not." Kurt Cobain (1967-1994)

  • Dissapeared footer (where is written what page is loading and so on) how to restore it?

    Dissapeared footer (where is written what page is loading and so on) how to restore it?
    there is the screenshot ( http://j.imagehost.org/0213/Clipboard03.jpg )

    View > Statusbar = click it

  • I have an Ipad 2, I recently downloaded IOS 7.0.4, now when I open up Safari to search the internet it will come up for a split second then dissapear and take me back to the home screen. So it wont even let me search for anything.

    So can anyone tell me how to fix this problem? I cant surf the web because as soon as I click on the Safari icon it will pop up for a split second then dissapear and take me to the Ipad homescreen. This happened when I downloaded the IOS 7.0.4.  I have the IPAD 2.

    The terms of service of the Apple Support Communities prevent us from helping anyone with a jailbroken phone.
    You're on your own.  Good luck.

  • My cursor recently started to dissapear when im not using it but when i press a key it flashes back for a second... how do i fix this?

    Well I'm a frequent Firefox user ad recently my cursor has started to dissapear when I'm not moving it. However when i press a key it flashes back for a second also, when I'm moving it flickers a lot (one moment its there one moment it isn't). How do i fix this?
    == This happened ==
    Every time Firefox opened
    == Earlier today (july 20th 2010)

    Never saw this problem until today, first on Facebook, then on these Mozilla support pages. I had one Firefox window with multiple FB and Mozilla tabs open.
    Here's my observations: On the FB and Mozilla pages, the cursor (arrow/hand) acted identical and as described here, would disappear after 2-3 seconds of inactivity or non-motion, then instantly reappear with mouse movement or key strike but only momentarily if no further motion/action occurred. Interestingly, I also had one FoxNews tab (actually FoxNewsInsider) open, and observed slightly different activity. The Cursor/hand would disappear as described above, but instead of staying invisible, it flashed on /off for what appeared to be <1 second on then <1 second off, until mouse movement or key strike. Now, here's the really interesting part ... When I opened a second FoxNewsInsider tab, the problem corrected itself with no direct action on my part to resolve the issue. I was going to close all tabs, then Firefox and perform the system reboot to correct this annoyance ... but, still have not seen the problem.
    Okay, I'm not going to say viewing FoxNewsInsider webpages not only provides one perspective on news, and the added benefit of fixing cursor/hand problems .. but maybe there's some to being well informed ... Sorry folks, couldn't resist ... :) I will be watching for the disappearing cursor issue again, and will reply here with any updates or changes in my observations.

  • How do I stop my words from dissapearing in a table?

    I have a 6 row table in Pages. They've expanded to the next page as I add text. However, the problem exists when I reach a certain threshold of text in a particular row. The words start to dissapear below the end of the row. I have text wrap checked.
    How do you fix this?

    (1) I wish to add that your profile state that you are running 10.5.7 which is not the best 10.5 one to run iWork. 10.5.8 is better.
    (2) It would be useful to give more infos.
    How long is the text existing in the cell ?
    I remember an old message in which I explained that the kind of text embedded in a cell was ruling the count of characters allowed to be stored.
    If my memory is not too bad, I was able to insert more than 20.000 characters in a cell but there was a limit to the count of characters in a single paragraph.
    Before posting this message, I inserted 66.397 characters in a cell.
    Yvan KOENIG (VALLAURIS, France) vendredi 6 avril 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.3
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k

  • My mailserver is POP. I use outlook to read/answer may mails. I access to mails on iphone, as IMAP. Once read in outlook they dissapear from iphone. How can I save mails on iphone after reading them in outlook?

    My mail account resides on a POP server at Hostway. I am reading my mails on my computer using MS outlook.
    I have configured this mailbox as IMAP account on my iphone (IOS5). When my computer is switched off, I receive new mails on my iphone. Once I open my oulook inbox and read the mails, they dissapear from my iphone. Is there a way to keep them on my iphone, while keeping them on my computer as well?
    Thank for helping

    WHat server address are you using on your Computer and on your Phone?
    Have you also looked at the behaviour settings for your Outlook mailboxes, as far as when e-mails should be deleted from the server?

  • How can I to dissapear the second page when I select a radio buttom YES or NO.

    I want the second page to disappears when I select radio buttom YES or NO.
    If I select YES, the second page continues, but if I press NO, the second page should dissapears, including the footer of the Master Page.
    Please let me know on how to do this, thank you!
    Alexander

    Thank you MTremblay-Savard, I will try to figured out the exact syntax for this one.
    I really appreciated your help!

  • ICal: january has dissapear!!!!!!

    The month of janury has dissapear from iCal in both my wife's macbook and my macbook pro (which are not sincronize). The main window and the preview window would jump from dec 2007 to february 2008. I can only get to jan 08 if i change my view to weeks only. Plus all my january appointments sync froma nokie E62, show in feb 08. Anyone.... any ideas? thanks in advance!

    holadi,
    Welcome to Apple Discussions.
    Often iCal anomalies can be rectified by refreshing the iCal plist file.
    Quit iCal, and drag the com.apple.iCal.plist file which is located in your Macintosh HD/Users/yourusername/Library/Preferences Folder to the Desktop. Then log out/in or restart and check iCal for desired behavior.
    Another place to check is System Preferences...>International>Formats>(Make sure that you select the correct "Region" and also the appropriate "Calendar" in "Dates." There are many other settings in that "International" Preference and I hesitate to make any more suggestions. If my suggestions do not work, it may also be helpful to look under the Language tab.
    ;~)

  • IPod touch music dissapears from album view and other things

    I'm honestly suprised to the fact that my old iPod video works better on this factor than the iPod touch I upgraded to.
    My problem lies in the fact of syncing makes my iPod decide certain things stay on Album view and dissapear from it. To give an example:
    Before sync - Album of Disneyland Music is still together on album view and nothing has vanished.
    Add in another song to the compilation of music on the album for easy listening.
    Sync iPod
    Album of Disneyland music has vanished completely and only the new song added in is viewable in the album listing.
    Don't think that it's gone competely. I've searched and the music is actually in the iPod, just not in the albums listings. It's everywhere else listings on the iPod.
    This has irked me ever since I bought the thing since another issue that just drives me up the wall. With my iPod video if I listed the music under an album it'd be sorted into the album with no problem. With the iPod touch however if ONE thing is off it gets sorted into its own lisiting on the Album view even though it shares the same Album title with another song. Example:
    Old music that doesn't get recognized has to have information added in
    Albums are correct
    Artists are correct
    Sync iPod
    Album listing has multiple listings from the same album with the artists as its sorting spot. (or if it even showed up at all...)
    I've tried multiple times to fix this and nothing works. (and i've checked and unchecked sort by album artist, no dice.) I attempted to contact an iTunes help as it was partly on the program's fault, the helper didn't understand what I was talking about. Can anyone help me here?
    and no I can't resort to my iPod video as I've killed the selection middle button thanks to a game. That and it also had an issue with connecting and I kept having to refresh it.

    I looked in Compilations and the album that's vanished from Album view isn't in there. I checked via Artist view and the songs are there so the music is in the iPod but it's being a little wise sucker and not showing me the album in the Album view.
    I fear for the videos I have to put on my iPod for class reference today...

  • (Mac Mail) How to obtain Yahoo! Mail when: You're inbox dissapears or does not show after all settings seem perfectly in place.

    Hello everyone!
    Note**: I am in no way attempting to illustrate how to get FREE email listing from Yahoo! Mail, I am only reciting what I have stumbled upon. I do not know if Yahoo! actually wants this to work in Mail. but it does, so if they didn't want it to work they will patch it or something. I recommend that you take advantage of their paid service(annual) which allows POP forwarding of emails quickly and withou any need for reconfiguration.
          I hope this "fix" is not being rementioned or creates redundancy, however after hours of searching all sorts of foums(including the Apple forums ofcourse) I was unable to find a true fix. Simply put, I just got a brand new Macbook Air 13'' for Christmas 2011. I also bought a Macbook Pro 15'' back in late 2010. I was never able to get Yahoo! Mail configured even through methods of IMAP rather than POP or POP3. Oddly enough, on my Macbook Air and Pro, now, when I try to redo the Yahoo! settings, my Inbox would display messages for a matter of seconds and then the messages would dissapear. However, there was still a number next to my Yahoo! e-mail, accurately indicating how many unread messages I had. I fixed it like so:
    1) Go to www.yahoo.com-- Configure Yahoo! account via account settings to work off of IMAP rather than POP Forwarding. Do so by going into account options on the top right or left hand of your screen and clicking through the forwarding options until you see IMAP. Make sure you save your new settings! This is very simple and I feel requires no further explanation. If you become confused, let me know and I will go into detail then.
    2) Once your Yahoo! Mail account is IMAP simply go into the Mail application on OSX (Mac). On the top bar of the Mail pane click on the "Mail" option in between the Apple sign and File.  Then, Click on Preferences from that dropdown pane. When this window appears, Click on the "@" symbol that says "Accounts" right under it. This is in between General and RSS options. Under the left-hand list that says "Accounts", click on the "+" sign as opposed to the "-" sign you will see there. This will allow you to setup an account or additional accounts. A window then will appear with options:
    3) ****Make sure you ARE connected to the internet wirelessly or via ethernet for this part!****
    ---------- Full Name: (Enter Full Name Here)
    ---------- Email Address: (Type in full email address, e.g.: [email protected])
    ---------- Password: (Type in your password to your email account, this IS CASE SENSITIVE.)
    4) Now! Listen! (lol), hit create and let the mac show you the settings it has pinged back from the Yahoo! mail server. It should illustrate that your e-mail is an IMAP based email address etc. As long as the account is created with the IMAP configuration and Mail reads it as so, you have succeeded thus far.
    5) Critial Step here: Go into the Mail application on OSX (Mac). On the top bar of the Mail pane click on the "Mail" option in between the Apple sign and File.  Then, Click on Preferences from that dropdown pane. When this window appears, Click on the "@" symbol that says "Accounts" right under it. This is in between General and RSS options. Under the left-hand list that says "Accounts", click on the Yahoo! IMAP account. Close to the top of that page between the different Mail options and the account settings you will see three different bar pages: a) Account Information, b) Mailbox Behaviors and c) Advanced.
    6) Click on the Advanced tab. Do not touch anything on this page, except, IMAP Path Prefix. This is located in the middle of the Advanced page screen right above Port, where you will see |Port:   993   (Box IS checked for: USE SSL). In that IMAP Patch Prefix type the name of your Inbox(I say this because some people rename it in Yahoo!). Mine is simply "Inbox" so my configuration in Mail looks like so: | Imap Path Prefix:  Inbox |. After this, click on "General" or attempt to close the Mail options window and it will as you to save the new setting. Ofcourse, hit yes and click the Get Mail envelope and you will see your Inbox populate, assuming you have new mail.
    What this means: Test your OUTGOING mail server by sending yourself an e-mail either from your Yahoo! Mail or from another email. Thus, this will allow you tot est your INCOMING email as was now reconfigured to IMAP by seeing if you actually receive the email.
    Reason for doing so in this sequence: By letting Mail create the account it will properly import all of your mail folders you have in your Yahoo! Mail account. Obviously, your Inbox and Outbox as well as Sent and Trash folders will import but I have additional folders, for example, that also imported for putting financials or receipts into different folders for organization. Once these are populated naturally, by changing the IMAP Path Prefix you're telling the Mail application where to send your new emails. Atleast this is my understanding of it.
    Unfortuntely, I am not an officially educated 'techie", however, I have been fiddling with computers over the last 20 years and have been training myself to become Apple expert, seing as I have decided to completely convert to Apple products. Apple is just reliable. This, to me, is priceless. I truly hope I have helped you and that I have saved hours of Youtube video watching as well as forum searching for many. Should you have any questions, FEEL FREE to ask! I love helping others, hense why I have made this post(my first Apple post). Happy Holidays everyone and enjoy!

    dechamp wrote:
    What Mac Mail did was delete ALL inbox messages from my yahoo account, after one week from importing them to Mac Mail.
    The Yahoo server did exactly what you Mail program told it to do.
    Mail/Preferences/Account/Advanced - This setting is adjustable for each mail account.
    I didn't know about this feature until it was too late. I have already unchecked it for future emails.
    I was wondering if there is a way to retrieve these deleted messages back to my yahoo inbox.
    Not Really, you could forward them to your account, after you've told your mail program not to delete the emails at all, but they will show up as being from you instead of the original sender. The originals at Yahoo have been dumped and probably purged. It would take an IT manager at Yahoo to manually replace the emails, not much chance of that.
    I've already asked yahoo to "restore" my inbox to a day ago. That should help me with retrieving some of the messages back, I hope.
    Also, I was wondering about the sync feature on the Mac Mail and what will actually happen if I use it. Does it apply to mail messages, or to address book and calendar entries?
    The sync feature refers to IMAP email accounts like .Mac or .Me or an Imap gmail account. I didn't think Yahoo offered IMAP email accounts.
    Apple's MobileMe membership will let you sync your Mail, AddressBook, Calender, personal website with iWeb, etc.
    "MobileMe is a service that pushes new email, contacts, and calendar events over the air to all your devices. So your iPhone, Mac, and PC stay in perfect sync."
    http://www.apple.com/mobileme/
    I wanted to use Mac Mail, see if I liked it or not, then decide to get a MobileMe account. However, this is still a side note, since my yahoo account is my main email client.
    You seem to be very well informed, and I was wondering if I can ask you to clarify a point for me. Do you know how to archive the inbox in the Mac Mail?
    And thank you for answering my queries.

  • Mouse cursor dissapears in The Pan|Zoom component

    When using the Pan|Zoom component found at http://www.adobe.com/devnet/flex/samples/fig_panzoom/ inside a mx:Window in my AIR application, the custom mouse cursors (draghandOpen, draghandClosed) are not shown. The mouse cursor just dissapears when rolling over the ImageViewer.
    From the Pan|Zoom code:
                    case "mouseOver":
                        // cursors
                        if (_client.viewRect.containsRect(_reciever))
                            CursorManager.removeAllCursors(); 
                        } else
                            CursorManager.removeAllCursors(); 
                            cursorID = CursorManager.setCursor(_iconHandOpen);                       
    This works fine when running the source at http://www.adobe.com/devnet/flex/samples/fig_panzoom/ as an AIR application. Why won't it work in a mx:window?

    I found the solution here: http://butterfliesandbugs.wordpress.com/2008/09/04/how-to-get-a-custom-cursor-in-an-air-wi ndow/
    The problem was fixed by changing CursorManager.setBusyCursor() to myAIRWindow.cursorManager.setBusyCursor();

Maybe you are looking for