Basic Navigaton (even a donkey can do it, but not me)

Hi, I was learning action script 2 at school (Miami Ad
School). I was doing more or less fine... then, I purchased Flash
CS3 thinking that it was going to be better/best/easier/more fun...
And, no, nothing accomplished. Action Script 3 is sort of chinese
to me (english is not even my language).
But anyway, I am stuborn, and I won't stop until I get it.
I am not looking to create amazing web sites, just enough to
navigate using buttons, uploading movies, pictures and some design
stuff. The problem is that I followed a Lynda.com course on how to
use action script to navigate with buttons, I copied the code
exactly as the instructor was writing it. Everything worked for
him, nothing for me.
This is the code for just a miserable button (its instance
name is equipo_btn):
stop();
function onEquipoClick(evt:MouseEvent):void{
gotoAndStop("equipo");
equipo_btn.addEventListener(MouseEvent.CLICK. onEquipoClick);
And when I publish it I get this error:
1119: Access of possibly undefined property onEquipoClick
through a reference with static type String.
and this one:
1136: Incorrect number of arguments. Expected 2.
Why does the instructor get it right and I don't.
I went 30 time through these 4 lines of code and everything
is exactly the same except that I named the frame "equipo" and he
named it "home"
I have ready a razor, a gun and I have my head in the oven as
I type...
Thank you from the buttom of my heart to those who can help
me

quote:
Originally posted by:
dando vk
I have ready a razor, a gun and I have my head in the oven as
I type...
Hi there, dando. Good sense of humor there. Welcome to the
frustrating world of programming :)
You'll love the resolution to the problem: you inadvertently
used a dot (period) instead of a comma, at the end of:
MouseEvent.CLICK.
The tipoff is that the error refers to a property (which gets
preceded by a dot). The other tipoff is that the error says you
have the wrong number of arguments.
It happens to everybody at some time or other. Have a good
time with as3 :)

