BUG - in flash pro CC, "bold" and "italics" TextFormat properties have no effect on the rendered text

Concise problem statement:

If you compile with CC pro flash and use the method "setTextFormat' of a TextField, the 'fat' and 'italic' argument of TextFormat properties have no effect on the rendered text. If you compile with flash pro CS6, 'fat' and 'italic' properties work as expected.

Apparently, the only way to make the text to display correctly with flash pro CC, is to change the name of the font (add the suffix "Bold", "Italic", or "Bold Italic".) This means code that dynamically changes the font styles only works in CS6 or CC, but not both. By example, if you use the "bold" text property makes daring in CS6 and regular CC, whereas if you change the name of the font to add the suffix "Bold", the text makes daring in CC and DOES NOT at all in CS6. It is therefore difficult for a team to CS6 in the CC of transition.

Steps to reproduce the bug:

1. create an xfl 2 TextFields on stage, as well with the font "Trebuchet MS" and "regular" style, a named boldTrueText that contains the string "" BOLD"= true", a named fontNameText that contains the string "fontName ="BOLD"Trebuchet MS". Create 2 more TextFields on the stage of Visual reference, both with a font "Trebuchet MS", one with the 'regular' style, one with ' bold '.

2. Add the following code in the Actions Panel on frame 1:

import flash.text.TextFormat;

import flash.text.Font;

var format: TextFormat = boldTrueText.getTextFormat ();

format. Bold = true;

boldTrueText.setTextFormat (format);

format = fontNameText.getTextFormat ();

format.font = "Trebuchet MS bold";

fontNameText.setTextFormat (format);

var fonts: Array = Font.enumerateFonts (), count: int = fonts.length;

for (var i: int = 0; i < count; i ++) {}

var make: police = fonts [i];

trace ("fontName:" + font.fontName + ", fontStyle:" + font.fontStyle);

}

3. Save and compile with flash CS6 pro and flash pro CC.

Results:

With flash CS6 pro, "" BOLD"= true" makes "BOLD", and "fontName ="BOLD"Trebuchet MS" IS NOT RENDERED.

With flash CS6 pro, what follows is drawn:

fontName: Trebuchet MS, fontStyle: "BOLD"

fontName: Trebuchet MS, fontStyle: regular

With flash pro CC, '"BOLD" = true' makes regular, and "fontName ="BOLD"Trebuchet MS" makes "BOLD".

With CC pro flash, what follows is drawn:

fontName: Trebuchet MS, fontStyle: regular

fontName: Trebuchet MS bold, fontStyle: "BOLD"

Expected results:

The same text is rendered in flash CS6 and CC pro. I don't know why this behavior has been changed in flash CC pro - it causes silent failures in the code that dynamically changes the font styles. I expected the CS6 flash pro behavior remain the same in the CC, as follows:

With flash pro CC, "" BOLD"= true" makes "BOLD", and "fontName ="BOLD"Trebuchet MS" IS NOT RENDERED.

With CC pro flash, what follows is drawn:

fontName: Trebuchet MS, fontStyle: "BOLD"

fontName: Trebuchet MS, fontStyle: regular

If you do not break backward compatibility (to others), you can do both behaviors works in flash pro CC, as follows:

With flash pro CC, "" BOLD"= true" makes "BOLD" (the police is always 'Trebuchet MS'), and "fontName ="BOLD"Trebuchet MS" also makes "BOLD".

With CC pro flash, what follows is drawn:

fontName: Trebuchet MS, fontStyle: "BOLD"

fontName: Trebuchet MS, fontStyle: regular

fontName: Trebuchet MS bold, fontStyle: "BOLD"

I introduced this bug with the form of bug and also with adobe bugbase (in case it is not obsolete) - I'm just trying to maximize my chances of getting a fix.  Has anyone else encountered this bug?

Thank you for reporting this issue. As a result of your efforts, it is reproducible and reported internally.

Will update here once the fix is available.

-Mabrouk

Tags: Adobe Animate

