Font dropdown to change dynamic text box?

Hello, pretty new to Flex... well very! First Day! The MXML
seems pretty simple enough but having some trouble i guess on the
actionscript side! I want to create a very cut down version of a
text editor. Very cut down! 2 textboxes one input the other
dynamic... type some text in one it outputs to the other. Easy! but
now i want to add a drop down with embeded fonts... ive embeded my
fonts and there working fine. But i want to apply each font style
to my options in the drop down (bit like the system fonts drop down
examples you see) im making my combobox from an ArrayCollection
with aload of Strings. i also want a function to change the font
type on my dynamic textbox from a dropdown option click="" if that
makes sense. Bit confused think i might b looking into it to
deeply. Its just simple for a customized car license plate
builder... i want them to have the ability to enter there
registration and change the font and color etc. Can anyone point me
or show me something im a bit flexed out... sure im being silly
about this!
Regards

Check out your Text Frame Options - select the frame and go to Object>Text Frame Options
Then go to the Baseline Tab
Then check out the First Baseline Option - and turn on the preview to view your changes.
That will give you the option to have X height, Cap Height, accent etc.
If you want to get right out the edge of a frame on the left side then check out the Window>Types and Tables>Story and turn on optical alignment, that will allow punctuation to hang out side the text frame, not only that but the arms of "T" and letters like that will also extend past the frame edge, with a negative value.