Similar Messages

  • Email was working fine. Now not working even though nothing changed. Deleted acct turned off iPad  turned on and added account again. Can receive mail but not send. Sometimes says relay not allowed sometimes different message.

    Email was working fine. Now not working even though nothing changed. Deleted acct turned off iPad  turned on and added account again. Can receive mail but not send. Sometimes says relay not allowed sometimes different message.

    Try going into Settings > Mail, Contacts, Calendars > select the account > account name , tap on SMTP (under the 'Outgoing Mail Server' heading) and then tap on your Primary Server and try entering your email account and password and see if you can then send emails

  • I can use Mail at home, no problem. But when I travel, I can receive mail but not send it. I get a "server can't be reached" message. Yet when I send a photo using iPhoto, it gets sent. Help!!

    I can use Mail at home, no problem. But when I travel, I can receive mail but not send it. I get a "server can't be reached" message. Yet when I send a photo using iPhoto, it gets sent. Help!!

    To diagnose problems with Thunderbird, try the following:
    *Restart the operating system in '''[http://en.wikipedia.org/wiki/Safe_mode safe mode with Networking]'''. This loads only the very basics needed to start your computer while enabling an Internet connection. Click on your operating system for instructions on how to start in safe mode: [http://windows.microsoft.com/en-us/windows-8/windows-startup-settings-including-safe-mode Windows 8], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-7 Windows 7], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-vista Windows Vista], [http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/boot_failsafe.mspx?mfr=true" Windows XP], [http://support.apple.com/kb/ht1564 OSX]
    ; If safe mode for the operating system fixes the issue, there's other software in your computer that's causing problems. Possibilities include but not limited to: AV scanning, virus/malware, background downloads such as program updates.

  • Why can I receive but not send emails

    Why can I receive but not send emails on my i pad?

    Perhaps the outgoing mail server settings are incorrect or incomplete.
    Settings>Mail, Contacts, Calendars>Your email account>Account>Outgoing mail server - tap the server name next to SMTP and check in the primary server and make sure your username and password are entered and correct - even if it says that the password is optional.

  • Can send SMS but not receive after update...

    After updating my iPhone 4S to ios6 i have problems with receiving messages.I can send SMS but not receive. What to do?

    Although I don't believe in consequences, I think this might be one of them. My email was working fine until I installed my VPN. I use the Thunderbird email application, which I like a lot, for three Hotmail accounts and two Yahoo accounts. After installing the VPN I could receive mail but could not send it on any of my accounts. I contacted the VPN and they sent me some numeric IP Addresses to put in my account settings. One for the Hotmail accounts and one for the Yahoo accounts. I did as instructed and the email seemed to work okay. It was late in the evening and I went to bed. The next morning, I could send and receive emails on the Yahoo accounts, but could only send emails on all of the Hotmail accounts.
    I guess I'd like to know if anyone else is having this same problem. I'd hate to think it was just me. :-)
    I would like for Thunderbird to tell me if there is a way to change the outgoing server in the Account Settings, so I can enter the IP Address in there, or does the fact that I entered an IP Address in the Server Name box, cause it to override any other entries? Or should that even make a difference with me receiving mail?
    Also, at what time limit does Thunderbird send back a message that the connection to the server timed out? I continually get that message.
    I found a way to do a ping on the Hotmail server and the fastest response time for the last two days was 258.09 which seems very slow for a business computer. At least for a business that wants to stay in business. So is that time above the Thunderbird threshold of the connection time out message to be generated?
    Thanks for all your help and suggestions, Carole

  • My Iphone 4s can recieve messages but not send them

    As above, I can recieve messages, but not send them, I have no idea what is going on and I haven't even done anything to it, it randomly just stopped working one day, I've tried resetting network settings, switching it on and off, switching on and off everything related to the internet... still nothing.
    It also won't connect to the EE internet network but wifi is fine?
    Please help Im getting frustrated

    Also, to add, when it asks me to sign in to my apple ID it keeps saying my password for my email is wrong, when it's not, I checked it 5 times, entered the exact same password on the computer and it worked there.

  • I just traded in my iPhone 4S for Samsung Galaxy 4S, still have iPad. Some of my iPhone contacts are unable to send me a txt that I can receive. But NOT all of my iPhone contacts. I have had them change their settings for my ph number to NOT say iPhone.

    I just traded in my iPhone 4S for Samsung Galaxy 4S, still have iPad. Some of my iPhone contacts are unable to send me a txt that I can receive. But NOT all of my iPhone contacts. I have had them change their settings for my ph number to NOT say iPhone. Txt msg is disabled on iPad. I have no idea what to do. I called the support line that I Pay $9.99 a month for. They told me to delete my iTunes account. Will I lose all my pics on my ipad? I have no music download. I'm getting ****** at this whole thing. And it allllllll started with apples update to the ios7.... I HATED IT. Help.

    What your iPhone using friends label your phone number in their contacts is irrelevant. I don't know who you pay $9.99 a month to but it's not Apple. You can't disable text messaging on your iPad as it is not capable of SMS.
    Do you still have the iPhone? If so, log out of iMessage on the iPhone.
    Try this:
    Go to: https://supportprofile.apple.com/MySupportProfile.do
    Log in if not already logged in.
    Click on "Edit Products"
    Click on the "X" to the right of the product.
    Click "Unregister"
    Also, try changing the password on your iTunes account.

  • Have made a rebbot from Time Machine, and now I lack a lot of pictures. Can see icons, but not enlarge them. Especially pictures where 2009 is included in the date is missing? When I set up my desktop, I can find some of the pictures. Where do They hide,

    Missing Pictures.
    Have made a rebbot from Time Machine, and now I lack a lot of pictures. Can see icons, but not enlarge them. Especially pictures where 2009 is included in the date is missing?
    When I set up my desktop, I can find some of the pictures. Where do They hide, and what shall I do.
    Have made back up, but unfortunately a little too late. What to do?
    MacBook Pro 15 "late 2008, Processor 2.53 Ghz Intel Core 2 Duo, Graphics NVIDIA GeForce 9400M 256 MB, Software Mac OS X 10.7.4 Lion (11E53).

    1. You did not get an error message telling you that your iPhoto library was getting full. You got a message telling you that your HD was getting full, right?
    OS X needs about 10 gigs of hard drive space for normal OS operations - things like virtual memory, temporary files and so on.
    Without this space your Mac will slow down as the OS hunts for space on the disk, files will be fragmented, also slowing things down, apps will crash and the risk of data corruption - that is damage to your files, photos, music - increases exponentially.
    Your first priority is to make more space on that HD. Nothing else can be done until you do.
    Purchase an external HD and move your Photos and Music to it. Both iPhoto and iTunes can run perfectly well with the Library on an external disk.
    Your Library has been damaged from being run on an overfull disk.
    How much free space on it now?

  • How do I delete an e.mail on my 5s that has a mime attachment,the e.mail can be read but not deleted.

    How do I delete an e.mail  on my 5s iphone that has a mime attachement? the e.mail can be read but not deleted. A message comes up saying that it cannot be moved! The e.mail was sent to me and I forwarded it. The e.mail is not in any other folder in the phone or on my mac. But it might be in my backup to the mac via itunes.

    This is for your protection, its not supposed to be easy.
    You should be keeping a record of all your passwords, security answers, etc.
    Rescue email address and how to reset Apple id sec. questions.
    http://support.apple.com/kb/HT5312?viewlocale=en_US&locale=en_US
    If that doesn't work and you can verify the following info, call 1-800-APL-CARE.
    1. apple id username, that is not locked or disabled.
    2. serial number of an apple product registerd in your name
    3. Billing info associated with your account

  • I have a time capsule connected directly to fiber connection. I have connected a windows server directly to TC and configured it for remote desktop connection. From my interanet I can access srvr but not from my home. What config I need on TC?

    I have a time capsule directly connected to fibre optic point out. All pcs and macs are connected wirelessly to the internet. I have connected a windows server pc to TC. When configured for Remote desktop connection, I can access windows server from within interanet but don't know how to access it from internet. I guess I need to change some settings in TC to get some ip adress for the remote desktop connection from my home. Anyone who can help me out? Appreciate it.
    Narmin

    I am a little lost now.. I have read again your title and your first post.. and they seem inconsistent.
    In the title you state.
    From my interanet I can access srvr but not from my home.
    Interanet is not a word I know.. I assumed intranet...are you talking about internet or intranet? And just to be clear say WAN or LAN.. !! Is your home part of the interanet??
    In the first post you state,
    I can access windows server from within interanet but don't know how to access it from internet.
    Now this is more normal.. the issue is not in the home at all, it is accessible from there but fails from internet. If this is correct, then you can do a few obvious things to determine where the problem is.
    But first I need to know are you actually testing from a different internet connection to your home lan.. you are not just trying the public IP from inside the LAN as that will fail due to the TC not doing NAT Loopback.
    I am also assuming the TC is the only router in the network, and has the public IP on the WAN interface.
    And I am also assuming you have turned on the ping responder and you can actually ping your public ip from the internet and get a response. This helps no end in figuring out where there are issues. Strange but I have no idea if there is a ping responder in the TC WAN so you might need to forward that as well. Also if you have a dynamic public ip address are you using dyndns or no-ip or some other service to connect.
    1. Test bypassing the TC.. plug the internet connection straight into the windows server,, and test if you have access. If yes, the TC is the problem.. if not, your setup on the windows server is wrong.. look at firewall in particular.
    2. Assuming from test 1 the TC is the problem, Post the screen shots of the port forwarding setup for us to look at.. that is by far the easiest way to check it out.
    There are lots of references to port forwarding in the TC.. eg
    http://must-know-mac.blogspot.com/2008/07/how-to-port-forward-time-capsule.html
    The things that generally go wrong are firewall on the computer that is accepting the port.
    The ISP doesn't allow connections on a particular port. (not likely in your case)
    The router is behind another router.. double NAT will kill any port forward.
    Upnp has already allocated a port.. not an issue as TC doesn't use upnp although a reboot of everything after you set port forwards is well worth it.. amazing how things don't stick properly without a reboot.
    IP on the receiving device is not static and so changes.
    Not enough or right type of ports are opened. This is always messier than it looks as one port is often not enough for two way communications.

  • After installing the new Yosemite OS on my iMac I can no longer send email. I can receive email, but not send. I use gmail and can send email on the gmail (google) site, but not on "mail" on my iMac. Any others with this problem? What should we do?

    After installing the new Yosemite OS on my iMac I can no longer send email. I can receive email, but not send. I use gmail and can send email on the gmail (google) site, but not on "mail" on my iMac. Any others with this problem? What should we do?

    My gmail, which is correctly configured for Mail with gmail SMTP and Google IMAP, works for awhile on Mail, which I leave open while working on other applications. But several times a day I get msg from Google: "We recently blocked a sign-in attempt to your Google Account" . . . and requiring me to verify my account details, re-enter passwords, confirm security settings (or change them from "disable" to "enable less secure methods" and so on). In Mail I also have tried "taking all accounts online", and re-entering my gmail password inside Mail account settings. These steps successfully re-set comms between gmail and Mail ... for awhile, then it happens again. Enough occurrences over a work day that I just quit Mail and revert to accessing gmail directly. Apple Care advisor and an Apple knowledge base article say that Apple can't deal with this, as gmail is third-party app, and they refer me to gmail, and so far I've found nothing helpful there.
    From today I also have several instances of a window saying "Mail has unexpectedly closed" and asking me to Re-open it.
    I also use Yahoo mail, which stops working with Mac Mail at the same time as gmail, but I do not receive notices to re-verify from Yahoo.
    I recently upgraded from Mavericks to Yosemite. The Mail problem happened occasionally with Mavericks but is far more frequent with Yosemite.

  • I can access Google, but not Gmail.

    Hi guys. I've been having trouble with my internet connection for as long as I've had my Mac (one year). For the longest time, I've repeatedly had to click the icon for Airport and then turn it off and back on again to recover my connection to Google Gmail and Google docs. These are the first sites to disappear, later I have trouble accessing other sites, this is corrected by turing off and then on Airport. But that is very frustrating, and I often have to do it over and over again. Also, I'm puzzled by the fact that my Skype connection is rarely bothered when access to others sites drops.
    I've been reading as much as I can find and trying the airport utility. Clearly I am stupid because things went from bad to worse. Now I can access Google, but not Gmail. I can access most parts of Apple.com, but when I tried to purchase the upgrade to OS 10.6, I couldn't view the page images. I found the same problem on a few other sites. When I tried to access Linkedin, I could get to the login page, but no further.
    In each case, I get the usual message: Safari can’t open the page “https://www.google.com/accounts/ServiceLogin?service=mail&passive=true&rm=false& continue=http%3A%2F%2Fmail.google.com%2Fmail%2F%3Fhl%3Den%26tab%3Dwm%26ui%3Dhtml %26zy%3Dl&bsv=1eic6yu9oa4y3&scc=1&ltmpl=default&ltmplcache=2&hl=en” because Safari can’t establish a secure connection to the server “www.google.com”.
    I've tried resetting Airport back to the factory settings. Now all I get is the blinking yellow light - I'm not sure what that means.
    I'm now connected via hardwire, but access is limited to very few sites, such as this one and Google. I can search google, but I can't access gmail. I can access everything on my windows computer through the same wired network.
    Message was edited by: WhidbeyTomas

    I am having this same problem, but it's not related to parental controls. I have to keep turning the airport on and off as well. Here (http://www.mac-help.com/forums/showthread.php?t=9802) is a post I made over at mac-help.. still waiting for a reply.
    What I've noticed is, the DNS is resolving correctly, but I cannot access certain sites. Regardless, I've tried Open DNS servers and still get the same result. It's not a specific browser. Certain sites go down in a few minutes after visiting them. Some go down faster than others. And others don't go down at all. Sites I've had problems with are Apple.com (to make this post I've had to turn the airport on and off continually), Gmail.com, Google.com, while Google.ca works fine.
    A solution would be great..

  • I've set up email on my iPad (talk mails when connected to my home router and ISP. When connected to a router at another location with a different ISP I can receive mail but not send it. Is there any way round this

    I've set up email on my iPad (talktalk.net) and can send and receive mails when connected to my home router and ISP. When connected to a router at another location with a different ISP I can receive mail but not send it. Is there any way round this?

    I've set up email on my iPad (talktalk.net) and can send and receive mails when connected to my home router and ISP. When connected to a router at another location with a different ISP I can receive mail but not send it. Is there any way round this?

  • On a new mail message in Yosemite there is no Send button or icon.  Only a grayed out word that says "send.  I can receive mail but not send because nothing at top of email allows sending

    On a new mail message in Yosemite there is no Send button or icon.  Only a grayed out word that says "send.  I can receive mail but not send because nothing at top of email allows sending.  Please help.  This is true of two .me accounts I have.

    Hi,
    It may pay to send a Screen Shot of the Connection Doctor info.  (see the Window Menu)
    It would seem the IMAP or POP side is logged in bit the out going STMP server is not.
    8:27 pm      Monday; December 22, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • How do I save a scan file in OS X Maverick? The file can be saved, but not readable.

    How do I save a scan file in OS X Maverick properly? The file can be saved, but not readable.

    I've never had a problem with that. What does the error message say when you try to open it?

Maybe you are looking for