[svn] 4634: First part of glue code for allowing Halo components to use the new Text Layout Framework , in order to get functionality such as bidirectional text.

Revision: 4634
Author:   [email protected]
Date:     2009-01-22 17:38:56 -0800 (Thu, 22 Jan 2009)
Log Message:
First part of glue code for allowing Halo components to use the new Text Layout Framework, in order to get functionality such as bidirectional text.
Background:
TLF is making this possible by implementing a TLFTextField class. It is a Sprite that uses TLF to implement the same properties and methods as the legacy TextField class in the Player. Thanks to the createInFontContext() bottleneck method in UIComponent, it can be used by a properly-written Halo component (such as those in Flex 3) without any modifications to the component.
Note: Text should render similarly -- but is unlikely to render identically -- when a component uses TLFTextField vs. TextField. The width and height may be different, affecting layout; text could wrap differently; etc. This is a fact-of-life based on the fact that TLF/FTE and TextField are completely different text engines.
Whether a Halo component uses TLF or not to render text will be determined in Flex 4 by a new style, textFieldClass. (Gumbo components always use TLF.)
TLFTextField is currently only partially implemented. It does not yet support scrolling, selection, editing, multiple formats, or htmlText. Therefore it can only be used for simple display text, such as a Button label.
Details:
The TextStyles.as bucket 'o text styles now includes a non-inheriting textFieldClass style. It can be set to either mx.core.UITextField or mx.core.UITLFTextField. These are the Flex framework's wrapper classes around the lower-level classes flash.text.TextField (in the Player) and its TLF-based workalike, flashx.textLayout.controls.TLFTextField.
The global selector in defaults.css currently sets it to mx.core.UITextField using a ClassReference directive. For the time being, all Halo components will continue to use the "real" TextField.
The new UITLFTextField is a copy of UITextField, except that it extends TLFTextField instead of TextField. This class has been added to FrameworkClasses.as because no classes in framework.swc have a dependency on it. It will get soft-linked into applcations via the textFieldClass style.
The TLFTextField class currently lives in a fourth TLF SWC, textLayout_textField.swc. This SWC has been added to various build scripts. The external-library-path for building framework.swc now includes all four TLF SWCs, because UITLFTextField can't be compiled and linked without them. However, since they are external they aren't linked into framework.swc.
Properly-written Halo UIComponents access their text fields only through the IUITextField interface, and they create text fields like this:
textField = IUITextField(createInFontContext(UITextField));
(The reason for using createInFontContext() is to support embedded fonts that are embedded in a different SWF.)
The createInFontContext() method of UIComponent has been modified to use the textFieldClass style to determine whether to create a UITextField or a UITLFTextField.
With these changes, you can now write code like
to get two Buttons, the first of which uses UITextField (because this is the value of textFieldClass in the global selector) and the second of which uses UITLFTextField. They look very similar, which is good!
Currently, both Buttons are being measured by using an offscreen TextField. A subsequent checkin will make components rendering using UITLFTextField measure themselves using an offscreen TLFTextField so that measurement and rendering are consistent.
QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Deepa
Modified Paths:
    flex/sdk/trunk/asdoc/build.xml
    flex/sdk/trunk/build.xml
    flex/sdk/trunk/frameworks/projects/framework/build.xml
    flex/sdk/trunk/frameworks/projects/framework/defaults.css
    flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/TextStyles.as
Added Paths:
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITLFTextField.as

Many of your points are totally legitimate.
This one, however, is not:
…To put it another way, the design of the site seems to be geared much more towards its regular users than those the site is supposedly trying to "help"…
The design and management of the forums for more than five years have driven literally dozens of the most valuable contributors and "regulars" away from the forums—permanently.
The only conclusion a prudent, reasonable person can draw from this state of affairs is that Adobe consciously and deliberately want to kill these forums by attrition—without a the PR hit they would otherwise take if they suddenly just shut them down.

