Newbie to TLF

We just came to know of the TLF; we have a Flex 3.2 application with many reports that are comprised of numerous Text components; the performance we are experience with rendering all these Text components is subpar for our users as they are accustomed to HTML...does TLF offer a lighter weight/higher performance option, e.g., TextField, for rendering text?

Thanks for the quick response...to clarify, we are wondering if the TextField control is lighter weight than the traditional Text control...we have reports which may have 100+ text controls to display data and the performance of this approach is unacceptable...we have attempted to use Datagrid, TextArea, and HTMLtext but they all have issues with laying out the data in a nice column fashion without scrolls, etc.  You can see the application in action:
http://69.198.99.212/portal/
gamls/password
run a search (or you can run a recent search via 'Recent Searches' control)
from the grid, in the Options menu control, select 'View Agent Detail'
Data is coming back very fast via remoting, but the rendering takes 5-6 seconds - we believe because of all the text controls
Thank you for you help.

Similar Messages

  • Help needed for newbie EJB

    Hi, all
    I am a newbie in EJB and I am following the example in the URL:
    http://www.huihoo.com/jboss/online_manual/3.0/
    I am working on the 'interest' example in the first chapter.
    When it come to 'Packaging and deploying the bean', I got some meaage like this:
    ant intro-interest-jar
    Buildfile: build.xml
    validate-servlet:
    validate-jboss:
    fail_if_not_valid:
    init:
    [echo] Using JBoss directory=/opt/jboss
    [echo] Using base classpath=/opt/jboss/client/jboss-j2ee.jar:/opt/jboss/client/jaas.jar:/opt/jboss/client/jbosssx-client.jar:/opt/jboss/client/jboss-client.jar:/opt/jboss/client/jnp-client.jar:/home/xiaobo/learningejb/examples/COULD_NOT_FIND_SERVLET_JAR
    [echo] Using Source directory=/home/xiaobo/learningejb/examples
    [echo] Using Build directory=/home/xiaobo/learningejb/examples/build-examples
    intro-interest-jar:
    compile:
    ejb-jar:
    [delete] Deleting directory /home/xiaobo/learningejb/examples/build-examples/interest/META-INF
    [mkdir] Created dir: /home/xiaobo/learningejb/examples/build-examples/interest/META-INF
    [copy] Copying 1 file to /home/xiaobo/learningejb/examples/build-examples/interest/META-INF
    [copy] Copying 1 file to /home/xiaobo/learningejb/examples/build-examples/interest/META-INF
    [jar] Building jar: /home/xiaobo/learningejb/examples/build-examples/interest/interest.jar
    BUILD SUCCESSFUL
    Total time: 2 seconds
    Why did I get this:
    /home/xiaobo/learningejb/examples/COULD_NOT_FIND_SERVLET_JAR.
    But if I check the "interest.jar" by using 'jar -tvf interest.jar' in the "~/learningejb/examples/build-examples/interest$" directory, it seems it had all files and directories in it.
    But if I copy this jar file into the deploy directory in jboss, and I check the log file 'server.log'
    I found this error message:
    2005-11-28 17:31:03,536 DEBUG [org.jboss.management.j2ee.LocalJBossServerDomain] handleNotification: javax.management.Notification[source=jboss.ejb:service=EJBDeployer,type=org.jboss.deployment.SubDeployer.stop,sequenceNumber=15,timeStamp=1133213463536,message=null,userData=org.jboss.deployment.DeploymentInfo@c36a9f52 { url=file:/opt/jboss-3.2.5/server/default/deploy/interest.jar }
    deployer: org.jboss.ejb.EJBDeployer@3c9c31
    status: Deployment FAILED reason: ejb-jar.xml must define a valid DOCTYPE!
    state: FAILED
    watch: file:/opt/jboss-3.2.5/server/default/deploy/interest.jar
    lastDeployed: 1133210324921
    lastModified: 1133210324000
    mbeans:
    Then I add the follwoing line into the 'ejb-jar.xml':
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    so the 'ejb-jar.xml' looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
    <description>JBoss Interest Sample Application</description>
    <display-name>Interest EJB</display-name>
    <enterprise-beans>
    <session>
    <ejb-name>Interest</ejb-name>
    <home>org.jboss.docs.interest.InterestHome</home>
    <remote>org.jboss.docs.interest.Interest</remote>
    <ejb-class>org.jboss.docs.interest.InterestBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Bean</transaction-type>
    </session>
    </enterprise-beans>
    </ejb-jar>
    and I rejar it and copy the jar file into the deploy directory. I still got the same error message in the log file???!!!
    Please help!
    X.Chen

    It's a no brainer between the AirPort Extreme and Airport Express.
    The AirPort Extreme has 6 wireless antennas up at the top of the "tower", while the AirPort Express has four, so the Extreme has significantly better wireless speed and range than the Express.
    As you know, the broadcast power of wireless routers is limited by law, and most routers are running full blast. Apple routers are not known for their broadcast power, so what we cannot tell you is whether the Extreme will outperform the existing wireless router that you already have in terms of range.
    Also as you know, the speed of your Internet connection is limited to the plan that you have with Verizon. An Apple router cannot take the speed of Internet connection that it receives from your Verizon plan and make it go any faster.
    A user who has both the same Verizon router as you and an AirPort Extreme might be able to tell you how the products compare in his home.
    But...and this is a big BUT...... the bottom line with any wireless router is that you will not know how well it performs in your home until you try it out in your home. To think otherwise would be foolhardy at best.
    Buy from Apple and you have a 14 day return privilege in case things don't work as well as hoped. Other stores may offer a similar option. Check first, before you buy.

  • Newbie Alert: Problem with saving downloads to a network drive

    I'm a new Mac user so, I apologize for the newbie question.
    I've have a NAS on my home network. I can see it and access it just fine. I have Firefox set to ask me where I want something downloaded. I don't get the option of putting, say a PDF in a folder on my network storage device.
    I can put it anywhere on the iMac's hard drive or even a USB/Firewire drive but not a network location. In Windows, you'd map a drive and be off to the races.
    How do I do this on a Mac?
    Thank you in advance,
    Rick

    AFAIK, not doable for NAS HDs. Since you're new to Macs, you're going to have erase windoze stuff from you lexicon, check these out:
    Switching from Windows to Mac OS X,
    Basic Tutorials on using a Mac,
    MacFixIt Tutorials, and
    MacTips Learning Centre.
    Additionally, *Texas Mac Man* recommends:
    Quick Assist.
    Welcome to the Switch To A Mac Guides, and
    A guide for switching to a Mac.

  • Im a newbie in java and i need help. im a student

    im an I.T student in Adamson University here in the philippines i went here to ask help about our activity in school about java. our professor told us to make a program in java (btw were using netbeans) that will ask the user his birth year and then the output will tell the zodiac sign of the year entered. she told us (our prof) to make it using showInputDialog. and then to show the output we must use the JOptionPane.showMessageDialog.
    i try to do it but i found myself in trouble bcoz im new in java.
    i try to to it and here's what i did
    import javax.swing.JOptionPane;
    public class Zodiac;
    public static void main(String args[])
    String name=JOptionPane.showInputDialog("Enter your year of birth?");
    String message=String.format("Your zodiac sign is tiger");
    JOptionPane.showMessageDialog(null,message);
    i knew that i need to use conditional statements here but i dont know where to put it and how to declare the JOptionPane.etc.
    pls help me asap im a newbie.

    as you wish heres what i did. this is not a gui version
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package marlonestipona;
    * @author ESTIPONA
    import java.util.Scanner;
    public class Main {
    public static void main(String[] args) {
    Scanner input = new Scanner(System.in);
    int yr1;
    String tgr ="Tiger";
    String dog ="Dog";
    String rbt ="Rabbit";
    String ox ="Ox";
    String drgn ="Dragon";
    String rat ="Rat";
    String pig ="Pig";
    String rst ="Rooster";
    String hrs ="Horse";
    String shp ="Sheep";
    String mky ="Monkey";
    String snk ="Snake";
    System.out.print("Enter your birth year: ");
    yr1=input.nextInt();
    if (yr1==1974 || yr1==1986 || yr1==1998)
    System.out.printf("Your zodiac sign is %s!\n",tgr);
    }else if (yr1==1982 || yr1==1994 || yr1==2006){
    System.out.printf("Your zodiac sign is %s!\n",dog);
    }else if (yr1==1975 || yr1==1987 || yr1==1999){
    System.out.printf("Your zodiac sign is %s!\n",rbt);
    }else if (yr1==1973 || yr1==1985 || yr1==1997){
    System.out.printf("Your zodiac sign is %s!\n",ox);
    }else if (yr1==1976 || yr1==1988 || yr1==2000){
    System.out.printf("Your zodiac sign is %s!\n",drgn);
    }else if (yr1==1972 || yr1==1984 || yr1==1996){
    System.out.printf("Your zodiac sign is %s!\n",rat);
    }else if (yr1==1983 || yr1==1995 || yr1==2007){
    System.out.printf("Your zodiac sign is %s!\n",pig);
    }else if (yr1==1981 || yr1==1993 || yr1==2005){
    System.out.printf("Your zodiac sign is %s!\n",rst);
    }else if (yr1==1978 || yr1==1990 || yr1==2000){
    System.out.printf("Your zodiac sign is %s!\n",hrs);
    }else if (yr1==1971 || yr1==1991 || yr1==2003){
    System.out.printf("Your zodiac sign is %s!\n",shp);
    }else if (yr1==1980 || yr1==1992 || yr1==2004){
    System.out.printf("Your zodiac sign is %s!\n",mky);
    }else if (yr1==1977 || yr1==1989 || yr1==2001){
    System.out.printf("Your zodiac sign is %s!\n",snk);
    } else
    System.out.println("Invalid");
    now my problem is how to turn this whole code into gui using those dialog boxes.

  • ProLoader and TLF TextFields do not work together!

    I'm using ProLoader to load a .swf that uses TLF.  The master .swf loads the target .swf and all code executes as expected with one minor glitch: the content of the loader is white/blank.  Has anyone else seen this!?
    ~~~~~~~~~~~~~~~~~~~~~~~~
    Here is the full bug report that I tried to send Adobe, but they cap reports at 2000 characters and provide no option for uploading a source .zip. (Seriously, Adobe?)  If you have time, and follow my instructions you will see how ProLoader won't even load a .swf with TLF on its stage.  (Yes, I realize this different from my problem, but I'd like to demonostrate how buggy and inconsistent ProLoader is.  The simple solution would be not to use TLF, and mostly likely, I will end up doing that.)
    ******BUG******
    ProLoader loads .swf with TLF, but ProLoader is blank.
    Steps to reproduce bug:
    1.  Download sample files (http://helpx.adobe.com/content/dam/kb/en/141/tn_14190/attachments/Load_External_SWF.zip) from the Tech Note, Load external SWF into another SWF (http://helpx.adobe.com/flash/kb/load-external-swf-swf.html).
    2.  Open ExternalSWF.fla and assign it a document class.
    Here is mine:
    package  {
              import flash.display.MovieClip;
               import flash.events.Event;
              public class ExternalSWF extends MovieClip {
                        public static var DATA_LOAD_COMPLETE:String = "ExternalSWF_DataLoadComplete";
                        private var data_:String;
                        public function ExternalSWF() {}
                        //This function will be called from the .swf that loaded me.
                        public function loadData(data:String):void
                                  data_ = data;
                                  dispatchEvent(new Event(DATA_LOAD_COMPLETE));
                        public function get data():String { return data_; }
    3.  On ExternalSWF.fla's stage, change a classic TextFields into a TLF TextField.
    4.  In Loader_Movie.fla, change all flash.display.Loader instances to fl.display.ProLoader in order to load TLF TextFields.  Also, add an event listener to myLoader for Event.COMPLETE.  Here are my Loader_Movie.fla's Actions:
    import flash.events.Event;
    import fl.display.ProLoader;
    var myLoader:ProLoader = new ProLoader();                     // create a new instance of the ProLoader class
    var url:URLRequest = new URLRequest("ExternalSWF.swf"); // in this case both SWFs are in the same folder
    myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, myLoaderIsLoaded);
    myLoader.load(url);                                     // load the SWF file
    addChild(myLoader);                                     // add that instance to the display list, adding it to the Stage at 0,0
    myLoader.x = 10;                                        // move the loaded SWF 10 pixels to the right (from the left edge)  
    myLoader.y = 175;                                       // move the loaded SWF 175 pixels down from the top
    // (optional) load a second external SWF file
    var my2ndLoader:ProLoader = new ProLoader();
    var url2:URLRequest = new URLRequest("ExternalSWF2.swf");
    my2ndLoader.load(url2);
    addChild(my2ndLoader);                                  // optionally, you could put the 2nd SWF beneath
                                                            // the 1st by using addChildAt(my2ndLoader, 1);
    // (optional) scaling of the 2nd SWF file
    my2ndLoader.scaleX = 2;                                 // scale the SWF horizontally by 200%
    my2ndLoader.scaleY = 2;                                 // scale the SWF vertically by 200%
    function myLoaderIsLoaded(event:Event):void
              trace("The first .swf has loaded so add event listeners");
              var swf:ExternalSWF = ExternalSWF(myLoader.content);
              swf.addEventListener(ExternalSWF.DATA_LOAD_COMPLETE, allFinished);
              swf.loadData("foobar");
    function allFinished(event:Event):void
              trace("Here is the data we loaded: " + ExternalSWF(myLoader.content).data);
    Results:
    [Trace] Output
    ReferenceError: Error #1056: Cannot create property __id0_ on ExternalSWF.
              at flash.display::Sprite/constructChildren()
              at flash.display::Sprite()
              at flash.display::MovieClip()
              at ExternalSWF()
    ExternalSWF is invisible; 4 loading dots appear instead.
    Expected results:
    Both .swfs load without incident.
    Trace output:
    The first .swf has loaded so add event listeners
    Here is the data we loaded: foobar
    Additional notes:
    I discovered this bug when my main/master .swf used ProLoader to load another .swf (with TLF on a symbol in the libary).  In this case, the ProLoader appeared blank/white, not even the 4 loading dots.  However, all the code in both .swfs still ran as expected (shown via the Output panel dumping all expected trace statements until execution finished).
    Environment:
    Adobe FLash Professional CS5.5, Version 11.5.1.349
    (bug discovered while running "Test Movie" in IDE)
    Windows 7 Professional Service Pack 1
    Intel(R) Core(TM)2 Duo CPU  E4600 @ 2.40GHz  2.39 GHz
    RAM: 6.00 GB
    64-bit Operating System

    Do you have anything that uses TLF in your preloader? It's possible that the TLF framework has made your preloader so heavy that it merely appears to not be doing anything, but the actual case is that all that stuff has to load before it can show you anything.
    You may find this helpful http://jeffkamerer.com/blog/2010/08/12/using-a-custom-preloader-loop-with-tlf-text/
    However, I don't really understand why you feel you have to use TLF to bring in the text from Photoshop. I think you must mean PhotoShop PSD's, because PhotoShop PNG's will not contain editable text (though Fireworks ones can). I get Photoshop comps all the time and bring the text in as Classic Text. While it's not an exact match 100% of the time, it's as close a match as you're going to get based on the limitations of Classic text. I think there's no reason for your designers to be redoing the designs--you just need to play around with the import settings and figure out what gets you close and then what tweaks you need to do to get closer.
    And, to answer your question, nearly everyone creates graphics for Flash files in Photoshop, despite Fireworks being the better tool. For whatever reason, designers often aren't very adventurous when it comes to learning new tools, and nearly all art schools teach PhotoShop.
    I also don't have any trouble loading CS5.5 AS3 swfs (no TLF--I just don't need the hassle) with Document Classes using an ordinary Loader. So I think there's something not right about what you're doing if you've come to the conclusion that you can't load a swf with a Document Class. Try scaling back to the bare minimum, then working up.
    Finally, I just don't "get" why people do two things that you're doing (or, I do, but I think it's unnecessary and a colossal failure on Adobe's part)
    Instantiating everything through code. Not only are you wasting an inordinate amount of time/code in specifying layout, you also completely lose the natural capability of Flash to compile assets throughout the whole of the swf. This means you have to have a preloader, because literally everything you ever use is embedded before the first visual frame. Contrast to using the timeline, where all you need to load the visuals for the first frame is the Document Class (which you can keep light by coding to Interfaces) and the visuals for the first frame. Anything else you need to load, you can defer to the frame that you've selected for embedding your AS Classes on.
    Using a preloader at all.
    My preloading strategy is very simple. I put a spinner graphic in the first frame, with the word "Loading." The playhead will stop at the frame that I've specified to use for exporting my ActionScript Classes (10--this provides enough space for the label "Loading" to be readable). When the embedded Classes and whatever is needed to display frame 11 is loaded, the playhead will continue to frame 11 by itself, with no code. On Frame 11, I have a MC that is a named instance, and I have a getter/setter pair to catch it. When the setter triggers, I know I'm ready to start the logic.
    However, you could do all sorts of things, like just putting a MC there that "is" the entirety of your other logic (has what is now the Document Class of the swf you're preloading as its BaseClass).
    Anyway, maybe something in my ramble will help you.

  • 10.5 Server : Standard Installation : Newbie Tutorial /  Setup Walk-Through

    Hello all,
    I recently setup OS X Server 10.5 for a client after doing it many times at my home. I could not have possibly done it without the help of this discussion board so thanks to everyone asking and answering questions!
    To help other server newbies easily setup Server 10.5 (as apple claims), I'm hoping to make a basic installation procedure that will always work for newbies. Right now it's not exactly "detailed" - just the basic steps to ensure success.
    Below is my setup procedure that has worked well for me (especially at my house). It's for a Standard installation; and we'll be setting up the server to include Mail (local only), iChat, VPN, File Sharing, iCal, Web Server/Wiki, Apple Remote Desktop access, and Time Machine (may not work well).
    Please let me know if I'm missing something that will help ensure this setup works as perfectly as possible on any system.
    +to help make sure this works, try using all the names i've used below (besides perhaps user names & passwords); like "server.house"+
    *1) Setup Router*
    • ensure router is properly connected to modem/internet
    • router lan address = 10.0.2.1
    • subnet mask = 255.255.255.0
    • dhcp on
    • dhcp server starts at = 10.0.2.9
    • dhcp server ends at = 10.0.2.99
    • dns server (opendns servers) = 208.67.222.222, 208.67.220.220 (not a completely necessary step, but may help ensure it works)
    • port forward to 10.0.2.2 = vpn (udp: 500, 4500; udp/tcp: 50)
    • port forward to 10.0.2.2 = ard (tcp: 5900, 5988; udp/tcp: 3283)
    *2) Install/Setup Server*
    • startup server computer with installation cd and start installation process
    • choose "Standard Installation"
    • setup administrator account with the following settings:
    user name: Administrator
    short name: admin
    password: admin
    • setup network settings (choose manual configuration):
    manual ip address = 10.0.2.2
    subnet mask = 255.255.255.0
    router = 10.0.2.1
    dns server = 10.0.2.2
    search domain = house
    • primary dns server = server.house
    • server name = server
    +choose all the services and let installation complete; wait until desktop loads+
    Verify things are initially okay:
    • Open safari, and type "server.house" in the address bar (ensure wiki appears)
    Good, now:
    • Download latest 10.5 server combo update, install, restart.
    • Run software update until all updates are installed (may require several restarts)
    • Setup a dyndns account for your server, install dyndns software (make sure it's updating via web and the ip address doesn't start with 10.x)
    *3) Setup Server Preferences*
    • open server preferences
    • go to file sharing: turn on file sharing
    • go to vpn: turn on vpn
    shared secret = somethingsecretive
    ip address range = 10.0.2.101 - 10.0.2.199
    • go to users
    • make new user(s) with all options enabled
    +you should now have all services in server preferences enabled (if not, enable them) and user names setup; for good measure, restart the computer again+
    *4) Setup Client Computers*
    +make sure client computers have all software updates installed before proceeding+
    • Open system preferences: network
    • Make a new location called "Server"
    • Set TCP/IP to DHCP
    • DNS Server = 10.0.2.2
    • Search domain = house
    • Click apply
    It's probably a good time to double check that the internet works - open Safari and google something. Good, it works.
    There are two ways to setup the client computers to connect to the server with basically no manual configuration needed:
    First way:
    Go to system preferences: accounts: select user name to associate with server: select "server account" (if available): enter appropriate info for user on server: wait a bit: restart computer
    or (if "server account" isn't available):
    Second way:
    Open finder: applications: utilities: directory utility. once opened, it should automatically find your server. if it doesn't, click the lock, click "plus sign", type = "open directory", server name = server.house, click ok
    • enter appropriate info to connect to server and ensure it's set to automatically setup all services, once finished - restart.
    *5) If the automatic setup didn't work, here's how to manually setup the client workstations:*
    Safari
    • Open Safari and type "server.house" in the address bar, enter user/pass, make sure it connects to wiki.
    iChat
    • add new jabber account
    • jabber id = [email protected]
    • server = server.house
    • port = 5222
    • kerbos = on (you can leave off if you want)
    You can test by connecting to your Jabber account
    VPN
    • open Network in system preferences
    • click lock
    • click "plus sign"
    • interface = VPN
    • vpn type = L2TP over IPSec
    • service name = server
    • server address = your dyndns address
    • click advanced
    • dns server = 10.0.2.2
    • search domain = house
    • click ok
    • click authentication
    • enter user's server password
    • enter "somethingsecretive" in "shared secret"
    • click ok - click apply
    You can test by clicking "connect" - after verified, disconnect.
    _File sharing_
    • Open finder: click "Server" under "Shared"
    • If it connects as guest, click "connect as"
    • enter your server username/password
    Drag a file to and from a folder to make sure file sharing works
    Mail
    • Add new mail account (imap)
    • Incoming mail server = server.house
    • Outgoing mail server = server.house
    • Outgoing authentication = kerberos 5 (or password)
    • user name = [email protected]
    • enter password
    Check to make sure you get the server welcome e-mail and that you can send email to other users on the server.
    *Time Machine* (very problematic at this time)
    • Open Time Machine in System Preferences
    • Click "options"
    • Eliminate as many folders as possible to keep backup times shorter; click done
    • Click "change disk"
    • Select "Server" disk; click "use for backup"
    ** I highly recommend using local SuperDuper! backups and/or Retrospect for networked backups to the server. Other options include the dot mac Backup application or online backups (google it).
    *If you have PCs on your network that you want to be able to connect to the server for file sharing*
    • Open Windows Explorer (my computer)
    • Click tools: map network drive
    • Enter "\\server\public" (or if you setup a user account on the server for the pc user(s) i think you can use "\\server\pcusername" - and follow the next two steps)
    -Click "connect using different user name"
    -Enter pc user account username/password
    • save settings
    Check to make sure the drive shows up and you can move files to/from server
    Helpful info for newbies setting up server 10.5:
    • Apple's Server Resources page with all manuals
    • Probably the most helpful newbie setup discussion
    • Probably the most helpful newbie setup discussion #2
    • Discussion about DNS
    • "Time Machine is a dog... discussion"
    • Manage Central Address Book discussion
    • Leopard to Windows Files Sharing Issues discussion
    • Lynda's 10.5 Server Training Videos (this does cost money and I haven't personally used it, but it looks very helpful)
    I hope that's a good start for people, but I'm sure some setting(s) can be tweaked or I missed something that could make this process go even more smoothly. Lets make this the definitive newbie standard installation setup tutorial.
    -Brian
    corewerkz

    Hi gikku,
    Good idea! I forgot about the web server port forwarding, that will allow the wiki to be seen over the internet.
    One question: what does adding the dyndns address to "Server Admin > web > settings > sites" actually do? I'm not too knowledgeable about Server Admin.
    Thanks,
    Brian
    corewerkz

  • Using Squiggly with Spark TextArea causes TLF formatting to disappear

    We are using a Spark TextArea component in our application to offer more enhanced text formatting options to our users. Yesterday we downloaded Squiggly since it's the only one available that seems to support the spark components. It is highlighting misspelled words correctly and does have a nice right-click context menu with suggestions, etc. However, when we select a word from the suggestion list and it replaces it in the text area, it seems to replace the entire contents of the textarea as plain text. Any formatting on the text such as bold, italics, font sizes, underlines, all immediately disappear once the misspelled word is replaced. We're using the SpellUI implementation. Below is some of the snippets of the code we're using to implement SpellUI:
    protected function createTextArea():void {
      _textArea = new TextArea();
      _textArea.editable = true;
      _textArea.enabled = true;
      _textArea.textFlow = TextConverter.importToFlow(XML(dataModel.value)[0], TextConverter.TEXT_LAYOUT_FORMAT);
      _textArea.textFlow.flowComposer.updateAllControllers();
      _textArea.addEventListener(FlexEvent.CREATION_COMPLETE, setupSpellCheck, false, 0, true);
    private function setupSpellCheck(event:Event=null):void {
      logger.debug("setupSpellCheck", "Setting up spell check system...");
      _textArea.removeEventListener(FlexEvent.CREATION_COMPLETE, setupSpellCheck);
      resourceManager.localeChain = [localeStr];
      enableSpellCheck();
      enableSpellCheckContextMenu();
    private function enableSpellCheck():void {
      SpellUI.enableSpelling(_textArea, localeStr);
    private function enableSpellCheckContextMenu():void {
      var contextMenu:Object = {add:resourceManager.getString('SquigglyContextMenu', 'add'),
                                             enable:resourceManager.getString('SquigglyContextMenu', 'enable'),
                                             disable:resourceManager.getString('SquigglyContextMenu', 'disable')};
      SpellUI.setSpellingMenuEntries(contextMenu);
    As you can see, we're constructing a new TextArea control and setting it's textFlow by importing an existing textflow XML that we have saved in our database. Once the TextArea has dispatched the FlexEvent.CREATION_COMPLETE, we are setting up the spell check system and everything works ok until you actually correct a misspelled word by selecting it from the right-click suggestions list. The text initially imported may have any number of styles applied to it as I mentioned above. Once the spelling replacement occurs, all the formatting is wiped out for the entire text area.
    Any thoughts?
    -Jason Kringen

    Just to give some more details, here's the TextFlow output from our TextArea before using the spell check word replacement:
    <TextFlow columnCount="inherit" columnGap="inherit" columnWidth="inherit" lineBreak="inherit" paddingBottom="inherit" paddingLeft="inherit" paddingRight="inherit" paddingTop="inherit" verticalAlign="inherit" whiteSpaceCollapse="preserve" xmlns="http://ns.adobe.com/textLayout/2008"><p direction="ltr" justificationRule="auto" justificationStyle="auto" leadingModel="auto" paragraphEndIndent="0" paragraphSpaceAfter="0" paragraphSpaceBefore="0" paragraphStartIndent="0" textAlign="start" textAlignLast="start" textIndent="0" textJustify="interWord"><span>Text goes in here. </span><span alignmentBaseline="useDominantBaseline" backgroundAlpha="1" backgroundColor="transparent" baselineShift="0" breakOpportunity="auto" cffHinting="horizontalStem" color="#000000" digitCase="default" digitWidth="default" dominantBaseline="auto" fontFamily="Arial" fontLookup="embeddedCFF" fontSize="28" fontStyle="normal" fontWeight="bold" kerning="auto" ligatureLevel="common" lineHeight="120%" lineThrough="false" locale="en" renderingMode="cff" textAlpha="1" textDecoration="none" textRotation="auto" trackingLeft="0" trackingRight="0" typographicCase="default">misspeled</span><span> jhkjd het </span></p></TextFlow>
    And here is the TextFlow output immediately after replacing a misspelled word:
    <TextFlow columnCount="inherit" columnGap="inherit" columnWidth="inherit" lineBreak="inherit" paddingBottom="inherit" paddingLeft="inherit" paddingRight="inherit" paddingTop="inherit" verticalAlign="inherit" whiteSpaceCollapse="preserve" xmlns="http://ns.adobe.com/textLayout/2008"><p><span>Text goes in here. misspeled jhkjd get </span></p></TextFlow>
    So it's obviously stripping out all of the TLF formatting and simply leaving the blank <p> and <span> tags without any of the formatting details.

  • Real newbie-I can hear my loops in my library, but when I drag them to a track, there is no audio.  What am I doing wrong?

    Real newbie question-I can hear the loops in my library, but when I drag them to a track, there is no audio when I playback or record.  What am I doing wrong?

    You probably put Midi loops (green) on audio tracks, and audio loops (blue) on Midi tracks.
    That won´t play.
    JanD

  • Dont know why these buttons dont work (newbie)

    hi this is a procedure that activates/deactivates buttons
    accordingly to the record number..
    but it doesnt work, does any1 know why....
    sory but a newbie...
    calling the procedure in
    WHEN-NEW-RECORD-INSTANCE
    BEGIN
    BUTTON_CONTROL;
    END
    /*This is the Procedure*/
    PROCEDURE BUTTON_CONTROL IS
    BEGIN
    if :system.last_record = 'TRUE' and :system.cursor_record
    = '1' then
         set_item_property('button_palette.NEXT', enabled,
    property_off);
         set_item_property('button_palette.PREVIOUS', enabled,
    property_off);
    elsif :system.last_record = 'TRUE' then
         set_item_property('button_palette.NEXT', enabled,
    property_off);
         set_item_property('button_palette.PREVIOUS', enabled,
    property_on);
    elsif :system.cursor_record = '1' then
         set_item_property('button_palette.NEXT', enabled,
    property_on);
         set_item_property('button_palette.PREVIOUS', enabled,
    property_off);
    else
         set_item_property('button_palette.NEXT', enabled,
    property_on);
         set_item_property('button_palette.PREVIOUS', enabled,
    property_on);
    end if;
    END;

    hi master
    please guid me where you define that procedure i need that
    please guid me event name or sample code
    thanking you

  • Binding to Active Directory Problem. I am a Newb! probably something stupid

    Hey All,
    Trying to get my apple xsever to join our windows domain. I got it to bind and the user accounts show up on the machine but then it askes me to join it to the Active Directory Kerberos realm. I am confused.
    what i am trying to do is joint it to the windows domain for my admin account on the actual server and then set up local user accounts on the machine so when my mac users log in they authenticate using the local mac account and not the windows domain account. Does this make sense? From what i read macs authenticate using the local account before going to the windows account which is what i want. I am a total newb to this so forgive me for the stupid questions.
    cheers all,
    jess

    Hi
    set up the xserve as an Open directory Master
    will it place nice on the network
    with the rest of the windows servers that we have.
    There should be no problem in doing this. All you need to do is decide whether you want your Mac Server to run its own DNS Service or to use the existing DNS service being provided by the AD Server. Open Directory Master requires DNS Services running somewhere.
    i just want to have a mac studio of about 35 people be
    kind of an island within a sea of windows users. If
    there can be cross over there then fine.. but really
    i want the mac to work well with the apple server and
    if i can get the windows clients hooked up also then
    fine.
    There should be no problem with this.
    When you say studio do you mean a graphics design studio? Or are you talking about a video production studio? If the answer is yes to either one or both then perhaps a simple file server would do. An Open Directory Master is OK in this environment but your network needs to be up to job. Ideally gigabit ethernet certainly for video production and also if your studio are heavy photoshop users. You could get away with 100Base-T but with 35 heavy users editing files stored on the server as well as Home folders it may be a bit too much. If this is the situation in your studio you would be better placed working locally and saving the files back to the server at the end of the day. You would set up your users with names and passwords in the OD directory node. Your studio can use those account details to log on to the server to access share points but still work locally if they need to. If you start windows services on the mac server then there should be no reason for windows clients to access share points on the mac server as well. Be careful how you configure windows services as you already have existing PC servers on the network.
    As you have already stated your aim is to keep the macs completely separate from the PCs then consider connecting all your macs to a separate switch and have them running of a different IP address range and subnet mask. You could then use an intervening router to handle traffic between the two networks, this way you control cross platform access to shared resources. If you understand networks, routers etc then you should be able to accomplish this without too much trouble. Again searching the Server forums should give you plenty of ideas and advice on the best way to achieve what you want. As ever defining and deciding what you want you want the server to do is half the problem.

  • Mac pro 2.66, 2 new seagate drives raid 0, newbie, not sure if a problem...

    Hi,
    I'm a relative newbie--just got a mac pro 2.66 and added two additional seagate sata 7200.10 500 gig drives that I striped together using disk utility and set at 0. My intention? to do video and animation editing and use the additional satas to read/write my data on, as I create it (I'm planning on doing routine backups to DVD's)
    My potential problem: Just to test it, I put a couple of word docs that I'm updating/writing on it. If I don't type for a while (say 15 minutes), when I do type and save, it takes a a while (maybe 30 seconds and yes, get a rolling ball) to save. After that, saving is instant. Is there a sleep issue with this? There are no systems on the striped satas. I'm using 10.47, btw.
    Anybody know why? are my disks just bad? aside from the initial save problems, they're fine.
    mac pro 2.66   Mac OS X (10.4.7)  

    I would hope it is not a firmware issue with Seagate. There have been some, and make sure your drives are set to NEVER spin-down in Energy control panel (system preferences).
    That is 1TB almost of storage - to backup - and as one huge volume. It is possible to first partition the drives, then stripe like to like partitions into RAID also (if you wanted to be able to erase a volume, or keep some files separate, not everyone does).
    It can also help to zero a drive first, or make sure that the drive is suitable for RAID (seems most but not all are). There have been reports here, or on Barefeats, as well as on http://www.xlr8yourmac.com about drive issues. OWC is now updating the firmware on some Seagate model drives.

  • Newbie questions: 'extracting' values from a single column. Is it possible?

    Hello everybody,
    I'm a pretty newbie user of BI 11. I would like to know if it's possibile to aggregate values by filtering different values in a same column. As my English is quite bad, let me summarize my problem with an example:
    Column A - Number of Recevived Calls -- Column B Caller's Satisfaction Rating
    A: 12 - B: Good
    A: 25 - B: Average
    A: 100 - B: Perfect
    A: 35 - B: Not good enough
    I would like to be able to do some math with single scores as, for instance, to group together good, average and perfect scores and remove the not good enough scores, or, another example, I'd like to calculate the percentage of GOOD ratings on the total number of calls.
    Anyone can help me? I'm a simple user of the BI frontend, so I don't have access to the underlying database structure.
    Sorry for any mistake I made in my English writing and Thanks a lot in advance.

    I assume Column A is a measure. In the edit formula for this column, highlight the column and filter it based on column B. For example you might to filter all the calls for 'Good' then you may divide it by total no of calls or something similar. It might look something like this -- Filter(table.column A USING (table.Column B = 'Good'))/Sum(table.columA)
    you might want to use a combination of case statements as well depending on what you want to achieve.
    for example -- case when table.column B='GOOD' then sum(table.column A) else (sum(table.column A)/(case when table.column B='BAD' then sum(table.column A) end))end
    Give it a try, hope this helps.

  • Hi newbie here  . .

    Hi everyone
    (Sorry if this post is in the wrong thread but am just getting sorted).
    Newbie here and having just swapped from a Windows machine to my mac I am finding a problem with itunes.
    Please in words of one syllable . . could some one please say if using the "Open Stream" in advanced icon will allow me to connect to BBC local radio?
    If so, please could they say how?
    Ta
    ibook    

    Hi Macadam_ace,
    Welcome to Apple Discussions
    Do they have their show on the internet? The iTunes Help document says,
    "If you know the Internet address (URL) of an MP3 streaming broadcast, you can connect to it using iTunes.
    Choose Advanced > Open Stream.
    Enter the full URL of the file you want to listen to. For example, http://www.apple.com/itunes/sample.mp3."
    I hope that helps,
    Jon
    Mac Mini 1.42Ghz, iPod (All), Airport (Graphite & Express), G4 1.33Ghz iBook, G4 iMac 1Ghz, G3 500Mhz, iBook iMac 233Mhz, eMate, Power Mac 5400 LC, PowerBook 540c, Macintosh 128K, Apple //e, Apple //, and some more...  Mac OS X (10.4.5) Moto Razr, iLife '06, SmartDisk 160Gb, Apple BT Mouse, Sight..

  • Mac Mini Newbie + Viewsonic VX2450WM monitor.  Need HDMI to DVI adapter?  What cords needed?

    Mac Mini Newbie here.
    Getting the Viewsonic VX2450WM monitor for it. There is no HDMI on this monitor, but reviews said it's Mac mini compatible. 
    Do I need to get an additional cord?  HDMI to DVI adapter cable? Does the supplied short white cord inside Mac Mini packaging suffice?
    Thank you!
    Art

    No, the HDMI on Mini only support digital VGA is analogue
    Can the HDMI port drive analog displays (VGA displays for example) using adapters?
    No.  The HDMI port will drive digital connections—such as DVI—using the adapter that came with the Mac mini, but cannot be used for analog displays such as VGA. You can purchase a Mini DisplayPort to VGA adapter separately to drive analog displays.
    The above is from
    Mac mini (Mid 2010) and later: Frequently asked questions about HDMI
    SKDiver wrote:
    It doesn't.  I think we need an HDMI to VGA adapter.  I'm not sure and waiting for help!
    Earlier Minis did not have HDMI port

  • My app store is not working after installing mavericks. When I open app store it repeatedly asking me to login with apple ID and to provide User name and Password for proxy authentication in a loop.I am a newbie to mac,Please help me.

    My app store is not working after installing mavericks. When I open app store it repeatedly asking me to login with apple ID and to provide User name and Password for proxy authentication in a loop.I am a newbie to mac,Please help me.

    Hmmmm... would appear that you need to be actually logged in to enable the additional menu features.
    Have you tried deletting the plists for MAS?
    This page might help you out...
    http://www.macobserver.com/tmo/answers/how_to_identify_and_fix_problems_with_the _mac_app_store
    Failing that, I will have to throw this back to the forum to see if anyone else can advise further.
    Let me know how you get on?
    Thanks.

Maybe you are looking for

  • CVP 7.0(2) not creating correct string to send to VXML Server

    Hello, When running CVP 7.0(2), has anyone run into an issue with CVP still attaching the [locale]/[app_media_lib] when setting app_media_lib = ".." in the ICM script? http://1.1.1.1:7000/CVP/en-us/../Server?application=HelloWorld resulted in a bad f

  • ITunes won't automatically open

    When syncing my iPhone, on my phones page I have the box checked to open iTunes when phone is plugged in but it's not opening. Why not?

  • Duplicating a photo

    It ought to be easy, but with my new iPhoto '08 I cannot duplicate a photo. When I select a photo, the Duplicate command is greyed out. When I try to edit, once again the Duplicate command isn't available. What am I missing?

  • Why does FF restore my last session after a crash, when "resume from crash" is set to false?

    Here is what's in about:config: browser.sessionstore.resume_from_crash;false The documentation says this shouldn't happen.

  • Lost connection to mobileme galerie

    Today suddenly iphoto lost on one album the connection to mobileme galerie. The content is still on the web, but the ( sync ) folder in iphoto is empty. If i drag a new photo/movie , actually this folder contains movies, to the folder it will upload