Assistance with syntax error please

this line of AS is giving me a syntax error and I cannot
figure out the reason, requesting assistance please
var mclListener.onLoadInit =
function(target_mc:MovieClip):Void {
target_mc.setMask(mask_mc);
TIA

thanks that resolved my error, but the script isn't working
as expected. I am practicing from a book with AS 2.0 tutorials and
this code is supposed to produce a mask from a movie clip over an
image, but doesn't for me.
I create a square on frame 1, make it a movie clip with the
instance name of mask_mc and add this AS to frame 1.
System.security.allowDomain.allowDomain("
http://www.helpexamples.com");
this.createEmptyMovieClip("img_mc", 10);
mclListener.onLoadInit = function(target_mc:MovieClip):Void {
target_mc.setMask(mask_mc);
var my_mcl:MovieClipLoader = new MovieClipLoader();
my_mcl .addListener(mclListener);
my_mcl .loadClip("
http://www.helpexamples.com/flash/images/image1.jpg",
img_mc);
my external jpg isn't getting masked by the MC....any
ideas?

Similar Messages

  • My ipod generation 5 will not come out of recovery mode. i was simply updating my software and this happened. it will not let me restore it comes up with and error. please help, thanks.

    my ipod generation 5 will not come out of recovery mode. i was simply updating my software and this happened. it will not let me restore it comes up with and error. please help, thanks.

    Hey erinoneill24,
    Thanks for using Apple Support Communities.
    Sounds like you can't update your device. You don't mention an error that it gives you. Take a look at both of these articles to troubleshoot.
    iPod displays "Use iTunes to restore" message
    http://support.apple.com/kb/ts1441?viewlocale=it_it
    If you can't update or restore your iOS device
    http://support.apple.com/kb/HT1808?viewlocale=de_DE_1
    If you started your device in recovery mode by mistake, restart it to exit recovery mode. Or you can just wait—after 15 minutes the device will exit recovery mode by itself.
    Have a nice day,
    Mario

  • I need the drivers for earl 2011 macbook pro 13 inch i7 4 gigs for windows 7 64 bits i tried downloading with bootcamp butt it never completes allways ends up with an error please help

    i need the drivers for earl 2011 macbook pro 13 inch i7 4 gigs for windows 7 64 bits i tried downloading with bootcamp butt it never completes allways ends up with an error please help if any one has the drivers or knows were i can download them

    Doug...
    If you don't have it for reference, the manual might come in handy > US/Boot_Camp_Install-Setup.pdf
    After it loads, Command + F to find information regarding the drivers.

  • Compiles a procedure with syntax error

    In the script tab, try to compile a procedure with syntax errors.
    The message displays procedure compiled !!!
    It should display that procedure compiled with errors.

    Hi Kris,
    I searched through the threads, but did not come across a similar question and that is why i raised the query. It'll be helpful if you could answer the query.
    regards,

  • IPMA Assistant Console: “System Error: Please contact Administrator”

    Version of CCM used 4.1(3)sr2
    I have setup a 2:1 (manager (lukes & hans) : assistant(leiao)) IPMA shared line config for the first time (successfully setup 1:1 shared line configs before) and once the assistant loads IPMA Assistant Console (IPMA AC) on PC1, enters her IPMA AC credentials, click OK the assistant gets the following error message “System Error: Please contact Administrator”. I can confirm that IPMA AC works on PC1 (XP Pro SP2 Windows FW disabled) as other 1:1 assistants can log into IPMA AC successfully. leiao also gets the same message when she logs into PC2 (XP Pro SP2 Windows FW disabled) and PC3 (XP Pro SP2 Windows FW disabled ) that have IPMA AC installed. From a telephony point of view all IPMA setups (1:1 & 2:1) work as expected its just IPMA AC doesn't work for 2:1 IPMA shared line setups.
    I have deleted lukes, hans and leiao device user profile and user profile, restarted the Tomcat IPMA service and re-created the profiles and still the same problem. In desperation I have even rebooted the CCM Pub & Sub and still leiao gets the message above.
    lukes
    8001 - External DDI
    1001 - Internal Ext
    3001 - Intercom
    Hans
    8002 - External DDI
    1002 - Internal Ext
    3002 - Intercom
    Leiao
    8003 - External DDI
    8002 - hans
    8001 - leiao
    3003 - Intercom
    I have noticed looking at the IPMA Service trace logs on CCM that CCM recognises leiao user as a ProxyLineAssistant instead of a SharedLineAssistant like all other 1:1 assistants?? I setup the managers and assistants in the 2:1 config the same as 1:1 shared line config but CCM appears to think that leiao is a ProxyLineAssistant??
    Does anyone have any hints or tips on how to solve this, any further info required please let me know :-)
    Thanks for your assistance :-)
    Kind regards
    Anthony.

    delete the old assistant (DWAssist). Remove it from the manager's IPMA configuration and substitute it with a new assistant (DWAssist1). After reconfiguring IPMA accordingly, restart tomcat services

  • I need to retract  an email sent with many errors please on my Apple MAC OS X 10.6.8  asap!!

    I need to retract a message sent to my child's English teacher with many errors in it. I also need to change function to ensure emails are spell checked before being sent out? Thank you so much! I need this information as soon as possible! PLEASE!!
    Thank you in advance.
    jill

    I'm connected to wifi.
    And I have no firewall.

  • ICR: program FBICRC_GENERATE_CUST with syntax error

    Hi,
    in our Development system, the auto config program for ICR "FBICRC_GENERATE_CUST" is not working due to syntax error. It works in testsystem and productive system but not in development.
    Anyone experienced the same issue i.e. short dump when running FBICRC_GENERATE_CUST ?
    The following syntax error occurred in program "FBICRC_GENERATE_CUST " in
    include "FBICRC_GENERATE_CUST_F03 " in
    line 51:
    "The data object "LS_FBICRC01000" does not have a component called "HID"
    "E_DCURR"."
    Error analysis
        The following syntax error was found in the program FBICRC_GENERATE_CUST :
        "The data object "LS_FBICRC01000" does not have a component called "HID"
        "E_DCURR"."
    Thanks
    Stephane
    TRIUMPH ASIA

    HI  Eli,
    actually the problem only occurs after we implemented OSS note 1172591 with the SAP delievered transport P3EK049760
    So before having this transport: FBICRC_GENERATE_CUST  works fine
    AFTER the transport P3EK049760 contained in OSS note 1172591  -> syntax error.
    The field "hide_dcurr" is missing in table FBICRC01000
    Cheers
    Stephane

  • Xinitrc comes up with syntax error

    I was trying this setup for an xinitrc file:
    DEFAULT_SESSION=awesome
    case $1 in
    kde) exec startkde;;
    xfce4) exec startxfce4;;
    wmaker) exec wmaker;;
    blackbox) exec blackbox;;
    awesome) exec awesome;;
    openbox) exec openbox;;
    musca) exec musca;;
    wmii) exec wmii;;
    enlightenment) exec e16;;
    ratpoison) exec ratpoison;;
    etoile) exec etoile;;
    compiz) exec compiz;;
    ) exec $DEFAULT_SESSION
    *) exec $1;;
    esac
    Seems like it should work right? Well I guess Bash doesn't like the null case, and throws it out as a syntax error. Anyone know of a way around this?
    The reason I wanted to do this is because sometimes I'll just want to add a WM to /etc/slim.conf just to test it out.

    http://tldp.org/LDP/Bash-Beginners-Guid … 07_03.html
    Each case is an expression matching a pattern. The commands in the COMMAND-LIST for the first match are executed. The "|" symbol is used for separating multiple patterns, and the ")" operator terminates a pattern list. Each case plus its according commands are called a clause. Each clause must be terminated with ";;". Each case statement is ended with the esac statement.

  • StartupItem with syntax error (sh script)

    I'm comfy on the cli but still green with scripting it. I've followed the Apple tut on making a StartupItem, but I am getting simple (I hope) sh syntax errors when I run it. The three *Service functions are required, as they're called by the RunService function (from the sourced rc.common script) ... all per the Apple tutorial.
    In any case, the error I get is:
    line 7: syntax error near unexpected token `}'
    /Library/StartupItems/blah/blah: line 7: `}'
    The complaint is about the bracing earlier in execution than the 'tricky' stuff. I hope that suggests the problem is here and not in my Boot.bash script. I'll post that too if, as I'm noticing with scripting, the complaints about eofs and bracing and such are not where the real problem lies. I'm a bash person though so, especially if this is just an sh syntax misuse, feel free to give me what for.
    Any thoughts, fixes, or straight advice appreciated,
    Joel
    #!/bin/sh
    . /etc/rc.common
    StopService() {
    # nothing to kill
    RestartService() {
    StopService
    StartService
    StartService() {
    /bin/bash /Library/Management/Boot.bash
    RunService "$1"

    Hi Joel,
       I've actually read a scripting guide that recommends defining functions with the "function" keyword and the norm is to put a space before and after the "()". However, your syntax is valid. In fact I see no errors at all; the script should work.
       Thus, the problem is most likely something invisible. It's time to investigate the text editor you used to create the script. You should open the script in a UNIX text editor, like vim, and look for hidden characters or Mac line endings. An even better solution might be to get the free text editor TextWrangler, (or BBEdit if you have it) open the file and set it to show invisible characters. It will also tell you what kind of line endings are used in the file. You might also post a long listing of the StartupItem script.
    Gary
    ~~~~
       He's just a politician trying to save both his faces...

  • SYNTAX error please refres data.

    spool on to 'E:\Batch\Apps\TOG_DET\Logs\replication.out';
    login xyz xyz on alawdin3000.xxx.com;
    refresh replicated partition TOG_DET.GLDetail to WFStest.COMBINED at alawdin3000.xxx.com all data;
    spool off;
    it says syntax error as' . ' Could any one help me how to fix that. I tried in many many ways.
    Regards
    Kumar
    Edited by: user9252492 on May 12, 2010 6:41 AM

    as Glenn Mentioned try putting a single quote around the Host alias that you are using
    'alawdin3000.xxx.com'
    If that doesn't work I would try using the host name or the IP name instead.
    There is a section in the tech ref about using host names when doing transparent partioning, which to me implies (if they have a section devoted to it) that their may be issues around it.
    Using Host Name Aliases When Partitioning
    If you want to use network aliases for the data source or data target names, you must make sure that the aliases are propagated to all computers on your system. Otherwise, use the full server name.
    To propagate an alias to all the computers on your system, edit the /etc/hosts file (on UNIX systems) or the %WINDIR%/system32/drivers/etc/hosts file (on Windows systems), adding an entry with the IP address, followed by the host name, followed by the alias.
    For example, if you want to use an alias abcdefg.hijk.123 for a system with host name hostname.domainname having IP address 172.234.23.1, then the host file entry should be:
    172.234.23.1 hostname. domainname abcdefg.hijk.123
    In case of multiple aliases, append the aliases following the hostname. For example, if you want to use multiple aliases abcdefg.hijk.123 and lmnopqrs.tuvw.456 for a system with host name hostname.domainname having IP address 172.234.23.1, then the host file entries should be:
    172.234.23.1 hostname. domainname abcdefg.hijk.123 lmnopqrs.tuvw.456
    172.234.23.1 hostname. domainname lmnopqrs.tuvw.456 abcdefg.hijk.123
    Notes
    Do not use localhost as an alias to specify source and target server names.
    The user should have root or admin privileges for the system to edit the hosts file.
    See Also

  • Help with SIGSEGV error, please?

    Greetings,
    I have no idea what this error log means. It only happens on one computer, so it isn't the program. Something in the system is messed up. Can anyone tell what from this?
    # A fatal error has been detected by the Java Runtime Environment:
    #  SIGSEGV (0xb) at pc=0x00007fff840542db, pid=533, tid=36871
    # JRE version: 7.0_10-b18
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (23.6-b04 mixed mode bsd-amd64 compressed oops)
    # Problematic frame:
    # C  [libGL.dylib+0x22db]  glGetString+0xf
    # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
    http://pastie.org/8138651
    And where do I type "ulimit -c unlimited"? I typed it in Terminal, but nothing happened.
    Thanks

    Hi, I�m currently writing some code that requires me
    to read in a list of names and prices from a txt file
    then sort them, I have so far successfully created a
    menu and the code to read in my txt file "cars.txt"
    however it is returning me with an error, I need to
    sort this part out before I can move on to the
    sorting section, any help would be much appreciated,
    James
    C:\Documents and Settings\James\Desktop\lateast
    java\carprogramjames.java:54: unreported exception
    java.io.FileNotFoundException; must be caught or
    declared to be thrown
              Scanner scan = new Scanner (myFile);
              ^
    1 error
    Tool completed with exit code 1Do it like this:
    public void ReadCarsAndPricesFromFile() throws FileNotFoundException {
    }orpublic void ReadCarsAndPricesFromFile() {
        try {
            Scanner scan = new Scanner (myFile);
        } catch(FileNotFoundException  fnfe) {
            fnfe.printStackTrace();
    }Details:
    http://java.sun.com/docs/books/tutorial/essential/exceptions/
    And also take the time to read this:
    http://java.sun.com/docs/codeconv/html/CodeConventions.doc8.html
    Good luck.

  • Cant edit syntax error, please help!

    New to dreamweaver and intergrating a wordpress blog into my site and I got a syntax error. The problem and question is how do i fix the error. Everytime i try to edit it or delete something the program dosent let me. Any help would be greatly appreciated. Below you will see i marked line 55 below.
    <?php
    * The main template file.
    * This is the most generic template file in a WordPress theme
    * and one of the two required files for a theme (the other being style.css).
    * It is used to display a page when nothing more specific matches a query.
    * E.g., it puts together the home page when no home.php file exists.
    * Learn more: http://codex.wordpress.org/Template_Hierarchy
    * @package WordPress
    * @subpackage Twenty_Eleven
    get_header(); ?>
    <div id="wrapper">
      <div id="main_content"><!-- InstanceBeginEditable name="Page Title" -->
        <div id="maincontent_heading">
          <h2>Page Title</h2>
        </div>
      <!-- InstanceEndEditable --><!-- InstanceBeginEditable name="content" -->
      <div id="content"><?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
    <small><?php the_time('F jS, Y') ?> <!– by <?php the_author() ?> –></small>
    <div>
    <?php the_content('Read the rest of this entry &raquo;'); ?>
    </div>
    <p><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', ", ' | '); ?> <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
    </div>
    <?php endwhile; ?>
    <div>
    <div><?php next_posts_link('&laquo; Older Entries') ?></div>
    <div><?php previous_posts_link('Newer Entries &raquo;') ?></div>
    </div>
    <?php else : ?>
    <h2>Not Found</h2>
    <p>Sorry, but you are looking for something that isn't here.</p>
    <?php get_search_form(); ?>
    <?php endif; ?>
    </div>
      <!-- InstanceEndEditable --></div>
      <div id="sponsors_bar">      -----------------> this is the line its calling a syntax error
        <div id="sponsor_heading">
          <h3>Sponsors</h3>
        </div>
        Logos go here </div></div>
    </div>
    <?php get_footer(); ?>

    hi,
    thanks, i have done it, it is my orIginal bean
    package sources.bean;
    import javax.faces.model.*;
    import javax.faces.context.*;
    import java.util.*;
    public class LIC3330 {
         private SelectItem[] catItem;
         private String[] ramoCode;
         private int currentCat;
         final String USER = "aspnet4sql";
         final String PASSWORD = "sql2aspnet";
         public LIC3330() {
              FacesContext context = FacesContext.getCurrentInstance();
              ExternalContext app = context.getExternalContext();
              Map sessionMap = app.getSessionMap();
              Map ramoNameMap = (Map) sessionMap.get("ramoNameMap");
              Vector ramoCodeVec = (Vector) sessionMap.get("ramoCodeVec");
              catItem = new SelectItem[ramoNameMap.size()];
              ramoCode = new String[ramoNameMap.size()];
              for (int i = 0; i < ramoNameMap.size(); i++) {
                   String ramoName = (String) ramoNameMap.get(ramoCodeVec.get(i));
                   String rc = (String) ramoCodeVec.get(i);
                   ramoCode[i] = rc;
                   catItem[i] = new SelectItem(i, ramoName);
         public int getCurrentCat() {
              return currentCat;
         public void setCurrentCat(int currentCat) {
              this.currentCat = currentCat;
         public SelectItem[] getCatItem() {
              return catItem;
    and the constructor is sure work, coz i use in the other bean, it work well, although i remove the constructor here, it show me an empty page without any error message. i'm really doubt of it.
    emmy.ma

  • Please can you assist with this error mes

    my itunes has stopped working
    windows will notify me when they find a solution
    then my itunes closes or freeze.
    so now i cant access my account on itunes

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • Encoder 2014 crashing with OpenGL error - please advise

    I did some research and split my 40-minute sequence (AVCHD 1080p 30fps) into chunks... did fine until the last one which was only 7:56 long - another successful export - Vimeo 1080p with MQR selected as suggested in the forum was longer. Up until this week's issues (updating to 2014.2 then rolling back to 2014.0), I had been exporting 2 hour sequences with no issues what so ever, in 2014.0.
    Here is a screen capture of the error - this time, instead of white screen crashing, it did take me to Nvidia where the only partner/app selection is the one for the K6000 - 331.something.
    I read on one forum that driver 334.95 is the one to use; I will try that next. I am using 341.21 - the latest WHQL available according to Nvidia.
    So what driver should I be using? Are there particular settings I need to check in the Nvidia desktop app?
    Here are screen shots of my specs according to the Nvidia desktop app:
    I see "System Video Memory" shows 0mb - is that my problem? Can I somehow use the 2014 standalone version of Encoder? Are there other settings/preferences - like memory allocation that someone can help me with?
    I will do a clean install of 334.95, clear my PPro preferences and clean my cache before attempting an export again..
    PLEASE HELP ME!
    Thanks,
    Diane

    I did some research and split my 40-minute sequence (AVCHD 1080p 30fps) into chunks... did fine until the last one which was only 7:56 long - another successful export - Vimeo 1080p with MQR selected as suggested in the forum was longer. Up until this week's issues (updating to 2014.2 then rolling back to 2014.0), I had been exporting 2 hour sequences with no issues what so ever, in 2014.0.
    Here is a screen capture of the error - this time, instead of white screen crashing, it did take me to Nvidia where the only partner/app selection is the one for the K6000 - 331.something.
    I read on one forum that driver 334.95 is the one to use; I will try that next. I am using 341.21 - the latest WHQL available according to Nvidia.
    So what driver should I be using? Are there particular settings I need to check in the Nvidia desktop app?
    Here are screen shots of my specs according to the Nvidia desktop app:
    I see "System Video Memory" shows 0mb - is that my problem? Can I somehow use the 2014 standalone version of Encoder? Are there other settings/preferences - like memory allocation that someone can help me with?
    I will do a clean install of 334.95, clear my PPro preferences and clean my cache before attempting an export again..
    PLEASE HELP ME!
    Thanks,
    Diane

  • Cannot change password on LPM page with syntax error / AD2008

    Hi,
    In the Lost password Management page, user are prompt to change the password by input the old and new password.
    Identity/oblix/apps/lost_pwd_mgmt/bin/lost_pwd_mgmt.cgi?
    After type in the new password and click save the following error shows:
    "The Directory Server password syntax was violated. The password cannot be changed"
    Using AD2008 with ADSI security mode. OAM 10.1.4.3.0 BP03 on all components. Any idea on the above error?
    Appreciated for any feedback.
    Thanks

    Hi,
    The error message means that AD is not accepting the value for the new password. Usually that means that there is a password policy in AD itself (perhaps which requires 1 upper case letter, 2 non-alphanumeric characters etc) which is causing the value to be rejected. If that is the case, you could match OAM's password policy to be as close as possible to AD's (so that OAM can do the validation before sending it off to AD).
    Regards,
    Colin

Maybe you are looking for