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&

Similar Messages

  • 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

  • Added dynamic text; How do I stop variable name from showing?

    I am creating a simple game for kids.  On the first page, I added an "input text" field for their first name.  I called the variable firstname.
    When they move to the next page, I used a "dyanamic text" field so I can call them by name on this page.  It works.  However, When I test the game, on the first page, where the firstname is input, it shows    _level0.firstname          instead of just a blank space for them to input their name.
    I know I fixed this in the past and it was something simple, but I can't remember how to do it.  I'd appreciate anyone's help!
    Thanks.

    Beginning with Flash MX (version 6), you assign the text field an instance name using the Property inspector. Although you can use the variable name method with dynamic text fields for backwards compatibility to Flash 5 and earlier versions, Macromedia doesn't recommend this, because you can't control other text field properties, or apply style sheet settings

  • Problem with variable name in ZXRSRTOP include (virtual KF)

    Hi all,
    I am coding a routine to use a virtual key figure in the BEx.
    I have just a little problem with the name of a variable:
    as explained in the documentation, I created the variable with the prefix G_POS_, the name of the infocube and the name of the infoobject all together:
    DATA: G_POS_BC_ST_003_C_DIV__C_COMPAR   type i.
    The problem is that this variable name is longer than 30 characters, so the system doesn't accept it.
    Is there a workaround, other than changing the name of the infoobject (which is a navigational attribute)?
    Any help would be appreciated.
    Loï

    Hello Marc,
    I understand that I have to use a concatenate function and a dynamic call of the variable with (variable) instruction, but i do not understand how to implement it.
    the infocube name is BC_ST_003
    the characterisdtic name is C_DIV__COMPAR
    So, in the include ZXRSRTOP the statement
    DATA : G_POS_BC_ST_003_C_DIV__COMPAR
    does not work due a length problem (see first post)
    But in the same include the statement
    +DATA: l_global_name type c.
    concatenate 'GPOS' 'BC_ST_003' 'C_DIV__C_COMPAR' into l_global_name separated by '_'.+
    drives to the following error : statement is not accessible.
    Could u please provide me with an example of the code in the include ZXRSRTOP, and in the include ZXRSRZZZ for the use of this variable.
    Thanks in advance.
    Loï

  • Delete with variable name

    I need to run a SQL command in one of the step in my procedure where I need to run command like >>>> Delete from TableA where Column1 LIKE 'MY_VAR' but while running its not substituting the value of MY_VAR.....Any clue how can I run command like this where I have refresh the variable before executing the procedure in the package so variable is declared before procedure execution.I dont wanna refresh the variable with Quotes around because I am using this variable in different places. Any clue how can I put quotes around MY_VAR in Like stament.
    I have also tried this>> Delete from TableA where Column1 LIKE '''MY_VAR''' but still variable value is not substituting.

    The substituted variable will never appear in the log, how are you figuring out it does not get substituted?
    In the syntax, you should use something like the following:
    Delete from TableA where Column1 LIKE '#MY_VAR'If you use the expression editor to do select the variable name, it should ensure that it is put in correctly. To see if it is actually recognised, in the log, you should see
    Delete from TableA where Column1 LIKE '#MyProject.MY_VAR'Craig

  • How to auto create a global variable with specific variable name in a global vi ?

    how to auto create a global variable with specific variable name in a global vi using lv ? Because i need to add a lot of global variable in this global vi. But you know, if  i manually add them , it will be a much time-costing work. So i want to use someway to auto generate ? Can i ?? Thanks a lot !

    Hi
    what aartjan is saying is the way for you. but you can develop an utility which will actually help you create global variables. To get the details on this just have a look at VI Scripting section on LAVA forum.
    But i would like you to suggest few things
    1. If your programs have so many global variables (Thats why u want utility) then you should take out some time to read about LabVIEW design patterns. I think if programmer follows these practicess he dont need a single global variable.
    2. Their are some other ways to achieve similar functionality as of global variables (Uninitialized Shift Registers, Single Element Qs and so on) but they are much faster than global variables.
    I am Attaching Whatever Resources i am having I will also attach the template of the design pattern i generaly use in short duration
    Message Edited by Tushar Jambhekar on 10-06-2005 07:33 PM
    Message Edited by Tushar Jambhekar on 10-06-2005 07:36 PM
    Tushar Jambhekar
    [email protected]
    Jambhekar Automation Solutions
    LabVIEW Consultancy, LabVIEW Training
    Rent a LabVIEW Developer, My Blog
    Attachments:
    LabVIEWDesignPatterns.zip ‏1505 KB
    Large_Code_Implementation.zip ‏522 KB
    Database Tests.zip ‏868 KB

  • Table name ? with query name , variable name and variant .

    Hi All,
    Is there any single table with fields as query name , variable name and variant ?
    or any table which i can build a view to get these fields.
    or any other way ?? to get this fields in single table
    Thanks,
    Ak

    Hi,
    first use the proper heading for a question.
    you want the query all details means technical name, variable and variable type use RSRTQ
    it will give total information of query.
    Bex related tables
    RSZELTDIR ----
    Directory of the reporting component elements
    RSZELTTXT ----
    Texts of reporting component elements
    RSZELTXREF  ---
    Directory of query element references .
    Thanks,
    Phani.

  • Search/Replace for/with php variable name

    Hi all.
    I have just updated from Dreamweaver 5 to 5.5 and now I am missing a very handy functionality.
    What I want to do is to replace all occurences of $a with $b.
    In Dreamweaver 5 that was very easy by using "Find and replace":
    Find in: All open documents
    Search: Sourcecode
    Find: $a
    Replace: $b
    Active options: Match case and Match whole word !!!!
    Now in Dreamweaver 5.5 the option "Match whole word" is automatically disabled as soon as I enter a $ (dollar) in the search field.
    I assume this has something to do with regular expressions but I do NOT check the option "Regular expression" in the search and replace dialog.
    Is this a bug?
    What are my options now.
    If I don't have the possibility to to tick "Match whole word" my search does also replace all occurrences of $abc and $answer etc. with $b.
    Thank you for your help

    samet2011 wrote:
    I have Dreamweaver 5 and 5.5 running parallel on my computer.
    I can confirm that the way I described and used to use is working on Dreamweaver 5.
    I was the person who informed Murray that Dreamweaver CS5 and CS5.5 both behave the same way. I have just checked as far back as CS3, and it also disables "Match whole word" when you enter a dollar sign in the Find field of the Find and Replace dialog box. In fact, that option is disabled whenever you enter any nonalphanumeric character (except an underscore) in that field. It's not limited to dollar signs.
    Why it's not disabled in your version of CS5 is a mystery.
    However, to solve your problem, you don't need either a regex or "Match whole word". Simply type the name of your PHP variable followed by a space into the Find field. Also add a space after the name of the variable you're using as the replacement.
    What "Match whole word" does under the hood is to use a regular expression to find a word break. As long as you leave a space between your variables and any following code, simply adding the space to your search will do the trick.
    However, if you have cases where a variable is followed by a comma, closing parenthesis, or some other character, you will need to use the following regex:
    Find: \$variable_name\b
    Replace: $new_name
    The \$ looks for a dollar sign. The variable_name matches the literal text of the variable name (replace it with the actual text you're looking for). The \b matches a word break in exactly the same way as "Match whole word".
    In the Replace field, $new_name is the literal name of the new variable.

  • After Effects customize template with web browser?(layer name giving a variable names)?

    After Effects customize template with web browser?(layer name giving a variable names)?
    so many web sites provideing this service ...online intro makers
    please help me .what plugins using .how to setup this kind of service?

    Sir please see these sites...
    (www.makewebvideo.com,
    templates.introchamp.com.....)
    some sites are in online ...these are using AE for render

  • Why prefix variables names with a colon?

    PROCEDURE calc_avg_sales
    BEGIN
    :sales.avg := :sales.month1 / :sales.total;
    EXCEPTION WHEN ZERO_DIVIDE THEN
    :sales_avg := 0;
    RAISE FORM_TRIGGER_FAILURE;
    WHEN OTHERS THEN NULL;
    END;
    Excerpt from Oracle PL/SQL Programming ISBN 0-596-00381-1 Pg. 106
    Why are the variable :sales.avg, :sales.month1, and, :sales.total not declared in the above snippet? Is it presumed that they have been? Why is a : (colon) placed in front of the variables?
    Why would you think that FORM_TRIGGER_FAILURE is raised rather than ZERO_DIVIDE?
    Within my production environment I have noticed that error messages are sometimes vague to the user and for the technical user, and, would like to make use of an error table which would help technical support troubleshoot the cause of the error, without giving unnecessary details to the end user. Ideally this would include details of the Java Exceptions raised (usually large stacks) within applications that form part of the software architecture. How would you go about using an error handling mechanism?
    Edited by: Jon80 on Jun 24, 2012 2:02 PM

    Hi,
    Jon80 wrote:
    PROCEDURE calc_avg_sales
    BEGIN
    :sales.avg := :sales.month1 / :sales.total;
    EXCEPTION WHEN ZERO DIVIDE THEN
    :sales_avg := 0;
    RAISE FORM_TRIGGER_FAILURE;
    WHEN OTHERS THEN NULL;
    END;
    Excerpt from Oracle PL/SQL Programming ISBN 0-596-00381-1 Pg. 106
    Why are the variable :sales.avg, :sales.month1, and, :sales.total not declared in the above snippet? Is it presumed that they have been? Why is a : (colon) placed in front of the variables?Variables that start with a colon act like global variables; they can be defined in a larger scope. The colon helps the compiler identify them as not necessarily being defined in the unit being compiled.
    Why would you think that FORM_TRIGGER_FAILURE is raised rather than ZERO_DIVIDE?Actually, I would expect PLS-00103 Encountered the symbol "DIVIDE" when expecting one of the following ..., because you have a space (ZERO DIVIDE) instead of an underscore (ZERO_DIVIDE). Cut and paste actual code when posting here.
    If you correct that, then ZERO_DIVIDE is raised in the procedure. An EXCEPTION handler keeps some errors that occur at run-time from being reported to the caller. In this case, the EXCEPTION handler is saying "Don't report ZERO_DIVIDE as an error. Instead, do this ...". In this example, part of what it is doing instead is raising a different error, and that's the only error that is reported to the caller.
    By the way, "WHEN OTHERS THEN NULL" is almost always a very bad thing to say.
    Within my production environment I have noticed that error messages are sometimes vague to the user and for the technical user, and, would like to make use of an error table which would help technical support troubleshoot the cause of the error, without giving unnecessary details to the end user. Ideally this would include details of the Java Exceptions raised (usually large stacks) within applications that form part of the software architecture. How would you go about using an error handling mechanism?One thing Oracle often does is print short, vague error messages on the screen, but write long, detailed messages in trace files on the database server. Programmers are instructed to look for a trace file when they see certain error messages. You might do something similar. Instead of (or in addition to) writing trace files, you could insert rows into an error-logging table.

  • Servicegen - Issue with Variable Names - WLS 8.1

    Hi Experts
    I am trying to expose an EJB as a Webservice.. I assembled the ear using SERVICEGEN exposed by Weblogic 8.1
    To my dismay the generated WSDL (even the web-services.xml) are not having the variable names which I gave in my webservice method. Instead I get String, String0, String1 and so on...
    Kindly help me get over this problem.
    Thanks and Regards,
    Gopal.

    your application miight not be using this libraries but there are many shared libraries which are configured could be using. please check whether config.xml file of your domain contains the entries for this library.Problem running simple portal tutorial question

  • Crystal Reports - Problem with too long BEx Query technical variable names?

    Hello!
    I have Crystal Reports 2008 SP3 and the SAP BO Integration Kit XI 3.1 SP3 installed and want to access a BEx query on a BW system within my Crystal Report.
    The problem is that the name of the BEx variable is not displayed correctly (just "[]" is displayed for the variable name) as a parameter within Crystal Reports when I import the query. Furthermore I can't navigate through the fields of the query within Crystal Reports.
    The technical names of the BEx query-variables have a length of 12 characters.
    The interessting thing is that if I change the technical names of the BEx query variables to a maximum length of 8 characters everything works fine.
    I use the SAP toolbar within Crystal Reports 2008 to create the report and have the "MDX-driver"-setting selected.
    Has anyone ever had the same problem? Any suggestions?
    I don't want to change the technical names of the variables of my queries...
    thanks,
    Dominik

    Hi!
    Just fixed the problem: The "Transports" for the Integration Kit had to be imported at the BW-System
    regards

  • BaOpenfile with variable name

    Hi I was wondering if it's possible to use baOpenFile() to
    open a file using a variable name. Like selectImg = coco.jpg
    getURL('lingo: baOpenFile(_movie.path & selectImg ,
    "Normal")');
    this is the command in the flash file. If I use a specific
    name like GA-VE4-IMG1.jpg instead of the variable name it's work.
    the file browser of xp open and display the file. What's
    weird is when I use the variable without the " " instead of a file
    name it open windows explorer ..... wooh! any clue on how to solve
    my problem.

    it does'nt work, nothing happend. Don't forget that I'm in
    flash so if my variable is
    selectImg = _movie.path & "GA-VE4-IMG1.jpg" the result is
    0. And I cannot use the specific name cause it come to the point
    before. If I use direclty
    getURL('lingo: baOpenFile(_movie.path &
    "GA-VE4-IMG1.jpg", "Normal")'); it's working but it has to be
    dynamic cause if I have 50 images, i don't want to use 50 line of
    script. Right now
    _global.selectImg = etage + "-" + systeme + "-IMG1.jpg";
    it use the floor (etage) variable and system (systeme)
    variable to define the name of the file to open. ex:
    GA-VE1-IMG1.jpg = (garage)-(VE1 system)-Image1.jpg. When I go to an
    other system i use the same code and the file change dynamicly to
    GA-A2-IMG2.jpg etc.. like that If i have 10-25 systems, i dont have
    to touche the code again. All i want to do is to lauch the jpg. I
    was using the getURL within flash but bacause it's in director
    getURL does'nt work anymore. BuddyAPI is a good xtra but if I can't
    use variable it's not that good.

  • Global Creation with Input args

    I create a Global Creation activity with a screenflow task. The screenflow has both a integer input argument (call it sfIntArg) and a output argument (of BPM object).
    When I right-click on the Global creation activity and go to argument mapping, I have trouble mapping the screenflow input argument. I am not sure what to specify in the "Value" field to map to sfIntArg.
    1. when I specify nothing to map to sfIntArg (sfIntArg = empty/null), then I get the message "express is expected".
    2. when I do not specify the argument mapping, I get "All arguments must be satisfied"
    3. when I choose a instance variable of the process, I get "xxx is not a static member of project.process.instance"
    I want to invoke the Global Creation with WAPI and pass the value for sfIntArg to the Global Creation.

    Hi,
    It's odd that you see no errors in your project.
    1. Make sure that you just have one project open in your Project Navigator tab.
    2. In the Project Navigator tab, double click the name of the process. Look at the "Outline" tab directly below the Project Navigator tab (click Window -> Reset Perspective if you don't see the Outline tab). Expand Methods and double click each of the methods to find the offending logic with the "var1" syntax that is causing your problem. Do this for each of your processes.
    Dan

  • Using variables as variable names

    Hello (me again)
    I know I can use this[variable] to evaluate a variable name
    so it can be used for such things as referring to a movie clip
    e.g
    this[variable]._x=100;
    However... I'm trying to create movieClips with:
    var MovieClipName:MovieClip = new MovieClip()
    which doesn't work if I use this[variable] instead of
    MovieClipName.

    Thanks,
    I'm having real problems. I'm looping through my movieclips,
    as I'd like to load content into them one by one..proceeding to the
    next after the first has been loaded.
    At the moment I have...
    for (var i=1; i<totalImages +1; i++)
    this["image" +i].loadMovie("image" +i +".jpg");
    bLoaded=0;
    bTotal=this["image" +i].getBytesTotal();
    while (bLoaded<bTotal)
    bLoaded=this["image" +i].getBytesTotal();
    This preloader isn't working..as the other images start
    loading before the first has completed..bTotal always seems to be 4
    which is the number of bytes of an empty movie clip.
    How odd

Maybe you are looking for

  • Can we use if/else condtions like

    can we use if [condtion1] then [condition2] elseif [condtion3] then [conditon4] in oracle.

  • Hii . , any method can help resotore my data back from the sync service ?!

    hii , I have set up a Firefox Sync account . and, I backed up my laptop but forgot to back up the sync key or the recovery key ! .so Now, I can't set up the Firefox Sync service anymore, as my email address has already registered but i don't have a s

  • ESYU: R12 - Order 입력 화면(OEXOEORD)의 모든 fields가 grayed out 인 경우

    Purpose Oracle Order Management - Version: 12.0 to 12.0 This problem can occur on any platform. OEXOEORD.fmb OEXOEBSO.fmb R12 version의 Sales Order form이나 Sales Agreement form(OEXOEORD or OEXOEBSO)의 모든 fields가 greyed out인 경우 해결 방법에 대해 알아본다. Solution 이

  • A Question of JTextField in applet(using plug-in 1.4)

    With java plug-in 1.4, when we add a JTextField in an applet, and use some Chinese input method to input some text, a "input window" will pop out to preview the word what you inputed. But after you refresh the page and input again, that "input window

  • No release for service PO

    I have craeted Service PO for Doc type FO, but there is no release strategy for that PO. FO has been maintained in configuaration... Error "Purchasing document 4500000046 cannot be released Message no. MEPO823 I created release strategy for service e