Super amateur question follow-up (URL help needed)

I neglected to say in a previous post that I actually have five images in the flash animation that need to link to web pages.
I duplicated the code that worked on one image. Now I get an error saying there are duplicate function definitions. Here is the code I have added which I hoped would work for three images. It doesn't. Your help is greatly appreciated.
bfcSyringe_mc.addEventListener(MouseEvent.CLICK,onClick);
function onClick(evt:Event):void {
    var targetURL:URLRequest = new URLRequest("http://hodentalcompany.com/pages/syringe.html");
    navigateToURL(targetURL, "_self");
fpr_mc.addEventListener(MouseEvent.CLICK,onClick);
function onClick(evt:Event):void {
    var targetURL:URLRequest = new URLRequest("http://hodentalcompany.com/pages/fpr.html");
    navigateToURL(targetURL, "_self");
sandTrap_mc.addEventListener(MouseEvent.CLICK,onClick);
function onClick(evt:Event):void {
    var targetURL:URLRequest = new URLRequest("http://hodentalcompany.com/pages/sand.html");
    navigateToURL(targetURL, "_self");

And, for Funky Soul's solution, I used this code:
bfcSyringe_mc.addEventListener(MouseEvent.CLICK,onClick);
bfcSyringe_mc.name = "bfc";
fpr_mc.addEventListener(MouseEvent.CLICK,onClick);
fpr_mc.name = "fpr";
sandTrap_mc.addEventListener(MouseEvent.CLICK,onClick);
sandTrap_mc.name = "sand";
function onClick(evt:Event):void {
switch(e.target.name)
case "bfc":
    navigateToURL(new URLRequest("http://hodentalcompany.com/pages/syringe.html"), "_blank");
    break;
case "fpr":
    navigateToURL(new URLRequest("http://hodentalcompany.com/pages/fpr.html"), "_blank");
    break;
case "sand":
    navigateToURL(new URLRequest("http://hodentalcompany.com/pages/sand.html"). "_blank");
    break;
And got this error:
1084: Syntax error: expecting identifier before _blank.

Similar Messages

  • Questions on OM / PA - help needed

    Could anybody please help me with the following questions asap:
    Also could you please cheack my answers ofr question 5 and 6? I shall reward points immediately.Thanks in advance
    1.What is the procedures to maintained table T588G and what are the steps involves to enter data in the respective field? Explain the process only.
    2.In change view of EESubgrouping for PCR and Coll.agrement provision,how to enter data in the deselected field ?
    3.In infotype,when you will go to new entries of infotype,you will find general attributes,retroactive accounting trigger.What is the use of these field.Explain in details ?
    4.In change view “wage-type-dependent retroactive accounting trigger” how to enter data in wage type and text.Why these field are usually deactivated first.What process involves to activates it.
    5.How to maintain number ranges for organizational unit ?
    SPRO – PM- PA – Basic settings – Maintain number range intervals for personnel numbers…
    6.How to assign the infogroup to personal action ?
    SPRO – Personnel management- personnel administration – customizing procedures- actions- define infogroup – set up for personnel actions – PA types.

    Hi achara reddy
    1. U include all the fields which are a part of retro if any changes are made to these fields in the infotypes... I think almost all these are SAP std entries... except few changes where u require to make based on special requirements of the client.
    For Ex..    0001 Organizational Assignment        P0001     ABKRS     1.
    The above example means.. any changes made to payroll area are relevant to payroll retro....  In case of 1 if its 2 it is relevant to Time evaluation.
    2.'' enter data in the deselected field '' i didnt get u...
    3. If changes to this this Infotype is relevant to retro /not... This is infotype wise..
        the table mentioned in 1 is field wise ...
    4. where to view this wage-type-dependent retroactive accounting trigger.
    5. &&&& the 1st two characters stand for Plan version.. and the next two stand for object type....
    6. Table T529A action types.... check std entires which already exist... make use of them or copy them..

  • A very important question about the HostSample-Help needed!

    Hi,
    I'm trying to build a plugin for EM 12c ( 12.1.0.2 ) which suppose to monitor jmx mbeans .
    I encountered during the README file which was packed with the EDK .
    1. In the section where I try to use Flash builder ( ver 4.6 - that's the only release I found .. ) I folowed the instructions if how to run the example ( HostSample/HostSystem ) . When I run the example ( I installed the sdk's of Flash and everything that was written there - no problem )
    in the web browser i got the login page , and put the parameters ( username, password ) as it said in the README - the same username/password as i log in to the EM console .Than I got an error saying " ... RPC fault string ..... Logging to management server ... URL:https.. host ( my host name ) : port ( my port number ) /em..."
    Does anyone has a clue about this ? What am i doing wrong or miss something ?
    It is very important and urgent to me . please help .

    To add a bit more detail. Before you run the application from FlashBuilder, open the same browser you will use to run/debug the application in FlashBuilder and install certificate.
    Firefox:
    . when the "This Connection is Untrusted" warning appears
    . expand the "I Understand the Risks" item
    . click the "Add Exception..." button
    . on the "Add Security Exception" dialog, ensure "Permanently store this exception" is checked
    . click "Confirm Security Exception" button
    IE:
    . when the "Certificate Error: Navigation Blocked" page appears, click "Continue to this website (not recommended)"
    . click on the "Certificate Error" icon in the browser address bar
    . in the "Untrusted Certificates" popup, click "View Certificates"
    . click on the "Certification Path" tab of the "Certificate" dialog
    . select the root certificate (certificate at the root of the tree)
    . click "View Certificate..." button
    . click "Install Certificate..." on the "Certificate" dialog that appears
    . click "Next" on the "Certificate Import Wizard"
    . select "Place all certificates in the following store" button and click "Browse..."
    . select "Trusted Root Certification Authorities" on the "Select Certificate Stores" dialog and click "OK"
    . click "Next" button, and then "Finish" button
    . click "Yes" on "Security Warning" dialog that appears
    The other alternative is to enable http access using "emctl secure unlock". This is not recommended for a production site.
    .

  • Great player, want on movie finished to forward to url help needed

    I am very happy to have found this perfect player.
    However the only thing i need is to forward to another page when the movie is finished.
    Cannot find anny documentation how to receive or send this event, mayby through flash vars.
    Can someone help me out...?
    Marcel Spaan

    URL url = new URL(surl);
    url.getContent // will throw an exception if you cannot get content..
    //then return the connection
    c = url.openConnection();

  • Posting a Question and iPod mini help needed

    It's so frustrating to use this support site. I can't seem to find the right information.
    I need help. My iPod mini just suddenly conked out on me. Now it flashes the apple then an icon with a battery and an exclamation point inside a triangle. I tried to search for an answer in this site but all I got was a suggestion to reset it. I tried re-setting it and IT DIDN'T WORK!
    What do I do now? I really want to get this fixed as soon as possible. I happen to love my iPod. Please, please, someone help!

    Welcome to Apple Discussions, serangel.
    Here is the support site for using iPod mini.
    There are plenty of users there who will be happy to help.
    Cheers!

  • More than 255 characters in browser URL - Help needed

    Hai friends,
    We are facing a problem. We are calling a report from a form. We are using
    FORMS 10G AND REPORTS 10G.
    While calling reports from forms Reports are showing error, because we are not able to pass more that 255 characters in brwoser URL.
    We are using
    web.show_document(v_host||':'||v_port||lv_serv_string||v_parameter_string,'_blank');
    for calling reports.
    Please give a help.
    Thanks and Regards
    Mathew

    Sir,
    We are using this code.
    PROCEDURE lp_web_show IS
    v_host varchar2(100);
    v_port varchar2(10);
    lv_serv_name varchar2(50);
    lv_serv_string varchar2(50);
    lv_rep_name varchar2(25) := 'Apr020.rep';
    lv_rep_fmt varchar2(50);
    v_parameter_string varchar2(4000);
    v_username varchar2(50);
    v_password varchar2(50);
    v_database varchar2(50);
    Lvr_Where_Clause Varchar2(4000);
    BEGIN
    Proc_Validate_All; --Procedure to validate all items in canvas
    lp_get_web_details(v_host,v_port,lv_serv_name,lv_serv_string,lv_rep_fmt,
    v_username,v_password,v_database);
    v_parameter_string := lv_serv_name;
    v_parameter_string := v_parameter_string||'&report='||lv_rep_name;
    v_parameter_string := v_parameter_string||'&userid='||v_username||'/'||
    v_password||'@'||v_database;
    v_parameter_string := v_parameter_string||'&execution_mode=batch';
    v_parameter_string := v_parameter_string||'&comm_mode=synchronous';
    v_parameter_string := v_parameter_string||'&destype=cache';
    v_parameter_string := v_parameter_string||'&desformat='||lv_rep_fmt;
    Proc_Get_Where_Clause(Lvr_Where_Clause);
    v_parameter_string :=
    v_parameter_string||'&PVR_WHERECLAUSE='||Lvr_Where_Clause;
    v_parameter_string := v_parameter_string||'&PM_FIN_YEAR='||:FIN_YEAR;
    web.show_document(v_host||':'||v_port||lv_serv_string||v_parameter_string,'_blank');
    END;
    So the total URL exeecds 255 characters. I didnt understand your coding. Do We have to pass host name,port number and all no?

  • Newbie questions please be kind - help needed please.

    I just bought a 60gig video ipod. I have installed Itunes and have successfully transfered audio files to the ipod but these are the questions I have.
    1. I have audio books on my computer and would like to put them under the audio books catagory on the ipod but I can't figure out how.
    2. Even with Itunes running my Ipod states "Do not disconect"
    continually.
    3. Can you put music just under the artist catagory or just a full album under the album catagory.
    I have read everything that I could find to try and help me with this but I can't find my answers. Thank you for you time.

    hmmmm, dropped off some of my paste. Here are all the links. Cheers and happy audio book listening
    Audio Book FAQ & iTunes Screenshots
    <a href="http://forums.ilounge.com/showthread.php?s=&threadid=116700> Guide: Converting audio book files,CDs,& mp3s with iTunes5+ to Bookmarking iPod files</a>
    <a href="http://forums.ipodlounge.com/showthread.php?s=&threadid=79396> Guide: MarkAble Shareware. EZ merges/converts CD/MP3/WAV to AAC (Slow) or MP3 (fast) bookmarking files, adds to iTunes, & deletes temp files
    <a href="http://www.ipodsoft.com/index.php?/downloads/markable> MarkAble $15 PC Shareware</a> free full-function trial.
    <a href="http://www.ipodlounge.com/forums/showthread.php?s=&threadid=33491">
    Guide 4. Audio CDs to bookmarking iPod files. All iTunes solution. (Mac adaptable)
    Includes screen shots and step-by-step instructions.
    Guide 1. Audio mp3 files to bookmarking iPod files (mac adaptable)
    Guide 2. Audio CassetteTapes, vinyl LPs & CDs to bookmarking iPod files (PC only) Requires freeware or software such as this software to record:
    -Convert ANY SOUND Played on computer to bookmarking iPod file
    <a href="http://forums.ipodlounge.com/showthread.php?s=&postid=582930#post582930>G uides to Sound Recording ware: Audacity Free, $12 Total Recorder, 30 Euro PolderbitS</a> <supplement to guide 2>
    <a href="http://www.ipodlounge.com/forums/showthread.php?s=&postid=312147#post3121 47">
    Guide 3. Copy Audio CDs into fewer iPod files using freeware & additional steps&time
    Guide 5. Burn audible.com books to CD iTunes (mac adaptable) or AM (Best!PC only)
    Guide 6. Convert mono m4b files to Stereo to avoid 4G & Mini Lockup AND keep iTrip out of 4G+ Shuffle
    Link 7. Roberts sorta literary Audible Book Recommendations

  • Tricky specs to be followed...help needed

    Hi,
    I'm going to send out a documentary I have just edited with FCPX. it was my first "real" experience with this amazing software...
    I'm going to submit it to a docufestival which ask for a specific type of format...it seems a little tricky to me so I'm asking for you help: which steps I have to follow in order to comply with its standards?
    These are the specs:
    DCP (2K/4K).
    all DCPs to be in XYZ
    colorspace encoded in JPEG2000
    Thank you!

    Thank you! Now everything is clearer!
    there is just a little problem left...
    the software you suggested to use costs 699$ this doesn't fit my low (almost to zero) budget...
    plus I woukd be use it just once...
    do you know if there is anything cheaper or a service which can do it?
    thank you
    NP

  • URL Help Needed

    Hello,
    I have a method that needs to return a URLConnection object. I am passing into that method a string URL. I have created a URL Object from the url string, then I made a URLConnection object from that url object. Then I try to connect to that urlconnection object. But if I put in a bad URL, it does not throw an exception?
    The purpose of this is that I have some xml files in a remote directory, and I am making sure that they exist before I throw them to a sax parser.
    What can I do to make sure the files exist, keeping in mind that they live on a different server, and I didnt want to run rpc for this mission? PS, I got a DataInputStream on the connection, then read a line to throw an error, but then it messed up the returned connection.
    Any ideas.....
    CODE THAT DOES NOT THROW ERROR EVEN IF surl DOES NOT EXIST
    eg
    http://somehost.com/nonexistant.xml
    public URLConnection getURLConnectionObject(String surl)
    URLConnection c = null;
    try
         URL url = new URL(surl);
    String line;
         c = url.openConnection();
    catch(MalformedURLException me) {
    message = "MalformedURLException: " + me + "\n\n";
    System.out.println("MalformedURLException: " + me);
    catch (IOException ioe) {
    message = "IOException: " + ioe + "\n\n";
    System.out.println("IOException: " + ioe);
    return c;

    URL url = new URL(surl);
    url.getContent // will throw an exception if you cannot get content..
    //then return the connection
    c = url.openConnection();

  • Question about Airport..Help Needed.

    Hi, Ive successfully hooked up Airtunes, so my Itunes plays from my laptop, to my stereo. CAn i do this while watching a DVD on the DVD Player? So If I watch a movie on my computer, The sound will come out of my stereo?
    Thanks,
    Matt

    CAn i do this while watching a DVD on the DVD Player? So If I watch a movie on my computer, The sound will come out of my stereo?
    Unfortunately...no. (ref: http://docs.info.apple.com/article.html?artnum=304277#faq28)

  • Help needed in accessing the url from which a swf file has been loaded

    Hi All,
    Can anyone help me out in finding the url of the swf file
    from which it has been loaded? The purpose of the url is, I am
    loading some flv files using relative path. I just want to achieve
    the same by appending the relative path to the parent swf url from
    where the parent was loaded.
    I am a newbie to AS3, So please don t mind if this is a silly
    question.
    Can anyone help me on this.
    Thanks in advance,
    Prabakaran Srinivasan.

    Hi,
    Thanks for the reply. I think the option you gave is only
    applicable when the AS3 class comes in the DisplayObject hierarchy.
    I want this information in an AS3 class which does not extend any
    of the Sprite or its super class hierarchy. Can you let me know the
    possibility of fetching the value from such a class which i
    specified???
    Thanks,
    Prabakaran Srinivasan.

  • About Java 2 opaque font color question, help needed!

    About Java 2 opaque font color question, help needed!
    I was trying to test opaque font (the string has a foreground color and a background color), but i can't find the method for doing that.
    i can change foreground by Graphics2D.setPaint(Color.black).
    Anybody know how to change the background of the string?
    Thanks!

    Hi. The way I'd do it would be to use the font metrics to find the length of a string and draw a rectangle and then drawstring over the rectangle. If you want an example, I can post it although I suspect theres a better way.

  • HT3951 I just can't find the question...  I need to fix the app that I downloaded & it's not completing the download even on Wi-Fi???  Please help!!,!!,!,!,!!,!,!!

    I just can't find the question...  I need to fix the apps that I downloaded &amp; it's not completing the download even on Wi-Fi???  Please help!!!!!!!!!

    iOS: About File Sharing

  • Dont have a rescue email and forgot my security questions , what should i do , need help!

    Dont have a rescue email and forgot my security questions , what should i do , need help!

    You will need to contact Support in your country to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset you can then use the steps half-way down this page to add a rescue email address for potential future use : http://support.apple.com/kb/HT5312

  • "HELP" NEED QUESTION ANSWERED, ":PLEASE":

    "HELP" NEED QUESTION ANSWERED, ":PLEASE": OH DEAR GOD SEND SOMEONE TO ME WITH THE ANSWER.

    You need patience. This isn't instant answers, you may have to wait for an answer. Your questions are here - locking this thread.
    https://support.mozilla.com/en-US/questions/859594 <br />
    https://support.mozilla.com/en-US/questions/859665

Maybe you are looking for

  • How Do you use Cyrillic Fonts (Russian) in InDesign CS4 or CS3

    I have a headline in Russian a client sent me in an e-mail that I need to use on a poster I'm laying out in InDesign. I downloaded ERUniverse cyrillic font, and when I paste the Russian headline in a text box and go to select ERUniverse cyrillic, the

  • I can't open itunes on my HP laptop.  I keep getting the error message " You don't have the proper permissions to open this file".

    Hello- I can't open itunes on my HP laptop that uses Windows 7.  I keep getting the error message "you don't have the proper permissions to open this file".  I removed all Apple downloads and reinstalled itunes 10.6.3 windows 64-bit numerous times, b

  • E71 psiloc wireless presenter

    unable to connect psiloc wireless presenter using bluetooth, although the phone gets connected using blutooth and remains connected. I get the error message 'communication failed'.I updated the bluettoth drivers too. any suggestions to resolve this?

  • BAPI for FCH5 or FCH6

    Hi, what is the function module or BAPI for FCH5 and FCH6 Tcodes i need to update the Check Number based on that input parameter ( Payment Document NUmber,Company Code ,fiscal year ,House bank ID and Account ID) need to update check number..... Thank

  • Creating an array from a csv

    Hi all, I am currently working on a basic app for a masteres dissertation where I am looking to input a number of map pins within the map kit from a csv file I have. The file is in my resources and I have map kit up and running but being an archaeolo