Error #1009 in the Flash Menu for Web site

I for the life of me can't find the problem with this error 1009.

I have a Flash Menu as a header for my site with the following actionscript code:

residential button
resBtn.addEventListener (MouseEvent.CLICK, resLink);
function resLink(event:MouseEvent):void {}
navigateToURL (new URLRequest ("residential.html"));
}
commercial button
commBtn.addEventListener (MouseEvent.CLICK, commLink);
function commLink(event:MouseEvent):void {}
navigateToURL (new URLRequest ("commercial.html"));
}
recreation button
leisBtn.addEventListener (MouseEvent.CLICK, leisLink);
function leisLink(event:MouseEvent):void {}
navigateToURL (new URLRequest ("leisure.html"));
}
"Home" button
homeBtn.addEventListener (MouseEvent.CLICK, homeLink);
function homeLink(event:MouseEvent):void {}
navigateToURL (new URLRequest ("home.html"));

Debugger comes back with:

TypeError: Error #1009: cannot access a property or method of a null object reference.
at introMenu_fla::MainTimeline/frame43() [introMenu_fla. MainTimeline::frame43:3]

All instances are properly named and I get no syntax error, export to Flash.

It's only when I saw in the browser or the live preview in Dreamweaver I get the error.

Is there Javascript or something I'm missing? Any help would be welcome!

See you soon

This error is poitning to line 3 of the 43 framework.  To animate these objects in view with an interpolation of the timeline?  If so make sure that you name the instances of all keyframes.

1009 error indicates that one of the objects targeted by your code are out of reach.  This may mean that the object...
 
n ' is not in the display list
n ' is not have an instance name (or the name of the instance is misspelled)
n ' is not in the frame where this code tries to talk to her
-is animated in place, but is not assigned the name of the instances of each keyframe for her
-is one of the two or more keyframes consecutive same objects with different names assigned.
 
If you go to your section to publish the Flash settings and select permit debugging option, your error message should have a suite of line number the number of the frame that will help you to isolate the object that is involved.

Tags: Adobe Animate

