Complete newbie. Help please?

I am using Flash CS3 and Action Script 3.
What I'm trying to do is to have the playback jump to
different parts of the timeline when an arrow key is pressed.
I have found some code on the internet somewhere (I can't
remember what that was, so that is rather annoying) that does what
I want to happen, but when you click the mouse.
The code that I have is attached, and is probably complete
gobbledygook.
I know that the two parts are different. I'm debugging it a
line at a time.
My problem is that on line 33, the debugger wants me to have
a "{" before "function", but when I do that, it tells me that there
are extra characters after the end of the program. I have deleted
the text after and the "{" in question, and it runs what is left.
I am at a complete loss.

Hello! There seems to be alot wrong, so I don't know if I'll
get you up and running, but I'll try.
First of all you are stating "override function" for the
first 2 functions. This is only ok when you use it inside a class
(I assume you are coding on the timeline right?), so get rid of the
override.
Secondly I am not really sure what you are trying to do with
this part of your code:
addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler);
keyDownHandler {function event
(keyCode)==Keyboard.LEFT):void;{
gotoAndStop:(20);
addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler2);
keyDownHandler2(event )(keyCode==Keyboard.RIGHT);{
gotoAndStop:(30);
Are you trying to specify another 2 functions (you'll have a
naming conflict then as keyDownHandler and keyDownHandler2 are
already in use) or are you trying to call the above functions?
Third there are little flaws like gotoAndStop:(30); which
should be gotoAndStop(30); and some semicolons too much.
Hope that helps a little.

Similar Messages

  • TS1814 when i try to download the ne version of iTunes to the open item macbookpro i just purchased, i receive an error message at the end of the download indicating a file is corupt and cannot complete downloadt, help please

    Hello?
    I bought a new/used open item macbook pro and tried to connect my iphone to it but it indicated I did not have the newest version of itunes. when i try to download it, at the end of the download, I receive an error message indicating the file is corrupt.

    Hi Barbara,
    I had a similar problem recently and using the "more like this" feature I discovered an answer. To a problem posed by Holo7,  who like myself was a newbie on this platform,  b noir proposed a solution to Holo7's problem that also worked with my problem. It involves downloading a version of MS Windows Instal Cleanup and using it to completely remove all traces of the old version.
    If you look at my problem (follow OldGit66) and the link to Holo7's problem then you will find b noir's answer which I think may help you. I am new around here so you might want to wait for one of the higher status correspondents.
    Regards
    John

  • Curve 8520 set-up newbie help please - have wifi but no browser, no internet, no email

    I have just acquired this near-new pre-owned Curve.  It appeared to have been correctly data-cleared by the previous owner.  I've run the set-up wizard and everything worked fine.  It's connected to my wifi with a strong signal. But
    1. the browser says "Unable to connect to the Internet - contact your service provider", and
    2. the email set-up screen does not offer "I want to create or add an email address" as in the User Guide - only "I want to use a  work email account" which I don't have and don't want!  The screen message says if the "add email address"' option is not shown, contact your wireless provider.
     I don't understand!  If my TalkTalk broadband (wifi) is connecting my laptop to the internet with no problem, what more do I have to do to get the Blackberry (connected to the same wifi) onto the internet too? 
    3. And how do I connect to the internet via the phone (Vodafone PAYG) when I am not in wifi range?  
    Finally:
    4.  Why does my phone say "unknown number" when it's calling out? The User Guide says it should show my own number.  Surely it knows this number from the Sim card?
    Completely out of my depth here, as you can see....
    Big thanks in advance for any help
    Michael
    Solved!
    Go to Solution.

    Hiya, as per the messages your phone is giving you.... You need to contact Vodafone. 
    In order to use the majority of data features on your phone such as email or BBM, you need a blackberry data plan rather than the generic one from your carrier. 
    So give Vodafone a call - I believe the BlackBerry Bolt On on PAYG is £5 a month with some inclusive data. 

  • Complete newbie help

    Hi guys , just joined!!!
    I am a PHP developer and have 'forced' into some work with java.
    Now I am a complete noob here and I have what I hope is a fairly straight forward request. I have a jar file that I have extracted so I can view all teh classess witihin and have found a class decompiler so I can actually see the code.
    I need to edit one of the classes and then re-generate the .jar file.
    What software do I need (just got the java studio creator and java studio enterprise...) and how exactly do I go about this process.
    I have read a few pages abut this but still not confident so would really appreciate a hand holding exercise if anyone wuld be so kind.

    Hello! There seems to be alot wrong, so I don't know if I'll
    get you up and running, but I'll try.
    First of all you are stating "override function" for the
    first 2 functions. This is only ok when you use it inside a class
    (I assume you are coding on the timeline right?), so get rid of the
    override.
    Secondly I am not really sure what you are trying to do with
    this part of your code:
    addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler);
    keyDownHandler {function event
    (keyCode)==Keyboard.LEFT):void;{
    gotoAndStop:(20);
    addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler2);
    keyDownHandler2(event )(keyCode==Keyboard.RIGHT);{
    gotoAndStop:(30);
    Are you trying to specify another 2 functions (you'll have a
    naming conflict then as keyDownHandler and keyDownHandler2 are
    already in use) or are you trying to call the above functions?
    Third there are little flaws like gotoAndStop:(30); which
    should be gotoAndStop(30); and some semicolons too much.
    Hope that helps a little.

  • Facebook app not working and my blackberry world has completely disappeared, help please!

    Hi guys, I'm in a real stooper, my facebook app. Was due an upgrade but soon after the upgrade it stopped working and everytime I click on to the icon it crashes the phone so I have to switch it on and off again to get it working, it then displays an error message. I've also noticed that my blackberry app. World icon has totally disappeared.
    I really hope someone can give me some advice as I don't really know where to go from here and who to contact, please help!!
    LauraXX

    hi there
    use the browser to go to facebook and log in scroll down to the bottom of the page and down lowd the app from there
    after take your bt3 out  after botting  your  app will work

  • Can I transfer my itunes to a MP3 player?  newbie, help please

    Hi, I need your help. I have a HP Media Center PC with all bells and whistles. I just learned about itunes. I downloaded a free song. I have also gotten 5 songs for free from a website called Connect (run by Sony).
    what I was expecting to do was to go to Radio shack and purchase an MP3 player for $59.99. It's about all I can afford.
    then I found out that the songs I downloaded from Connect cannot be transferred to an mp3 player unless it is a Sony MP3 player. The mp3 player in Radio Shack was not a Sony. but I did ask the salesman if I could do itunes with this and he said "sure". but I'm not sure now. I have read about all kinds of formats with downloading these songs. such as OPENMG format and something called ATRAC. See where I'm getting confused?
    What I need to know is this: If I purchase songs from itunes and it goes on my hard drive, can I then purchase the mp3 player and transfer the songs so I can go for a walk and play my mp3 player. I can't afford an ipod.
    Do I have to buy a special mp3 player to be able to use itunes. I can't find any information on this on the site.
    I am a disabled person and could use some help.
    thanks to anybody who can help me. Just need to know exactly what I should be buying to play songs on and do I have to download the songs in a special way or does itunes just do it for me. Also, I don't have an apple computer. but I have an APPLE user ID. Very confusing.
    Melody

    Okay, let me see if I have this right.
    I have a HP Pavillion Media Center. this should allow me to burn cds, right? I have never done this in my life but believe me I learn fast. I have two drives that I'm looking at right now on my tower.
    The top drive says LightScribe DVD+-/CD Writer
    The other drive says CD rom.
    I presume, to burn a cd (or whatever it's called), I use the top Lightscribe thing, right?
    so I guess I have to get a blank cd rewritable thing, place it in the top drive and copy the sonic stage (sony) songs onto that right? then I can get the ipod and transfer from the newly burned cd into the ipod, right?
    I have absolutely no idea how to accomplish this but I'm willing to at least do the first step and burn the cd.
    Now, here's my question. Many years ago, when I had my other HP pavillion,it came with a re-writable drive. I tried to burn something to it and I did not know what I was doing. I do remember that the cd was some kind of RW thing.
    I probably have one of those in my house. They are over 5 years old. Is this what I have to use to put the songs on it.
    do I have to go to the computer store and buy a new blank cd-rw (if that is indeed what I will be using).
    I want to know exactly what kind of blank cd thing I have to put in the drive. And do I use the one marked Lightscribe.
    See, once I know what to do, I'll figure out how to do it.
    I'm going to search my room to find one of the old blank ones but I won't use it until you say, "yes, use it.".
    I know I used to have a case of them. Never used them but they are still around.
    Are they still compatible with my windows xp, HP Pavillion media center.
    And I should tell you what I tried to do last night. I was researching all about converting files and I saw something that said "drag the files into your itunes folder and you should have the songs in their". so stupid me, I go to my start menu, open up the explore thing, I find the "sonic stage" thing, I see the itunes thing, I dragged and sonic stage into the itunes thing and sure enough, right in front of me a little message popped up showing me it was "copying files to itunes". So I said "holy sh*t, I actually did it", "i'm going to see my songs in my itunes folder". Well, that didn't happen. I opened up my itunes library and only my original itunes song was there. No songs from the sonic stage library was put in.
    I have no idea what was copied into what. So what exactly did I do?
    thanks for any help about the cd burning thing.
    I mean, I have this HP Pavillion Media Center and I want to be able to figure out how to use it before I turn 80.
    Thanks much.
    Melody

  • Newbie help please:  "Validation of XML file failed."

    Hopefully my question is short and easy.
    I'm a developer and haven't used FrameMaker before. However for unforeseen reasons, I've inherited our technical help documentation constructed in FrameMaker which I've never used. Unfortunately I'm under a very tight deadline and I'm attempting to update our already existing and fairly extensive application help files.
    However, I'm getting a "Validation of XML file failed" error for 90% of our .xml help docs. I opened our .book file in FrameMaker fairly easily, and can see all of our .xml files. However the variables already embedded in the documents aren't being recognized and seem to be causing the above error. I've located our variable definition files (xml) in the concepts folder, but FrameMaker doesn't seem to recognize them. Any suggestions on what I can check or how I can get FM to refer to the variable definitions? I'm working with a new installation of FM, is there some setup I overlooked?
    Many thanks,
    dana.

    Sheila and Rick,
    Thank you both so much for your offer of help. My apologies for not replying earlier. Other 'emergencies' and priorities at work took me in other directions. It turns out another solution has been found for the time being. But thank you again for your replies. They say a lot about this community and its support. :)
    Thanks again,
    dana.

  • Mac Newbie - Help Please (LDAP)

    I recently took over supporting a compies IT needs. Small non profit that has about 5 remote macs that connect to a mac mini. I have never really used macs before this so I am a bit out of my element.
    Just this past weekend the server was moved to a new location and got a new IP address, and now I can not connect to the directory (right now I am trying to get into the work group manager. And when I try to connect to the directory with the password that was origanly setup as the directory manager. Saying that it can't find it on the network (sounds about right as the mac server has a new IP address now)
    I am just wondering if there is a spot I can put in the new IP address of the server so it sees the directory, or if you can point me to some documentation. I would prefer the first as they can't do any work now because the server doesn't see their accounts.
    Thank you in advance

    It's my understanding that if you go to hp website and get the drivers for the HP1022 printer that will work. If it doesn't DO THE BELOW STEPS:
    If you aren't already on OSX 10.4.8, upgrade now and then follow these steps:
    For The MacBook:
    1) Disconnect the HP 1020 if it is currently connected to the MacBook.
    2 Download; http://www.narc.ca/1601-LJ1022_SeriesOSX.dmg (Old version)
    2) Delete anything for the HP 1020 in Printer in "Printer Setup Utility"
    3) If you have anything for the HP 1020 (or the 1022 from a failed installation) in "/Library/Reciepts" delete it.
    4) Remove the 1020Series folder from "/Library/Printers/hp/laserjet" directory if it exists.
    5) Reset the print system from the Printer Setup Utility
    6) Reboot (the HP 1020 is still disconnected from the MacBook)
    7) Run the installer package downloaded in step 2
    8) Shut down the MacBook completely
    9) While the MacBook is off, connect the HP 1020 and power the PRINTER on.
    10) Power on the MacBook
    11) Add new printer in "Printer Setup Utility", select HP LaserJet 1020, driver should come up, click ADD
    Thanks TheMane for posting instructions t

  • OS 3.1.1 update download error. 8288 My download will not complete.  Help please!

    I can not get the iOS 3.1.1 to download.  It has an error code of 8288.  Any help would be greatly appreciated.

    Try a search, or have a look at the "More like This" section to the right.

  • Premiere CS4 Newbie Help Please

    This might be long.  I've watched all of the Lynda Videos as well as the Adobe TV tutorials in preparation to do a video presentation for my company.
    Shockingly, I know how to do all of  the important stuff like adding text, titles and editing clip etc, but I'm unable to even start properly.
    I will be capturing a screen presentation at 1440x900 and then working from there.  The problem is that resolution is too large, obviously, to use as my final video but I don't know how to size it down to a more appropriate size like half of that, i.e., 720x450.  Unfortunately when I start the project and choose the sequence preset resolution (which seems mandatory) that isn't one of the options.
    I guess, basically, I need to know which is the best available preset to choose and how to get my 1440x900 movie to fit into that size (its going to be a high res Youtube vid)?
    Secondly, is there a good starter book that might walk you through a cs4 project from start to finish?
    Thanks in advance for any help.

    Here is the beginning lesson:
    Your Project/Sequence Preset must match your source footage 100%, or there will be issues along the way.
    Set that correctly, and even use the Desktop Preset, adjusting your parameters, if necessary. Import, edit and THEN, when you are done, you will Export to what is required.
    With HD material to SD (seems to be the case here), Jeff Bellune's tutorial might be useful for ultimate quality. This ARTICLE has links to that.
    Good luck,
    Hunt

  • Newbie help please!

    I have just started an online class for oracle 10g . Iam trying to upload some book scripts for my class that I uploaded from www.course.com. they are stored on my c: drive as C:\Course Technology\83629-x\Chap 2
    when I enter start C:\Course Technology\83629-x\Chap 2 an error code comes up as SP2-0310: unable to open file "C:\Course.sql"
    any help would be greatly appreciated. I am sure I will be back with tons of questions since this is my first time using this program
    Thank you
    Dan

    user8936869 wrote:
    when I enter start C:\Course Technology\83629-x\Chap 2 an error code comes up as SP2-0310: unable to open file "C:\Course.sql" Well, I'll tell you a secret ;) SQLPLUSW.EXE is nothing more but a GUI shell around DOS SQLPLUS.EXE. Same as DOS executables it does not know how to deal with file names that have, for example, spaces. That is why it assumes file name is c:\Course and the rest of it are parameters passed to it. Same as in DOS you need to enclose file name in double quotes:
    SQL> @C:\Multi Word Folder\Test
    SP2-0310: unable to open file "C:\Multi.sql"
    SQL> @"C:\Multi Word Folder\Test"
    SQL> SET ECHO ON
    SQL> SELECT 'Multi Word Folder' FROM DUAL
      2  /
    'MULTIWORDFOLDER'
    Multi Word Folder
    SQL> SY.

  • Newbie help please -- Infrant ReadyNAS NV

    Hello:
    Does anyone have any experience using a Infrant ReadyNAS NV on an Airport network?
    Positive/negative opinions would be welcomed!

    Thanks for your reply Anton,
    Can you elaborate on your set up?
    I just picked up a ReadyNAS NV and 4x320 GB HDDs running in the default X-RAID (which I will keep). I read through the users manual and went through each setting in detail trying to set it to meet my needs although as a new user I do not understand fully a lot of them.
    Now I am trying to understand how to exactly 'use' the NAS with my MacBook, my wife's MacBook, my home PC (relegated now to a few games) and my current Roku Soundbridge M2000 media setup and future Sonos setup (hopefully).
    I am trying to understand how to have the NAS accessable on the MacBook. I am able to see the Shares I have created by going through the process of clicking on Network, etc, etc. Is there a better, easier way? Do I have to click on these each and every time I boot up my MacBook?
    Looking forward to your, and others, experiences, setups and processes...

  • Mail hanging on address completion - urgent help please.

    Hi all,
    Mail is rapidly grinding to a halt.  When typing an address into the address bar it hangs.  It's got so bad that if I go to Force Quit it says that Mail is not responding.  I've checked Console and it's an endless list of Crash Reports (even though it's not actually crashing yet, though it's only a matter of time I suspect).  
    A fairly typical log is here:
    11/12/2013 22:23:50.345 ReportCrash[2728]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
    11/12/2013 22:24:50.893 ReportCrash[2735]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
    This problem has been around for about a month and I've tried a few fixes, with no success and one temporary success.  I've tried the 'Terminal' fix which had no effect. I've tried removing the address book, twice.  This cured the problem for a week.  I've discovered that there is no p.list in Preferences, but instead there's one in the Containers version of Library. Upon the advice of one of the many articles on the subject I moved this p.list to the 'normal' Preferences ie user/Library/Preferences but it made no difference, so I trashed it.  Another p.list appeared in the original location. Mail literally gets worse by the moment. 
    I've been to Apple but the Genius was no Genius - I knew more than he did. 
    I'm getting pretty desperate......
    AF

    It is currently having trouble connecting to the network.
    Yes, if it is possible to connect via ethernet I would try that. Otherwise, you will need to speak to IT

  • Not able to open adobe XI Pro after I have filled out a documents and trying saving it. The program stops working & won't open up again.  Tried to complete a repair, rebooting nothing works. Help please.

    Not able to open adobe XI Pro after I have filled out a documents and trying saving it. The program stops working & won't open up again.  Tried to complete a repair, rebooting nothing works. Help please.

    Hi,
    Can you pls. provide more details of the issue?
    OS/Platform
    It would be great if you can provide the MSI logs for repair from the %temp% directory.
    Thanks,

  • I have problem with account that i can't make update or buy from app store There is massage appear in my payment page that i must contact with i tunes support to complete this transaction Please help me to fixe this problem as soon possible Hany hassan 00

    I have problem with account that i can't make update or buy from app store
    There is massage appear in my payment page that i must contact with i tunes support to complete this transaction
    Please help me to fixe this problem as soon possible
    Hany hassan
    0096597617317
    0096596677186
    Thank you

    You need to Contact iTunes Support...
    Apple  Support  iTunes Store  Contact Us

  • HT1222 I am trying like **** to download itunes 10.6.3 (64 bit - Windows 7) and I keep getting "the installer was interrupted before the requested operations for iTunes could be completed.  Your systems has not been modified."  I NEED HELP, PLEASE!

    I am trying like **** to download itunes 10.6.3 (64 bit - Windows 7) and I keep getting "the installer was interrupted before the requested operations for iTunes could be completed.  Your systems has not been modified."  I NEED HELP, PLEASE!

    I got it figured out myself... yaaaaay for me!

Maybe you are looking for