Similar Questions

  • I am running winXP home on laptop wireless via a router, and I continue to have an effect on the net.

    login procedure

    I am running winXP home on laptop wireless via a router and I continue to have an effect on the net, and a window saying I need to go through a certain procedure of connectivity in order to return on the net than what seems to come regularly and after that I went through the procedure, I'm back on the net could you please inform me how to eliminate this problem.

    Hi conorcloris,

    ·         What is the exact error message?

    ·         Did you do changes on the computer before the show?

    Follow the steps in the article.

    How to troubleshoot a network home in Windows XP

    http://support.Microsoft.com/kb/308007

    In Windows network connection issues

    http://support.Microsoft.com/kb/313242/en-us

    Troubleshooting Internet connection sharing in Windows XP

    http://support.Microsoft.com/kb/308006/en-us

  • I need to install Flash Player on a computer that does not have internet access. The 'flashplayer18_d_install.exe' I copied everywhere that 'no Internet' computer wants to deal in the internet to do something and of course fails. I need a ins

    I need to install Flash Player on a computer that does not have internet access. The 'flashplayer18_d_install.exe' I copied everywhere that 'no Internet' computer wants to deal in the internet to do something and of course fails. I need an installation file that won't connect to the internet. -help

    Hi colinkerr22,

    Offline installers are displayed at the bottom of the Installation problems | Flash Player | Windows in the section "problems".

    --

    Maria

  • 'Install Adobe Flash Player' is corrupted and cannot be opened. You must eject the disk image.

    Trying to install Flash player on mac. System conditions are met; UN-installed old versions. I get this error message "Install Adobe Flash Player" is damaged and cannot be opened. You must eject the disk image.

    Under system preferences > Security and privacy

    Together to allow applications downloaded on:

    App Store and identified developers

  • I have a button with the icon text. Is it possible to increase the space between the text and icon?

    Mr President.

    I have a button with the icon text. Is it possible to increase the space between the text and icon?

    adf button text image space.png

    adf button text image space.jpg

    Concerning

    Have you tried it as directed by the other thread?

    
    

    See you soon

    AJ

  • popular error; An error occurred when opening a virtual disk. Make sure that the converter server and source running machines have network access to the ESX/ESXi hosts source and destination.

    Once again; same problem, others have encountered but nothing seems to work.

    An error occurred when opening a virtual disk. Make sure that the converter server and source running machines have network access to the ESX/ESXi hosts source and destination.

    We have 1 physical servers, we need to see. Here is the environment. All 3 separated location, 3 all firewall separated

    1 physical servers

    -Internal IP address; 172.16.160.21
    -FARM Firewall

    vCenter Server

    -Internal IP address; 172.16.1.85

    -Local Office (ALX)

    Location of destination (ESXi host):

    -Internal IP address; 172.16.153.20

    -Firewall ROOMMATE


    Already completed:

    VMware KB: disable SSL on VMware Converter Standalone 5.x encryption   SSL disabled in converter-worker

    Firewall are open / Tunnel is open throughout the environment.

    I have attached the logs.

    Thank you very much

    POCEH; Thanks for the reply. But I wouldn't be pulling my gray hair if I knew what the problem was. I understand that there not for the peer but why...?

  • Converter does not have "an error occurred when opening a virtual disk. Verify that the Converter server and source running machines have network access to the ESX/ESXi hosts source and destination. »

    Hi all

    I'm having some trouble converting server physical windows using autonomous vConverter 5.5.

    error message:

    "An error occurred when opening a virtual disk. Verify that the Converter server and source running machines have network access to the ESX/ESXi hosts source and destination. "

    I have attached the bundle newspapers. Please notify.

    See you soon...

    Your error is:

    2014-11 - 04T 18: 27:27.587 - 08:00 [01236 info "Default"] GetManagedDiskName: Get disklib file name as vpxa-nfcssl: / / [a0110-vmgt70-001] WIN-MOVRCVCSITG/WIN-MOVRCVCSITG.vmdk@a0110tesxhyp01.datacenter.telenorservices.com: 902! 2 b 52 87 75 03 03 ff 49-67 2f 3 a 61 76 and 00 cd e1

    2014-11 - 04T 18: 27:27.587 - 08:00 [01236 WARNING 'Default'] [, 0] NfcNewAuthdConnectionEx [NFC ERROR]: unable to connect to peer. Error: Failed to search for host for a0110tesxhyp01.datacenter.telenorservices.com server address: the requested name is valid, but no data of the requested type was found

    2014-11 - 04T 18: 27:27.587 - 08:00 [01236 info "Default"] Sysimgbase_DiskLib_OpenWithPassPhrase failed with 'NBD_ERR_NETWORK_CONNECT' (error code: 2338)

    Check the manual on the required ports.

    HTH

  • Whenever I have to download a trial of After Effects or any other applications it will indicate your download begins to start but nothing downloads... It is not even came in my creative cloud. And I don't have a page of the application when I open creativ

    Whenever I have to download a trial of After Effects or any other applications it will indicate your download begins to start but nothing downloads... It is not even came in my creative cloud. And I don't have a page of the application when I open creative cloud. Help, please

    N ° 1)

    Click on the link below and open Photoshop Elements download link.

    Note: we are not anything downloaded from the page of Photoshop Elements.

    Do not close the page, just keep it open.

    Download Photoshop Elements products | 10, 11, 12, 13

    Then click on the link below and download the installer directly mentioned in step 2.


    Step 2)


    http://trials3.Adobe.com/AdobeProducts/AEFT/13/OSX10-64/AfterEffects_13_LS20.dmg

  • We noticed after our R12.1.1 and upgrade 12.1.3 Federal is not displayed and we don't have it selected on the choice of installation of ideas?

    We noticed after our R12.1.1 and upgrade 12.1.3 Federal is not displayed and we don't have it selected on the choice of installation of ideas?

    I never said that the installation is not very well

    You will need to consider additional steps for this product (set to level before and after upgrade) as mentioned in the doc.

    If the relocation is not an option, then connect a SR and see if the support for Oracle can provide workaround to change the status of this product.

    Thank you

    Hussein

  • SWF (made through Flash Pro CS5.5) and published in the playbook (via the flash AS3 generator project) is incredibly, incredibly slow.

    Hello. As said, it's horribly slow.

    It is a simple slap a mole, with 9 total game hit areas, with animation by MC popping up randomly in the regions and a timer to countdown a minute.

    The timer is operating at about a quarter of the speed should be. A second takes about four. My animations are also stuttery. My FPS in my flash game is set to 120. (If there is a ton of objects on stage, I get the big slowdowns, that I expected, but the full game seems to work at a slower than expected level)

    I tried GPU/CPU rendering (both on the swf and FB project), but also to tweak the game to speed it up.

    I was wondering if anyone has a solution as to why these games so run slow. I do not have the resolution of the game the value 600 x 1024 (portrait), is this correct? Or should I make a game of 300 x 640 and fullscreening it.

    I tried HTML5 as well, integrating flash. It works just as slow (unless miss me an option of rendering in config.xml or something)

    It turns out I was right. I was overloading the first image with kidnapping event handler commands

    These event handlers had been removed in other frames before moving the playhead to frame 1, so the code on frame 1 was redundant. hope that helps

  • Why Firefox telling me to update Flash Player, Adobe Reader and Firefox, when I have the updates on my laptop?

    I use windows 8.1. I have the latest version of Fiirefox, Reader and Flash, but Firefox repeat myself that I have to upgrade to the latest version. Why?

    I wouldn't worry Adobe Reader. If the help > check updates inside your said XI player you are current, as far as I'm concerned, that's fine. Plugin Checker shoot always allows you to get the latest version, but Adobe still provides security for Reader 11 updates, and since the radically different interface of the CD player, certainly, won't that everyone's favorite, I think that will continue for some time.

  • First Pro CS 6 and Windows 10 - projects do not play in the timeline

    I bit the bullet and upgraded to Windows 7 Professional, Windows 10.  I had heard people say that first Pro CS 6 worked in Windows 10, so I was anxious to make the upgrade, but I was sure that it works ok.

    Boy, I was wrong!

    I can open previously created first Pro CS6 projects, and everything looks good on the timeline.  But the project will not play!  The "play" button on the changes in preview to the "Stop" button, but the current-time indicator does not move forward and the video does not play.  I can rub very well through the timeline.  If I press the "Stop" button, it won't come back on the 'Play' button, as it should.

    I tried to create a new project, import a video file and try to play it, but the same thing happens... it won't play.

    Any ideas?

    Thanks for your quick response. I solved the problem, just before that I received

    your post above...

    I realized that I had no sound at all... no windows sounds, nothing. My Realtek

    High Definition Audio sound card on my motherboard did not work. He has been

    selected as default in Windows playback device, but not sounds were

    to come. I selected another audio device and then switched back to

    the Realtek device and I had sound. Just for fun, I opened a project

    First, and he's now come back normally.

    Now, if only I could get all the 5.1 speakers, it would be

    large. It seems that I currently have audio '3.1' now! Realtek web page is

    not very useful to provide drivers. The configuration program for the

    sound card think it has side speakers, but they make no noise!

    Thanks again.

  • Problem of bold and italic TextFormat()

    Hello

    I'm trying to format a dynamic text field using the code below:

    var oFormat:TextFormat = new TextFormat();
    oFormat.color = QuestionColor;
    oFormat.bold = QuestionBold;
    oFormat.italic = QuestionItalic;
    oFormat.size = QuestionSize;
    txtQuestion.setNewTextFormat (oFormat);

    The value of each variable comes from an XML file. The code works except .bold and .italic, regardless of what I spend on them ('true' or 'false') text is in bold and italic.

    What I am doing wrong?

    Thank you for your help,

    you are probably using a 'true' and 'false' instead of true and false. That is to say, you use strings and not primitives.

  • I bought the Pro DC version and it still doesn't let me change the document'

    I am registered, he sees me, I click on the file edit PDF and it keeps giving me more it instead of the tools.  I connect to Adobe for help and he told me that my product does not come with support and my only option is to this forum.  WTH?  It's a pretty crappy Adobe customer service.

    Hi hdt2ski ,

    I would like to inform that it seems that you are still working in the Acrobat Reader program. Please install the Acrobat Pro domain controller so that you can use all the tools & also set this program as default PDF program on your system.

    Please see this link for Acrobat Pro DC (subscription) to download:- Download Adobe Acrobat DC (DC) | Company or VIP

    (With serial number then):- download Pro or Standard versions of Acrobat DC, XI or X

    I would like to know if it works.

    Kind regards

    Christian

  • Flash Pro CC crashes when you try to create again to open the existing document.

    These are the things I've already tried:

    • Sign out and back in to Creative Cloud App. > > did not work
    • Uninstall and reinstall the App > > did not work

    It is a part of the accident report I get:

    Crashed thread: 0 dispatch queue: com.apple.main - wire

    Exception type: EXC_BAD_ACCESS (SIGSEGV)

    Exception codes: KERN_INVALID_ADDRESS at 0 x 0000000000000000

    The machine is a form of high-end Macbook Pro (mid-2012) retina. (no shortage of system resources)

    Other symptoms:

    • When the lance of the app and before the attempt to create or open a document, I get a backgroud in the center of the stage with bizarre blue streaks on

    Hi York Gibson.

    This occurs if you have flashfirebug plugin installed in firefox and his permit. We are studying the issue for a fix. However, for the time being by uninstalling the flashfirebug plugin should fix the crash. If you prefer to edit the files of configuration manually, then Alternatively you can just comment out or remove the key from PreLoadSwf in mm.cfg (found in your home folder) to avoid the accident.

    I would like to know if this solution works for you.

    -Reynaud

