Dynamic poition box in script

Dear All,
I am trying to print Dynamic position box in sap script.If any body know the please tell me.
Thanks,
P G Venkatesh
Edited by: venky.pg132 on Jun 27, 2011 2:10 PM

add Boxes dynamically to SAPScript  But you can specify this in the print program.
DATA COM(100).
com = 'BOX WIDTH ''17.5'' CM HEIGHT 5 CM FRAME 10 TW INTENSITY 15'.
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
COMMAND = COM
EXCEPTIONS
UNOPENED = 1
UNSTARTED = 2
OTHERS = 3

Similar Messages

  • Dynamic Box in script

    Hi,
    I have a script which currently prints a number of item details.
    Users want to change the layout so that the result is given in tabular format,i.e, the item details need to be displayed in rows and column format. As the number of items can vary, could you please help me with the logic of displaying this using script?
    Thanks in advance,
    Neethu

    Hi,
    Creating dynamic boxes in script is possible but formatting and getting proper allignment is very tedious job. I had similar requirement for creating dynamic boxes in SAP Script, but getting right allignment of those boxes was not possible and hence I switched to smartform. So I would advise you the same to use smartform for such type of requirement. In smartforms it becomes very easy.
    Still try the following syntax:
    /:POSITION XORIGIN '5' CM YORIGIN '5'CM
    /:SIZE HEIGHT '0' CM WIDTH '0' CM
    /:BOX FRAME 10 TW INTENSITY 10
    Hope this helps.
    Reragds,
    Abhijeet

  • BOX in Scripts.

    I want to display box in script dynamically.
    please tell how this is possible.

    Hi,
         Create a main window with 2 Lines height,
         Create box for entire manin window,
         Position multiple main windows on one page, we can keep upto 99 main windows in one page.
    Sample code
    /E   ITEM_A
    IA &EKPO-EBELP&,,&T165M-ABSGR_TXT&
    IA
    /:BOX FRAME 10 TW
    /:BOX XPOS 16 CH YPOS 0 LN WIDTH '0' CM HEIGHT 2 LN FRAME   
       10 TW
    Regards
    Bala Krishna

  • 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.

  • Dynamic-side Box? Can't read source code with java

    Hi all,
    I am trying to read a source code of a web page with a java program. I can connect to the page and read a part of the source code without any problems however after a while when it comes to a part where mozilla and opera identifies as "dynamic-side box" my java program fails to read the source code and stops reading the rest of the page.
    Here is the part of the output I get from mozilla:
    <body id="city">
              <script type="text/javascript" src="/js/wz_tooltip.js"></script>
              <div id="container">
                   <div id="container2">
                        <div id="header">
                             <h1>Ikariam</h1>
                             <h2>Antik �a&#287;&#305; Ya&#351;a!</h2>
                        </div>
    <div id="breadcrumbs"><h3>Bulundu&#287;un nokta:</h3><a href="?view=worldmap_iso&islandX=78&islandY=80" title="D�nya haritas&#305;na d�n"><img src="skin/layout/icon-world.gif" alt="D�nya" /></a> > <a href="?view=island&id=2444" class="island" title="Adaya d�n">Sterios[78:80]</a> > <span class="city">ProPolis</span></div><!-- -------------------------------------------------------------------------------------
         ///////////////////////////// dynamic side-boxes. //////////////////////////////////
         //////////////////////////////////////////////////////////////////////////////////// -->
         <div id="information" class="dynamic">
              <h3 class="header">Info</h3>
              <div class="content">And here is the corresponding part in java console output:
    <div id="breadcrumbs">
        <h3>Bulundu&#287;un nokta:</h3>
         <span class="textLabel">Hata!</span>
    </div>
    <div id="information" class="dynamic"></div>
    <div id="mainview">
        <div class="buildingDescription">
            <h1>Hata!</h1>
        </div>
        <div class="contentBox01h">
            <h3 class="header"><span class="textLabel">Hata mesaj&#305;</span></h3>
            <div class="content">
                <ul class="h�bsch">
    <li><a href="http://ikariam.net"></a></li>            </ul>
            </div><!-- end #content -->
            <div class="footer"></div>
        </div><!-- end #contentbox -->
    </div><!-- end #mainview -->Is there a way to skip this dynamic-side boxes in java. Because I need to read an information that is located at the near end of the source code however since it stops when it hits to a dynamic-side box I can't.
    Thanks in advance, regards...

    Hi,
    That is what I was trying in deed! I was trying with a Scanner but I also tried with the link you have given. That also failed. Somehow java stops reading the source when it hits "dynamic-side box". However there has to be a way to skip this. If mozilla can do that, I know that java also can. I wonder how....
    Cheers...

  • Scrolling text / Dynamic text Box

    Hi guys,
    Hopefully someone can help me. I am quite new to flash and
    scripts so excuse my stupidity..!!! I am creating a media player
    (CS3), and have almost finished it except on small thing that is
    driving me round the twist.
    I have a few dynamic text boxes that take info from id3 tag
    of the mp3 file and I want to make the info inside the boxes scroll
    as ideally some of the information will be longer that the text
    box.
    The code to populate the boxes is:
    function id3Handler(evt:Event):void {
    songInfo.text = song.id3.artist;
    songName.text = song.id3.songName;
    album.text = song.id3.album;
    I have set the boxes to be scrollable but nothing happens,
    hopefully this will be simple for someone to me.
    Thanks in advance.

    Just bumping this back up. I'd really like to figure this one
    out

  • DYNAMIC SELECT BOX

    The problem is that the second select box is not displaying what is the wrong in the code
    <html>
    <head>
    <script>
    function setList(theList) {
    switch (theList) {
    case 1 : {
    document.theForm.mySelect.options[0].value="50THD-OZAM";
    document.theForm.mySelect.options[1].value="ABABA-BALB";
    document.theForm.mySelect.options[2].value="BALAB-KIDA";
    document.theForm.mySelect.options[3].value="CALIC-BABA";
    document.theForm.mySelect.options[4].value="GUTAO-DINE";
    document.theForm.mySelect.options[5].value="";
    document.theForm.mySelect.options[6].value="";
    document.theForm.mySelect.options[7].value="";
    document.theForm.mySelect.options[0].selected=true;
    document.theForm.radioButton[0].checked=true;
    break;
    case 2 : {
    document.theForm.mySelect.options[0].value="AGON";
    document.theForm.mySelect.options[1].value="AJUY";
    document.theForm.mySelect.options[2].value="Abay";
    document.theForm.radioButton[1].checked=true;
    break;
    case 3 : {
    document.theForm.mySelect.options[0].value="KAL";
    document.theForm.mySelect.options[1].value="ILO ";
    document.theForm.mySelect.options[2].value="LEY";
    document.theForm.radioButton[2].checked=true;
    break;
    setOptionText();
    function setOptionText() {
    document.theForm.mySelect.options[0].text=document.theForm.mySelect.options[0].value;
    document.theForm.mySelect.options[1].text=document.theForm.mySelect.options[1].value;
    document.theForm.mySelect.options[2].text=document.theForm.mySelect.options[2].value;
    var group=new Array(document.theForm.mySelect.options.length)
    for (i=0; i<document.theForm.mySelect.options.length; i++)
    group=new Array()
    group[0][0]=new Option("---Select2---"," ");
    group[1][0]=new Option("Now Select This One"," ");
    group[1][1]=new Option("C","3");
    group[1][2]=new Option("DA","2");
    group[1][3]=new Option("DB","1");
    group[2][0]=new Option("Now Select This One"," ");
    group[2][1]=new Option("A","5");
    function redirect(x)
    var i=document.theForm.mySelect.options.length
    for (m=0;m<i;m++)
    for (i=0;i<group[x].length;i++)
    document.theForm.stage2.options[i]=new Option(group[x][i].text,group[x][i].value)
    </script>
    </head>
    <body onload="setList(1)">
    <form name="theForm" onreset="setList(1)">
    BirthPlace is:<br>
    <input checked name="radioButton" type="radio" value="Brgy" onclick="setList(1)">Brgy&&
    <input name="radioButton" type="radio" value="MuniCity" onclick="setList(2)">Muni/city&&
    <input name="radioButton" type="radio" value="Province" onclick="setList(3)">Province<hr>
    <select name="mySelect" onChange="redirect(this.options.selectedIndex)">
    <option value=""></option>
    <option value=""></option>
    <option value=""></option>
    <option value=""></option>
    <option value=""></option>
    <option value=""></option>
    <option value=""></option>
    </select>
    <select name="stage2" size="1" >
    <option value=" " > </option>
    <option value=" " ></option>
    <option value=""></option>
    <option value=""></option>
    <option value=""></option>
    <option value=""></option>
    <option value=""></option>
    </select>
    <br><br>
    </form>
    </body>
    </html>

    hello mate,
    you can just use another javascript code for your application since it seems that( as well as i understood ) you couldn't set the array if user make a selection.
    A few times ago i had a probelm like that but i used the below code..
    Here the DynamicOptionList.js file and source code:
    you just call this code from your html page like this :
    <SCRIPT LANGUAGE="JavaScript" SRC="DynamicOptionList.js"></SCRIPT>
    //STARTS HERE DynamicOptionList.js
    // CONSTRUCTOR
    // Pass in the name of the element, then the names of the lists it depends on
    function DynamicOptionList() {
         if (arguments.length < 2) { alert("Not enough arguments in DynamicOptionList()"); }
         // Name of the list containing dynamic values
         this.target = arguments[0];
         // Set the lists that this dynamic list depends on
         this.dependencies = new Array();
         for (var i=1; i<arguments.length; i++) {
              this.dependencies[this.dependencies.length] = arguments;
         // The form this list belongs to
         this.form = null;
         // Place-holder for currently-selected values of dependent select lists
         this.dependentValues = new Object();
         // Hold default values to be selected for conditions
         this.defaultValues = new Object();
         // Storage for the dynamic values
         this.options = new Object();
         // Delimiter between dependent values
         this.delimiter = "|";
         // Logest string currently a potential options (for Netscape)
         this.longestString = "";
         // The total number of options that might be displayed, to build dummy options (for Netscape)
         this.numberOfOptions = 0;
         // Method mappings
         this.addOptions      = DynamicOptionList_addOptions;
         this.populate           = DynamicOptionList_populate;
         this.setDelimiter     = DynamicOptionList_setDelimiter;
         this.setDefaultOption      = DynamicOptionList_setDefaultOption;
         this.printOptions      = DynamicOptionList_printOptions;
         this.init           = DynamicOptionList_init;
    // Set the delimiter to something other than | when defining condition values
    function DynamicOptionList_setDelimiter(val) {
         this.delimiter = val;
    // Set the default option to be selected when the list is painted
    function DynamicOptionList_setDefaultOption(condition, val) {
         if (typeof this.defaultValues[condition] == "undefined" || this.defaultValues[condition]==null) {
              this.defaultValues[condition] = new Object();
         for (var i=1; i<arguments.length; i++) {
              this.defaultValues[condition][arguments[i]]=1;
    // Init call to map the form to the object and populate it
    function DynamicOptionList_init(theform) {
         this.form = theform;
         this.populate();
    // Add options to the list.
    // Pass the condition string, then the list of text/value pairs that populate the list     
    function DynamicOptionList_addOptions(dependentValue) {
         if (typeof this.options[dependentValue] != "object") { this.options[dependentValue] = new Array(); }
         for (var i=1; i<arguments.length; i+=2) {
              // Keep track of the longest potential string, to draw the option list
              if (arguments[i].length > this.longestString.length) {
                   this.longestString = arguments[i];
              this.numberOfOptions++;
              this.options[dependentValue][this.options[dependentValue].length] = arguments[i];
              this.options[dependentValue][this.options[dependentValue].length] = arguments[i+1];
    // Print dummy options so Netscape behaves nicely
    function DynamicOptionList_printOptions() {
         // Only need to write out "dummy" options for Netscape
    if ((navigator.appName == 'Netscape') && (parseInt(navigator.appVersion) <= 4)){
              var ret = "";
              for (var i=0; i<this.numberOfOptions; i++) {
                   ret += "<OPTION>";
              ret += "<OPTION>"
              for (var i=0; i<this.longestString.length; i++) {
                   ret += "_";
              document.writeln(ret);
    // Populate the list
    function DynamicOptionList_populate() {
         var theform = this.form;
         var i,j,obj,obj2;
         // Get the current value(s) of all select lists this list depends on
         this.dependentValues = new Object;
         var dependentValuesInitialized = false;
         for (i=0; i<this.dependencies.length;i++) {
              var sel = theform[this.dependencies[i]];
              var selName = sel.name;
              // If this is the first dependent list, just fill in the dependentValues
              if (!dependentValuesInitialized) {
                   dependentValuesInitialized = true;
                   for (j=0; j<sel.options.length; j++) {
                        if (sel.options[j].selected) {
                             this.dependentValues[sel.options[j].value] = true;
              // Otherwise, add new options for every existing option
              else {
                   var tmpList = new Object();
                   var newList = new Object();
                   for (j=0; j<sel.options.length; j++) {
                        if (sel.options[j].selected) {
                             tmpList[sel.options[j].value] = true;
                   for (obj in this.dependentValues) {
                        for (obj2 in tmpList) {
                             newList[obj + this.delimiter + obj2] = true;
                   this.dependentValues = newList;
         var targetSel = theform[this.target];
         // Store the currently-selected values of the target list to maintain them (in case of multiple select lists)
         var targetSelected = new Object();
         for (i=0; i<targetSel.options.length; i++) {
              if (targetSel.options[i].selected) {
                   targetSelected[targetSel.options[i].value] = true;
         targetSel.options.length = 0; // Clear all target options
         for (i in this.dependentValues) {
              if (typeof this.options[i] == "object") {
                   var o = this.options[i];
                   for (j=0; j<o.length; j+=2) {
                        var text = o[j];
                        var val = o[j+1];
                        targetSel.options[targetSel.options.length] = new Option(text, val, false, false);
                        if (typeof this.defaultValues[i] != "undefined" && this.defaultValues[i]!=null) {
                             for (def in this.defaultValues[i]) {
                                  if (def == val) {
                                       targetSelected[val] = true;
         targetSel.selectedIndex=-1;
         // Select the options that were selected before
         for (i=0; i<targetSel.options.length; i++) {
              if (targetSelected[targetSel.options[i].value] != null && targetSelected[targetSel.options[i].value]==true) {
                   targetSel.options[i].selected = true;
    //********** ENDS HERE
    now the html page and how the trick is going :
    <HTML>
    <HEAD>
    <META CONTENT="text/html; charset=windows-1254" HTTP-EQUIV="Content-Type">
    <META CONTENT="text/html; charset=iso-8859-9" HTTP-EQUIV="Content-Type">
         <TITLE>JavaScript Toolbox - Dynamic Option List</TITLE>
    <SCRIPT LANGUAGE="JavaScript" SRC="C:\WINNT\Profiles\calisirmu\Desktop\javaScripts\DynamicOptionList.js"></SCRIPT>
    <SCRIPT LANGUAGE="JavaScript">
    // First example
    var listB = new DynamicOptionList("B","A");
    //first initialize parameters
    listB.addOptions("CARs",
              "BMW","BMW",
              "PEUGEOT","PEUGEOT",
              "PORSCHE","PORSCHE",
              "TOYOTA","TOYOTA");     
    listB.addOptions("MOTORCYCLEs",
              "HONDA","HONDA",
              "KAWASAKI","KAWASAKI");
    listB.addOptions("FORMULA CARS",
              "FERRARI","FERRARI",
              "MERCEDES","MERCEDES",
              "JAGUAR","JAGUAR");
    //set default options
    listB.setDefaultOption("CARs","PORSCHE");
    listB.setDefaultOption("MOTORCYCLEs","HONDA");
    listB.setDefaultOption("FORMULA CARS","FERRARI");
    var listC = new DynamicOptionList("C","A","B");
    listC.addOptions("CARs|PORSCHE","911 TURBO GT2","911 TURBO GT2",
                        "MOBY DICK","MOBY DICK",
                        "GT1 RACE VERSION","GT1 RACE VERSION");
    listC.setDefaultOption("CARs|PORSCHE","911 TURBO GT2");
    listC.addOptions("CARs|BMV","750 IL","750 IL");
    listC.addOptions("CARs|PEUGEOT","406","406");
    listC.addOptions("CARs|TOYOTA","AVENSIS","AVENSIS");
    listC.addOptions("MOTORCYCLEs|HONDA","SUPER 5000","SUPER 5000");
    listC.setDefaultOption("MOTORCYCLEs|HONDA","SUPER 5000");
    listC.addOptions("MOTORCYCLEs|KAWASAKI","SUPER KACAR","SUPER KACAR");
    listC.addOptions("MOTORCYCLEs|KAWASAKI","YAVAS GIDER","YAVAS GIDER");
    listC.addOptions("MOTORCYCLEs|KAWASAKI","ANCA GIDER","ANCA GIDER");
    listC.addOptions("FORMULA CARS|FERRARI","F1 2000","F1 2000");
    listC.setDefaultOption("FORMULA CARS|FERRARI","F1 2000");
    listC.addOptions("FORMULA CARS|MERCEDES","CLK","CLK");
    listC.addOptions("FORMULA CARS|JAGUAR","SALLA GITSIN","SALLA GITSIN");
    function init() {
         var theform = document.forms[0];
         listB.init(theform);
         listC.init(theform);
         listE.init(theform);
         listF.init(theform);
    </SCRIPT>
    </HEAD>
    <BODY BGCOLOR=#FFFFFF LINK="#00615F" VLINK="#00615F" ALINK="#00615F" onLoad="init()">
    <BR><BR>
    <BR>
    <FORM ACTION="" METHOD="" name="Form1">
    <BR>
    <TABLE BORDER="0">
    <TR bgcolor="#ffffe6">
         <TH >TYPE</TH>
         <TH>NAME</TH>
         <TH>MODEL</TH>
    </TR>
    <TR>
         <TD>
              <SELECT NAME="A" onChange="listB.populate();listC.populate();">
                   <OPTION VALUE="CARs">CARs
                   <OPTION VALUE="MOTORCYCLEs">MOTORCYCLEs
                   <OPTION VALUE="FORMULA CARS">FORMULA CARS
              </SELECT>
         </TD>
         <TD>
              <SELECT NAME="B" onChange="listC.populate();">
                   <SCRIPT LANGUAGE="JavaScript">listB.printOptions()</SCRIPT>
              </SELECT>
         </TD>
         <TD>
              <SELECT NAME="C">
                   <SCRIPT LANGUAGE="JavaScript">listC.printOptions()</SCRIPT>
              </SELECT>
         </TD>
    </TR>
    </TABLE>
    </FORM>
    </BODY>
    </HTML>
    you save this html page as xxx.html and thane run it.
    I hope this is beneficial for you.
    mcaldeveloper :-)

  • Display selected items in dynamic list box

    I need to display the selected items in a dynamic list box -
    this worked great - but now client wants multiple selected. I do
    have the items comma delimited in single field (but I can change
    that if I need to) - so how do I make those items display as
    selected in list. I'm using asp and standard dreamweaver list based
    on a recordset.

    There is a better approach. I faced a similar problem and put all the logic in a Javascript function. I modified my code to suit your needs.
    My HTML will have the following.
    <body onLoad="javascript:initLanguages();">
      <form name="languageForm">
        <select size="1" name="languagesList">
        </select>
      </form>
    </body>I created a Javascript function
    <script language="Javascript">
      //-- put all your languages here in a Javascript Array if they are fixed.
      //-- If you get the langauges from a Java object (dynamic or configurable), generate the Javascript in that object and insert a scriptlet in the HTML that plugs in the generated Javascript into this HTML. If so, take care of the quotes and double quotes. They are tricky !!!
      var languageArray = new Array("Fran?ais", "English", "Espanol", "Deutsch", "Italiano");
      function initLanguages ()
        var listCounter = 0;
        for (var ind=0; languageArray != null && ind < languageArray.length; ++ind)
          var obj = eval("new Option" + languageArray[ind]);
          eval("document.languagesForm.languagesList.options[listCounter]=" + "new Option" + languageArray[ind]);
          if(document.languagesForm.languagesList.options[listCounter].value == "<%= selectedLanguage %>")
            document.languagesForm.languagesList.options[listCounter].selected = true;
          listCounter += 1;
    </script>
    selectedLanguage is something you get in the Java code
    <%
      selectedLanguage = myObj.getSelectedLanguage();
    %>

  • Displaying the result of a calculation in a dynamic text box

    Hi folks,
    I'm having a very minor issue here (operator error, I'm sure ). With the help of some folks here, I've created a series of calculations, and I've got that part down. Now, I just need it to show up in the movie.
    I've created the dynamic text box in Flash (CS3), but when I hit test, it won't show up.
    After all the calculations, I should have a figure that I call totalmoney. My dynamic text box is called total. The user doesn't need to hit anything for it to appear. It just appears as part of the movie.
    Here's my code:
    stop();
    var startDate:Date = new Date(2010,0,12);  // use your  startyear, startmonth, startdate in the new Date() parameters.
    var  currentDate:Date = new Date();  // assuming user's clock is correct and in your  timezone.  else use server date/time.
    var numberOfSeconds:Number =  (currentDate.getTime()-startDate.getTime())/1000;
    var interest:Number =  (numberOfSeconds*0.74356);
    var totalmoney:Number =  (interest+15,000,000);
    function displaytotal(evt:TextEvent):void {
         total.text = "totalmoney";
    Any thoughts?
    Thanks!
    Napo

    You didn't have to bury any of the calculations in the function--leaving it as you had it is better.  They could remain where they a=werew, and you'll probably find you want them outside it if you have other plans for using them.  If left inside, they only have scope inside.  In the programming world, it's good to think of functions as things that do one thing and one thing only (though it isn't often practiced that way)--it's called modular design.
    When you place an event as an argument for a function, it typically means that there is an event listener that initiates the call to the function.  If you work with buttons you'll see what I mean.  But if the plan is to create your own call to a function when you desire it as such, not have it driven by an event listener, then you don't need to pass any event to it, though you may pass some other type of variable to it if need be.
    For instance, what you have now will call the function without an argument because the function has the value built into its code....
    displaytotal();
    But you could also make the function a little more generic and set it up to recieve the value instead as an argument...
    function displaytotal(amt:Number):void {
         total.text = String(amt); // an earlier error of mine
    displaytotal(totalmoney);
    That would make your function a little more useful.  Now it could be used to display other Number variables as well.
    // my earlier error was that a textfield displays text, so you need to convert the Number value to s String.
    Hope I'm not confusing you.

  • Is there a way to list all the file names (automatically) in a folder to dynamic text box?

    Hi,
    I would like to know whether FLASH AS3 has some option to get all the files names from a folder specified and show it in a dynamic text box? Whenever some new files added to this folder it should update the list accordingly.
    Thanks for any information in this regard.

    Not particularly experienced in this field myself, but I've found its just easier to implement an XML file which lists the contents of the folder. It just means that when you upload a new file you have to add it to the list in the xml file also. No real hardship once you figure out the mechanics of it

  • How to acheive check box in SCRIPTS

    Hi All,
    I am working on SCRIPTS, I want a check box with checked in the layout after execting. I am not changing any driver program
    How to acheive this.
    Thanks in advance

    Hi,
    You can achive check boxes in scripts using this below link
    http://abapeasy.blogspot.com/2008/03/3-easy-way-to-add-checkbox-in-your.html
    with out modifying the print program u can check the check box using the PERFORM ---ENDPERFORM CONTROL COMMAND
    see this link how to use preform contorl command in script
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/cb3d07455611d189710000e8322d00/frameset.htm
    Regards
    Jagadeesh

  • Is it possible to change the colour of box in script from black to blue

    Hi,
    Is it possible to change the colour of box in script from black to blue  or some other colour and background colour also...if so how....
    Thanks.

    No..
    It is not possible in scripts..
    In scripts u cannot use colors..
    In smartforms u can do that..
    reward if it helps u..
    sai ramesh

  • 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 :)

  • 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

Maybe you are looking for

  • Drop down list based on log in username - php mysql

    I have a drop down list of client names on a php page that filters a second drop down list of site names. At the moment, any user who logs in can see the entire list of clients, however I want to filter the list based on their username log in. This i

  • Mac version of PSE 12 open tiff files in ACR only. How I can open it WITHOUT ACR?

    I don't like to correct TIFF (or PNG) files in ACR, but PSE 12 (Mac) open this files in ACR (I try File > Open (NOT Open in Camera Raw!!!), or double click on file, or right click on file > Open with PSE...). WTH?

  • Rwconverter core dump

    I am not able to compile a simple report in 10g. rwconverter is crashing with a core dump v3 (src) $ rwconverter userid=xxx/[email protected] batch=yes source=test.rdf stype=rdffile dtype=repfile Another exception has been detected while we were hand

  • Playing .swf files in Java code

    How can is run a .swf in Java code. And change the .swf at runtime. I tried Using the JFlashPlayer api. but it does not work properly. I have a set of different .swf files. I need to run these files using a next/ previous button .... which changes th

  • Exporting from a quicktime from Final Cut Express HD

    Can anyone tell me the best settings to export a Quicktime from Final Cut Express HD maintaining the best quality but getting the file size as small as possible?