Similar Messages

  • Iphone 4 sync issue -  My iTunes is not able to sync the iPhone 4. I'm using windows 7 32bit. At the first step it gets stuck refelcting backing up the phone then nothing happens for ages. I'm using the latest iTUnes version, does anyone have similar prob

      My iTunes is not able to sync the iPhone 4. I'm using windows 7 32bit. At the first step it gets stuck refelcting backing up the phone then nothing happens for ages. I'm using the latest iTUnes version, does anyone have similar prob??? There are no error codes which appear and the iTUNES just gets hanged, is there a solution?

    Remove the song in question from the sync list and see if the rectifies the problem.
    If it does, then iTunes believes the song no longer exists on your drive and that will need to be corrected.

  • Hi - just using the new iMovie for the first time - apparently there should be a sidebar containing tools like "Content Library". Not on mine - even in Window view, Content Library features like text etc are all greyed out - obviously it's me - help?

    Hi - just using the new iMovie for the first time - apparently there should be a sidebar containing tools like "Content Library". Not on mine - even in Window view, Content Library features like text etc are all greyed out - obviously it's me - anyone help please?

    Sorry - I should have added that I have imported a Quicktime movie, originally created as an iPhoto slideshow.
    I want to create rolling credits at the movie end and apparently you can only do this using iMovie - can you help please?

  • Trasaction code for invoices detail which has hit the WBS element

    Hi All
    Usually my users receive a list of assets which were capitalized from AUC account through Project system.
    Generally charges are posted to WBS element and then users capitalize assets using that WBS element through settlement.
    Users have been asked to give all the invoices detail which has hit the WBS element from which that particular assets have been capitalized. is there any transaction code to get the all invoices detail which has hit the WBS element from that particular assets.
    thank you

    If that is what you want then why are you using WBS element?
    You can directly create the asset on goods receipt via MM module and then the invoice will automatically go against that asset.
    If you still want to use the WBS element for capitalisation then you can use the WBS element statistically with a type 90 cost element posting and the sset will still be crteated when goods receipted/ invopice receipted

  • Hi basically when i try download a app its saying sign in required ask for sercurity code for bank card and i put the correct details in and still saying its invalid? Can anyone help

    Hi basically when i try download a app its saying sign in required ask for sercurity code for bank card and i put the correct details in and still saying its invalid? Can anyone help

    Refusal of a card is based on information provided matching what is on file from your credit card provider. If it is refused, it generally means something is not matching. That can inclue the name, the address or other information. It has to be exact to match. If you check your credit card bill to make sure you are spelling the name correctly, the address is listed correctly, and yes, ST is different than Street, and it still does not work, contact iTunes support. http://www.apple.com/emea/support/itunes/contact.html

  • What is the pairing code for an HP Photosmart 309a using windows 7?

    what is the pairing code for an HP Photosmart 309a using windows 7?

    Hi,
    The Default priting code is 0000.
    If you changed the code, you may locate the current on by clicking the Setup Menu,
    Scroll to the Bluetooth Menu and then click Passkey.
    For any issue, you may find a step by step bluetooth configuration guide below:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02530249&cc=us&dlc=en&lc=en&product=3737195&tmp...
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Good afternoon! What to do if forgot an access code for write-off of money from the card?

    Hello!!!
    What to do if fogot an access code for write-off of maney from the card?

    If you made in app purchases in a game, and you did not receive the "items" you paid for, contact the developer of the game.  If you are unable to receive support from the developer, you then should contact the iTunes store and inform them that you did not recieve the purchased content. 
    IF iTunes store support refunds the money that you spent, I would suggest you NOT use the refunded money for the same items, as you may not receive a refund for the same thing again.
    Good Luck.

  • Downloading the new IPhone  software update keeps failing ,I get error code -3259 is there a fix for this

    Downloading the new IPhone  software update keeps failing ,I get error code -3259 is there a fix for this

    Disable the security software and try again, Kaspersky's has been really annoying with this along with a couple others.

  • [svn:fx-trunk] 10209: reverting commit 10198, which affected animation for some halo components like Tree and ComboBox.

    Revision: 10209
    Author:   [email protected]
    Date:     2009-09-12 17:36:41 -0700 (Sat, 12 Sep 2009)
    Log Message:
    reverting commit 10198, which affected animation for some halo components like Tree and ComboBox. Should wait for either the real fix (involves RPC changes) or at least a fix that limits the scope to only Flex4 effects instead of all uses of UIComponent.suspendBackgroundProcessing.
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/LayoutManager.as

  • [svn:osmf:] 13538: Modified the RTMP dynamic streaming sample to use the new SMIL plugin.

    Revision: 13538
    Revision: 13538
    Author:   [email protected]
    Date:     2010-01-15 16:26:36 -0800 (Fri, 15 Jan 2010)
    Log Message:
    Modified the RTMP dynamic streaming sample to use the new SMIL plugin.
    Modified Paths:
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/.actionScriptProperties
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/src/DynamicStreamingSample.mxml
    Removed Paths:
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/src/org/

    But DynamicStream.as is part of the code base and the does get executed.   Jody, which version of DynamicStream.as is more current?   The one that ships with FMS 3.5 or the one in tools?
    Can anyone answer my original question (I think) which is: should I be able to switch source = http://dynamicStream1.smil -> source = http://dynamicStream2.smil and back and forth etc.  It seems to work.    Are there any caveats?  I am not switching back and forth between flv-s and smil-s
    It turns out that there are a couple of lines of code in NCManger.as::bitrateMatch() which is concatenating the streamName and this results in 404 on the FMS side.   I'm not sure what this is supposed to do or if this is just a bug, but the upshot was that I could not specify source = http://dynamicStream.smil on a remote server.  The uncanny part of this issue is if I serve the same smil locally, referencing remote remote smil and media, it works.  Maybe this has something to do with the bit rate.    Bottom line is that this cost me 3 days, becuase I was under the incorrect impression that you could not reference *.smil directly and I blindly followed the handrail provided by the the FMS videoPlayer sample.  Shame on me for trying to leverage working code shipped with a production version.
    NCManger.as::bitrateMatch()
    if  
    (_streamName != null
    ) {_streamName += _streams[whichStream].src;
    My incling is to change the += above to an = and get on with it.
    If someone at adobe or anywhere can have a look and give me some other guidance, it would be much appreciated.
    Thanks to Sean for the kind and detailed responses and giving me the green light that source=http://dynamicStream.smil _should_ work.
    Thanks to all.

  • My business has been using Appleworks forever. I now have a rubbish mac book pro. I am waiting for Mac to update their software to allow my business to use the 'cwk' drawing files developed over 10 years. letterheads, business cards, box labels etc.

    My business has been using Appleworks forever. I now have a rubbish Macbook pro. I am still waiting for Mac to update their software to allow my business to use the many Appleworks files accumulated over the last 10 years. Letterheads, business cards, trademarks, brands, parts labels, box labels etc. etc..  When will this happen?
    Just a Mac user
    Dorothy

    Dorothy: I feel your pain!
    Here is a post I just assembled for another Appleworks user:
    First, read these excellent articles on Appleworks migration:
    Appleworks for the modern day, a migration tip by a brody; and
    Abandoning Appleworks by Roger Wilmut.
    If you need to run Appleworks 6 to export some data (for example a database, which cannot be opened by any other program):
    a)  If your Mac will still boot into Snow Leopard, partition your hard drive (or add an external hard drive) and install Snow Leopard (and the optional Rosetta) into it and use the "dual-boot" method to boot into Snow Leopard and run Appleworks 6; or
    b)  Install Snow Leopard Server into Parallels and run Appleworks 6 concurrently with Lion, Mt. Lion and Mavericks:
                                  [click on image to enlarge]
    More information here:
    http://forums.macrumors.com/showthread.php?t=1365439
    Installing Snow Leopard Server into Parallels for DUMMIES!:
    http://forums.macrumors.com/showpost.php?p=17285039&postcount=564

  • Can I assign several physical storage locations for each virtual machine when using the replication-feature from Hyper-V 2012 R2?

    Hi everyone,
    I have 2x physical servers running Hyper-V 2012 R2. Each hosts several virtual machines. The VHDs of the VMs are stored on several dedicated physical disks to have a performance boost. For exampe if VM A has two VHDs attached I made sure that the VHDs are
    on different physical disks to have them not slow-down each other in case of intensive disk accesses.
    So far so good. I was looking forward to the replication-feature. The idea is to have the two physical servers have their primary running VMs being replicated to the other physical server and vice-versa. I was hoping to have the chance to choose for each
    individual VM where the replicated VHD will be stored. But instead I can only see the one location/path which is configured in Hyper-V Manager when I activate the replication-feature on the server.
    Is there by any chance a way how to select the storage location for each VHD/VM if using the replication-feature of Hyper-V 2012 R2?
    Thanks in advance.
    Cheers,
    Sebastian

    Secondly, you could replicate different VMs to different storage locations to perform some of the disk balancing you are trying to perform.  Lastly, you could copy the vhd file to a different location
    before starting the VM.
    .:|:.:|:. tim
    Hi Tim,
    thanks for the reply. Sorry, but I had some other tasks to take care of, so I wasn't paying enough attention to this thread.
    The part I quoted from your reply sounds exactly like the action I'd like to perform, but as you pointed out before this should not be possible.
    How can I perform the action (replicating each VM to a storage location) as you mentioned secondly? To sum it up again:
    2x physical machines carrying severel HDDs
    8+ VMs spread to run on the 2x servers
    when setting up replication I can only set the storage-location from server A on B and vice versa B on A
    Thanks again for your reply.
    Cheers,
    Sebastian

  • Can I use the new Firefox Beta for Win 8 on a non-touch screen computer?

    I installed Win 8 on my somewhat old laptop (3 and 1/2 years old). I don't have a touchscreen on it, I don't want to use Internet Explorer, and I badly want to use the new tile Firefox and help it's development. I installed it and tried to enable tile mode but it is not offered in the settings at all. Is it possible to use it without a touchscreen?

    Hi Marko,
    Unfortunately work on the tile interface was discontinued due to low interest. You can find more information here: https://blog.mozilla.org/futurereleases/2014/03/14/metro/
    The code lives on, so the project could well be restarted in the future. But for the time being you can only use Firefox in its traditional "desktop" interface.
    Sorry for the bad news!
    Jayelbe

  • I have a macbook pro. i think i might have pushed some buttons that made my macbook look for a wireless keyboard.. i dont have any wireless keyboard. and now i cant use the keyboard on my macbook. how can i get the normal keyboard staring?

    i have a macbook pro. i think i might have pushed some buttons that made my macbook look for a wireless keyboard.. i dont have any wireless keyboard. and now i cant use the keyboard on my macbook. how can i get the normal keyboard staring?

    korgba wrote:
    it pops up a script were it says that the macbook cannot find a bluetooth keyboard, and it isnt a keyboard connected
    For some reason, your Mac doesn't recognise that a keyboard is present, so it looks for a wireless keyboard. The question is, why doesn't your Mac recognise that a keyboard is attached?
    First, you need to make sure you remove all peripherals, especially USB peripherals (the keyboard is on the USB bus). Then restart holding down the Shift key. This should boot in Safe mode. If the computer boots normally (not in safe mode) and the keyboard is still not working, try resetting the SMC
    Intel-based Macs: Resetting the System Management Controller (SMC)
    <http://support.apple.com/kb/HT3964>
    If that still doesn't fix the problem, then the keyboard (or its controller) is probably damaged and needs to be replaced.

  • I have installed the new OS and have lost a part of my personal data: music files and pictures. The new safari is horrible. Give me back the previous version!

    I have installed the new OS and have lost a part of my personal data: music files and pictures. The new safari is horrible. Give me back the previous version! Or fix the bugs!

    These are user-to-user forums, they are not monitored by Apple (there are too many forums/threads/messages for that to happen). If you want to leave feedback for Apple then you can do so here : http://www.apple.com/feedback/ipad.html
    What bugs ? Have you not got your music, files, photos on your computer so that you can sync them back to the iPad ?

