Is the help file wrong, or is it me?

Ok, so I am working through the help files, and am working on
"Enhancing the Hello World application", and I keep getting an
error message:
"1119: Access of possibly undefined property keyCode through
a reference with static type flash.events:Event."
Which is apparently having trouble with the following line of
code:
if (event.keyCode == Keyboard.ENTER)
The code is verbatim from the help file. I have checked
through and seen that keyCode does exist. Any thoughts?

Reify32207,
> I keep getting an error message:
>
> "1119: Access of possibly undefined property keyCode
through
> a reference with static type flash.events:Event."
What you need, in this case, is an instance of the
KeyboardEvent class.
The Event class, alone, doesn't have a keyCode property, but
KeyboardEvent
(which extends Event) does.
> textIn.addEventListener(KeyboardEvent.KEY_UP,
keyPressed);
> function keyPressed(event:Event):void
That second line is the culprit. Should be this:
function keyPressed(event:KeyboardEvent):void
David Stiller
Co-author, Foundation Flash CS3 for Designers
http://tinyurl.com/2k29mj
"Luck is the residue of good design."

Similar Messages

  • My program can not find the help file

    I just downloaded JavaHelp. I can run all the examples. However when I recompile using Forte, the Merge Example it can not find the "master.hs" file. I suspect that I have something configured wrong.
    I put all the help files in the same directory as the source code.

    The helpset hs file is specified relative to the class from which it is referred. If the class & hs are in the same dir
    URL hsUrl=HelpSet.findHelpSet(null, "master.hs");
    hs=new HelpSet(null, hsUrl);

  • Error message when I try to open the "help" files.

    When I try to open the help files in Elements Photoshop 10, I get the following error message in a pop up box.  At the top, the box is labeled "Adobe AIR"  The message:  "Application descriptor could not be found for this application.  Try re-installing or contacting the publisher for assistance."
    I have completely uninstalled and reinstalled both my Elements programs as well as adobe air, and have updated everything that I can think of and a few more things, and still get the same message.  Since I am one who often uses help files, I'd appreciate any help with this.
    Thank you.
    TwoCollieTom

    You can directly download the help files from this location http://helpx.adobe.com/photoshop-elements/archive.html

  • How to add a Font Button in the Top of the Help File

    Dear all,
    In some of the Help Files (HTML Help), i've seen a Font
    button being added in the top of the Help File (for e.g next to
    Home button)...when we click this font button, the font size of the
    Content present in the Help File Increases/decreases
    accordingly....how to add this button in our Help File.
    At present i'm creating a HTML Help using Adobe 6..Kindly let
    me know, if there are any options...
    Thanks with regards

    Hi usureka
    Take a look at the following link. It should guide you.
    click
    here
    Cheers... Rick

  • How  do i change the language from spanish to english in the help file

    Can you tell me how do I  change the language in the help file from spanish to english?

    You can do this in the dropdown near the bottom of the Help landing page:
    SG

  • RoboHelp 9 HTML: Is it possible to create a project with just the help files?

    I have the help files but not the project... and I am just wondering if I can somehow import those help files into RoboHelp?

    Ok, this is shameless advertising, but here it goes anyway: Peter's way works perfect, but it will take a huge amount of time. You may also want to consider one of my recovery scripts that can recover a project in minutes: Recovery script | WvanWeelden.eu
    In the interest of full disclosure: Please note that these scripts are commercial.
    Kind regards,
    Willam

  • Please fix the Robohelp bug related to supporting underscores (_) in the help files (*.chm)

    There are 10 module specific projects. Further map IDs are assigned in all the 10 module projects to have context sensitivity. These are merged into a single project to generate the entire help file. The output for the project is html help (.chm).
    Initially, we generated the html help and integrated with the application. When tested (pressed F1) the correct topic is displayed but with the ToC for that module and not the entire help. 
    Solution: I followed the steps mentioned in the following thread that I came across on Adobe forum. 
    http://forums.adobe.com/message/240496#240496
    But the solution didn’t work as expected, Further investigation showed that since the output file name had underscore (Module1_EN.chm to denote the language), the solution didn’t work.  Hence I removed the ‘underscore (_)’ from the output file name and generated the output again. This time the solution worked.
    Please refer below the steps for generating the output.
    Steps:
    Generated output (chm) for all the modules.  I had to make sure that the output file name does not contain any ‘underscore (_)’ as this caused the problem when generated the help file.  
    In the main help project (which is an empty container), merged all the projects using Robohelp’s Merged Project functionality.  While merging, I first created empty Book and then merged the project within that book.
    For example, Book1 will contain Module1.chm, Book2 will contain Module2.chm and so on.
    Added window definitions using Project Setup -> New Window. Also added reference to main ToC here by clicking Advanced Properties. (Table of Contents: Main.hhc)
    Selected the above created window while generating the output (Single source layouts -> html help Layout -> Properties).
    Generated the html output for the entire project (Main.chm).
    Decompile the ‘Main.chm’ and extracted the ToC file ‘Main.hhc’.
    For each module project, imported ‘Main.hhc’ as a Baggage File, created window definitions same as the Main project and with reference to ‘Main.hhc’.
    Again generated html output for all the modules.
    Tested CSH for the project. The correct topic displayed with the entire ToC.
    Best regards,
    /Vikas

    You need to post a bug report to get Adobe's attention. This is a user to user forum. Please follow this link.
    http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38
    Not sure but I believe it may be a bug in the Microsoft Help Compiler over which Adobe have no control. Microsoft last updated in 2004. Good luck!
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • HT201274 I am unable to restore my iPad. The help screen says to select my device but this is not shown "near the top of the iTunes screen" which is what the help file states

    Help file is misleading. To restore, I have connected to my Macbook and stat-rted itunes. The screen per the help file does NOT appear on my Macbook itunes software

    FORCE IPAD INTO RECOVERY MODE
    1. Turn off iPad
    2. Turn on computer and launch iTunes (make sure you have the latest version of iTune)
    3. Plug USB cable into computer's USB port
    4. Hold Home button down and plug the other end of cable into docking port.
    DO NOT RELEASE BUTTON until you see picture of iTunes and plug
    5. Release Home button.
    ON COMPUTER
    6. iTunes has detected iPad in recovery mode. You must restore this iPad before it can be used with iTunes.
    7. Select "Restore iPad"...
    Note:
    1. Data will be lost if you do not have backup
    2. You must follow step 1 to step 4 VERY CLOSELY.

  • How can I print stuff from the 'Help' file using my MacBook Air?

    How can I print stuff from the 'Help' file using my MacBook Air?

    Open the Help viewer, select a category then from the menu bar top of your screen, click File > Print

  • Where are the help files?, Where are the help files?

    Where are the help files for iPhoto? When I am in any part of iPhoto and click on "Help," I get a blank page.

    Hi georgekfromnewyourk
    Please try the following:
    http://support.apple.com/kb/TS3577
    This was found by using the search feature in the upper right of these screens.
    Cordially,
    RicD

  • Where are the help files in itunes 10.5

    where have the help files gone in itunes 10.5

    The same thing happend to me as well, Updated both my Iphone4 and Itunes to IOS.5 and iTunes 10.5 and the Ringtone on both my computers and the tab is gone under my library, not only that but when i click on my iPhone device the "RINGTONE" option appears every other time, i asked my friends if theirs is gone too, they said no.... i really hope someone helps up out with this, its kind of ******* me off

  • Linking an LOV to a form in webDB 3.0 and getting the help files to work ?

    Hi All I can link an LOV to a form in webDB 2.2 I can link an LOV to a report in webDB 3.0 but I cannot seem to figure out how to link an LOV to a form in webDB 3.0 can anyone help me ?
    Also I can't get the help files to work I get the message : Database Log In Failed ?
    null

    quote:
    Originally posted by:
    kglad
    lol, flash was confused?
    Ok... maybe I caused some confusion? In my nested MC, first I
    added some animation and keyframes and THEN I went back to name the
    instances. This caused multiple instances with the same name along
    my timeline thus "cunfusing" flash.
    My bad!
    live and learn! (hehe)
    Pat

  • Looking for an off line version of the help file for lion server that I can print

    I would like to find an offline version of the help file for lion server
    Im a newbie trying to set up a home server for our macs and Iphones

    Go to this URL using Safari on your mac:
    https://help.apple.com/advancedserveradmin/mac/10.7/print.html?lang=en#printBook
    Then press cmd+p and from the print menue choose PDF and then Save as PDF and there you have it.

  • Where are the help files

    Hi  I have Adobe Captivate 5.5. When I select Help >> Adobe Captivate Help, the Adobe Help application appears, but it simply goes to a web site at helpx.adobe.com. This site lists a manual for "Captivate 7".  On the status bar of Adobe Help it says "local content updates available". Under the search field there are radio buttons for Search Location: "Online" and "Local", however the "Local" button is greyed out.  All this suggests that, when I installed Captivate, the help files did not also install.
    Is there some way that I can download and install the help files?
    Failing that, is there a site where the documentation can found online?
    I have the whole Education Suite and have similar problems with all the products in the bundle.

    Hi,
    Please find the Captivate 7 Help guide in PDF form here :
    http://helpx.adobe.com/pdf/captivate_reference.pdf
    You can save the same to your disk as well.
    In addition to this, Please Launch the Adobe Help from your disk and Under General Tab : It would siplay you the pending download for available help content for all adobe applications:
    screenshot:
    Hope this helps.
    Thanks,
    Ananeai

  • How to copy the help file of LiveCycle.

    Hello All ,
    I am using LiveCycle ES - 2 . When ever I want to see the help file I have to open the LiveCycle and then click on the help . But problem is I just only want to view the help content , so if I close the LiveCycle then the help file also closes. I want to know is it possible to copy the whole help content into a separate file or folder so that I can see it without opening the LiveCycle.
    Thanks.

    Hi,
    You can access the help file here: http://help.adobe.com/en_US/livecycle/9.0/designerHelp/index.htm
    Previous versions allowed downloading the help file in PDF, but I can't seem to see that option here.
    Niall

