Give a checkbox a variable name.

I am using a Flash form to add/edit records in an MS Access
Database via ASP. It's working great for all of the text fields,
because I just refer to the variable names in my ASP script and it
updates the corresponding field in the Access database. However, I
have a checkbox (yes/no) field in my database which I can't seem to
update using a checkbox in a Flash form. I assume that if I could
assign the checkbox in the Flash Form a variable name and then make
checked = -1 and unchecked = 0 (as it does in Access), then I'd be
in the money.
So in short, does anybody know how to do the following in
Actionscript 2:
a) Give a checkbox a variable name (like the one a Text Input
field can be given in "Properties")
b) Make checked = -1 and unchecked = 0 for the checkbox in
Flash?
Thanks so much!!!

Start a new Flash file and place a checkbox and a dynamic
textfield on the stage.
Give the checkbox an
instance name of cBox
Give the textfield a
variable name of cBoxStatus and an
instance name of cBS
Then plant the following code in the timeline, play the
movie, click the checkbox a few times. You can read the textfield
directly for the values you say you want (0,-1) via: cBoxStatus or
Number(cBS.text);
If you don't want the textfield to be visible, there are a
number of ways you can hide it. I'll let you work that out...
something to think about and solve--don't think too hard
though--it's not difficult.

Similar Messages

  • Dynamic Variable name (for int/long) from a String variable

    Hi,
    I want to give a int/long variable name from a String.
    for ex.
    String str = lookup + "Id";
    lookup is a String variable coming from XML. Now, for instance lookup="name". So str = "nameId".
    Now I want to create a int/long variable by nameId.
    Could anybody tell me the way how to do. Please don't tell to use MAP.
    Edited by: Shah on Dec 5, 2007 3:26 PM

    Well you can't. Use a Map.
    The compiler translates variable names into slot numbers, either within an object or withing the local "stack frame" and these slot numbers are assigned names at compile time. No new slots can be created at run time. Java is not Basic.
    Reflection allows you to find existing field names and methods (not local variables), so it's possible to map, for example, XML attribute names to field names or setters in an object but the names have to be known at compile time.

  • How do I create a variable name on the fly?

    Hi,
    If I have a String containing a value, how do I create a variable name using that value during program execution? That is if I have
    String fred = "newvar";
    How do I then create a new String with the name "newvar" (using the contents of fred)? I will never know what the content of fred is until this point. What I'd like to be able to do is something like
    String fred.subString(0) = "a new value";
    Obviously this won't work but if it did the statement would evaluate to something like
    String newvar = "a new value";
    Appreciate any help you can give,
    Dave.

    Here u go:
       private JCheckBox AddCheckBox( String strText, int nTextID )
          JCheckBox checkbox = null;
          Class checkboxDefinition;
          Class[] stringArgsClass = new Class[] {String.class};
          Constructor stringArgsConstructor;
          Object[] stringArgs = null;
          String arg = "";
          arg = "CheckBox" + nTextID;
          String label = new String(arg);
          stringArgs = new Object[] {label};
          try
            checkboxDefinition = Class.forName("javax.swing.JCheckBox");
            stringArgsConstructor = checkboxDefinition.getConstructor(stringArgsClass);
            checkbox = (JCheckBox) createObject(stringArgsConstructor, stringArgs);
            checkbox.setName(label);
            checkbox.setText(strText);
            checkbox.setSize(new java.awt.Dimension(CQuestionBase.PAGEWIDTH, 21));
            checkbox.putClientProperty("1",new Integer(nTextID));
            checkbox.setVisible(true);
          catch (ClassNotFoundException e)
            System.out.println(e);
          catch (NoSuchMethodException e)
            System.out.println(e);
          return checkbox;
       }This code was based on an example I found about two years ago. You can use the same methodolgy to create objects of any kind. Again, look at java.lang.Reflect.

  • How to declare internal table in BADI with variable name beginning with 0..

    Gurus,
    How to declare an internal table within a BADI. I have to implement a BADI UC_TASK_CUSTOM for BCS to BW load and there i have to  declare an internal table like:
    TYPES:          BEGIN OF t_cube_data,
                    0cs_version       TYPE /bi0/oics_version,
                    0sem_cgcomp       TYPE /bi0/oisem_cgcomp,
                    bcs_vers          TYPE /bic/oibcs_vers,
                    bcs_lcus          TYPE /bic/oibcs_lcus,
                    bcs_ldch          TYPE /bic/oibcs_ldch,
                    bcs_invcom       TYPE /bi0/oibcs_invcom,
                    bcs_litem         TYPE /bic/oibcs_litem,
                    bcs_llob          TYPE /bic/oibcs_llob,
                    bcs_lmay          TYPE /bic/oibcs_lmay,
                    0move_type        TYPE /bi0/oimove_type,
                    pcompany         TYPE /bi0/oipcompany,
                    bcs_lprg          TYPE /bic/oibcs_lprg,
                    figlxref3         TYPE /bic/oifiglxref3,
                    fiscyear         TYPE /bi0/oifiscyear,
                    fiscper3         TYPE /bi0/oifiscper3,
                    fiscvarnt        TYPE /bi0/oifiscvarnt,
                    curkey_gc        TYPE /bi0/oicurkey_gc,
                    unit             TYPE /bi0/oiunit,
                    cs_trn_gc        TYPE /bi0/oics_trn_gc,
                    cs_trn_qty       TYPE /bi0/oics_trn_qty,
              END OF t_cube_data
    But with this declaration it gives a error saying that u cannot have a variable beginning with 0...like 0cs_version....
    but i have to do it for my functionality to wrk...
    Please help me do it....
    how can i declare a internal table that allows me to have variable names that start with 0....
    Please help....Its URGENT....
    Thanks
    Sam

    Murali,
    I need to have 0 before the variable name in the declaration of the internal table....how can i attain that....
    Please suggest...
    Thanks
    Sam

  • Is it possible to add a property using variable in variable name?

    I want to query for a list of virtual machines within a folder, then create a menu of the host names using forms.  Since the list of machines is subject to change, I want to build the list each time the script is run, rather than build off a static
    list. 
    For each virtual machine I need to create the list of variables below:
    $hostnameX = New-Object System.Windows.Forms.checkbox
    $hostnameX.Location = New-Object System.Drawing.Size(10,20)
    $hostnameX.Size = New-Object System.Drawing.Size(100,20)
    $hostnameX.Checked = $true
    $hostnameX.Text = "Type"
    $hostnameX.Controls.Add($hostnameX)
    The location and size values need to be incremented but I think I can figure that part out.
    I can use New-Variable to generate the initial variable. But I receive errors using the same method to try to create a new property for the variable.
    $VMS = Get-Cluster MyCLUS | Get-vApp "My vApp" | Get-VM | Select Name,PowerState | Sort Name
    For ($i=0; $i -lt ($VMS.count); $i++)
    $VMS[$i].Name
    $VMGUEST = "$($VMS[$i].Name)" -replace("-","")
    New-Variable "CB$VMGUEST" "New-Object System.Windows.Forms.checkbox"
    New-Variable "CB$VMGUEST.Location" "New-Object System.Drawing.Size(10,20)"
    In the above, $CBVMGUEST1 =  New-Object System.Windows.Forms.checkbox which is what I want,  but $CBVMGUEST1.Location is not set.
    Is there way to add a property using a variable in the variable name?  Or any other suggestions on how to tackle this issue?

    Hi,
    maybe another approach is a bit easier.
    Use a hash-array like
    $CB = @{}
    $CB[$VMGUEST] = New-Object System.Windows.Forms....
    $CB[$VMGUEST].Location = New-Object System.Drawing....
    Mit freundlichen Grüßen Jens Kalski
    That's the correct answer.  Anytime you find yourself wanting to create variables named "Widget1", "Widget2", "Widget3", etc... it's a pretty clear indication that what you really need is a collection object of some sort.  That might be an array,
    a hashtable, or any other data structure for holding other objects, depending on your specific needs.

  • Putting quote round a variable name to make a string

    Hi,
    Hopefully this is a fairly simple task.
    I would like to take a variable name, say Hyp, from my main program and call it in a class, captured in a variable called A and create a string with double quotes surrounding it... to give an answer of "Hyp" which can be used in my program for a further class call which needs the name in quotes.
    I've tried using
    String concat = """+A+""" but this results in an invalid AssignmentOperator
    If I use
    String concat = ""+A+"" I get Hyp with out the quotes - not what is required
    If I use
    String concat = "'"+A+"'" I get 'Hyp' which does not work with the further class which requires "Hyp"
    Can anyone help?

    Escape it with a \ like this:
    String concat = "\""+A+"\"";

  • Need Selection variable name for "System Year - 1"

    Hi All,
    I have Fiscal Year field in the selection screen of a custom program. The value of this field comes from system variable.
    I need to create a variant where this fiscal year should have the value "Current year - 1".
    This has to be done using Selection Variable. Currently there is no such variable in the F4 help (TVARV table).
    Please tell me if there is a way to get such a selection variable...

    Hi Tolga,
    The selection screen parameter is defined as:
    parameters: p_gjahr        type gjahr obligatory memory id gjr,
    I cannot use the FM in the AT SELECTION SCREEN ON VALUE-REQUEST.
    When you create a variant for the program.. click button "Variant Attributes" - Here the checkbox for Selection variable is ticked for this field. Now click "Selection Variables". here we can provide the variable name which comes from TVARV table.
    I need this Selection variable. I am not allowed to do any program changes.

  • Oracle 11G and SqlDataSource: 'ORA-01036: illegal variable name/number'

    [Resolved - http://forums.oracle.com/forums/thread.jspa?messageID=2366331&#2366331]
    I've created a short video to explain my problem with Oracle and SqlDataSource. If you'd rather watch than read, go see the video at http://www.kencox.ca/video/oracelandsqldatasource.html.
    I'm trying to do some extremely simple drag and drop development in Visual Web Developer 2008 with the Oracle 11g database and ODP.NET. According to Oracle, "The data provider can be used with the latest .NET Framework 3.5 version. "
    The SELECT statement works fine, but any attempt to use UPDATE via the SQLDataSource UpdateCommand nets me the infamous 'ORA-01036: illegal variable name/number' error.
    I wouldn't mind using one of my MSDN Support Incidents to have Microsoft take a look at this issue, but I'm not sure the problem is Microsoft's. It seems like Oracle is doing a poor job in its Visual Studio integration.
    Question: Has anyone successfully used an UpdateCommand statement in SQLDataSource against Oracle 11g? If so, let me know!
    Below, you see the entire code as generated in Visual Web Developer 2008. To see it in action, check the video at http://www.kencox.ca/video/oracelandsqldatasource.html.
    Ken
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
    <title>Untitled Page</title>
    </head>
    <body>
    <form id="form1" runat="server">
    <div>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
    DataSourceID="SqlDataSource1"
    EmptyDataText="There are no data records to display.">
    <Columns>
    <asp:CommandField ShowEditButton="True" />
    <asp:BoundField DataField="ACCOUNTID" HeaderText="ACCOUNTID"
    SortExpression="ACCOUNTID" />
    <asp:BoundField DataField="ACCOUNTNAME" HeaderText="ACCOUNTNAME"
    SortExpression="ACCOUNTNAME" />
    <asp:BoundField DataField="ACCOUNTLOCATION" HeaderText="ACCOUNTLOCATION"
    SortExpression="ACCOUNTLOCATION" />
    <asp:BoundField DataField="ACCOUNTPHONE" HeaderText="ACCOUNTPHONE"
    SortExpression="ACCOUNTPHONE" />
    <asp:BoundField DataField="ACCOUNTCONTACT" HeaderText="ACCOUNTCONTACT"
    SortExpression="ACCOUNTCONTACT" />
    <asp:BoundField DataField="ACCOUNTWEBSITE" HeaderText="ACCOUNTWEBSITE"
    SortExpression="ACCOUNTWEBSITE" />
    </Columns>
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server"
    ConnectionString="<%$ ConnectionStrings:ConnectionString1 %>"
    ProviderName="<%$ ConnectionStrings:ConnectionString1.ProviderName %>"
    SelectCommand="SELECT "ACCOUNTID", "ACCOUNTNAME", "ACCOUNTLOCATION", "ACCOUNTPHONE", "ACCOUNTCONTACT", "ACCOUNTWEBSITE" FROM "ACCOUNTS""
    UpdateCommand="UPDATE ACCOUNTS SET ACCOUNTLOCATION = 'This Place' WHERE (ACCOUNTID = 4)">
    </asp:SqlDataSource>
    </div>
    </form>
    </body>
    </html>//////////using System;
    using System.Collections;
    using System.Configuration;
    using System.Data;
    using System.Linq;
    using System.Web;
    using System.Web.Security;
    using System.Web.UI;
    using System.Web.UI.HtmlControls;
    using System.Web.UI.WebControls;
    using System.Web.UI.WebControls.WebParts;
    using System.Xml.Linq;
    public partial class _Default : System.Web.UI.Page
    protected void Page_Load(object sender, EventArgs e)
    Message was edited by:
    kjopc

    Ken,
    One thing to be aware of is Microsoft has produced Visual Studio database tools and data provider for Oracle. In addition, Oracle has produced its own tools. Knowing which products you are using is important because you want to know which company you should be complaining about. :-)
    In your video, you are using all Microsoft tools and data provider, not Oracle's.
    I would recommend using Oracle Developer Tools (ODT) for VS and ODP.NET since these products are much better integrated with .NET and Oracle.
    ODP.NET uses Oracle.DataAccess.Client namespace. System.Data.OracleClient belongs to the MS provider for Oracle, which Mark pointed out. If you drag and drop DB objects using ODT, it will generate ODP.NET code for you (and give you more data source wizard options as well).
    You can download the latest 11g version of ODP.NET and ODT here:
    http://www.oracle.com/technology/software/tech/windows/odpnet/index.html
    These support .NET 3.5 and VS 2008.

  • Anonymous PL/SQL . Illegal variable Name/number.

    Hi
    I have tested ODP.NET in ASP.NET for upload images. But when read back from DB then save image to local drive. When I tested given sample code working fine. But when I modify code only select statment in PL/SQL it gives error.
    Following statment is the error. Illegal variable Name/number. Pl.
    advice me what need to change.
    Dim block As String = " BEGIN " & _
    " SELECT Ad_Image into :2 from Printmedia WHERE Product_ID = " + ProdID + ";" & _
    " end ;"

    You use bind variables. Great!
    And then you do not use bind variables. Bummer!!
    Why can you make the output from the SQL a bind variable, but you do not supply Product ID as a bind variable? This causes a unique and non-sharable SQL statement in the SQL Shared Pool. Where the emphasis is very obvious - shared SQL.
    The definition should be something like this:
    Dim block As String = "BEGIN SELECT Ad_Image into :1 from Printmedia WHERE Product_ID = :2; END;"But why are you using an anonymous PL/SQL block and a bind variable to get to the image? Deal with it as a cursor. Much easier. E.g.
    Dim cursorSQL As String = "SELECT Ad_Image FROM Printmedia WHERE Product_ID = :1"Open the cursor. And there you have the resulting image column as a result.

  • Bug Report: PLSQL variable names

    Hello,
    I am using Oracle 10g Release 2 and have come across an issue that I think maybe a bug.
    I don't seem to be able to declare a PL/SQL variable using the %TYPE attribute where the variable name is the same as the table name.
    For example:
    CREATE TABLE week_day
    ( week_day_id NUMBER NOT NULL
    , week_day VARCHAR2(3) NOT NULL );
    DECLARE
    week_day week_day.week_day_id%TYPE;
    BEGIN
    NULL;
    END;
    Executing this block of PL/SQL gives the following error:
    ERROR at line 2:
    ORA-06550: line 2, column 12:
    PLS-00320: the declaration of the type of this expression is incomplete or malformed
    ORA-06550: line 2, column 12:
    PL/SQL: Item ignored
    Normally I would prefix my variables in PL/SQL with l_ (or whatever depending on scope), but I discovered this "feature" when declaring a field in a PLSQL record.
    Is this a known restriction? I looked in the PL/SQL User Guide & Reference and could not find any reference to this restriction.
    Kind Regards
    Andy

    You shouldn't call variables the same as table names.Just to plus one BluShadow...
    SQL> CREATE TABLE week_day
      2  ( week_day_id NUMBER NOT NULL
      3  , week_day VARCHAR2(3) NOT NULL );
    Table created.
    SQL> DECLARE
      2  week_day week_day.week_day_id%TYPE;
      3  BEGIN
      4  NULL;
      5  END;
      6  /
    week_day week_day.week_day_id%TYPE;
    ERROR at line 2:
    ORA-06550: line 2, column 10:
    PLS-00320: the declaration of the type of this expression is incomplete or
    malformed
    ORA-06550: line 2, column 10:
    PL/SQL: Item ignored
    SQL> drop  TABLE week_day;
    Table dropped.
    SQL> CREATE TABLE week_day
      2  ( w_day_id NUMBER NOT NULL
      3  , w_day VARCHAR2(3) NOT NULL );
    Table created.
    SQL> DECLARE
      2  week_day week_day.w_day_id%TYPE;
      3  BEGIN
      4  NULL;
      5  END;
      6  /
    week_day week_day.w_day_id%TYPE;
    ERROR at line 2:
    ORA-06550: line 2, column 10:
    PLS-00320: the declaration of the type of this expression is incomplete or
    malformed
    ORA-06550: line 2, column 10:
    PL/SQL: Item ignored
    SQL> drop  TABLE week_day;
    Table dropped.
    SQL> CREATE TABLE week_days
      2  ( week_day_id NUMBER NOT NULL
      3  , week_day VARCHAR2(3) NOT NULL );
    Table created.
    SQL> DECLARE
      2  week_day week_days.week_day_id%TYPE;
      3  BEGIN
      4  NULL;
      5  END;
      6  /
    PL/SQL procedure successfully completed.
    SQL> Cheers, APC
    Blog : http://radiofreetooting.blogspot.com/

  • Change variable name of component once declared

    Hello,
    I was wondering if you can change a variable name of a component so if i had the following declaration of a button like this:
    JButton btn = new JButton();can i then change the variable name 'btn' to be 'button' after i have declared it like this ?
    Many thanks in advance

    ok, you might have a better solution for me actually....
    What i have done so far is created a JTabbedPane in one class, i have also created a seperate class with extends a JPanel. This consists of two textboxs and two buttons. Now i want to add this class as a component to each new tab that i create in the other class.
    However the problem that i have is the reference name that i give for the textboxs and buttons will be the same for the multiple tabs that i create which i guess will not work.
    For example, i create 2 tabs each with one of these instances of this class in each. So therefore there will be two identical buttons with the same reference and two identical textboxes with the same reference.
    This is the code for the class that extends a JPanel: (note: i have cut out all the layout code to simplify the code a little)
    public class client extends javax.swing.JPanel {
        private JButton Sbrowse_btn;
        private JButton Sbrowseto_btn;
        private JLabel SchosenFile_lbl;
        private JLabel SchosenL_lbl;
        private JTextField SchosenLoc_tf;
        private JTextField Schosen_tf;
        private JLabel SsaveTo_lbl;
        private JLabel SuploadTo_lbl;
        private JPanel jPanel2;
        private JPanel jPanel3;
        /** Creates new form client */
        public client() {
            initComponents();
        private void initComponents() {
            jPanel3 = new JPanel();
            SuploadTo_lbl = new JLabel();
            Sbrowse_btn = new JButton();
            SchosenFile_lbl = new JLabel();
            Schosen_tf = new JTextField();
            jPanel2 = new JPanel();
            SsaveTo_lbl = new JLabel();
            Sbrowseto_btn = new JButton();
            SchosenL_lbl = new JLabel();
            SchosenLoc_tf = new JTextField();
    }

  • QuickInfo shows a single letter instead of full variable name

    Hi,
    I have an isolated shell application based on VS2010 shell. The mouse over on a variable in debug mode gives the name of the variable and the value.
    Now, I have ported the application to isolated shell VS2013, now the mouse over on a variable is not identifying the entire variable name instead identifies only the single letter in the variable name.
    There has been no change in the source code.
    Is there any special handling required for the new isolated shell?

    How exactly did you "port" the application to the 2013 isolated shell?
    The tooltip feature you describe is implemented by a custom language service package. So I'd start looking there.
    I've never seen recommendations for porting from one version of the isolate shell to another. I typically just generate a new isolated shell package, then add in my various package implementations to the new solution, and add them to the ShellExtensionsVSIX
    manifest.
    Also, if you have a custom project type based upon MPF_Proj, you may also need to update those sources to the corresponding version of the MPF_Proj sources, as those are routinely updated to match up the major VS versions.
    Sincerely,
    Ed Dore

  • Counting Checkboxes with different Names

    I have a form that I am creating in Livecycle Designer 8.0 that has 100 checkboxes that the user selects from. I would like to have a field that counts how many check boxes are checked. What is the easiest way to do this?
    Also, Do I have to add each field individually or is there a way to select them all and insert to the formula at once?
    Thanks!

    Big thanks out to Paul Guerette for helping me write the script for this. He gave me an option to do it as an exit event of the pages or on a button click. Here is the code for the button click:
    - form1.Order_Page.Button1::click: - (JavaScript, client) ---
    form1.Order_Page.Product_Table.Row3.Course_Quantity.rawValue = 0;
    //app.alert("Page1 Exit Event fired!!!!");
    //Get total number of element on Page 1 of the form
    var allChildElements = form1.Course_Selection_Subform1.Course_Selection_Page_1.nodes;
    var intNumElements = allChildElements.length;
    //app.alert("The number of elements is: " + intNumElements);
    //Loop through all the objects on Page1
    for(j=0; j< intNumElements;j++){
    //set the 1st object to a variable name
    currentElement = allChildElements.item(j);
    //if the object is a field then test to see if it is a checkbox
    if(currentElement.className == "field") {
    //app.alert(currentElement.ui.oneOfChild.className);
    // is it a checkbox?
    if (currentElement.ui.oneOfChild.className == "checkButton"){
    //Is the checkbox checked?
    if (currentElement.rawValue == "1"){
    //increment the Course_Quantity field
    form1.Order_Page.Product_Table.Row3.Course_Quantity.rawValue = form1.Order_Page.Product_Table.Row3.Course_Quantity.rawValue + 1;
    //app.alert("Page2 Exit Event fired!!!!");
    //Get total number of element on Page 1 of the form
    var allChildElements = form1.Course_Selection_Subform2.Course_Selection_Page_2.nodes;
    var intNumElements = allChildElements.length;
    //app.alert("The number of elements is: " + intNumElements);
    //Loop through all the objects on Page1
    for(j=0; j< intNumElements;j++){
    //set the 1st object to a variable name
    currentElement = allChildElements.item(j);
    //if the object is a field then test to see if it is a checkbox
    if(currentElement.className == "field") {
    //app.alert(currentElement.ui.oneOfChild.className);
    // is it a checkbox?
    if (currentElement.ui.oneOfChild.className == "checkButton"){
    //Is the checkbox checked?
    if (currentElement.rawValue == "1"){
    //increment the Course_Quantity field
    form1.Order_Page.Product_Table.Row3.Course_Quantity.rawValue = form1.Order_Page.Product_Table.Row3.Course_Quantity.rawValue + 1;

  • Variable name declared by using an object-------Where Used List

    Hi,
          Can anyone let me know how to find the variable names that are defined by using an object  like 'sflight' in all the reports, classes,funciton modules.
    For example
    in a report   'ZREPORT'  i have declared a variable data lt_sflight type table of sflight.
    and in other report 'ZREPORT1' i have declared as data lt_sfli type table of sflight.
    and i want to know the all the variable name that are declared by using sflight object say in all reports,FM'S and Classes
    Edited by: PEEDNAS on Feb 3, 2011 10:02 AM
    Edited by: PEEDNAS on Feb 3, 2011 10:08 AM

    Hi Sumodh,
                         Thanks for your information but
    the where used list internally uses 'RS_TOOL_ACCESS' FM for that FM if we give object type and object name then it gives some search results  and from there we can check the variables names manually directly but i want to get the list of variable names directly
    Regards,
    Sandeep

  • Dynanmic variable name creation with loadMovie

    My error indicates that the dynamic variable name is being
    created OK... the right path to the movie to be loaded shows
    properly in the error message.., but the movie does not load it.
    :o(
    THE ERROR MESSAGE:
    Error opening URL
    "file:///C|/Documents%20and%20Settings/Bob%20Achgill/My%20Documents/Docs%20of%20Bob/Downl oad/hhr/Losha/1/InTheBeginningFeb08/eng_in1.swf
    THE SCRIPT:
    loadVariables("MyVar.txt", _root);
    //canvas_mc.loadMovie(this["wordSWF_" + count]); // This line
    gives error
    //canvas_mc.loadMovie(this["wordSWF_1"]); // This line gives
    error
    canvas_mc.loadMovie("eng_in1.swf"); // This line works!
    THE LOAD VARIABLE DATA FILE:
    MyVAR.txt contains...
    &wordSWF_1=eng_in1.swf
    &wordSWF_2=eng_the1.swf
    &wordSWF_3=eng_beginning1.swf

    This is a tricky bit about loading text in Flash. Look at
    your MyVAR.txt file and tell me what is at the end of each
    line…give up…look really hard…they are invisible,
    but they are there…don't hate them because they are
    invisible.
    Yup. There is a line return/enter at the end of each line. So
    I'm guessing you don't have a file called eng_in1.swf[invisible
    return] on your system? Notice how even in the error message the
    ending quote mark is down a line?
    The secret is to do your file like this:
    &wordSWF_1=eng_in1.swf&
    &wordSWF_2=eng_the1.swf&
    &wordSWF_3=eng_beginning1.swf&

Maybe you are looking for

  • Sending an email to multiple recipients

    I'm trying to send to an email to to a few hundred addresses (a gig announcement- I'm a musician), and Apple Mail won't let me. The addresses are in a group in the Address Book. I use to do this on my G5, but this computer won't allow it, even though

  • Bootcamp partion lost after OS X update, Need help repair my disk.

    Hi. After updating to Yousimiti yesterday, i encountered som problems with my bootcamp partion. I wasn't able to boot from the partion. I googled a lot, and found some posts, where the problem was resolved, and followed the following steps: sudo fdis

  • Post moved Connected new Samsung TV to my LAN but...

    Moved http://community.bt.com/t5/Other-BB-Queries/Connected-new-Samsung-TV-to-my-LAN-but-has-problems/td-p... If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question the

  • Runtime error: SYSTEM_NO_ROLL in portfolio steering  "Unable to fullfil req

    HI All, Runtime time error: SYSTEM_NO_ROLL and  "Unable to fulfil request for 65536 bytes of memory space". I am selected 350 items in portfolio steering for changing status by using button UIPDATE ARTIFACTS. while changing 350 items am getting dump

  • Restore last week Rman backup

    Hi guys i need to restore last week rman backup from .. we are not using catalog database. i need to restore it on same machine with diff mount point .. i know i can use tag option of restore specifically last week backup but its production restore s