Maybe you are looking for

  • Keeping old battery in pismo or new battery when on the ac adapter?

    I have a pismo that has a fairly new battery in it. Most of the time, I have the pismo plugged into an AC adapter. I still have the old battery that has a little bit of charge left in it. Therefore, my question is this: Should I leave the new battery

  • Movie storage maxed out

    My movie storage on my Ipad is maxed out. I tried to download Peter Pan for the kids but got prompted not enough storage. How do you remedy this? If I delete the other movies, can I download them at a latter date again from my past purchases? I alrea

  • Footnotes - Some not importing from Word.

    Hello, using CS6 here. I am currently designing a 400 page book using a fully formatted Word file. I am importing the file into InDesign and setting all of the options properly-however after chapter 4 the footnotes disappear and are no longer in the

  • Port Forwarding & Access List Problems

    Good morning all, I am trying to set up port forwarding for a Webserver we have hosted here on ip: 192.168.0.250 - I have set up access lists, and port forwarding configurations and I can not seem to access the server from outside the network. . I've

  • Captivate 7 download for Mac?

    I have a subscription to Captivate 7 and have been using it on my PC for the last few months. I just got a new Mac and want to use Captivate 7 on it, with the same subscription, but I can't find where to download Captivate 7 (only 8). Anyone have a l