Maybe you are looking for

  • [installation] studio creator on Suse 10.1

    Hi there, on my laptop (1,7 Ghz cpu, 1 Ghz ram), runs Suse 10.1(kernel Linux 2.6.16.13-4-default i686) and I'd like install studio creator wich is at moment on XP (and I'm not very happy about the performance). But looking at http://developers.sun.co

  • Getting error orapls10.dll

    Getting below error while starting report server in oracle apps. the procedure entry point psoasyn could not be located in dynamic link library orapls10.dll How to resolve the issue?

  • EXTERNAL HARD DRIVE NO LONGER RECOGNIZED, DOES NOT MOUNT

    Hello everyone, this is not necessarily a mac mini issue last night was working on my mac mini (intel 2007), it froze up, couldnt even restart, so i held the power button (hard reset i guess) it came back on but then would NOT recognize my external H

  • Delete xml element not used in document

    Hi, If you have a number of texts tagged with an xml element and then delete the text, the element still exist in the structure. You can see the element still connected to a text, by the blue diamond on the element symbol. But i want do delete the el

  • Very Urgent : GL Account

    Hi friends, Can anyone tell me when we create GL account for Cash Journal,from where its controlling can be done.Also,when we post the entries through FBCJ,and i want to enter a field in GL account for cash how can i do that. Also,if i want to make d