Maybe you are looking for

  • URGENT... Driver video problem Check

    140105 URGENT...  Driver video problem Check  (will take other ideas on what to do for video problem)performance of device drivers fix security  my video seems to be a xp machine.When restoring from my pc to an earlier date, it seemed to alleviate th

  • Connect a transmitter/receiver Base FX 100 to single-mode fiber

    I'm looking to connect to an ISP circuit. The fiber is single mode and they have a transmitter/receiver Base FX 100 on their end. I looked at the specs on that transmitter/receiver and it say TI should only be run on SMF. Someone at - he had success

  • Security SIM screen classic blackBerry and autonomy

    I love my classic Blackberry. But there is a problem. In my pocket the phone sometimes ends with the screen asking me to enter the SIM Pin code. The phone is usually leather Holster. The problem is, whenever I wear around the phone in my pocket, with

  • How to install the Dell AIO 946 drivers in compatibility mode?

    Original title: printer I have the drivers for the Dell AIO 946 printer folder on my hard drive. I don't know how to install it and make it compatible with Windows 8. Any suggestions?

  • Adobe Capture seems to leave my comments in a bad quality

    What I am doing wrong?  Most of my captures (unless they are very limited lines) is not clear.  The features are as "blobs" (for lack of the correct word), and when I try to clean all other traits are affected... and not in a good way.I hope that my