AppleScript -  Syntax Error: Expected end of line found """.

The following AppleScript code works on Tiger and Snow Leopard but not on Leopard (10.5 > 10.5.8).
tell application "FileMaker Pro"
tell database "SomeDB.fp5"
-- some code to execute
end tell
end tell
In Leopard, the code won't compile and is complaining of a Syntax Error: Expected end of line found """. I click OK and then the quote symbol ( " ) to the left of SomeDB.fp5 is highlighted.
Has anyone else experienced this and have resolved this in Leopard?
Thanks

If you copy/pasted the script from somewhere, the line endings in the source may not be translating. Try replacing the line endings (the return) on the lines around the one that is being highlighted.

Similar Messages

  • How to fix Syntax Error: Expected end of line, etc. but found end of script. in applescript?

    I am making an applescript for my modding tool for Minecraft. It used to use multiple apps and I am now trying to make one app for all the tasks.
    Here is the code:
    say "You are running iCraft version one point one for minecraft version 1.2.5"
    display dialog "Which tool do you want to use?" buttons {"Mod Installer", "Backup", "Restore"} default button 3
    set the button_pressed to the button returned of the result
    if the button_pressed is "Mod Installer" then
    do shell script "~/desktop/iCraft/iCraft.app/contents/re…
    display dialog "Insert all mod files into the Mods folder."
    display dialog "Have you inserted all Mod files into the Mods folder?" buttons {"Yes", "No"} default button 2
    if the button_pressed is "Yes" then
    do shell script "~/desktop/iCraft/iCraft.app/contents/re…
    display dialog "Finished"
    else
    display dialog "Insert mod files into the Mods folder and restart iCraft.app."
    end if
    if the button_pressed is "Backup" then
    display dialog "Are you sure you want to backup your Minecraft.jar in it's current state?" buttons {"Yes", "No"} default button 2
    if the button_pressed is "Yes" then
    do shell script "~/desktop/iCraft/iCraft.app/contents/re…
    display dialog "Finished, find it in your Backups directory in the iCraft folder"
    else
    display dialog "Backup aborted"
    end if
    if the button_pressed is "Restore" then
    display dialog "Are you sure you want to restore your Minecraft.jar with your backup?" buttons {"Yes", "No"} default button 2
    if the button_pressed is "Yes" then
    do shell script "~/desktop/iCraft/iCraft.app/resources/s…
    else
    display dialog "Restore aborted"
    end if
    end
    When I try to compile/run it gives me Syntax Error: Expected end of line, etc. but found end of script.

    Your script got mangled when pasting it into your message, but the main problem looks like you are missing a bunch of end if statements.  Unless your if statements are contained on one line, you need to terminate them with a matching end if statement - for example, the following are equivalent:
    if someString is "whatever" then display dialog "foo"
    if someString is "whatever" then
      display dialog "foo"
    end if

  • Syntax Error: Expected end of line but found end of script.

    display dialog "Are you awesome" buttons {"Yes", "No"} default button 1
    if the button returned of the result is "Yes" then
    tell application "Finder"
    display dialog "You Passed the Test" buttons {"YAY", "Poop nugets"} default button 1
    end tell
    display dialog "Cool" buttons {"Ok", "More Info"} default button 1
    if the button returned of the result is "More Info" then
    tell application "Finder"
    display dialog "You are obviously are awesome,
    100% Cool" buttons {"Ok"} default button 1
    end tell
    Then it says:
    Syntax error: Expected end of line but found end of script.

    can somebody fix this scrip becasue i am having the exact same problems
    tell application "SpeechRecognitionServer"
              set theResponse to listen for {"yes", "no"} with prompt "Hello Michael, Would you like the internet?"
              if theResponse is "yes" then
                        launch application "Google Chrome"
                        tell application "SpeechRecognitionServer"
                                  set theResponse to listen for {"yes", "no"} with prompt "What about a Calander?"
              if theResponse is "yes" then
                        launch application "ical"
                        tell application "SpeechRecognitionServer"
                                  set theResponse to listen for {"yes", "no"} with prompt "How about some iTunes Music?"
              if theResponse is "yes" then
                        launch application "itunes"
                        tell application "SpeechRecognitionServer"
                                  set theResponse to listen for {"yes","no"} with prompt "Would you like me to stop?"
              if theResponse is "no" then
                                  say "ok"
    else
              if theResponse is "no" then
                        exit repeat
    else
                                  exit repeat
    end
    end if
    end
    end if
    end
    end if
    end tell 

  • AppleScript Error: "Expected end of line but found identifier."

    Hi everyone,
    I'm new to applescript and can't seem to figure out the error here.
    Info: Using Hazel and iFlicks 2 Applications for this process.
    tell application "iFlicks 2" to launch
    delay 7
    tell application "iFlicks 2"
    update theFile dbID without gui
    end tell
    I get the error "Expected end of line but found identifier." for the red text.
    theFile reffers to the file that the actions are to be preformed on. This is a Hazel thing.
    Thank you!

    You need to look in the "iFlicks 2" dictionary.  This line isn't matching the syntax found in the dictionary.  I find reading a dictionary nearly impossible.
    update theFile dbID without gui

  • Error "expected end of line but found identifier"?

    I downloaded the project files for Apple's iDVD Companion http://www.apple.com/applescript/idvd/companion.html because I wanted to make some changes to it and rebuild it using Xcode.
    However, even it its original state the build fails under 10.4.10 and the current version of Applescript. Error is "expected end of line but found identifier" in one of the scripts. See screenshot:
    I don't understand why this Applescript is not compiling - has there been syntax changes in Applescript which stop this compiling? What is the correct syntax?
    Appreciate any pointers... thanks...
    G5 Desktop PPC 1.6 GHz   Mac OS X (10.4.8)  

    Perform a 'Find, Find in Project...' menu item ('Command <shift> F') search for 'Abstract object', and replace such with 'item'.
    However, once this resolves the compiling problem, you will experience a slew of AppleScript errors, when utilizing the compiled application.
    Note: Even the downloadable (pre-complied) 'iDVD Companion' application file has its share of incompatibilities.
    A lot has changed (with MacOS X and AppleScript) since 27.11.2001 - the creation date of the 'iDVD Companion' project.
      Mac OS X (10.4.6)  

  • Troubleshooting an Applescript Syntax Error

    I am trying to run the following applescript code I copied off a metafilter discussion:
    #!/bin/bash
    for word in $(cat ~/passwordlist.txt | grep -v "#")
    do
    echo $word
    echo -n $word | hdiutil attach -mount required -encryption -stdinpass ~/foobar.dmg
    if [[ $? = 0 ]]
    then
    echo "Password found!"
    echo $word
    exit 0
    fi
    done
    echo "password not found :("
    exit 1
    Everytime I paste it into the applescript editor and try to compile it i get the following error:
    Syntax Error
    Expecter end of line, etc. but found parameter name.
    The first "for" in the script is highlighted.  Can anyone help me figure out what I need to shange to get the script to run?  I don't know much about applescript. 

    I have a password protected dmg from a while back that I have forgotten the password to.  When I made the file, I was still using a formulaic password system where I used the same basic password with a couple substitutions for everything.  Because of this, I have a relatively short (about 5000) list of possible passwords it could be.  Instead of trying all of them by hand, I found a discussion on metafilter with the above script to try all of the passwords against the file automatically.  I have the list in a txt file, but I cannot get the script to work.

  • Applescript compile fails with "Expected end of line, etc. but found identifier"

    Hi,
    I've written my first applescript to move messages in Micorosoft Outlook to a specific folder.  It is based on existing scripts I found on the internet.  However my version keeps failing to compile with the error "Expected end of line, etc. but found identifier".  I tried the exact same script on another Mac and it works.  I created a very simple version of the script to show the error.  All I am trying to do is get the current selected messages so I can move them:
    on run {}
        tell application "Microsoft Outlook"       
            set selectedMessages to current messages
        end tell
    end run
    and I still get the same errors on the word "messages" above.
    MAC is running OSX 10.9.4
    Microsoft Outlook for Mac 2011 - version 14.4.3 (140616)
    Since the script works on other computers the only thing I can assume is something wrong with the setup.
    Any help is greatly appreciated.
    - Ben

    Frank Caggiano wrote:
    twtwtw
    Any reason that the parens would be needed on some cases and not in others? As you can see the code the OP posted compiled fine on my system with no need of the parens. Also the OP mentioned that the code did work on one machine but not another so I would assume again the parens were not needed in that case.
    JUst curious
    regards
    Parentheses have the same function here as they do in mathematical equations. They are cues to the compiler about the order in which different parts of the statement should be processed. The problem here, I think, is that the word current is part of a lot of applescript nouns: current date, current application, current messages, current user, current track, current location, etc. That's exacerbated by the fact that message is also a noun in its own right in Outlook, creating an ambiguous bit of grammar. Applescript has to interpret the presence of that word in context, and several factors - different versions of the OS or of the relevant applications, the presence of different osaxen, runtime issues that alter how the Applescript system reads in the scriptability information - could affect how that interpretation plays out.
    Context is (apparently) everything, sometimes.

  • Apple Script Editor, "Expected end of line but found identifier" Error

    Hello, I'm trying to automate an Application I have, called Self Control, since I have ADD and easily get distracted, and what I want to do is for my computer to automatically set the application up, but to do this, I need a script, which I have already done, but get this error, can someone help me fix this script?
    (the error happens once I click on "run", it tells me as follows: "Syntax Error", followed by, "Expected end of line but found identifier".
    on run argv
    set defaultTime to 1440
    try
      set myTime to item 1 of argv as number
    on error
      set myTime to defaultTime
    end try
    tell application "Usable Keychain Scripting"
      tell current keychain
       set myPass to (password of first generic item ¬
        whose name contains "SelfControl")
       -- eliminate invisible characters, or "gremlins," from password
       set x to quoted form of myPass
       set myPass to do shell script "echo " & x & " | perl -pe 's/[^[:print:]]//g'"
      end tell
    end tell
    tell application "SelfControl" to activate
    tell application "System Events"
      tell process "SelfControl"
       tell slider of window "SelfControl" to set value to myTime
       click button "Start" of window "SelfControl"
      end tell
      tell window 1 of process "SecurityAgent"
       with timeout of 15 seconds
        repeat
         set tryAgain to false
         try
          set value of text field 2 of scroll area 1 of group 1 to myPass
         on error
          delay 1
          set tryAgain to true
         end try
         if not tryAgain then exit repeat
        end repeat
        click button 2 of group 2
       end timeout
      end tell
    end tell
    end run
    I'm no coding expert, but your help would be greatly appreciated. I know that once the script is done I can automate it with Calendar, or even Quicksilver, I just need help with the script.
    Thanks in advance!

    This is a pain with Applescript.
    Could  be a missing " or ' .  I didn't notice this problem.
    Use (* and *) to comment out lines to find where the problem lays. Start big then go smaller and smaller until you find the problem line.  Search internet for examples of the line in question.

  • Line 26 1084:  Syntax Error:  expecting rightbrace before end of program

    Im trying to do an animation, how do I solve Line 26 1084:  Syntax Error:  expecting rightbrace before end of program?
    package
        import flash.display.MovieClip;
        import flash.utils.Timer;
        import flash.events.TimerEvent;
        public class AvoiderGame extends MovieClip
            public var enemy:Enemy;
            public var gameTimer:Timer;
            public function AvoiderGame()
                    enemy = new Enemy();
                    addChild( enemy );
                    gameTimer = new Timer( 25 );
                    gameTimer.addEventListener( TimerEvent.TIMER, moveEnemy );
                    gameTimer.start();
            public function moveEnemy( timerEvent:TimerEvent ):void
               enemy.moveDownABit();

    I have taken your advice but now 2 errors have popped up. Line 16 1137: Incorrect number of arguments . Expected no more than 0. Line 18 1120 : Access of undefined property enemy.
    package
        import flash.display.MovieClip;
        import flash.utils.Timer;
        import flash.events.TimerEvent;
        public class AvoiderGame extends MovieClip
            public var army:Array;
            public var avatar:Avatar;
            public var gameTimer:Timer;
            public function AvoiderGame()
                    army = new Array();
                    var newEnemy = new Enemy( 100, -15 );
                    army.push( newEnemy );
                    addChild( enemy );
                    avatar = new Avatar();
                    addChild( avatar );
                    avatar.x = mouseX;
                    avatar.y = mouseY;
                    gameTimer = new Timer( 25 );
                    gameTimer.addEventListener( TimerEvent.TIMER, onTick );
                    gameTimer.start();
            public function onTick( timerEvent:TimerEvent ):void
                avatar.x = mouseX;
                avatar.y = mouseY;
                for each ( var enemy:Enemy in army )
                         enemy.moveDownABit();
                         if ( avatar.hitTestObject( enemy ) )
                                    gameTimer.stop();

  • "Expected end of line, etc. but found end of script." HELP!!

    When I try to run my script, it say "(null.)" When I try to compile it or save it as an application, it says "Expected end of line, etc. but found end of script." HELP!!!
    Here is my script:
    display dialog "WARNING! a virus has been detected and the system is crashing" buttons {"shut down computor to preserve contents", "burn virus file"} default button 2
    if the button returned of the result is "burn virus file" then
    say "warning the virus has reacted to its deletion and has activated itself"
    say "virus is now in control of the users computor"
    say "if you try to stop the virus it will delete all user data"
    tell application "Safari"
    activate
    open location "http://www.facebook.com"
    open location "http://www.yahoo.com"
    open location "http://www.gmail.com"
    open location "http://www.youtube.com"
    end tell
    tell application "iTunes"
    activate
    play
    end tell
    tell application "iCal"
    activate
    end tell
    tell application "Terminal"
    activate
    end tell
    tell application "Finder"
    quit
    end tell
    if the button returned of the result is "shut down computor to preserve contents" then
    say "your computor will shut to protect your files."
    say "shut down in t-3"
    say "2."
    say "1."
    say "goodbye"
    say "it appears that there is a problem"
    say "the virus is starting to take over your system"
    beep 17
    display dialog "how DARE you try to delete me. I am now going to take over your computer." buttons {"**** YOU GET OUTTA MY COMPUTER", "OK, have fun!!"} default button "OK, have fun!!"
    if the button returned of the result is "OK, have fun!!" then
    say "thank you!!"
    say "watch this!"
    Tell application "iChat"
    quit
    end tell
    Tell application "Finder"
    quit
    end tell
    if the button returned of the result is "**** YOU GET OUTTA MY COMPUTER" then
    say "That attitude will not be tollerated."
    say "Dum dum dum dum dum dum dum he he he ho ho ho fa lah lah lah lah lah lah fa lah full hoo hoo hoo" using "Cellos"
    display dialog "A virus has been detected going through your files. Would you like to try to stop this?" buttons {"OK"} default button "OK"
    if the button returned of the result is "OK" then
    beep 5
    display dialog "there has been an error. Do you want to try to force quit?" buttons "Yes" default button "Yes"
    if the button returned of the result is "Yes" then
    say "Well, thats just too bad!"
    beep 2
    say "Sorry about that."
    say "The virus has been purged from your system."
    say "Your computer will now restart to make sure that all traces of the virus have been removed."
    say "shut down in t-3"
    say "2"
    say "1"
    say "goodbye"
    tell application "Finder"
    restart
    end tell
    end if

    You need to complete compound if statements with an end if - see the AppleScript Language Guide for a description of the various kinds of if statements.
    Although I don't think it is going to do what you expect, your script would look something like:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 340px;
    color: #000000;
    background-color: #DAFFB6;
    overflow: auto;"
    title="this text can be pasted into the AppleScript Editor">
    display dialog "WARNING! a virus has been detected and the system is crashing" buttons {"shut down computor to preserve contents", "burn virus file"} default button 2
    if the button returned of the result is "burn virus file" then
    say "warning the virus has reacted to its deletion and has activated itself"
    say "virus is now in control of the users computor"
    say "if you try to stop the virus it will delete all user data"
    tell application "Safari"
    activate
    open location "http://www.facebook.com"
    open location "http://www.yahoo.com"
    open location "http://www.gmail.com"
    open location "http://www.youtube.com"
    end tell
    tell application "iTunes"
    activate
    play
    end tell
    tell application "iCal"
    activate
    end tell
    tell application "Terminal"
    activate
    end tell
    tell application "Finder"
    quit
    end tell
    else if the button returned of the result is "shut down computor to preserve contents" then
    say "your computor will shut to protect your files."
    say "shut down in t-3"
    say "2."
    say "1."
    say "goodbye"
    say "it appears that there is a problem"
    say "the virus is starting to take over your system"
    beep 17
    end if
    display dialog "how DARE you try to delete me. I am now going to take over your computer." buttons {"**** YOU GET OUTTA MY COMPUTER", "OK, have fun!!"} default button "OK, have fun!!"
    if the button returned of the result is "OK, have fun!!" then
    say "thank you!!"
    say "watch this!"
    tell application "iChat"
    quit
    end tell
    tell application "Finder"
    quit
    end tell
    else if the button returned of the result is "**** YOU GET OUTTA MY COMPUTER" then
    say "That attitude will not be tollerated."
    say "Dum dum dum dum dum dum dum he he he ho ho ho fa lah lah lah lah lah lah fa lah full hoo hoo hoo" using "Cellos"
    end if
    display dialog "A virus has been detected going through your files. Would you like to try to stop this?" buttons {"OK"} default button "OK"
    if the button returned of the result is "OK" then
    beep 5
    display dialog "there has been an error. Do you want to try to force quit?" buttons "Yes" default button "Yes"
    else if the button returned of the result is "Yes" then
    say "Well, thats just too bad!"
    beep 2
    say "Sorry about that."
    say "The virus has been purged from your system."
    say "Your computer will now restart to make sure that all traces of the virus have been removed."
    say "shut down in t-3"
    say "2"
    say "1"
    say "goodbye"
    tell application "Finder"
    restart
    end tell
    end if
    </pre>

  • Help with error message: Expected end of line but got identifier

    The following is a calculated applescript step in a Filemaker script. It tells iCal to go to the date of an iCal event that the script has previously created from Filemaker. The code below keeps generating an error message: "Expected end of line but got identifier." Note: "ACTIVITY::Date" below is Filemaker's way of indicating the file name (ACTIVITY) and the field in question (date). Help appreciated.
    "tell application \" iCal\" ¶
    activate ¶
    switch view to month view ¶
    set theDate to date \"" & ACTIVITY::Date & "\" ¶
    view calendar at theDate ¶
    end tell"

    It's not clear exactly what you're aiming for here, so it's not easy to tell you how to fix it.
    At first glance I'd say you're missing a quote symbol or two, but even then it doesn't make a lot of sense without more context - for example, 'ACTIVITY::Date' isn't valid as an AppleScript variable name (you can't have a : in a variable name), and your code isn't within a Filemaker block, so it doesn't appear to relate to Filemaker, either.
    In either case the only thing that looks remotely valid to me would be:
    set theDate to date "\"" & ACTIVITY::date & "\""
    but without knowing the context of ACTIVITY::Date it's impossible to tell if this is valid, or how it differs from:
    set theDate to date ACTIVITY::Date
    (i.e., why the quotes are needed at all)

  • 1084: Syntax error: expecting rightbrace before end of program.

    So I'm doing this basic coding thing to make an object "shoot" bullets. It's from a tutorial video. My code matches his exactly unless I'm missing a tiny detail. Basically the code looks like this:
    package {
    import flash.display.Sprite;
    import flash.events.Event; 
    public class bullet extends Sprite {
    private var sw:Number;
    private var sh:Number;
    private const _SPEED:int=-10;
    private const _OFFSTAGE:int=-10; 
    public function bullet():void {
    addEventListener(Event.ADDED_TO_STAGE,onadd);
    private function onadd(e:Event):void {
    sw=stage.stageWidth;
    sh=stage.stageHeight;
    addEventListener(Event.ENTER_FRAME,loop);
    private function loop(e:Event):void {
    if (y<_OFFSTAGE) {
    removeEventListener(Event.ENTER_FRAME,loop);
    parent.removeChild(this);
    y-=_SPEED;
    }public function removeListeners():void {
    removeEventListener(Event.ENTER_FRAME,loop); 
    And the compiler error I'm getting says this:
    Location:bullet.as line 31 1084: Syntax error: expecting rightbrace before end of program. Source: }
    Location:bullet.as line 31 1084: Syntax error: expecting rightbrace before end of program. Source: }
    And yes it does say it twice. What's going on?
    The vid I'm learning from is this: http://autocad.spinelink.com/adobe-flash-cs4-game-tutorial-shooting.html

    You are missing two closing curly braces at the bottom of the package declaration. You need to close the package itself and the class declaration inside.
    package {
         import flash.display.Sprite;
         import flash.events.Event;
         public class bullet extends Sprite {
              private var sw:Number;
              private var sh:Number;
              private const _SPEED:int=-10;
              private const _OFFSTAGE:int=-10;
              public function bullet():void {
                   addEventListener(Event.ADDED_TO_STAGE,onadd);
              private function onadd(e:Event):void {
                   sw=stage.stageWidth;
                   sh=stage.stageHeight;
                   addEventListener(Event.ENTER_FRAME,loop);
              private function loop(e:Event):void {
                   if (y<_OFFSTAGE) {
                        removeEventListener(Event.ENTER_FRAME,loop);
                        parent.removeChild(this);
                   y-=_SPEED;
              public function removeListeners():void {
                   removeEventListener(Event.ENTER_FRAME,loop);

  • TempInit, Line 2, Column 14     1086: Syntax error: expecting semicolon before minus.

    Hey! First time posting here, I am a student taking classes on flash. I use Flash CC and obviously AS3. I've got a project I am working on, and have encountered a very frustrating problem. I have emailed my teacher but I thought I would ask around the web as well.
    I get a compiler error saying:
    tempInit, Line 2, Column 14
    1086: Syntax error: expecting semicolon before minus.
    I have tried commenting out the entire script, and I still get the same error. The weird thing is there is nothing on line 2, column 14. Line two simply reads:
    stop();
    I've also considered that I had some symbols named after keywords or with illegal characters that could somehow be causing this issue. It turns out I did, so I changed all suspected items to more appropriate names. Yet even after I did this, the error persists. I cannot find any other explanation as to why this error occurs at this point, hence why I am turning to the internet.
    A notable factor here is that I have imported items from illustrator cs5, some of which had illustrator symbols included. These were the culprits with the first issue of illegal and keyword names; examples: "Mountain1-2" and "New Symbol"
    Many thanks,
    Lee
    I'll paste my code here:
    import flash.events.MouseEvent;
    stop();
    var Htraesea_mc:Htraesea = new Htraesea();
    /*Aisa*/
    var TheEverlands_btn:TheEverlands = new TheEverlands();
    var everlandsdesc_mc:everlandsdesc = new everlandsdesc();
    var TheClaruslands_btn:TheClaruslands = new TheClaruslands();
    var claurslandsdesc_mc:claurslandsdesc = new claurslandsdesc();
    var TheDwarvallisLands_btn:TheDwarvallisLands = new TheDwarvallisLands();
    var dwarvallisdesc_mc:dwarvallisdesc = new dwarvallisdesc();
    var TheGreyLands_btn:TheGreyLands = new TheGreyLands();
    var greylandsdesc_mc:greylandsdesc = new greylandsdesc();
    var TheLandsofGineder_btn:TheLandsofGineder = new TheLandsofGineder();
    var TheLandsofHumara_btn:TheLandsofHumara = new TheLandsofHumara();
    var humaradesc_mc:humaradesc = new humaradesc();
    var TheLandsofJurgious_btn:TheLandsofJurgious = new TheLandsofJurgious();
    var TheLandsofMiddterrus_btn:TheLandsofMiddterrus = new TheLandsofMiddterrus();
    var TheLandsofOtrannas_btn:TheLandsofOtrannas = new TheLandsofOtrannas();
    var TheLandsofWeshan_btn:TheLandsofWeshan = new TheLandsofWeshan();
    var TheLowerAltiorlands_btn:TheLowerAltiorlands = new TheLowerAltiorlands();
    var TheMiddaltiorlands_btn:TheMiddaltiorlands = new TheMiddaltiorlands();
    var TheStarkLands_btn:TheStarkLands = new TheStarkLands();
    var starklandsdesc_mc:starklandsdesc = new starklandsdesc();
    var TheUnderlands_btn:TheUnderlands = new TheUnderlands();
    var TheUpperAltiorlands_btn:TheUpperAltiorlands = new TheUpperAltiorlands();
    var TheViridilands_btn:TheViridilands = new TheViridilands();
    var TheWestlands_btn:TheWestlands = new TheWestlands();
    var westlandsdesc_mc:westlandsdesc = new westlandsdesc();
    var TheBroadlands_btn:TheBroadlands = new TheBroadlands();
    /*Acierma*/
    var TheBleaklands_btn:TheBleaklands = new TheBleaklands();
    var bleaklandsdesc_mc:bleaklandsdesc = new bleaklandsdesc();
    var TheConvullands_btn:TheConvullands = new TheConvullands();
    var TheInfractlands_btn:TheInfractlands = new TheInfractlands();
    var infractdesc_mc:infractdesc = new infractdesc();
    var TheLandsofFragmenus_btn:TheLandsofFragmenus = new TheLandsofFragmenus();
    var fragmenusdesc_mc:fragmenusdesc = new fragmenusdesc();
    var TheLandsofJunosto_btn:TheLandsofJunosto = new TheLandsofJunosto();
    var junostodesc_mc:junostodesc = new junostodesc();
    var TheLandsofMusttrupis_btn:TheLandsofMusttrupis = new TheLandsofMusttrupis();
    var TheLandsofRelinas_btn:TheLandsofRelinas = new TheLandsofRelinas();
    var TheLandsofSundara_btn:TheLandsofSundara = new TheLandsofSundara();
    var sundaradesc_mc:sundaradesc = new sundaradesc();
    var TheLaniatosLands_btn:TheLaniatosLands = new TheLaniatosLands();
    var TheRiftLands_btn:TheRiftLands = new TheRiftLands();
    var riftlandsdesc_mc:riftlandsdesc = new riftlandsdesc();
    var TheSardustLands_btn:TheSardustLands = new TheSardustLands();
    var TheSypelands_btn:TheSypelands = new TheSypelands();
    var sypelandsdesc_mc:sypelandsdesc = new sypelandsdesc();
    var TheTruntusLands_btn:TheTruntusLands = new TheTruntusLands();
    var TheUmorousLands_btn:TheUmorousLands = new TheUmorousLands();
    var TheVulnerosLands_btn:TheVulnerosLands = new TheVulnerosLands();
    /*Oceania*/
    var Unusra_btn:Unusra = new Unusra();
    var unusradesc_mc:unusradesc = new unusradesc();
    var Risura_btn:Risura = new Risura();
    var Jusurua_btn:Jusurua = new Jusurua();
    var Desura_btn:Desura = new Desura();
    var FrostPeakIsland_btn:FrostPeakIsland = new FrostPeakIsland();
    var frostpeakislanddesc_mc:frostpeakislanddesc = new frostpeakislanddesc();
    var Cornuia_btn:Cornuia = new Cornuia();
    var cornuiadesc_mc:cornuiadesc = new cornuiadesc();
    var Caligan_btn:Caligan = new Caligan();
    var Acitra_btn:Acitra = new Acitra();
    var acitradesc_mc:acitradesc = new acitradesc();
    Htraesea_mc.x = 0;
    Htraesea_mc.y = 0;
    /*Aisa*/
    TheEverlands_btn.x = 1088.60;
    TheEverlands_btn.y = 405.80;
    TheClaruslands_btn.x = 926.40;
    TheClaruslands_btn.y = 395.75;
    TheDwarvallisLands_btn.x = 593.05;
    TheDwarvallisLands_btn.y = 468.00;
    TheGreyLands_btn.x = 895.15;
    TheGreyLands_btn.y = 448.95;
    TheLandsofGineder_btn.x = 593.05;
    TheLandsofGineder_btn.y = 369.7;
    TheLandsofHumara_btn.x = 808.25;
    TheLandsofHumara_btn.y = 570.70;
    TheLandsofJurgious_btn.x = 542.30;
    TheLandsofJurgious_btn.y = 577.25;
    TheLandsofMiddterrus_btn.x = 686.95;
    TheLandsofMiddterrus_btn.y = 367.20;
    TheLandsofOtrannas_btn.x = 829.30;
    TheLandsofOtrannas_btn.y = 330.05;
    TheLandsofWeshan_btn.x = 739.75;
    TheLandsofWeshan_btn.y = 264.15;
    TheLowerAltiorlands_btn.x = 839.05;
    TheLowerAltiorlands_btn.y = 251.95;
    TheMiddaltiorlands_btn.x = 815.65;
    TheMiddaltiorlands_btn.y = 114.65;
    TheStarkLands_btn.x = 1055.25;
    TheStarkLands_btn.y = 501.05;
    TheUnderlands_btn.x = 593.05;
    TheUnderlands_btn.y = 699.80;
    TheUpperAltiorlands_btn.x = 950.10;
    TheUpperAltiorlands_btn.y = 114.65;
    TheViridilands_btn.x = 855.55;
    TheViridilands_btn.y = 652.30;
    TheWestlands_btn.x = 665.65;
    TheWestlands_btn.y = 227.35;
    TheBroadlands_btn.x = 795.3;
    TheBroadlands_btn.y = 414.5;
    /*Acierma*/
    TheBleaklands_btn.x = 297.95;
    TheBleaklands_btn.y = 429.45;
    TheConvullands_btn.x = 307.65;
    TheConvullands_btn.y = 209.6;
    TheInfractlands_btn.x = 178.4;
    TheInfractlands_btn.y = 218.05;
    TheLandsofFragmenus_btn. x = 162.40;
    TheLandsofFragmenus_btn.y = 376.45;
    TheLandsofJunosto_btn. x = 232.4;
    TheLandsofJunosto_btn.y = 762.20;
    TheLandsofMusttrupis_btn. x = 138.05;
    TheLandsofMusttrupis_btn.y = 524.45;
    TheLandsofRelinas_btn. x = 134.4;
    TheLandsofRelinas_btn.y = 472.45;
    TheLandsofSundara_btn.x = 178.4;
    TheLandsofSundara_btn.y = 588.50;
    TheLaniatosLands_btn.x = 284.15;
    TheLaniatosLands_btn.y = 316.80;
    TheRiftLands_btn.x = 272.1;
    TheRiftLands_btn.y = 536.15;
    TheSardustLands_btn.x=168.05;
    TheSardustLands_btn.y = 670.50;
    TheSypelands_btn.x = 261.4;
    TheSypelands_btn.y = 387.25;
    TheTruntusLands_btn.x = 380.1;
    TheTruntusLands_btn.y = 578.50;
    TheUmorousLands_btn.x = 316.45;
    TheUmorousLands_btn.y = 650.15;
    TheVulnerosLands_btn.x = 140.05;
    TheVulnerosLands_btn.y = 298.05;
    /*Oceania*/
    Acitra_btn.x = 422.60;
    Acitra_btn.y = 1.10;
    Caligan_btn.x = 18.15;
    Caligan_btn.y = 829.80;
    Cornuia_btn.x = 450.45;
    Cornuia_btn.y =832.20;
    FrostPeakIsland_btn.x = 898.45;
    FrostPeakIsland_btn.y = 79.50;
    Desura_btn.x = 959.35;
    Desura_btn.y = 835.55;
    Jusurua_btn.x = 966.60;
    Jusurua_btn.y = 822.15;
    Risura_btn.x = 1041.85;
    Risura_btn.y = 843.05;
    Unusra_btn.x = 715.95;
    Unusra_btn.y = 794.95;
    mainscroll_btn.x = 572.10;
    mainscroll_btn.y = 1012.25;
    addChild(Htraesea_mc);
    /*Aisa*/
    addChild(TheLandsofJurgious_btn);
    addChild(TheUnderlands_btn);
    addChild(TheLandsofMiddterrus_btn);
    addChild(TheDwarvallisLands_btn);
    addChild(TheLandsofGineder_btn);
    addChild(TheLandsofHumara_btn);
    addChild(TheViridilands_btn);
    addChild(TheBroadlands_btn);
    addChild(TheGreyLands_btn);
    addChild(TheClaruslands_btn);
    addChild(TheWestlands_btn);
    addChild(TheLandsofOtrannas_btn);
    addChild(TheStarkLands_btn);
    addChild(TheEverlands_btn);
    addChild(TheMiddaltiorlands_btn);
    addChild(TheUpperAltiorlands_btn);
    addChild(TheLowerAltiorlands_btn);
    addChild(TheLandsofWeshan_btn);
    /*Acierma*/
    addChild(TheInfractlands_btn);
    addChild(TheVulnerosLands_btn);
    addChild(TheLandsofFragmenus_btn);
    addChild(TheLandsofRelinas_btn);
    addChild(TheLandsofMusttrupis_btn);
    addChild(TheConvullands_btn);
    addChild(TheLaniatosLands_btn);
    addChild(TheSypelands_btn);
    addChild(TheBleaklands_btn);
    addChild(TheRiftLands_btn);
    addChild(TheLandsofSundara_btn);
    addChild(TheTruntusLands_btn);
    addChild(TheUmorousLands_btn);
    addChild(TheSardustLands_btn);
    addChild(TheLandsofJunosto_btn);
    /*Oceania*/
    addChild(Acitra_btn);
    addChild(Caligan_btn);
    addChild(Cornuia_btn);
    addChild(FrostPeakIsland_btn);
    addChild(Desura_btn);
    addChild(Jusurua_btn);
    addChild(Risura_btn);
    addChild(Unusra_btn);
    TheEverlands_btn.addEventListener(MouseEvent.CLICK,goeverlands);
    function goeverlands(evt:MouseEvent):void {
              everlandsdesc_mc.x = 309.9;
              everlandsdesc_mc.y = 554.95;
              addChild(everlandsdesc_mc);
    everlandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme);
    function closeme(evt:MouseEvent):void {
              removeChild(everlandsdesc_mc);
    TheBleaklands_btn.addEventListener(MouseEvent.CLICK,gobleaklands);
    function gobleaklands(evt:MouseEvent):void {
              bleaklandsdesc_mc.x = 309.9;
              bleaklandsdesc_mc.y = 554.95;
              addChild(bleaklandsdesc_mc);
    bleaklandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme1);
    function closeme1(evt:MouseEvent):void {
              removeChild(bleaklandsdesc_mc);
    Acitra_btn.addEventListener(MouseEvent.CLICK,goacitra);
    function goacitra(evt:MouseEvent):void {
              acitradesc_mc.x = 309.9;
              acitradesc_mc.y = 554.95;
              addChild(acitradesc_mc);
    acitradesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme2);
    function closeme2(evt:MouseEvent):void {
              removeChild(acitradesc_mc);
    TheClaruslands_btn.addEventListener(MouseEvent.CLICK, goclaruslands);
    function goclaruslands(evt:MouseEvent):void {
              claurslandsdesc_mc.x = 309.9;
              claurslandsdesc_mc.y = 554.95;
              addChild(claurslandsdesc_mc);
    claurslandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme3);
    function closeme3(evt:MouseEvent):void {
              removeChild(claurslandsdesc_mc);
    Cornuia_btn.addEventListener(MouseEvent.CLICK,gocornuia);
    function gocornuia(evt:MouseEvent):void {
              cornuiadesc_mc.x = 309.9;
              cornuiadesc_mc.y = 554.95;
              addChild(cornuiadesc_mc);
    cornuiadesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme4);
    function closeme4(evt:MouseEvent):void {
              removeChild(cornuiadesc_mc);
    TheDwarvallisLands_btn.addEventListener(MouseEvent.CLICK,godwarvallis);
    function godwarvallis(evt:MouseEvent):void {
              dwarvallisdesc_mc.x = 309.9;
              dwarvallisdesc_mc.y = 554.95;
              addChild(dwarvallisdesc_mc);
    dwarvallisdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme5);
    function closeme5(evt:MouseEvent):void {
              removeChild(dwarvallisdesc_mc);
    TheLandsofFragmenus_btn.addEventListener(MouseEvent.CLICK,gofragmenus);
    function gofragmenus(evt:MouseEvent):void {
              fragmenusdesc_mc.x = 309.9;
              fragmenusdesc_mc.y = 554.95;
              addChild(fragmenusdesc_mc);
    fragmenusdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme6);
    function closeme6(evt:MouseEvent):void {
              removeChild(fragmenusdesc_mc);
    FrostPeakIsland_btn.addEventListener(MouseEvent.CLICK, gofrostpeakisland);
    function gofrostpeakisland(evt:MouseEvent):void {
              frostpeakislanddesc_mc.x = 309.9;
              frostpeakislanddesc_mc.y = 554.95;
              addChild(frostpeakislanddesc_mc);
    frostpeakislanddesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme7);
    function closeme7(evt:MouseEvent):void {
              removeChild(frostpeakislanddesc_mc);
    TheLandsofHumara_btn.addEventListener(MouseEvent.CLICK,gohumara);
    function gohumara(evt:MouseEvent):void {
              humaradesc_mc.x = 309.9;
              humaradesc_mc.y = 554.95;
              addChild(humaradesc_mc);
    humaradesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme8);
    function closeme8(evt:MouseEvent):void {
              removeChild(humaradesc_mc);
    TheInfractlands_btn.addEventListener(MouseEvent.CLICK,goinfract);
    function goinfract(evt:MouseEvent):void {
              infractdesc_mc.x = 309.9;
              infractdesc_mc.y = 554.95;
              addChild(infractdesc_mc);
    infractdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme9);
    function closeme9(evt:MouseEvent):void {
              removeChild(infractdesc_mc);
    TheLandsofJunosto_btn.addEventListener(MouseEvent.CLICK,gojunosto);
    function gojunosto(evt:MouseEvent):void {
              junostodesc_mc.x = 309.9;
              junostodesc_mc.y = 554.95;
              addChild(junostodesc_mc);
    junostodesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme10);
    function closeme10(evt:MouseEvent):void {
              removeChild(junostodesc_mc);
    TheRiftLands_btn.addEventListener(MouseEvent.CLICK, goriftlands);
    function goriftlands(evt:MouseEvent):void {
              riftlandsdesc_mc.x = 309.9;
              riftlandsdesc_mc.y = 554.95;
              addChild(riftlandsdesc_mc);
    riftlandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme11);
    function closeme11(evt:MouseEvent):void {
              removeChild(riftlandsdesc_mc);
    TheStarkLands_btn.addEventListener(MouseEvent.CLICK,gostarklands);
    function gostarklands(evt:MouseEvent):void {
              starklandsdesc_mc.x = 309.9;
              starklandsdesc_mc.y = 554.95;
              addChild(starklandsdesc_mc);
    starklandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme12);
    function closeme12(evt:MouseEvent):void {
              removeChild(starklandsdesc_mc);
    TheLandsofSundara_btn.addEventListener(MouseEvent.CLICK,gosundara);
    function gosundara(evt:MouseEvent):void {
              sundaradesc_mc.x = 309.9;
              sundaradesc_mc.y = 554.95;
              addChild(sundaradesc_mc);
    sundaradesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme13);
    function closeme13(evt:MouseEvent):void {
              removeChild(sundaradesc_mc);
    TheSypelands_btn.addEventListener(MouseEvent.CLICK,gosypelands);
    function gosypelands(evt:MouseEvent):void {
              sypelandsdesc_mc.x = 309.9;
              sypelandsdesc_mc.y = 554.95;
              addChild(sypelandsdesc_mc);
    sypelandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme14);
    function closeme14(evt:MouseEvent):void {
              removeChild(sypelandsdesc_mc);
    Unusra_btn.addEventListener(MouseEvent.CLICK, gounusra);
    function gounusra(evt:MouseEvent):void {
              unusradesc_mc.x = 309.9;
              unusradesc_mc.y = 554.95;
              addChild(unusradesc_mc);
    unusradesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme15);
    function closeme15(evt:MouseEvent):void {
              removeChild(unusradesc_mc);
    TheWestlands_btn.addEventListener(MouseEvent.CLICK, gowestlands);
    function gowestlands(evt:MouseEvent):void {
              westlandsdesc_mc.x = 309.9;
              westlandsdesc_mc.y = 554.95;
              addChild(westlandsdesc_mc);
    westlandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme16);
    function closeme16(evt:MouseEvent):void {
              removeChild(westlandsdesc_mc);
    TheGreyLands_btn.addEventListener(MouseEvent.CLICK, gogreylands);
    function gogreylands(evt:MouseEvent):void {
              greylandsdesc_mc.x = 309.9;
              greylandsdesc_mc.y = 554.95;
              addChild(greylandsdesc_mc);
    greylandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme17);
    function closeme17(evt:MouseEvent):void {
              removeChild(greylandsdesc_mc);

    it appears i may have a corrupt image as a symbol in my library. I will have to replace each one manually one by one to see if this is indeed the problem. I am prepearing to leave out of town for the weekend, but I will update this as soon as a figure it out.
    Thanks again

  • 1086: Syntax error: expecting semicolon before rightparen. ?

    Hi there i'm currently working on my year 13 ICT coursework using Adobe flash CS5.5 and while correcting an error while implementing a third party found image gallery another one appeared, which I am completely unable to fix.
    At the moment I would like the image gallery to be implemented in Scene 3 of my product, but it seems when opening to view the product it just spams through all the scenes and I am confused on why this is the case?
    If anyone can help with this then it would be much appreciated.
    Here is the code line which has the Syntax error, if any other thing are needed please just ask.
    lastBildeHL.onLoadProgress = gotoAndPlay("Scene 1")); numBytesLoaded:Number, numBytesTotal:Number):void
    Thanks

    Hi there just added that line and when doing so I then got these errors:
    Scene 3, Layer 'actions', Frame 5, Line 131
    1084: Syntax error: expecting rightparen before colon.
    Scene 3, Layer 'actions', Frame 5, Line 131
    1078: Label must be a simple identifier.
    Scene 3, Layer 'actions', Frame 5, Line 132
    1084: Syntax error: expecting identifier before var.
    Scene 3, Layer 'actions', Frame 5, Line 132
    1078: Label must be a simple identifier.
    Here are the actions:
    lastBildeHL.onLoadProgress = gotoAndPlay("Scene 1", numBytesLoaded:Number, numBytesTotal:Number):void
        var numPercentLoaded:Number = numBytesLoaded / numBytesTotal * 100;
    Any help would be good
    Thanks,
    Joe

  • Location tempInit (what is it?) Syntax errors 1084 & 1086 in lines that don't exist.

    I am getting the following errors:
    tempInit, Line 280
    1084: Syntax error: expecting identifier before true.
    tempInit, Line 280
    1086: Syntax error: expecting semicolon before dot.
    tempInit, Line 376
    1084: Syntax error: expecting identifier before false.
    tempInit, Line 376
    1086: Syntax error: expecting semicolon before dot.
    I don't know where tempInit is in the location and I especially don't know where lines 280 or 376 are because I only have 111 lines of actionscript!  I don't know where to start.
    Any help would be appreciated.

    Pardon my intrusion.  I thought I'd throw this in since oddly enough it just showed up in the General forum today about an hour before you posted... it might have some info to help (or not).
    http://forums.adobe.com/thread/1083272?tstart=0

Maybe you are looking for

  • Problem with wpa and hidden ssid

    hi, I have a powerbook g4 (1,67ghz). i am having trouble connecting to a netgear router mr814 v3 if i use wpa and hidden ssid, i get a message, that the router would not support wpa! there is no problem with wep and hidden ssid or wpa with no hidden

  • Should You Buy An iPhone Now, Or Wait For The Next One?

    Great article by HuffPost Tech. The most common thing I get asked whenever I tell anyone I'm a tech writer is some version of the question: "Should I get a new iPhone now, or should I wait until the next one comes out?" It is as though my business ca

  • Comparing string in select query

    Hi, select single *        from mara        where <b>matnr = wa-matnr</b>. Here matnr is char18. Can we compare string like this? When <b>wa-matnr</b> is in <b>lower case</b> it is setting sy-subrc = 4, even though the matnr exists in mara. When conv

  • RNIF Adapter is only for B2B..?

    Hi Experts,                 In ongoing Project we have a requirement sending ABAP Proxy with PDF attachment from SAP ECC to PI and then Tibco  i'e..SAP ECC>PI>Tibco.Am sending PIDX xmlAttachment to Tibco from PI, Tibco is also in our internal landsca

  • Live view different from design view

    Hi folks, Does anyone know why, in dreamweaver, there is a difference between the site design in Design View and what you see in live view; and how should oneapproach this difference? Thanks.