Similar Messages

  • How do you change the font color in CALL-OUT text boxes in PRO XI?

    How do you change the font color in CALL-OUT text boxes in PRO XI?

    It's not so simple to find it if you don't know what you're looking for... But it can be found via View - Show/Hide - Toolbar Items - Properties Bar.

  • Dynamic text boxes, font size issues

    I have created a dynamic text box and an input text box.
    I have produced code that replicates whatever is typed in the
    input box to display in the dynamic box along with a date and time
    stamp once a button is clicked.
    This all works fine, except for the sizes of the fonts. for
    both boxes, i selected font size 10 . The input box is fine,
    however the dynamic box text is huge.
    When i make the dynamic text font smaller, it fits in fine,
    but the input text that is inserted into the dynamic text box comes
    in too big. If i make the input text box font smaller it is
    unreadable when typing it in.
    any soultion to how to make my font consistent. I am assumin
    the problem is because both the text boxes are different sizes,
    however i don't know how to resolve the issue.
    Any help is much appreciated.

    var today_date:Date = new Date();
    var date_str:String =
    (today_date.getDate()+"/"+(today_date.getMonth()+1)+"/"+today_date.getFullYear());
    var my_date:Date = new Date();
    var boat = ""
    btn_send.onPress = function() {
    var today_date:Date = new Date();
    var date_str:String =
    (today_date.getDate()+"/"+(today_date.getMonth()+1)+"/"+today_date.getFullYear());
    var my_date:Date = new Date();
    date_txt = date_str + " " + my_date.getHours() + ":" +
    my_date.getMinutes() + ":" + my_date.getSeconds() + " " + boat;
    the text appears in the dynamic box it just is a mish mash of
    font sizes!!!

  • How to Change the Text Box to LOV where the Text Box displayed dynamically

    Hi All,
    I have to Change the Text Box to LOV. But the Text Box is not the static one.
    In the Expense Screen, when i select the particular expense type, additonal infomation is getting displayed.
    There is a one additional field called 'Portfolio Code' . This is a text Box. I need to change this as LOV.
    Even i am not sure how this is getting displyed. This column is mapped to attriubte14 of AP_EXPENSE_LINES_ALL table.
    Please advice
    Thanks,
    Mani

    Controller code continues
    private void createDirectBinding(OAWebBean oawebbean, String s, AttributeKey attributekey, String s1, String s2)
    OAWebBean oawebbean1 = oawebbean.findChildRecursive(s);
    oawebbean1.setAttributeValue(attributekey, new OADataBoundValueViewObject(oawebbean1, s2, s1));
    private void createDirectBinding(OAWebBean oawebbean, String s, AttributeKey attributekey, String s1)
    OAWebBean oawebbean1 = oawebbean.findChildRecursive(s);
    oawebbean1.setAttributeValue(attributekey, new OADataBoundValueViewObject(oawebbean1, s1, "DetailsPagePVO"));
    private void processRequestNormalDetails(OAPageContext oapagecontext, OAWebBean oawebbean)
    OAMessageChoiceBean oamessagechoicebean = (OAMessageChoiceBean)oawebbean.findChildRecursive("ExpTypeChoice");
    oamessagechoicebean.setPickListCacheEnabled(false);
    oamessagechoicebean = (OAMessageChoiceBean)oawebbean.findChildRecursive("GuestType");
    oamessagechoicebean.setPickListCacheEnabled(false);
    OAMessageTextInputBean oamessagetextinputbean = (OAMessageTextInputBean)oawebbean.findChildRecursive("Justification");
    if(oamessagetextinputbean != null)
    oamessagetextinputbean.setWrap("soft");
    createDirectBinding(oawebbean, "ExpTypeChoice", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "StartDate", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "Justification", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ExpenseGroup", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "LocationName", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "RBLocation", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "DetailMerchantName", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "DetailTaxClassification", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "DetailTaxCode", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "TaxRegNumber", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ReceiptNumber", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "Reference", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "TaxpayerID", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "AirTravelType", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "AirTicketClass", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "AirTicketNumber", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "AirFromLocation", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "AirToLocation", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "AccEndDate", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "MealNumberAttendees", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "MealAttendees", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "DetailDailyRate", STYLE_CLASS_ATTR, "DetailDailyRateCSS");
    createDirectBinding(oawebbean, "NumberOfDays", STYLE_CLASS_ATTR, "DetailDailyRateCSS");
    createDirectBinding(oawebbean, "DetailReceiptAmount", STYLE_CLASS_ATTR, "DetailReceiptAmountCSS");
    createDirectBinding(oawebbean, "ReceiptCurrencyChoice", STYLE_CLASS_ATTR, "ReceiptCurrencyChoiceCSS");
    createDirectBinding(oawebbean, "InverseExchRate", STYLE_CLASS_ATTR, "DetailExchRateCSS");
    createDirectBinding(oawebbean, "ExchRate", STYLE_CLASS_ATTR, "DetailExchRateCSS");
    createDirectBinding(oawebbean, "DetailDailyRate", CURRENCY_CODE, "ReceiptCurrencyCode");
    createDirectBinding(oawebbean, "DetailReceiptAmount", CURRENCY_CODE, "ReceiptCurrencyCode");
    createDirectBinding(oawebbean, "DetailReimbursAmt", CURRENCY_CODE, "ReimbursementCurrencyCode");
    createDirectBinding(oawebbean, "ParentGuestTypeSortableHeader", REQUIRED_ATTR, "FB_GuestTypeColReq");
    createDirectBinding(oawebbean, "ParentGuestNameSortableHeader", REQUIRED_ATTR, "FB_GuestNameColReq");
    createDirectBinding(oawebbean, "ParentGuestTitleSortableHeader", REQUIRED_ATTR, "FB_GuestTitleColReq");
    createDirectBinding(oawebbean, "ParentGuestTaxIdSortableHeader", REQUIRED_ATTR, "FB_GuestTaxIdColReq");
    createDirectBinding(oawebbean, "ParentGuestEmployerSortableHeader", REQUIRED_ATTR, "FB_GuestEmployerColReq");
    createDirectBinding(oawebbean, "ParentGuestEmployerAddrSortableHeader", REQUIRED_ATTR, "FB_GuestEmployerAddressColReq");
    String s = oapagecontext.getParameter("source");
    String s1 = oapagecontext.getParameter("event");
    if("StartDateUpdate".equals(s1) && "StartDate".equals(s))
    setFocusToField("StartDate", oawebbean);
    } else
    if("AmountUpdateReceiptCurrency".equals(s1) && "ReceiptCurrencyChoice".equals(s))
    setFocusToField("ReceiptCurrencyChoice", oawebbean);
    private void processRequestItemizationDetails(OAPageContext oapagecontext, OAWebBean oawebbean)
    OAWebBean oawebbean1 = oawebbean.findChildRecursive("ItemizedDetails");
    OAMessageChoiceBean oamessagechoicebean = (OAMessageChoiceBean)oawebbean1.findChildRecursive("IPL_ExpTypeChoice");
    oamessagechoicebean.setPickListCacheEnabled(false);
    OAMessageChoiceBean oamessagechoicebean1 = (OAMessageChoiceBean)oawebbean1.findChildRecursive("ChildExpTypeChoice");
    oamessagechoicebean1.setPickListCacheEnabled(false);
    oamessagechoicebean = (OAMessageChoiceBean)oawebbean1.findChildRecursive("ExpenseType");
    oamessagechoicebean.setPickListCacheEnabled(false);
    oamessagechoicebean = (OAMessageChoiceBean)oawebbean1.findChildRecursive("ChildGuestType");
    oamessagechoicebean.setPickListCacheEnabled(false);
    OAMessageLayoutBean oamessagelayoutbean = (OAMessageLayoutBean)oawebbean1.findChildRecursive("ChildExpTypeLayout");
    oamessagelayoutbean.setRequired("uiOnly");
    createDirectBinding(oawebbean, "IPL_ExpTypeChoice", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "IPL_StartDate", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "IPL_Justification", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "IPL_LocationName", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "IPL_RBLocation", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "IPL_MerchantName", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "IPL_TaxRegNumber", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "IPL_ReceiptNumber", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "IPL_Reference", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "IPL_TaxpayerID", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildExpTypeChoice", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildStartDate", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildReceiptCurrencyChoice", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildJustification", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildExpenseGroup", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildLocationName", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildRBLocation", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildDetailMerchantName", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildDetailTaxClassification", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildDetailTaxCode", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildAirTravelType", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildAirTicketClass", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildAirTicketNumber", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildAirFromLocation", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildAirToLocation", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildAccEndDate", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildMealNumberAttendees", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildMealAttendees", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildDetailReceiptAmount", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "IPL_ReceiptCurrency", STYLE_CLASS_ATTR, "DetailReceiptAmountCSS");
    createDirectBinding(oawebbean, "IPL_OriginalReceiptAmount", STYLE_CLASS_ATTR, "DetailReceiptAmountCSS");
    createDirectBinding(oawebbean, "IPL_ExchangeRate", STYLE_CLASS_ATTR, "DetailExchRateCSS");
    createDirectBinding(oawebbean, "IPL_InverseExchangeRate", STYLE_CLASS_ATTR, "DetailExchRateCSS");
    createDirectBinding(oawebbean, "ChildDetailDailyRate", STYLE_CLASS_ATTR, "DetailDailyRateCSS");
    createDirectBinding(oawebbean, "ChildNumberOfDays", STYLE_CLASS_ATTR, "DetailDailyRateCSS");
    createDirectBinding(oawebbean, "ExpenseReimAmountHeader", TEXT_ATTR, "ReceiptAmountColHeader");
    createDirectBinding(oawebbean, "IPL_ReimbursementAmount", CURRENCY_CODE, "ReimbursementCurrencyCode");
    createDirectBinding(oawebbean, "ItemizationDetailsHeader", TEXT_ATTR, "ChildDetailHeader");
    createDirectBinding(oawebbean, "ChildDetailDailyRate", CURRENCY_CODE, "ReceiptCurrencyCode");
    createDirectBinding(oawebbean, "ChildDetailReceiptAmount", CURRENCY_CODE, "ReceiptCurrencyCode");
    createDirectBinding(oawebbean, "ChildDetailReimbursAmt", CURRENCY_CODE, "ReimbursementCurrencyCode");
    createDirectBinding(oawebbean, "ReceiptAmount", CURRENCY_CODE, "ReceiptCurrencyCode");
    createDirectBinding(oawebbean, "IPL_OriginalReceiptAmount", CURRENCY_CODE, "ReceiptCurrencyCode");
    createDirectBinding(oawebbean, "ChildGuestTypeSortableHeader", REQUIRED_ATTR, "FB_GuestTypeColReq");
    createDirectBinding(oawebbean, "ChildGuestNameSortableHeader", REQUIRED_ATTR, "FB_GuestNameColReq");
    createDirectBinding(oawebbean, "ChildGuestTitleSortableHeader", REQUIRED_ATTR, "FB_GuestTitleColReq");
    createDirectBinding(oawebbean, "ChildGuestTaxIdSortableHeader", REQUIRED_ATTR, "FB_GuestTaxIdColReq");
    createDirectBinding(oawebbean, "ChildGuestEmployerSortableHeader", REQUIRED_ATTR, "FB_GuestEmployerColReq");
    createDirectBinding(oawebbean, "ChildGuestEmployerAddrSortableHeader", REQUIRED_ATTR, "FB_GuestEmployerAddressColReq");
    createDirectBinding(oawebbean, "BusinessExpValue", TEXT_ATTR, "ItemizationTotalBusinessExpenses");
    createDirectBinding(oawebbean, "BusinessExpValue", CURRENCY_CODE, "ReceiptCurrencyCode");
    createDirectBinding(oawebbean, "PersonalExpValue", TEXT_ATTR, "ItemizationTotalPersonalExpenses");
    createDirectBinding(oawebbean, "PersonalExpValue", CURRENCY_CODE, "ReceiptCurrencyCode");
    createDirectBinding(oawebbean, "ReceiptAmountValue", TEXT_ATTR, "ExpenseReportLinesVO", "ReceiptCurrencyAmount");
    createDirectBinding(oawebbean, "ReceiptAmountValue", CURRENCY_CODE, "ReceiptCurrencyCode");
    OAMessageTextInputBean oamessagetextinputbean = (OAMessageTextInputBean)oawebbean1.findChildRecursive("IPL_Justification");
    oamessagetextinputbean.setWrap("soft");
    oamessagetextinputbean = (OAMessageTextInputBean)oawebbean1.findChildRecursive("ChildJustification");
    oamessagetextinputbean.setWrap("soft");
    String s = oapagecontext.getParameter("source");
    String s1 = oapagecontext.getParameter("event");
    if("DuplicateItemization".equals(s) || "RemoveItemization".equals(s) || "AddItemization".equals(s) || "SingleSelectionChange".equals(s1))
    setFocusToField(oamessagechoicebean1.getID(), oawebbean);
    } else
    if("ChildStartDateUpdate".equals(s1))
    OAMessageTextInputBean oamessagetextinputbean1 = (OAMessageTextInputBean)oawebbean.findChildRecursive("ChildDetailDailyRate");
    OADataBoundValueViewObject oadataboundvalueviewobject = new OADataBoundValueViewObject(oamessagetextinputbean1, "DetailDailyRateRendered", "DetailsPagePVO");
    Boolean boolean1 = (Boolean)oadataboundvalueviewobject.getValue(oapagecontext.getRenderingContext());
    if(boolean1 != null && boolean1.booleanValue())
    setFocusToField("ChildDetailDailyRate", oawebbean);
    } else
    setFocusToField("ChildDetailReceiptAmount", oawebbean);
    } else
    if("StartDateUpdate".equals(s1) && "IPL_StartDate".equals(s))
    setFocusToField("IPL_StartDate", oawebbean);
    } else
    if("IPL_ReceiptCurrencyChange".equals(s1) && "IPL_ReceiptCurrency".equals(s))
    setFocusToField("IPL_ReceiptCurrency", oawebbean);
    private void setFocusToField(String s, OAWebBean oawebbean)
    OABodyBean oabodybean = (OABodyBean)OAWebBeanUtils.findParentByType(oawebbean, "BODY", oracle/apps/fnd/framework/webui/beans/OABodyBean);
    oabodybean.setInitialFocusId(s);
    private void createPPRFlexRegions(OAPageContext oapagecontext, OAWebBean oawebbean)
    OAWebBean oawebbean1 = oawebbean.findChildRecursive("AdditionalFields");
    OAWebBean oawebbean2 = oawebbean.findChildRecursive("ChildAdditionalFields");
    String s = oapagecontext.getProfile("AP_WEB_DESC_FLEX_NAME");
    if(s == null || "N".equals(s) || "H".equals(s))
    return;
    OAApplicationModule oaapplicationmodule = oapagecontext.getApplicationModule(oawebbean1);
    Vector vector = (Vector)oaapplicationmodule.invokeMethod("getExpenseTypesVector");
    Vector vector1 = (Vector)vector.elementAt(0);
    Vector vector2 = (Vector)vector.elementAt(1);
    Vector vector3 = new Vector();
    Vector vector4 = new Vector();
    vector.addElement(vector4);
    Boolean boolean1 = (Boolean)oaapplicationmodule.invokeMethod("IsItemizedLine");
    for(int i = 0; i < vector1.size(); i++)
    String s1 = vector1.elementAt(i).toString();
    String s2 = (String)vector2.elementAt(i);
    String s3 = (new StringBuilder()).append("DFF_").append(s1).toString();
    int j = createFlexBean(true, oapagecontext, oawebbean1, s1, s2, s3);
    if(Boolean.TRUE.equals(boolean1))
    String s4 = (new StringBuilder()).append("ChildDFF_").append(s1).toString();
    j = createFlexBean(false, oapagecontext, oawebbean2, s1, s2, s4);
    vector4.addElement(new Integer(j));
    if(oapagecontext.isBackNavigationFired(true))
    return;
    } else
    Serializable aserializable[] = {
    vector
    Class aclass[] = {
    java/util/Vector
    oaapplicationmodule.invokeMethod("configurePVOForDFF", aserializable, aclass);
    oaapplicationmodule.invokeMethod("syncAttCategoryWithExpType");
    return;
    private int createFlexBean(boolean flag, OAPageContext oapagecontext, OAWebBean oawebbean, String s, String s1, String s2)
    OAMessageLayoutBean oamessagelayoutbean = (OAMessageLayoutBean)createWebBean(oapagecontext, "MESSAGE_LAYOUT_BEAN", null, null);
    oawebbean.addIndexedChild(oamessagelayoutbean);
    String s3 = (new StringBuilder()).append("DFF_").append(s).append("Rendered").toString();
    ArrayList arraylist = (ArrayList)oapagecontext.getTransactionTransientValue("flexList");
    Object obj = null;
    Object obj1 = null;
    if(arraylist != null)
    OADescriptiveFlexBean oadescriptiveflexbean = (OADescriptiveFlexBean)arraylist.get(0);
    String s4 = (String)arraylist.get(1);
    if(oadescriptiveflexbean != null && s4 != null && s.equals(s4) && oadescriptiveflexbean.getUINodeName().equals(s2))
    oamessagelayoutbean.addIndexedChild(oadescriptiveflexbean);
    oamessagelayoutbean.setAttributeValue(RENDERED_ATTR, new OADataBoundValueViewObject(oamessagelayoutbean, s3, "DetailsPagePVO"));
    oapagecontext.removeTransactionTransientValue("flexList");
    return oadescriptiveflexbean.getIndexedChildCount(null) - 2;
    OADescriptiveFlexBean oadescriptiveflexbean1 = (OADescriptiveFlexBean)createWebBean(oapagecontext, "DESCRIPTIVE_FLEX", null, s2);
    oamessagelayoutbean.addIndexedChild(oadescriptiveflexbean1);
    oamessagelayoutbean.setAttributeValue(RENDERED_ATTR, new OADataBoundValueViewObject(oamessagelayoutbean, s3, "DetailsPagePVO"));
    oadescriptiveflexbean1.setAttributeValue(READ_ONLY_ATTR, new OADataBoundValueViewObject(oadescriptiveflexbean1, "SDP_PageReadOnly", "DetailsPagePVO"));
    oadescriptiveflexbean1.setContextListRendered(false);
    oadescriptiveflexbean1.setAttributeValue(FLEXFIELD_NAME, "AP_EXPENSE_REPORT_LINES");
    oadescriptiveflexbean1.setAttributeValue(FLEXFIELD_APPLICATION_SHORT_NAME, "SQLAP");
    oadescriptiveflexbean1.setAttributeValue(REGION_APPLICATION_ID, OIECommonConstants.STATIC_INTEGER_222);
    if(flag)
    oadescriptiveflexbean1.setViewUsageName("ExpenseReportLinesVO");
    } else
    oadescriptiveflexbean1.setViewUsageName("ItemizedLinesVO");
    oadescriptiveflexbean1.setFlexContext(oapagecontext, s1);
    try
    oadescriptiveflexbean1.processFlex(oapagecontext);
    catch(Exception exception)
    oamessagelayoutbean.setRendered(false);
    return 0;
    return oadescriptiveflexbean1.getIndexedChildCount(null) - 2;
    private void ManualPPR(OAPageContext oapagecontext, OAWebBean oawebbean)
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "DetailsPageButtonBar");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "LeftColumn");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "RightColumn");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "ChildLeftColumn");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "ChildExpTypeLayout");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "ChildRightColumn");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "MerchantFieldsHeader");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "MerchantFieldsLayout");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "IPL_MerchantFieldsHeader");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "IPL_MerchantFieldsLayout");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "IPL_LeftColumn");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "IPL_RightColumn");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "ChildEmployeeTableRN");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "ChildGuestTableRN");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "ItemizationMasterTable");
    protected static boolean PageHasExceptions(OAPageContext oapagecontext, OAWebBean oawebbean)
    Object aobj[] = (Object[])(Object[])oapagecontext.getTransactionTransientValue("FWK_PAGE_ERROR_TRXN_CACHE");
    Boolean boolean1 = (Boolean)aobj[3];
    return boolean1.booleanValue();
    private static void ClearExceptions(OAPageContext oapagecontext, OAWebBean oawebbean)
    Object aobj[] = (Object[])(Object[])oapagecontext.getTransactionTransientValue("FWK_PAGE_ERROR_TRXN_CACHE");
    Vector vector = (Vector)aobj[0];
    Vector vector1 = (Vector)aobj[1];
    Vector vector2 = (Vector)aobj[2];
    vector.removeAllElements();
    vector1.removeAllElements();
    vector2.removeAllElements();
    aobj[3] = Boolean.FALSE;
    Edited by: user13079906 on Oct 1, 2010 1:14 AM

  • How can I load a .TXT file into a dynamic text box?

    I am sure that many people know how to load a .txt file into
    a dynamic text box. But I do not. I want to be able to reference a
    txt file from the server into the text box. So that when I change
    the text file it changes in the flash movie without even editing
    the flash file itself. Thank you.

    http://www.oman3d.com/tutorials/flash/loading_external_text_bc/
    I think this is the simplest way to go :)

  • Targeting Dynamic Text Box inside moviecip with variable

    Hi,
    How does one target a dynamic text box to change the border
    color inside of a movie clip? Example below which does not work
    theName = ("answerPrint" + arryCount);
    boxName = ("box" + (arryCount+1));
    _root.pagePrintPartA[theName][boxName].border = true;
    _root.pagePrintPartA[theName][boxName].borderColor =
    0x00cc66;

    Thanks for the reinforcement, but I should of indicated what
    was what:
    theName = ("answerPrint" + arryCount);// Name of Variable
    inside Dynamic Text Box Inside MovieClip
    boxName = ("box" + (arryCount+1));// Instance Name of Actual
    Dynamic Text Box Inside MovieClip
    _root.pagePrintPartA[theName][boxName].border = true;
    _root.pagePrintPartA[theName][boxName].borderColor =
    0xFF0000;
    By certifying this script you showed me wher I went wron (not
    seeing the forest from the trees). The last two lines should be:
    _root.pagePrintPartA[boxName].border = true;
    _root.pagePrintPartA[boxName].borderColor = 0xFF0000;
    I was targeting backwards. Thanks alot DazFaz.

  • Can I put Chinese and English characters in the same dynamic text box?

    I'm translating a game into several different languages, one of which is Chinese. I've noticed that in a dynamic text box where English characters are included also, they aren't displayed when the .swf is exported. The font is embedded in the document with all characters selected. It seems like whatever language-character is first displayed in the text box, the other language cannot be. For instance, if there are Chinese characters first, then English, the English will not display, and vice-versa. Any work around on this? I am using Flash CS5 and Actionscript 2.0. Thanks!

    Kglad - I'm not sure I follow your instructions for the fix. I assume you want me to set the _visible property to false via Actionscript ( textInvisible._visible = false; ). What is the purpose of this second text field - does it need any specific content in it to function? It doesn't seem to work to fix the problem but maybe I'm misunderstanding.

  • How can i set the dynamic text box to show variable value?

    In AS2, I can make a dynamic text box set a var name, when i
    use button set/change the var value, this textbox can show the
    value also.
    but In AS3, dynamic text box can't add var name. than how can
    i do it now?

    Set an instance name for the dynamic textfield. Then, to
    populate the textfield with the value of a variable, use:
    textFieldInstanceName.text = variableName

  • How to change dynamic text on mouse click of an object

    Here is my Project File.
    I'm wanting to change dynamic text when an object is clicked.
    I created 3 dynamic text boxes under "Selected Colors" and gave them instance names of selected_roof_color, selected_trim_color and selected_wall_color.
    When the user clicks a color (ie Arctic White) and then clicks say the roof, I want the "Selected Color" to display "Arctic White" to the right of "Roof:". 
    The colorable areas on the building have been given instances of roof, walls and trim.
    I used this tutorial to change in the textbox underneath the colors when you mouse over a color.
    Thank you for your assistance.

    My first button color is Arctic White and it has an instance of arcticwhite.
    The actionscript for the Arctic White Button is:
    on (release) {
        _root.fillColor = 0xf3f5f4;
        _root.brush.gotoAndStop(1);
    The roof button has an instance of selected_roof_color and my dynamic text field where I want "Arctic White" to appear is given an instance of selected_roof_text.
    Using your suggestion, my main Actionscript now has the following
    roof.addEventListener(MouseEvent.CLICK,roof);
    function roof(e:MouseEvent):void{
    selected_roof_text.text="roof";
    Looks like I've still got something incorrect as the selected_roof_text isn't changing when I click a color onto the roof.
    Can you explain what the F in "roofF" is?  Is that a typo?

  • Flash 7 dynamic text box IE issues

    Hi all,
    I am having issues with IE V.6.0.3790.0 not loading dynamic
    text into text boxes inside a Flash 7 SWF on a remote desktop. Does
    anyone know of any compatability issues with dynamic text boxes and
    IE? The file loads properly into Safari on my MAC, and I have the
    latest Flash Plugin installed. Could it be a Plugin issue, rather
    than a IE issue? The reason I am asking is I have a site launched
    and many people cannot see the pages that pull in Dynamic text. I
    am trying to either get to the bottom of it and provide a fix, or
    at least come up with some answers!

    quote:
    Originally posted by:
    AnandMX
    use embedFonts=true
    coz it seems that your fonts are not embedded thats y it is
    not visible there.
    Thanks - but why would the fonts be visible in Safari and
    Firefox, for example, and not in that version of IE?

  • Dynamic text box problems

    I have created a dynamic text box and an input text box.
    I have produced code that replicates whatever is typed in the
    input box to display in the dynamic box along with a date and time
    stamp once a button is clicked.
    This all works fine, except for the sizes of the fonts. for
    both boxes, i selected font size 10 . The input box is fine,
    however the dynamic box text is huge.
    When i make the dynamic text font smaller, it fits in fine,
    but the input text that is inserted into the dynamic text box comes
    in too big. If i make the input text box font smaller it is
    unreadable when typing it in.
    any soultion to how to make my font consistent. I am assumin
    the problem is because both the text boxes are different sizes,
    however i don't know how to resolve the issue.
    Any help is much appreciated.
    Laura

    hi laura
    i think the problem it's in the targetPath "
    mainClip.newspaper_mc.newinstructions.text =
    lu.welcome[langIdx];".
    chech if you have mistype the instance names of your
    movieClip and rewrite it or in the Actions panel select the path "
    mainClip.newspaper_mc.newinstructions" and click the button
    "Insert Target Path" this will open a popup with a tree of your
    MC's on the stage, so you can browse and find the textfield. i hope
    i helped you if not let me know!

  • Dynamic Text Boxes / Resizing text boxes

    I have a site with a dynamic text box that I have initialized
    (I'm not sure that that is the correct term) at the beginning with:
    myText = new LoadVars();
    myText.onLoad = function()
    { textBox_txt.htmlText = this.content;
    myText.load("text/bio.txt");
    stop();
    Then I have just used a text box throughout with the same
    instance name, although sometimes I have it on a new keyframe. I
    assumed I could just keep loading text into it on different frames
    with:
    stop();
    myText.load("text/performances.txt");
    This appears to be working, except that sometimes it seems to
    be confused and the text box on a certain frame has the wrong text
    in it. Do I have to initialize one for each frame in order for them
    to display the right code? What could be causing it to load another
    text file if it's frame action is telling it to load something
    else? It seems unnecessary to have to re-initialize it for a new
    text box instance in every new frame, but is that the way it has to
    be done?
    Also, I'm not clear on resizing text boxes. It seems like if
    I use the width and height numbers to resize this text box on
    different pages then it changes the size of the text inside, and
    the scroll bar (the UIScrollbar) is a little squishy looking
    sometimes. How does this work?
    Thanks for any help.

    You will find it much better to create a new LoadVars object
    for each of the frames, just call them myText1 myText2 etc.
    The name of the text box instance in this case is irrelevant
    but best practice would be to give them individual names.
    As for the stretching effect use setSize() for UI
    components.

  • Showing RSS feed in Dynamic Text box (with hyperlink)

    Hi all -
    I am currently trying to pull RSS data into a project for my first time and am trying to get 3 (potentially 4) boxes filled with rss data that will be updated. So far, I am going with Actionscript 3. So far I have the code below, but it puts data in a listbox. What is the easiest way to put the data in three dynamic text boxes inside a movie clip, so I have one for the title, one for description and one for link (shown as 'read more' text but a link using the url from the rss value)?
    I am really banging my head against the wall on this one and want to get it sorted asap, so any help would be GREATLY appreciated! I have also attached an image to show what I am trying to do:
    I also want to know if it's possible to show rss values only if they exist. For example, my xml feed currently only has 3 items that change, and i will be assigning these to boxes, but is it possible to display a fourth if it exists, and if it doesn't it just shows the first?
    My code so far:
    var loader:URLLoader = new URLLoader();
    loader.addEventListener(Event.COMPLETE, onLoaded);
    var xml:XML;
    function onLoaded(e:Event):void
        xml = new XML(e.target.data);
        var il:XMLList = xml.channel.item.description};
        trace(il[1]);
             lb.addItem({data:il.description.text()
                                label:il.title.text()}):
    loader.load(new URLRequest("http://www.rssfeedhere.xml"));

    you would create a movieclip (exported for actionscript and class = rssItem) with 3 textfields and the display shown in your message and use something like:
    var loader:URLLoader = new URLLoader();
    loader.addEventListener(Event.COMPLETE, onLoaded);
    var xml:XML;
    function onLoaded(e:Event):void
        xml = new XML(e.target.data);
        var il:XMLList = xml.channel.item.description};
        for(var i:uint=0;i<il.length();i++){
            var mc:rssItem = new rssItem();
            addChild(mc);
            mc.x = 300*i%2;
            mc.y = 300*Math.floor(i/2);
            mc.titleTF.text = il[i].title.text();
            mc.descriptionTF.text = il[i].description.text();
            mc.readmoreTF.text = ?
    loader.load(new URLRequest(http://www.rssfeedhere.xml));

  • Issues with dynamic text box formatting

    I'm running into issues with using HTML formatting for a dymanic text field. I know these are quirky and I cannot figure out how to get the formatting proper.
    I have on my stage a dynamic text box called "content_txt" inside of a movie clip instance "content_mc". When it enters the frame, I fade the "content_mc" from alpha 0 to 100 using a timeline animation. In order for this to work, I have to embed the font in my "content_txt" text field. However, the only way I get get the HTML formatting to work is if I do not embed the font.
    The dymanic text field is set to render as HTML. In my actions layer, I set the text:
    this.content_mc.content_txt.htmlText = "<b>Hello world,</b> it is me again."
    In summary:
    1. If I do not embed the font, the alpha fade does not work but the HTML formatting does.
    2. If I embed the font, the alpha fade works but the HTML formatting does not.
    How do I resolve this? It's driving me nuts!

    How do you embed just one style?
    I've tried typing three words in the text field and formatting each (regular, bold, italic) but the text field just defaults to whichever format is first.
    Also, I tried embeding the whole character list and did not have success.

  • Dynamic Text Box Variables

    Hi,
    At the moment im using the variable option of a dynamic text
    box to load text. The variable is loaded into the swf via an
    external htm file that has multiple variables in it (i dunno if
    that makes sense but you know how you can load in a set of
    variables from an html like eg. down below):
    Anyway, now i want to have 10 different movie clips that act
    as buttons, so that when they are clicked, they change the variable
    of the dynamic text box soo it loads a different section of text
    from the html file. I have tried the .variable property of the text
    box but still no luck. I looked at another thread else where but i
    dont understand exactly how they are changing it there. I'll copy
    in the link anyway just incase it helps or someone can explain what
    they are doing. Can anyone help me with this??
    Thanks in advance for your help
    Cheers
    Damien

    haha Oops. Heres the link to that other thread. My bad.
    http://www.flashmove.com/forum/showthread.php?t=11070

Maybe you are looking for