Why am i getting this error? they are not the same?

1021: Duplicate function definition.
1021: Duplicate function definition.
stop();
import flash.events.MouseEvent;
// home button definition \\
// Portfolio button definition \\
Portfolio_btn.addEventListener(MouseEvent.CLICK, pClick);
function pClick(event:MouseEvent):void{
    gotoAndStop("getPortfolio");
// Contact Me button defintion \\
Contact_btn.addEventListener(MouseEvent.CLICK, cClick);
function cClick(event:MouseEvent):void{
    gotoAndPlay("contactme");
why am i getting this error the functions have different names... idk what to do they are for two different buttons I am using action script 3.0

i did what u said and it said these two lines were the same
// Portfolio button definition \\
Portfolio_btn.addEventListener(MouseEvent.CLICK, pClick);
function pClick(event:MouseEvent):void{                                                         <--------this one
    gotoAndStop("getPortfolio");
// Contact Me button defintion \\
Contact_btn.addEventListener(MouseEvent.CLICK, cClick);
function cClick(event:MouseEvent):void{                                                           <--------and this one
    gotoAndPlay("contactme");
it gave me the same error but they are not the same

Similar Messages

  • Can Anyone help with syncing my contacts are getting duplicated and there is a file from my computer and they are not the same it is driving me carazy can anyone help?

    Can Anyone help with syncing my contacts are getting duplicated and there is a file from my computer and they are not the same it is driving me carazy can anyone help?

    Are you in DSL? Do you know if your modem is bridged?
    "Sometimes your knight in shining armor is just a retard in tin foil.."-ARCHANGEL_06

  • HT4864 How can I change my iCloud email to my AppleID email they are not the same

    How can I change my iCloud email to my AppleID email?  They are not the same and somehow were switched by my teenage daughter.  I can access the account and change anything except my iCloud eMail account.

    Hi itsjeffb,
    If I am understanding you correctly, it sounds like your daughter may have set up an alias account under iCloud. Your AppleID email address may or may not be the same as you iCloud email address, depending on how it was set up. The following articles provide more information about iCloud email addresses and how aliases work under iCloud:
    iCloud: About your icloud.com, me.com, and mac.com email addresses
    http://support.apple.com/kb/HT2623
    iCloud: Using your @icloud.com email address
    http://support.apple.com/kb/HT5441
    iCloud: Create or change email aliases
    http://support.apple.com/kb/PH2622
    Cheers,
    - Brenden

  • I have 2 iPads and want to change the user I'd on one of them so they are not the same

    How do you get a new Apple ID for one of two ipads

    You realize that you will not be able to share the apps that you have already purchased with the one ID on the iPad that you want to use with a new ID, don't you? Apps, music, books, movies .... All purchases are tied to the ID that was used to make the purchase.
    my advice is don't do it.  If there is some real compelling reason why you need to do this like you are giving the iPad to someone else, that's another story.
    iTunes: How to set up an Apple ID within iTunes - Support

  • How do i change the amount of time for slides in a keynote presentation so they are not the same

    how do i vary the times for the slides in a keynote presentation, i have 3 videos i need to run longer and the slides I want to run the same

    Is this for an unattended presentation?
    1. If not, the option would seem to be:
    Manually advance the slides containing the videos or
    set the transition delay time to the next slide to occur after the video completes using the
    Slide > Transition Inspector > Delay (max delay is 600 seconds so if video is longer than 10 minutes, an automatic delay wouldn't work)
    2. If you plan this to be unattended your best bet is to compile it in iMovie and have a looping video with all parts timed in the video to your liking.

  • New Computer, trying to use Itunes from old laptop they are not the same account... help?

    Hello all. I had a laptop with Itunes to which I had my Ipad, IPhone and External Hard Drive with 80GB of music, etc., synced. Now I installed Itunes on my new computer (runnning Windows 8) and it does not have the same items as my laptop?!?!

    See also this migrate iTunes library post.
    tt2

  • Personal area and EE subgroup of Infotype 01 and 77 are not the same. Help!

    Hi All,
    Good day.
    I read your thread here and I guess we have a common problem. Can I ask for your help?
    I run the program RPURACU0 to update the new race and ethnicity data in infotype 77. But why it changed the Personnel Area and Employee Subgroup. Only the race and ethnicity codes should have been changed and not the Personnel Area and Employee Subgroup.
    Please help me what causes these discrepancies in data.
    Example:
    In PA20, enter personnel number 7600634. Personal area = US81 and EE Subgroup = U0. But when displaying infotype 77 the Personal area = US02 and EE Subgroup = U1.
    The personal area and EE subgroup of infotype 01 and 77 should be the same. In this example, they are not the same. Please help me to find out what causes this problem.
    Please reply asap because this problem should be solved immediately.
    Thanks in advance.
    Carina

    Hi GRM,
    Thanks for your reply.
    I checked the date from the table and I found out that:
    P0001-ENDDA not equal P0077-ENDDA
    P0001-BEGDA not equal P0077-BEGDA
    Please reply asap.
    Thanks,
    Carina

  • Why do I get this error when I want to run a test using Ant?

    Why do I get this error when I run the Ant build file?
    Testsuite: JUnit
    Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
    Caused an ERROR
    JUnit
    java.lang.ClassNotFoundException: JUnit
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
    at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
    at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)

    Abder-Rahman wrote:
    In the "XML" file, I was giving the name of the test as JUnit ---> <test name="JUnit">Well, do you have a class called just "JUnit" that contains a test?

  • Why am I getting this error message when I try to import? "The following files were not imported because they could not be read. (645)" I can see them :(

    Why am I getting this error message when I try to import? "The following files were not imported because they could not be read. (645)" I can see them
    Is was working this morning!

    Depends on your operating system
    Go to google, try typing in
    Change permissions Windows
    or
    Change permissions Mac

  • When I want to scroll through My picks why do I get this Error message (A necessary data reference could not be resolved."

    When I want to scroll through My pictures  why do I get this Error message (A necessary data reference could not be resolved)

    Before anyone can help, they need information to work with. Basic stuff:
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. What were you doing when the problem arose?
    - Did it ever work properly?
    - Are there error messages?
    - What steps have you tried already to solve the issue.
    Anything else you can think of that might allow someone else to understand your issue.
    With this kind of information somebody can develop a starting point for troubleshooting the issue.
    Posts that consist of "iPhoto doesn't work. Help" or "iPhoto won't print" or "Suddenly I have no photos!!!!!!!!!!" mean that any helper is simply guessing. With information, s/he may be able to get your issue resolved sooner.

  • According to my network provider (Amaysim/Optus) Tethering is enabled, so why do I get this error message "to enable personal hotspot on this account, contact OPTUS"

    According to my network provider (Amaysim/Optus) Tethering is enabled, so why do I get this error message "to enable personal hotspot on this account, contact OPTUS"
    Amysim/Optus support can not help.
    I can not check or change any network settings (no APN settings)
    I have synced phone using latest itunes (10.5.3).
    Phone software is up to date (5.0.1).
    Network settings have been reset.
    SIM card has been taken out and put back in.
    Phone has been switched off/on again.
    Another sim card from virgin works ok (hotspot option is visible and can be turned on/off as required)
    The Amaysim/Optus SIM card can be put into another phone (android) and tethering/hotspot works fine.
    Can anyone provide solution to this nightmare?

    I am having the same issue although i have an iphone 5. I have contacted Live connected numerous times an tried everything imaginable to solve the issue. Is it possibly a handset issue? I cant recieve any help from optus as im with live connected, they cant help me and apple keep telling me to contact your carrier ( live connected). Seems to make me want to switch providers pretty shortly..
    please let me know if you can solve your issue and maybe it can help me too..

  • Your message was not sent. Tap "try again" to send this message. Why do i get this error?

    your message was not sent. Tap "try again" to send this message. Why do i get this error?

    Hi babychriss,
    Thanks for visiting Apple Support Communities.
    There are several possible reasons why a message might not send. I'd recommend starting with the troubleshooting steps in this article:
    iOS: Troubleshooting Messages
    http://support.apple.com/kb/ts2755
    Regards,
    Jeremy

  • I have attempted to update OS X 10.8.4 and keep getting this error message...The operation was cancelled.(3072) Anyone know why?

    I have attempted to update OS X 10.8.4 and keep getting this error message...The operation was cancelled.(3072) Anyone know why?

    You're trying to update an application that's running, perhaps in another account. Make sure you quit all apps that are to be updated. If another user is logged in under Fast User Switching or Screen Sharing, he or she must do the same.

  • I get missing plug-in error when opening my online bill which is in PDF format. I am using a 2010 Macbook with the latest version of Safari and Adobe suite installed in my computer. Why do I get this error? What should I do?

    I get missing plug-in error when opening my online bill which is in PDF format. I am using a 2010 Macbook with the latest version of Safari and Adobe suite installed in my computer. Why do I get this error? What should I do?

    In relation to my previous inquiry regarding inability to view a pdf file using Safari...
    Is it possible that I can view other online bills from other website but not this particular bill from one specific website?
    Sorry if I missed any important point in this article -->Apple Safari 5.1 and Adobe Reader/Acrobat Advisory
    Thanks again!

  • Why do I get this error message when I open Organizer in Photoshop Elements 11 "Elements Organizer has stopped working"? My only option is to Close Program so I am effectively locked out of my photo catalogue.  I have reinstalled the program to no avail.

    Why do I get this error message when I open Organizer in Photoshop Elements 11 "Elements Organizer has stopped working"? My only option is to Close Program so I am effectively locked out of my photo catalogue. I have tried reinstalling the program but it made no difference to the error message.
    Could someone help please?  Steph

    Hi,
    Please give a try to Photoshop Elements (PSE) knowledge base. steps mentioned on this and see if it works.
    Regards
    Kishan

Maybe you are looking for

  • How do you delete a web page

    How do youi delete a web page

  • How to restore a failed external hard drive from Time Machine?

    My external hard drive has failed. It will no longer spin up and therefore is unmountable. Thankfully I had added it to my OSX Time Machine backups. So, since disks are cheap, I can just go buy a new, probably larger external drive and restore, right

  • I Had 4 more Months Left for My One to One but the Website is all of the Sudden...

    Hello- I purchased the One to One after the first year was over because I received an email asking if I wanted to purchasee another year. all was good, I was using it mostly for my MBP and I would go to the website for the Apple Store near me, sign i

  • Urgent help in sql plz

    hi i need to genarate sql query for 1 table X id   Yid Day 1 a 11/12/2006 1 a 11/12/2006 1 p 11/12/2006 1 a 3/12/2006 1 p 3/12/2006 2 a 11/12/2006 2 p 11/12/2006 I need to genearte report in follwoing format X_id y_id Day day count 1 a 11/12/2006 2 1

  • Guest Portal Loop

    Hi everyone, We are operating a guest wireless network that is using central web authentication, unfortunately intermittently when signing in the user is presented with the logon page again with no error and the user can't proceed any further. Has an