1087 error. One little problem though: I'm copying perfectly good script.

I found the code here:
http://www.communitymx.com/blog/index.cfm?newsid=863
The code is as in the attachment.
I created two layers. One with a square which I converted to
a button symbol named "myButton" so as to sync up with the code.
The second layer was devoid of objects and just contained the
script. I also tried this script in the same layer as the object,
just for good measure. In either case I got this:
1087: Syntax error: extra characters found after end of
program
The trouble is there are no characters beyond the end of the
program. I took a virgin file with no content whatsoever in it,
copied that script and ran it. Has anyone encountered this? What
the heck is going on?

Just for investigative sake, put a trace in each function and
see what you get... I'm curious if an old non-friend is at work.
**First Frame**
stop ();
myButton.addEventListener(
MouseEvent.MOUSE_UP, goforth);
function goforth(e:MouseEvent):void{
trace("In Frame 1");
gotoAndPlay(2);
**Second Frame**
stop ();
myButton.addEventListener(
MouseEvent.MOUSE_UP, goback);
function goback(e:MouseEvent):void{
trace("In Frame 2");
gotoAndPlay(1);
After that, try changing the instance name in frame two (both
the button and in the code).
One other thing to consider... change MOUSE_UP to CLICK. I
know in AS2, onMouseUP relates to a mouse activity, regardless of
an object being clicked on or not--the act of releasing the mouse
button. In your case, the buttons are definitely the things being
interacted with, so CLICK is more appropriate.

Similar Messages

  • I love my new iMac! One minor problem, though...

    My 20" just arrived today. So far nothing but a great experience, save one minor quirk.
    Note: I'm updated to the latest build of OS X (10.4.5, I believe -- remember, I'm new to the Mac world :D)
    Either way, the problem is this: after my computer has gone to sleep, once I wake it up, the volume keys on the keyboard don't work. After activating Front Row, however, the keys started working.
    Odd, huh? Does this sound like a software glitch or a hardware bug? I could go get a new keyboard, but it's really only a minor inconvenience, and if it could be fixed by an update, I'd rather do that.
    PS-- Anyone have a iTunes album art utility that would automatically get the art and load it for my entire music library? I don't have any art, and it would take way too long to do this all by hand...
    Many thanks if you're able to help in either of these situations

    Note: I'm updated to the latest build of OS X
    (10.4.5, I believe -- remember, I'm new to the Mac
    world :D)
    You're correct; that's the lasted version.
    Either way, the problem is this: after my computer
    has gone to sleep, once I wake it up, the volume keys
    on the keyboard don't work. After activating Front
    Row, however, the keys started working.
    Since they start working again after you've run Front Row it's almost certainly a software glitch. It probably worth calling Apple to let them know you're having the problem. Hopefully 10.4.6 or another update will fix the problem.
    PS-- Anyone have a iTunes album art utility that
    would automatically get the art and load it for my
    entire music library? I don't have any art, and it
    would take way too long to do this all by hand...
    I've only tried using Album Cover Finder, http://www.amphonicdesigns.com/albumcoverfinder/
    It's not free but there is a "light" version you could try. I'm sure there are other utilities out there but I've never really looked.

  • Bought a x-fi elite pro... VERY NICE! One minor problem though

    I seem to be getting hangs on shut down (or at least shutdowns long enough to be considered hangs!)
    It's clear that XP is having HUGE problems shutting down the various creative modules that where loaded at startup, and DLLML.EXE seems to be a large part of the problem. Upon reading the board, it is also clear that I am not the only one with this knid of delemma.
    Has creative got a fix for this coming out any time soon?
    Is there some kind of known work around for this in the meantime?
    What are others doing to solve this problem?
    If you do not have this problem, then I sure would like to hear from you.
    Thanks.

    Problem solved.
    It was a problem with DLLML.EXE... not the module itself but rather the way it was being loaded.
    It seems that I was getting 2 instances dllml loding when checking processes in taskmanager. All crati've startups were removed and the system rebooted.. each creative process was then loaded back into startup. I now have only instance of dllml running and no further problems with slow/hanging shutdowns.

  • Got iChat to work, just one little problem...

    After a long period of constantly getting the message: couldn't connect because 'user' didn't reply", I've managed to get iChat to work again - sort of. I set my outgoing port to 443 under Accounts, and in my router configurations. There is just a small problem, it seems I have to restart my router for it to work - every time.
    If I restart my router, then iChat will gladly open a videochat afterwards, and it works every time I start a new chat, until I quit iChat. If I quit iChat and then start up iChat again, it won't work, and I'll get the same 'didn't reply' error message. If I restart the router again however, it will work again.
    Just wondering if anyone knows why this is or what can be done about it.
    iChat used to work a treat for me every time, until I installed a Tiger update, I believe it was 10.4.3 - then everything stopped working properly in iChat...
    Would appreciate if there were any tech-savvy iChat users out there. I haven't been able to use iChat properly for months (without having to restart the router every tim- which I just figured out) Thanks!
    20" iMac G5   Mac OS X (10.4.6)  

    It sounds as if you router isn't responding to UPnP commands correctly. Some routers have UPnP but are not certified.
    You may want to consider setting a static IP address on your MAC, then port forwarding the correct ports in your router to you mac.
    You can find step by step instructions for most routers at:
    http://www.portforward.com

  • [SOLVED] LXDE,one little problem

    hello everyone,
    i'm new to arch linux,and i've installed it sucessfully,to an extent
    the problem i'm having doesn't seem to have a solution in the Wiki,so i'm going to ask here,maybe i missed something
    the problem is that i can't move,maximize or minimize any windows as the bar responsible for that isn't there,maybe i messed something up in xorg.conf,but i really don't know what's wrong
    can somebody help me with that?
    thanks in advance
    EDIT : openbox wasn't installed as a dependency of LXDE,that's why the problem occurred,installed it,and it was fixed
    Last edited by mhh91 (2009-05-14 08:48:22)

    Any one else had this problem??
    thanks.

  • Sharepoint WebParts 2007 / UCM 10g - Having one little problem

    So I have everything installed and configured, I've done this several times following the documentation, and I'm having a hard time getting the webparts to display in my sharepoint site.
    When I open my UCM site in Sharepoing the IPM Web Express page opens up and asks me for my Oracle Web Portal login. I am using sysadmin and it seems to accept my login BUT - the url looks like this - IBPMExpress/Login.aspx?closeOnLogin=1 . The page is closing (as expected closeOnLogin=1) but it goes back to my sharepoing site and is refreshing the page after UCM authentication and it is going back to the IBPM Express login page. It's stuck in a constant loop doing this and never ends.
    I have stopped the IBPM Express login page and changed the parameter to closeOnLogin=0 and it tells me "Welcome sysadmin!" meaning I believe it to be authenticating to my UCM box.
    Anyone have any ideas? I've tried setting up an entire sharepoint UCM site... I've just adding a webpart to an existing sharepoing site.. and they all do the same thing.
    Thanks!

    Hi
    I am having the same problem as you and was wondering if you have found a solution yet.
    I have installed sharepoint and UCM on the same server because it is a test system and I don't have a domain which I thought might be the problem. When I try to log in to UCM via sharepoint the Oracle portal login screen appears and it does not matter what I put in, it never authenticates. I have tried sysadmin, other UCM users that I have created, the sharepoint administrator user (after I added it into sharepoint), users in ucm that I have entered with domain\username (where domain was just the server hostname). Because this is a standalone test environment I do not have any LDAP server that I can link to UCM for authentication.
    Any info you have would be greatly appreciated as I have been working on this for a few days now and have never goten past this point.
    Thanks
    Simon

  • Problem with UTL FILE COPY

    Hi,
    I am facing one small problem in UTL FILE COPY package. We have an automated scheduled batch process. As a daily batch process it moves the files from one folder to other. During movement, it first copies the file from source folder to destination folder using FILE COPY package and then removes the file using FILE REMOVE package from the source folder.
    Few cases are found that the file when files are copied they are copied as 0 bytes in destination folder but the source file had 1 MB file size. The interesting part is I am unable to replicate the issue. Means when i try to run once again the package its working properly and files are copied with correct size. This kind is issue is occuring very rarely though as once in month but the question is why FILE_COPY package is not working properly sometimes.. I am unable to understand.
    Thanks a lot for going through this. Any suggestions.
    Regards,
    Ashish

    Anyhow make sure that the copy will start after the full generation of files.
    You can think like a spool file generation with huge data. In that case initially spool file available with 0 byte only. After finish of query only it shows its actual size.

  • HT2292 hello i'm facing  problem  i downloaded iTunes version 11 32bit  and after i installing the set up when i opened the iTunes a massages  occur saying i tunes could not connect to iTunes store an unknown error occurred (-3212) even  though my interne

    Hello i'm facing  problem  i downloaded itunes version 11 32bit for windows 7 and after i installing the set up when i opened the iTunes a massages  occur saying i tunes could not connect to iTunes store an unknown error occurred (-3212) even  though my internet is on

    Try this...
    Triple click anywhere in the line below to select it and press Ctrl+C to copy it.
    cmd /k netsh winsock reset
    Press the WinLogoKey+R to open the run dialog, then Ctrl+V to paste, then press enter/return.
    You should get something similar to this:
    Reboot the computer and the problem should be resolved.
    If it doesn't work then perhaps a full tear down and rebuild of iTunes will fix things. See Troubleshooting issues with iTunes for Windows updates for details.
    tt2

  • Using iPod shuffle 4th generation for first time and receiving the error : one of the USB devices attached to this computer has malfunctioned, and windows does not recognize it. For assistance in solving this problem, click this message

    Using iPod shuffle 4th generation for first time and receiving the error : one of the USB devices attached to this computer has malfunctioned, and windows does not recognize it. For assistance in solving this problem, click this message.
    Using win 7 and latest iTunes [10.6.3]. Have already gone through below links and did not find any solution.
    http://support.apple.com/kb/HT2292
    http://support.apple.com/kb/TS1369
    http://support.apple.com/kb/HT1923
    http://en.kioskea.net/forum/affich-17997-ipod-not-detected

    I was hoping it would be something like a USB device conflict, but now the shuffle is the only thing connected...
    This article was one of the ones you linked to above in your initial post
    http://support.apple.com/kb/TS1369
    Under Part 9. Verify that USB drivers are installed, did you try the steps in If only "Unknown Device" appears?  That appears to be your situation.
    Also, you said that the shuffle initially worked well enough to do a sync, then it had the same problem again.  If you can get it to work again initially, before doing anything else, try the following.  Select the shuffle in the iTunes sidebar, under DEVICES.  Over to the right, go to the Summary tab.  By default, the checkbox for Enable disk use should be unchecked.  If so, check it and Apply the change.  See if that makes any difference. 
    (If Enable disk use was already checked, try unchecking it and Apply the change.  Basically, set it the "other way" and see if there is any improvement.)
    NOTE:  When disk use is enabled, you have to eject the iPod in iTunes before disconnecting it physically.
    If the disk use change makes a difference, that may provide a clue about the actual cause.

  • Hii i m frm BGD. I m using iphone 5. My carrier BGD ROBI AXIATA. When it was ios 6 it works better . But i recently upgrade to ios 7 and i facing the little problem. One of the ussd call. Plz help or suggest ir doing better about itz as soon as possible.

    Hii i m frm BGD. I m using iphone 5. My carrier BGD ROBI AXIATA. When it was ios 6 it works better . But i recently upgrade to ios 7 and i facing the little problem. One of the ussd call. Plz help or suggest ir doing better about itz as soon as possible.

    I'm not trying to minimize your issues, but I have an iPhone 5S and find that I have not had these types of problems on AT&T. I'm wonding if something has gotten stuck in a loop that is continually trying to use data. If you make a good backup of your phone, try restoring it as new, and do not add anything to the phone right away. Let the device run like this for a little while and see what kind of usage you have. You report you phone is showing usage of 21GB. Did you rese this setting on the phone to begin at your billing period? The reason I ask this is some people believe this setting resets on its own with your billing period, it does not. This has to be manually reset by the user, so it might not be that accurate depending on the last time that you reset it.
    If the phone seems to not use so much extra data during the period the device does not have extra apps on it, then try restoring from your backup and see what happens. If this increases your data usage quite fast again, then there is probably something corrupt in the backup that is causing this issue.

  • Hi. I have got problem with my ITunes. Every time I´m opening the program I´ve got the message: One unkwown problem is appering (-42032) Can anybode please tell me what to do wit this error? Thanks

    Hi. I have got problem with my ITunes. Every time I´m opening the program I´ve got the message: One unkwown problem is appering (-42032) Can anybode please tell me what to do wit this error? Thanks

    Gary,
    discussions may sometimes be slow for an hour or so (at which point the opening page of discussions will eventually apologize for the inconvenience, back on line soon...) but your description looks like a cache problem.
    Try OnyX freeware to do some cleanup and see if that helps.
    http://www.titanium.free.fr/index.html

  • Nds Insert statement little problem

    DB version XE 10g
    Hello
    I have little problem with my insert statement.
    In my code, are many examples, but plz focus on V2 and V3 part.
    As you can see V2 and V3 are not working
    I get following errors
    V2
    Error report:
    ORA-00984: column not allowed here
    ORA-06512: AT line 28
    00984. 00000 - "column not allowed here"
    V3
    Error report:
    ORA-00917: missing comma
    ORA-06512: AT line 33
    00917. 00000 - "missing comma"
    I really have no idea, why i'm getting these errors...
    DROP TABLE FILMYARNOLD;
    CREATE TABLE FILMYARNOLD
        FIL_ID VARCHAR2 (329),
        FIL_NAME VARCHAR2 (592),
        FIL_YEAR VARCHAR2 (294),
        FIL_ACTOR VARCHAR2 (392),
        FIL_TEXTT VARCHAR2 (2596)
    SET SERVEROUTPUT ON
    DECLARE
      TYPE FIL_TABLE IS TABLE OF VARCHAR2 (256);
      vfilmiczki FIL_TABLE := fil_table();
      statement VARCHAR2 (2048);
    BEGIN
    vfilmiczki.EXTEND;
    vfilmiczki(1) := '77804';
    vfilmiczki.EXTEND;
    vfilmiczki(2) := 'Predator';
    vfilmiczki.EXTEND;
    vfilmiczki(3) := '1984';
    vfilmiczki.EXTEND;
    vfilmiczki(4) := 'Arnold';
    vfilmiczki.EXTEND;
    vfilmiczki(5) := 'get to the choppa';
    /*statement := 'INSERT INTO FILMYARNOLD (FIL_ID, FIL_NAME, FIL_YEAR, FIL_ACTOR, FIL_TEXTT) VALUES ( ';
    statement := statement|| '''chlip'',''lol'',''lol'',''chlip''';--
    statement := statement||',''hmm'')';*/
    -------V1------------working-----------------
    --statement := 'INSERT INTO FILMYARNOLD (FIL_ID) VALUES ( ';
    --statement := statement||vfilmiczki(1)||' )';
    --EXECUTE IMMEDIATE statement;
    --------V2-------------------- not working -----------------------------------------
    --statement := 'INSERT INTO FILMYARNOLD (FIL_ID, FIL_NAME) VALUES ( ';
    --statement := statement||vfilmiczki(1)||','||vfilmiczki(2)||' )';
    --EXECUTE IMMEDIATE statement;
    ----V3------------ not working ------------
    statement := 'INSERT INTO FILMYARNOLD (FIL_ID, FIL_NAME, FIL_YEAR, FIL_ACTOR, FIL_TEXTT) VALUES ( ';
    statement := statement||vfilmiczki(1)||','||vfilmiczki(2)||','||vfilmiczki(3)||','||vfilmiczki(4)||','||vfilmiczki(5)||' )';
    EXECUTE IMMEDIATE statement;
    /* statement := 'INSERT INTO FILMYARNOLD VALUES (:jeden, :dwa, :trzy, :cztery, :piec)';
    EXECUTE IMMEDIATE statement
      USING vfilmiczki(1)
      ,     vfilmiczki(2)
      ,     vfilmiczki(3)
      ,     vfilmiczki(4)
      ,     vfilmiczki(5); */
      statement := 'INSERT INTO FILMYARNOLD VALUES ('; --(:jeden, :dwa, :trzy, :cztery, :piec)';
        FOR i IN 1..vfilmiczki.COUNT
        LOOP
            IF i = vfilmiczki.LAST THEN
                statement := statement||vfilmiczki(i)||' )';
            ELSE
            statement := statement||vfilmiczki(i)||', ';
          END IF;
            --DBMS_OUTPUT.PUT_LINE (vfilmiczki(i));
        END LOOP;
        EXECUTE IMMEDIATE statement;
        --INSERT INTO FILMYARNOLD
        --VALUES (vfilmiczki(vfilmiczki.FIRST),vfilmiczki(2),vfilmiczki(3),
                --vfilmiczki(4), vfilmiczki(5));
        --DBMS_OUTPUT.PUT_LINE ('*****************');
        --DBMS_OUTPUT.PUT_LINE (vfilmiczki((vfilmiczki.LAST)));
    END;
    /Im waiting for your replys
    greetings

    Hi,
    change V2 to:
    STATEMENT := 'INSERT INTO FILMYARNOLD (FIL_ID, FIL_NAME) VALUES ( ';
    STATEMENT := STATEMENT||VFILMICZKI(1)||','''||VFILMICZKI(2)||''' )';
    EXECUTE IMMEDIATE statement;and V3 to:
    ----V3------------ not working ------------
    STATEMENT := 'INSERT INTO FILMYARNOLD (FIL_ID, FIL_NAME, FIL_YEAR, FIL_ACTOR, FIL_TEXTT) VALUES ( ';
    STATEMENT := STATEMENT||VFILMICZKI(1)||','''||VFILMICZKI(2)||''','||VFILMICZKI(3)
                 ||','''||VFILMICZKI(4)||''','''||VFILMICZKI(5)||''' )';
    EXECUTE IMMEDIATE statement;EXECUTE IMMEDIATE statement;One general remark: INSERT can be used directly in PL/SQL, you don't need to bother with dynamic SQL,
    and the direct SQL will be probably more efficient than dynamic SQL.
    Try this:
    SET SERVEROUTPUT ON
    DECLARE
      TYPE FIL_TABLE IS TABLE OF VARCHAR2 (256);
      vfilmiczki FIL_TABLE := fil_table();
      statement VARCHAR2 (2048);
    BEGIN
    vfilmiczki.EXTEND;
    vfilmiczki(1) := '77804';
    vfilmiczki.EXTEND;
    vfilmiczki(2) := 'Predator';
    vfilmiczki.EXTEND;
    vfilmiczki(3) := '1984';
    vfilmiczki.EXTEND;
    vfilmiczki(4) := 'Arnold';
    vfilmiczki.EXTEND;
    vfilmiczki(5) := 'get to the choppa';
    -------V1------------working-----------------
    INSERT INTO  FILMYARNOLD (FIL_ID) VALUES ( VFILMICZKI(1) );
    --------V2-------------------- not working -----------------------------------------
    INSERT INTO FILMYARNOLD (FIL_ID, FIL_NAME) VALUES ( VFILMICZKI(1),VFILMICZKI(2));
    ----V3------------ not working ------------
    INSERT INTO FILMYARNOLD (FIL_ID, FIL_NAME, FIL_YEAR, FIL_ACTOR, FIL_TEXTT)
    VALUES ( VFILMICZKI(1), VFILMICZKI(2), VFILMICZKI(3), VFILMICZKI(4), VFILMICZKI(5));
    END;
    /

  • Error "One or more values could not be set" - Oracle Connector

    Hey guys - I should have known there was a forum here with smart people. I'm hoping someone can shed a little light on our latest issue. When we try to invite people not within our company to a meeting, (even if they are included in our contact list/address book, etc) the error "one or more values could not be set" I'm pretty sure it's a forms error, but can't seem to resolve it. It started with the 2003 outlook service patch. I've applied every connector patch available and have searched for an answer, but can't resolve this icky problem (very crabby users) I've searched this forum but didn't see this topic. If it's already been addressed, forgive me and point me to the thread. If it hasn't and anyone has an idea, I'd appreciate some help!
    Thanks
    Kim

    I have CRXI
    First off, try verifing the database
    Database,
         Verifiy Database
    Then if it is still broken.
    Double-check all of the unlikely places in your report structure.  Look at the subreport links.  Look through all your formulas (including the ones for formatting).  Keep in mind that Crystal doesn't have IntelliText, so you need to double-check (or even triple-check) that everything is spelled correctly.
    Odds are strong that, somewhere in there, you are accidentally referencing a field that doesn't exist.

  • Approval Center Error: One or more categories of approval could not be loaded

    Hi Team,
    We are using EPM 2013 version , recently one of our user encountered a problem with Approval Center while accepting task updates, on the Default welcome page he has 112 Pending approvals but while clicking Approval center he getting error as "Error:
    One or more categories of approval could not be loaded when user wants to approve" We have checked on the following possibilites but still we are facing this issue Kindly help us on this
    1. I have checked user permission He has Project Manager Access and Timehseet Approval Access
    2.While changing the task ownership to another PM and the task is reflecting correcly on the new PM's Approval center while reverting back the task owneership he faces same issue.
    3. He is trying  for the task updates, we have tried re sving user profiles but nothing changed issue still occours
    4. Checked on the ULS Log And find the error
    Permission denied: User i:0#.w|enterprise\User01
    does not have global permission 'ManageServerConfiguration'.
     Please revert for any other information required.
    Thank you
    Senthil Gopi
    Thanks and Regards, Senthil Gopi

    Hi,
    This is a known bug.
    You can find a workaround here:
    http://www.msprojectnow.com/Blog/tabid/142/entryid/828/Project-Server-2013-Error-loading-Approval-Page.aspx
    Regards,
    Philip
    Verlinden Philip

  • I got this warning when i open a specific page on my website in IE : MuseJSAssert: Error calling selector function:Error: A security problem occurred.

    Hi,
    I found out when i'm in IE and go to the page 'Artists'
    and i click on a name, for example: 'Abel Equipe ELA/I Gomes'
    I get this warning :
    MuseJSAssert: Error calling selector function:Error: A security problem occurred.
    This is only in IE, not when i use Safari or Chrome
    this is the website link
    Any ideas how to solve this problem?

    There's an invalid hyperlink on the Abel Equipe ELA/I Gomes page on a bit of text that reads "with your input." You need to find this text within Muse, clear the hyperlink and enter a valid one.

Maybe you are looking for

  • How can I permit all traffic from inside-dmz-outside on asa5505

    Scenario : Servers are in DMZ, Internal LAN Users should access ports Specified (5000 & 2048). Router 2801 is facing Leased line; from there it’s connected to firewall. Router LAN IP: 83.111.X.X - 255.255.255.X ASA Version 7.2(4) hostname ciscoasa do

  • Page adjustment problem for a text element

    Hi experts,       In my smartfrom i am having a main window with table ( Header.main area and footer) i am having some 10 lines of text in footer of table. Based on line items in a main area ,footer is dispalying..i mean some times footer text is not

  • BPEL Processes are Hanging.......

    Hi, I am using BPEL 10.1.2.0.2 version. The logic am implementing in BPEL process is a frontend application will invoke BPEL process.BPEL will take some inputs from frontend and invokes a procedure in database using DbAdapter.BPEL will pull the outpu

  • Cell editor use

    what all the advantages using cell editor and where it is necessary to use

  • E71 switch function for contacts - help!

    Hello I am trying to put contacts onto an E71 from an 8800 Arte. The built in switch function has transferred numbers only. They are useless without names. Is there any way to get the FULL contact details transferred? Thanks M