How do I apply textFormat to a single line in a textField.

I have very little experience with text in flash. In a dynamic text field I know I can apply a TextFormat to the entire field but can I apply different fromatting to individual workd in the field if for example I wanted to make a word or a few words of text a hyperlink within a textfield.  Can I do that or would I need to use html text?

use setTextFormat().  it accepts a 2nd and 3rd parameter that you can use to assign a textformat to part of a textfield.

Similar Messages

  • How to show 250 characters in a single line.

    Hi,
      How do I store 250 characters in an infoobject? (An Infoobject can be of 60 characters only)
    I can certainly store using 5 different infoobjects but my requirment is that the text should be visible in a single line while executing a report.
    Regards
    Augustine

    Hello!
       here is a solution from previous posts.
    You may want to try this workaround:
    "Create two 60 CHAR length InfoObjects and adding them as attributes to the InfoObject you originally created (say ZIO_1). Populate long texts (in your case, up to 100 CHAR) to the master data of ZIO_1. You need to make ZIO_1 values unique. That works for me where I need to store up to 480 CHAR for comments"- Bill Wu
    and  a link to one more thread
    Re: Bypass 60 char limit
    hope this helps
    with regards
    ashwin

  • How to give the parameter in a single line

    hi,
    i am working on reports, i have declared the parameter as radio button, how to have the radio button in a single line.
    somethink like this
    radiobutton1, radiobutton2, ....

    Hi Anitha,
    1. Comments
      u will also need to give comments/captions
      (on the left of the radio button)
    2. try this (just copy paste)
    REPORT abc.
    selection-screen begin of line.
    selection-screen comment 10(20) text-001 for field b.
    parameters : b  radiobutton group g1.
    selection-screen comment 40(10) text-002 for field d.
    parameters :            d  radiobutton group g1.
    selection-screen end of line.
    regards,
    amit m.

  • How to add form values into a single line...

    How can we add numerous form values (say surname, first name and middle initial) into a single line? thanks in advance^^  

    You can use the "+" operator which is both the addition (number) and concatenation (string) operator. JavaScript makes the decision about how this operator will work by the type of the value of being processed. Two numbers JavaScript performs addition, character string and number, number and character string, or 2 character strings then concatenation.
    If you just use the '+' operator and spaces, you will get extra spaces unless you add code to allow for null fields and adjusting the spacing or other punctuation as needed. You may also need to force numeric values to character stings or you might end up with an addition and not concatenation.
    Adobe provided a example of a funciton to properly join 3 fields with full versions of Acrobat:
    function fillin(s1, s2, s3, sep) {
      // Concatenate 3 strings with separators where needed
      // convert passed strings to a string value
      s1 = s1.toString();
      s2 = s2.toString();
      s3 = s3.toString();
      // assign a numeric value for presence of a given string(s)
      var test = 0; // no passed strings
      if (s1 != "") test += 1; // s1 has a value
      if (s2 != "") test += 2; // s2 has a value
      if (s3 != "") test += 4; // s3 has a value
      // return appropriate combination based on passed strings
      if (test == 0) return ""; // no stings passed
      if (test == 1) return s1; // s1 only
      if (test == 2) return s2; // s2 only
      if (test == 3) return s1 + sep + s2; // s1 and s2
      if (test == 4) return s3; // s3 only
      if (test == 5) return s1 + sep + s3; // s1 and s3
      if (test == 6) return s2 + sep + s3; // s2 and s3
      if (test == 7) return s1 + sep + s2 + sep + s3; // s1, s2, and s3

  • How can I output 01001001 on a single line?

    Hello,
    I am trying to output a binary address on a single channel using a USB6363 DAQ. I have tried using DAQmx, arrays, I looked at the examples, and I probably just am too new to Labview to understand how to adjust the examples for my use. I attached the code I am currently working with, but any suggestions on how to achieve this would be incredibly appreciated. 
    Thank you!
    Attachments:
    Address output.vi ‏12 KB

    You want to perform a Digital Output, Single Channel, Multiple Samples DAQmx Write. This will allow you to specify the array. I don't have LabVIEW with me at the moment, so I can't see what you've done so far.
    Try and check out this example I made which explains how to generate these types of digital signals with a DAQ device.
    https://decibel.ni.com/content/docs/DOC-19277
    This uses a similar implementation as well:
    https://decibel.ni.com/content/docs/DOC-22938
    You'll see on the document page an example of the kind of DAQmx task you need to configure.
    Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

  • How to configure Two Tax Codes for single line item in work order

    Hi All,
    Please do Review the below scenario and tell me how to solve it.
    A) Certified Work Done Gross Bill Amt      100,000      
    Total Work Done Value      100,000      
    Less : Labour & Like Charges @ 30 % on Rs 100,000 =  30,000      
    Vat applicable Amount =      70,000      
    Add VAT @12.5%  Chargeable on Taxable Turnover of Rs. 70,000.00     = 8750
    Total Bill Value = 108750
    Service Tax @ 12.36% on 33% Value of Rs. 100000     = 4079
    G.Bill Amt = 112829
    Total Amt Due for Payment = 112829

    HI,  There is a possible solution for this scenario.
    1. Create 2 tax codes for VAT and SERVICE Tax at 12.5% and 12.36% respectively
    2. While posting the Invoice (TRX - FB60) following steps need to be followed.
    3. Amount has to be split into two line items
    4. Ist Line Item should have the Vat amount + 70000/- and select relevant tax code that was
        created for 12.5%
    5. Similarly 2nd Line Item should have Service Tax amount + 30000/- and select relevant tax code that    
        was created for 12.36%.
    Hope this would meet your requirement. If the solution is okay, kindly indicate the points.
    Regards
    K.Sanjai Babu

  • How to place two checkboxes in a single line.

    Hi all,
        In selection screen , how we place two checkboxes
    with labels in a sigle line.
    Regards,
    bala.

    hi,
    chk this.
    chk this.
    SELECTION-SCREEN: BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-001.
    SELECTION-SCREEN: BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(3) TEXT-003
    FOR FIELD P_Chk1.
    SELECTION-SCREEN POSITION 30.
    PARAMETER: P_chk1 AS CHECKBOX.
    SELECTION-SCREEN POSITION 35.
    PARAMETER: P_chk2 AS CHECKBOX.
    SELECTION-SCREEN: END OF LINE.
    SELECTION-SCREEN: END OF BLOCK B2.
    rgsd
    anver
    if hlped mark points

  • How to calculate Time difference for a single line item

    Hi All,
    I have an issue where you have to calculate the Start time and End Time , Start Date and End Date for a particular Work item number
    For eg ;
    WI_ID WI_CD WI_CT
    000001312610 02/09/2009 09:48:4 02/09/2009 09:48:9
    000001312610 02/09/2009 09:54:4 02/09/2009 09:54:9
    000001312610 02/09/2009 09:54:5 02/09/2009 09:54:9
    000001312610 02/09/2009 10:07:0 02/09/2009 10:07:9
    000001312610 02/09/2009 10:07:0 02/09/2009 10:07:9
    000001312610 02/09/2009 10:16:5 02/09/2009 10:16:9
    000001312610 02/09/2009 10:16:7 02/09/2009 10:16:9
    Similarly I get the Endtime and ENd dayfrom other table for same work item.So my requirement here is
    in the it should show the display in a single cell .as, 5secs, 5 secs,4 secs,9secs,4 secs,2 secs
    for each work item.
    Can any body help me on this issue.
    Any pionters for this are much helpful for me.
    Thanks
    Rohini.

    Timestamp is date and time together in one field..
    Search for data element TIMESTAMP.
    If you are getting this in your table.
    If you are getting time and date in different fields then you can use the function module
    given below....
    CALL FUNCTION 'DELTA_TIME_DAY_HOUR'
      EXPORTING
        t1            =
        t2            =
        d1            =
        d2            =
    IMPORTING
       MINUTES       =
    Then you can convert minutes into seconds..
    Function module credit to BrightSide it works....but only it will give difference in minutes
    Regards,
    Lalit Mohan Gupta.

  • How do we apply receipts to specific invoice lines using LOCKBOX?

    Hi,
    Can we apply a receipt to a specific invoice line using LOCKBOX?
    I mean this......
    we have INV123 with three line L1, L2 and L3.
    I want to apply RCT123 to L2 of INV123.
    Is this possible with LOCKBOX?
    Ketha

    Hi,
    Can we apply a receipt to a specific invoice line using LOCKBOX?
    I mean this......
    we have INV123 with three line L1, L2 and L3.
    I want to apply RCT123 to L2 of INV123.
    Is this possible with LOCKBOX?
    Ketha

  • HOW TO CREATE 2 PARAMETER IN SINGLE LINE.

    Please do NOT POST IN ALL CAPITALS
    HI,
    HOW TO CREATE TWO PARAMETERS IN A SINGLE LINE AND THE INPUT HAS TO BE DISPLAYED IT IN A POP UP BOX. THIS IS MY TRAINING TASK HELP ME TO SOLVE IT.
    REGARDS,
    SREERAM
    Edited by: Matt on Mar 19, 2009 1:26 PM

    hi,
    SELECTION-SCREEN BEGIN OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(10) text-001.
    PARAMETERS:
    p_carrid TYPE spfli-carrid.
    SELECTION-SCREEN COMMENT 30(10) text-002.
    Parameter p_connid TYPE spfli-connid.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK b1.
    Radio buttons in a single line.
    SELECTION-SCREEN BEGIN OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(10) text-001.
    PARAMETERS p_rad RADIOBUTTON GROUP grp.
    SELECTION-SCREEN COMMENT 30(10) text-002.
    Parameter p_rad1 RADIOBUTTON GROUP grp.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK b1
    Thanks
    Sharath

  • How do I delete a single line in a WAD input layout?

    Hello to all,
    I've created a standard delete function and I don't know how to "data bind" it to a single line of my web layout in order to only delete the selected line.
    Can anyone please help and explain how to do it?
    Thanks in advance for your help.
    Best regards,
    Francesco

    Hi Francesco,
    have never done this before using a delete function but for similar planning requirements. Just give it a try with this procedure:
    At WAD you can set the behavior for each analysis item individually. If you set the "row selection" (analysis item, properties, web items parameters) for the rows to "single" or "multiple" the user can select rows (probably this is nothing new to you).
    Just imagine you have the variable "product" in the row of your query. In this case just create a variable for this characteristic. In doing so you can use the variable within your delete function or within the planning filter belonging to this function for the characteristic "product". The last step is to "link" the characteritic value(s) of the selected rows  to the planning function/filter. If you implement the planning fuction or the planning sequence in WAD you can do a data binding for the variable(s) as follows:
    Variable: (name of your variable)
    Variable type: Selection_binding_type
    Binding type: item_characteristic
    Web Item: (technical name of your selectable analysis item)
    characteristic: (name of your characteristic)
    Please keep us updated if it works, for questions just let us know.
    Brgds,
    Marcel

  • GREP search for single line paragraphs, CS3

    I need to find all single line paragraphs, apply a paragraph style to them and apply that style's "next style" to the next paragraph.
    Is there any way to do this using GREP?
    Thanks

    This script will do what you ask. Just change the name of the head paragraph to whatever yours is in line 11:
    //DESCRIPTION: Apply Head Style to single-line paras with Next Style in Selected Story
    (function() {
      if (app.documents.length > 0 &&
            app.selection.length == 1 &&
              app.selection[0].hasOwnProperty("baseline")) {
      var myStory = app.selection[0].parent;
      var myParas = myStory.paragraphs;
      for (var j = myParas.length - 1; j >= 0; j--) {
        if (myParas[j].lines.length == 1) {
          myParas[j].appliedParagraphStyle = "H1";
          try {
            myParas[j+1].appliedParagraphStyle = myParas[j].appliedParagraphStyle.nextStyle;
          } catch(e) {} // last para has one line, so ignore
    } else {
       // No document open
       alert("Please select some text and try again.");
    To use the script, copy it from here into an ExtendScript Toolkit document (you'll find that in the Adobe Utilities folder). Save the document into an appropriate folder and run the script from the Scripts panel with a live insertion point in the story.
    To work out where to save the script, open the Scripts panel and then use Reveal in Explorer to find the User Scripts Panel folder.
    If your heading style isn't at the top level in your Styles panel, temporarily move it there.
    Dave

  • How do you apply Single Responsibility principle to a repository

    I am trying to apply "SOLID" whenever I can and try to use common sense and avoid a pattern when I see that a pattern is creating more problems than it's trying to solve. I don't want to apply a pattern and make life difficult for somebody else using
    my code just for the sake "I write patterns" if you see what I mean.
    Now I am struggling with one of the principles that I thought was the easiest to grasp: "SRP".
    How do you practically apply this principle to repositories?
    Let's suppose I have a
    IEmployeeRepository
    IUserRepository
    IProductRepository
    and commonly they will have methods like these:
    public interface IUserRepository
    User GetUser(int id);
    IEnumerable<User> GetAllUser();
    void DeleteUser(int id);
    same for employees and products.
    Are we saying that each of these method should be a class on it's own? even though at times we are talking a single line of code?

    Hello,
    "Are we saying that each of these method should be a class on it's own? even though at times we are talking a single line of code?"
    interface is not a method. It has its own definition and you can refer to here:
    http://msdn.microsoft.com/en-us/library/87d83y5b.aspx
    Any from your question I think you may still confused about the usage of interface. In this way, I will recommend you have a look at the following blog:
    http://www.codeproject.com/Articles/18743/Interfaces-in-C-For-Beginners
    "Interfaces in C # provide a way to achieve runtime polymorphism. Using interfaces we can invoke functions from different classes through the same Interface reference, whereas using virtual functions we can invoke functions from different classes in
    the same inheritance hierarchy through the same reference"
    With the blog you can check that code to see details about how to use interface.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • In powerpoint mac 2008, how do i apply a theme to a single slide without it changing other slides' themes in the powerpoint?

    In powerpoint mac 2008, how do i apply a theme to a single slide without it changing other slides' themes in the powerpoint?
    <Edited by Host>

    As PowerPoint is not an Apple product (a lot of Mac users avoid Microsoft stuff) you may get faster and better help by using the MS Office:Mac forums here:
    Office for Mac forums

  • How do I apply programmatic skins for completely custom drawn components of a Flex library project?

    Hello folks,
    I am looking for best practices advice when (1) creating
    custom components and (2) styling and skinning.
    I already know how to skin a component part of the Flex
    framework. I can make a class extending ProgrammaticSkin and have
    my component skinned using CSS to link the component with the
    reference to my custom class.
    However what about those cases when you are completely
    creating a component from scratch?
    Imagine a "Freehand Drawing Canvas" component that allows the
    user to draw on it and has some buttons to set color styles, line
    styles, etc., or imagine a "Screen Flow Gallery" component that
    displays visual objects in a fashion similar to Cover Flow in the
    Mac.
    In many components I am aware you may reuse other components
    part of the Flex framework but I am trying to picture an scenario
    where you would need to draw everything yourself because there just
    isn't something to base it upon so you will end up drawing it from
    scratch.
    To learn how instead of building one of those components I
    mentioned previously I decided to start with something simple that
    would illustrate this like a LiteButton component that will behave
    just like the Flex mx.controls.Button but will extend UIComponent
    and be completely custom drawn.
    The component will have a default look and will also be
    style-able and skin-able. I will provide styles for users of the
    component to modify and regarding skinning anyone can create a
    custom ProgrammaticSkin adding its own drawing logic and link it to
    the component via CSS with the ClassReference applied to the skin
    selector.
    So far so good and it's clear what I want to achieve. I
    actually know how to do most of the stuff here but I have one
    single problem.
    Here is my question, where should I put my custom drawing
    logic? If I do it in the updateDisplayList inside the class
    extending UIComponent it works, however I thought that it would be
    a better practice to do it using programmatic skins, that way I
    could provide different skin themes for my component set.
    The problem is that I can't make the programmatic work in
    this scenario. I tried instantiating the custom programmatic skin
    during the updateDisplayList of the LiteButton component and adding
    it to my display object via addChild but that didn't do anything. I
    also tried creating a "default.css" stylesheet and tried to use
    ClassReference as I would normally do to skin an already existing
    component (or composite component as well) but that didn't do
    anything either.
    So how do I apply programmatic skins for completely custom
    drawn components of my Flex library project?
    I could do it inside the updateDisplayList of the LiteButton
    class extending UIComponent but again I would like to provide
    different theme sets for my components so it makes sense using
    programmatic skins.

    "jbucaran" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hello folks,
    >
    > I am looking for best practices advice when (1) creating
    custom components
    > and
    > (2) styling and skinning.
    >
    > I already know how to skin a component part of the Flex
    framework. I can
    > make
    > a class extending ProgrammaticSkin and have my component
    skinned using CSS
    > to
    > link the component with the reference to my custom
    class.
    >
    > However what about those cases when you are completely
    creating a
    > component
    > from scratch?
    >
    > Imagine a "Freehand Drawing Canvas" component that
    allows the user to draw
    > on
    > it and has some buttons to set color styles, line
    styles, etc., or imagine
    > a
    > "Screen Flow Gallery" component that displays visual
    objects in a fashion
    > similar to Cover Flow in the Mac.
    >
    > In many components I am aware you may reuse other
    components part of the
    > Flex
    > framework but I am trying to picture an scenario where
    you would need to
    > draw
    > everything yourself because there just isn't something
    to base it upon so
    > you
    > will end up drawing it from scratch.
    This may help with that
    http://livedocs.adobe.com/flex/3/html/help.html?content=skinstyle_3.html
    > To learn how instead of building one of those components
    I mentioned
    > previously I decided to start with something simple that
    would illustrate
    > this
    > like a LiteButton component that will behave just like
    the Flex
    > mx.controls.Button but will extend UIComponent and be
    completely custom
    > drawn.
    >
    > The component will have a default look and will also be
    style-able and
    > skin-able. I will provide styles for users of the
    component to modify and
    > regarding skinning anyone can create a custom
    ProgrammaticSkin adding its
    > own
    > drawing logic and link it to the component via CSS with
    the ClassReference
    > applied to the skin selector.
    >
    > So far so good and it's clear what I want to achieve.
    Actually after
    > playing
    > with the weekend and today I know how to do most of the
    stuff but I have
    > one
    > single problem. So here is my question, where should I
    provide my custom
    > drawing logic? If I do it in the updateDisplayList
    inside the class
    > extending
    > UIComponent it works, however I thought that it would be
    a better practice
    > to
    > do it using programmatic skins, that way I could provide
    different skin
    > themes
    > for my component set.
    These aren't mutually exclusive. When you provide a skin with
    a
    TypeSelector, you have to add it to the display list
    somewhere, and this is
    typically done in updateDisplayList or addChildren. I prefer
    to do it in
    updateDisplayList, because you can then change it if the
    style changes.
    > The problem is that I can't make the programmatic work
    in this scenario. I
    > tried instantiating the custom programmatic skin during
    the
    > updateDisplayList
    > of the LiteButton component and adding it to my display
    object via
    > addChild but
    > that didn't do anything.
    Exactly what did you do?
    > I also tried creating a "default.css" stylesheet and
    > tried to use ClassReference as I would normally do to
    skin an already
    > existing
    > component (or composite component as well) but that
    didn't do anything
    > either.
    I've never had any problem using an approach similar to
    this...but I will
    say that I couldn't see any advantage in creating a
    default.css style sheet,
    since it's not really default in the way that the one that
    comes with Flex
    is. It's much more obvious to anyone using your component
    what's going on
    there if you create a style sheet where they're likely to
    spot it.
    > So how do I apply programmatic skins with the default
    look for custom
    > drawn
    > components?
    It seems like your approach is fine, but maybe you've made a
    mistake in your
    implementation.
    > I could do it inside the updateDisplayList of the
    LiteButton class
    > extending
    > UIComponent but again I would like to provide different
    theme sets for my
    > components so it makes sense using programmatic skins.
    You might want to consider also adding an instance of
    HaloBorder to your
    component. That brings a lot of functionality with it.
    HTH;
    Amy

Maybe you are looking for

  • Applicatio​n builder cRIO

      Dear, I have a project which use the cRIO 9102. There are: - the main VI one the Host computer                   - One VI on the FPGA target I would like created Regards   Massif

  • Total monthly cost (broadband AND line rental)

    Hi, I'm really struggling with how to find out what my total monthly bill is for the BT package I have (monthly charges, in full, don't seem to be on MyBT). I need to speak to an actual person - does anyone have a number to call which gets you throug

  • Apple preview edit menu

    I'm trying to use Apple Preview to make notations on a JPG screenshot for a website my company is designing. This used to work great. Now the edit button -- it looks like a pen -- is grayed out so I can't use it. When I click the briefcase button I s

  • Nikon D300 - Unsupported Image Format - intermittently!!!

    Suddenly, I get intermittent displays of the maroon screen with Unsupported Image Format when displaying .NEF files which have worked fine before. I see that others may have had this too...but could not find a definitive cause or solution...yet. I am

  • When try to connect as Guest get Connection Failed - There are no shares ..

    When trying to connect across home network to MacBook from a MacBook Pro when I try to sign in as Guest I get a Connection Failed error - There are no shares available or you are not allowed to access them... error. If I connect as a Registered User