Similar Questions

  • MovieClip menu for Web site

    Hi, I am creating a Web site in which I want a menu navigation created in flash. I have attached a picture of the menu (without animation) based on what it would look like on the homepage. What I want to do is the following; When you hover over every word I want the pink rectangle on the left to interpolate vertically so that it ends by next to the element is to be flown over. Once the user deletes the slider I want the pink rectangle to interpolate the default position. If on the home page, the default position would be to the left of the word House and on the info page, the default position would be to the left of the word info etc.

    I tried to change each word in the list into a movieclip symbol, but once I go in each symbol of I don't know how to create animation without copy and paste the pink rectangle in each movieclip. However as soon as I do that I find myself with several clips on the stage of the main stage.

    If someone could offer advice so it would be highly appreciated. I'm a student, so my knowledge of Flash is a bit basic, but it would be good to have someone push me in the right direction.

    Thank you very muchfull_menu_.jpg

    Each object must be an object/movieclip separated with an instance name to match the code.  They can all go in the same framework/layer... they are not based on the timeline for something other than a place to live.  The code goes into the mounting Panel within the same framework (another layer) where you create these objects.  All this in an image.

  • What is the standard size for Web site?

    What is the standard size for a Web site? height x width

    I would like to create a Web site that is a good width and have the leangth develop if necessary depending on the content, which could increase in the future...

    Some sizes, I worked with in the past have been 760 x 360 (pixels) and 800 x 600 (height x width), but it was a while ago...

    As David says, it depends on your audience.

    Take a look at the stats of the site (if you have one at this point).  What kind of people are going to be viewing the site.  If it's a more technical audience, then they probably wide enough monitors, but it's a site of "mom & pop" type, so they can still use small monitors.

    These days, I went from 780 width (at a size of 800px wide window) to 980px width to meet the size of the window at 1024. With respect to height, not to declare a height at all.  This will allow the content to expand vertically as required, regardless of the size of the window.

    --

    Nadia

    Adobe® Expert community: Dreamweaver

    Unique templates CSS | Tutorials | SEO articles

    http://www.DreamweaverResources.com

    http://csstemplates.com.au/

    --------------------------------------------------

    http://Twitter.com/nadiap

  • eliminate the 'remember' ID for Web site

    On some sites, I asked by Firefox error to "remember" an incorrect ID. How can I eliminate this?

    Follow these steps to delete the recorded data (form) in a drop-down list:

    1. Click on the (empty) input field on the web page to open the drop-down list
    2. Select an entry in the drop-down list
    3. Press the DELETE key (on a Mac: shift + delete) to remove it.
  • Error number: 8DDD0020 from the Windows Update Catalog WEB SITE

    Error number: 8DDD0020 the Windows Update Catalog WEB site.

    This clean install Windows 7 Ultimate SP1.

    I would like to stress that this is not a malfunction of Windows Update. This works well for me.

    It's Web Site (http://catalog.update.microsoft.com/v7/site/Home.aspx), which, at the entrance, he correctly opens and gives error 8DDD0020.

    I tried various fixes but again, they were for Windows Update, which continues to work well and is not the problem.

    Also be redirected to SmartShopping.com with offers for fix.

    MS Security essentials and MS analysis tool fails to find the problems. Never installed Norton.

    Have reset IE - 11 and re-record all the DLLs of Windows Update twice.

    Please advice, thank you.

    Rolando Creagh, MD

    I understand the solution, but my problem has been resolved differently with a repair reinstall, because of another problem.

    Thanks for your interest.

    See you soon.

  • How to download MicrosoftFixit50202.msi of the flash player for my not more long computer work - error 0 x 80070002

    How to download MicrosoftFixit50202.msi of the flash player for my not more long computer work - error 0 x 80070002.   I found the site for download fixit, but I have no desktop feature other than the startup repair options.  I thot I could download fixit from my flash drive solution, but I can't find a command prompt to access.  It is the only page from command prompt I can find... I'm in x:\windows\system32\cmd.exe trying to find the good order for my location flashdrive G:

    I used to go G and get G but it says only that go and get are not internal or external commands and not an executable program or batch file

    HELLLLLLLPPPPPPP!   Thank you!

    x:\ I do not think it is a 'valid' for what you intend. I used a 2nd computer and the original disk, I don't remember tho if I used windows file transfer or just copy, but I had the disc copied to the flash drive and reinstalled windows 7. I have still no working dvd rom (x 2) they open and close (sometimes), but the drivers need to be mounted to something incomplete. repair is absent as well. some other problems too but its been executed in this way for months (apx5). here and there, I get an email from answers, that's how I arived here really (enroute) hope this helps (a bit)

  • Single-pass does not work for Web sites after the last update of firefox

    Single-pass does not work for Web sites after the last update of firefox. This works in IE and Chrome and it works under windows (when starting the computer), but not with any website in Firefox.

    Firefox 30 spent some less commonly used "Always turned on" plugins "asking to activate. To check and change this to SimplePass, you can use the page modules. Either:

    • CTRL + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click on Plugins. Then on the right, check the control on the right side of the SimplePass.

    You may need to exit Firefox and start it again before it takes effect.

    A little luck?

  • all the site went "not found HTTP 404 error. The requested resource is not found. "and the"Firefox cannot load Web sites but other programs can"page is not helping

    all the site went "not found HTTP 404 error. The requested resource is not found. "and the"Firefox cannot load Web sites but other programs can"page is not help somehow

    One possible cause is security software (firewall, antivirus) that prevents or limits Firefox or plugin-container process without informing you, possibly after the detection of changes (update) for the Firefox program.

    Delete all rules for Firefox and the plugin-container in the permissions list in the firewall and leave your firewall again ask permission to get full unlimited access to the internet for Firefox and the plugin-container and the update process.

    See:

    You can try to reset (power off / on) of the router.

  • After the 9.0.1 update icons in the bookmarks menu no longer appear, folder icons appear, but not the icons of individual web sites.

    After the 9.0.1 update icons in the bookmarks menu no longer appear, folder icons appear, but not the icons of individual web sites.

    Hi Wynbelor,

    There is a known issue with this version of Firefox. Take a look at this article for a few steps to solve the problem.

    Hope this helps!

  • Weird "cmd" option in the context menu for the drive/folder

    Recently, I noticed a strange 'cmd' (as what) command appeared in the context menu for the drive/folder. After pressing it, I get an error "this file doesn't have an associated program to perform this action."

    Efforts to eliminate this question nagging eye, using regedit and various 3rd party menu popup editors, have failed.

    Any ideas why this might have happened?

    Thank you in advance.

    So, I thought about it. It indeed is a corruption of the menu prompt integrated (that I didn't know existed until I started to search for this problem).  The problem and the fix is here:

    There is a key called "command" in HKCR\Directory\shell. Delete the key "cmd" under "shell", and then adding the following code appear to have solved the problem.

    [HKEY_CLASSES_ROOT\Directory\shell]
    @= 'none '.

    [HKEY_CLASSES_ROOT\Directory\shell\Command Prompt]
    'Extended '=' '
    "NoWorkingDirectory"=""

    [HKEY_CLASSES_ROOT\Directory\shell\Command Prompt\command]
    @= "@shell32.dll,-8506.
    'Extended '=' '
    "NoWorkingDirectory"=""

    [HKEY_CLASSES_ROOT\Directory\shell\Command Prompt\command]
    @= "cmd.exe /s /k pushd \"%V\"" "

  • Alignment of the Flash menu in table problem/margins between images

    Hi, I built a website using Dreamweaver (I'm a complete newb to CSS and HTML, I'm a kiltmaker!). It uses a table layout that will connect eventually to a shopping cart. I'm just working on the html part, and I would include a Flash menu bar. When I add the SWF file, I would like to align with the top of my product images, but unfortunately, ends up looking like this:

    http://amhamiltonhandmadekilts.co.UK/test/flashtestdresssporrans.html

    I would really like it if the top of my menu flash would align at the same height as the rest of the images, for example at the same height as "dress sporran" etc so that the design is flush.

    Any ideas on how I could solve this problem would be greatly appreciated!

    Also, I would like that the spacing between the images were not as big table, so that it looks a bit neater, is this easy to do?

    Thank you very much

    Steve

    I see you still seem to be placing the menu and products in the structure of the table.  First create an external table which has two cells side by side.  Make sure that the 100% table.  In the left cell of the table, place the Flash menu with its setting valign to the cell.  In the right cell of this place of menu a new table that contains only products.  This approach allows you to remove any dependence on the menu arrangement of the products and vice versa.

    Play with it in a new page of practice... feel free to try different things.  I think it's good for you to gain experience with the handling of the page layout using tables.  That way, if/when you move to the side of the css, you will be able to say why it is preferable (if you do) by personal experience, and not because someone else said it.

  • IE has a function of right click to "Create a shortcut" on the desktop for Web sites... FF has something like that?

    IE has a feature done right click to "Create a shortcut on the desktop" for Web sites... FF has a function simalr?

    No, but there is an extension that adds this functionality in Firefox.
    deskCut
    https://addons.Mozilla.org/en-us/Firefox/addon/66/

  • SimplePass does not work for Web sites after the receovery system

    I recently did a recovery plant system overall condition,

    SimplePass works for the windows logon, but not for Web sites more... no invites her to save new sites when passwords are entered finger print OR interrogate the user on sites that are entered manually.

    I also tried importing my saved identity still no website

    SimplePass 2012 version: 5.3.1.7

    Laptop model: DV6 - A6Y01UA

    CW,

    You did not include the version of your operating system: Windows 7 I guess because you have been deported back to a very early version of the HP SimplePass.

    You must consider that you may have a version of your fingerprint driver that is appropriate (fairly recent) to run a newer version of HP SimplePass.  The fact that the old version SimplePass does not at all suggests that you run the version of the driver 4.3.118.0 - this version of the driver is not compatible with subsequent revisions of the SimplePass software.

    Reference

    HP Pavilion dv6-6c15nr Entertainment Notebook

    • Fingerprint drivers

    If your version of the driver (for your OS) is equal to or newer than those listed here, chances are that you can keep your current licence.

    If your current driver is older than the driver for your operating system,

    then: download and install yet the driver of fingerprints for your operating system.

    sp58834 validity sensor V 4.4.232.0 Win8

    validity sensor V 4.3.205.0 Win7 sp55109

    [Devices]

    USB\VID_138A & PID_0018 = "validity sensors (WBF) (PID = 0018)" "

    ------------------------------------------------------------------------------------------------------------

    • Find, open, and follow the procedure described in the file named:

      Simple Instructions for upgrade HP SimplePass

    • Think about it: If you try to update to the recently released Omni SimplePass program, you will NOT be able to use your webcard .tsd file to import your webcards (websites and passwords) in the new version of SimplePass.  The Omni of SimplePass version is NOT compatible with previous versions of the HP SimplePass program.

    ==========================================================================================

    Finally, you might take a look at the Web page of your computer (under the reference above)-check to other drivers or software that you can update.

  • What is the best windows for web programmers?

    I need your advice, which is the best windows for web programmers?

    Hi Brian,.

    I suggest you to refer to the links and decide.

    Comparison of the features of accessibility in different Versions of Windows

    http://Windows.Microsoft.com/en-in/Windows7/products/compare#T1=tab20

    It will be useful.

  • How to restore the shortcut menu for my XP desktop icons?

    After an attempt to reinstall IE8 (uninstall older versions), the context menu for each icon on the desktop no longer appears as it has already done. The list is totally different. How do I restore the menus?

    To all: this issue is now resolved.

    The culprit was a directory of IE8 has crashed. It seems that under xp, a lot of files and settings are common to IE8 and other applications (Outlook Express, and help & Support print, etc.), they were all affected. Manually, I deleted the directory ie8 (2) duplicate and cleaned the ie8 entries (2) invalid in the registry. Then I downloaded IE8 anew and reinstalled. After the reboot, all my problems have been fixed. The right click menu office was restored, as well as the OE print functions.

    Thanks to all who have offered their help.

Maybe you are looking for