So I reworked my code and it seems more clear but who always get "RangeError: Error #2006: the supplied index is out of bounds"nonsense. " (CODE + ERROR ATTACHED)
I reworked the code to make it without error. now, all we are dealing with is the problem of ERROR REANGE. I'm very new to Flash and read responses from people on sites where they solved this problem, but do not understand what people at all. any help would be greatly appreciated.
Let me explain a little better my problem: I am creating a menu drop-down. everything goes fine UNTIL I'll scroll above the button and get the error. I added an inner glow, etc and it all works very well. I'm only stuck to where the menu is supposed to go down.
CODE 1:
var navBtnGlow:GlowFilter = new GlowFilter (0 x 000000, 0.5, 0, 15, 1, 2, true, false);
navBar_mc.addEventListener (MouseEvent.MOUSE_OVER, navOverF);
navBar_mc.addEventListener (MouseEvent.MOUSE_OUT, navOutF);
function navOverF(event:MouseEvent):void {}
event.target.filters = [navBtnGlow];
navBar_mc.setChildIndex (event.target as MovieClip, 1);
dropMenus_mc.gotoAndStop (navBar_mc.getChildAt (1) .name);
trace ("we rolled on..." + navBar_mc.getChildAt (1) .name)
}
function navOutF(event:MouseEvent):void {}
event.target.filters = [];
}
ERROR:
RangeError: Error #2006: the supplied index is out of range.
at flash.display::DisplayObjectContainer/setChildIndex()
to NEWprim_fla::MainTimeline/navOverF()
Thank you for your help in advance.
not sure about this, but what happens if you change your setchildindex to 0? in the navOverF function
Tags: Adobe Animate
Similar Questions
-
Hello I bought a pack full of creative cloud and nothing seems to be installed, Im' always with my edit of the trial...
Hi Stephanie,
Please follow Cloud Creative applications back in test mode after an update until 2015 for CC
Kind regards
Sheena
-
I was installing 2 important updates, but I always get this error 646 (KB976321, KB981726) code, pls.help
You can search every download and manually install the same.
IE: http://www.microsoft.com/downloads/en/results.aspx?freetext=KB976321&displaylang=en&stype=s_basic
Save the update to a location on your hard drive, you can find and then install the update from there.
TaurArian [MVP] 2005-2010 - Update Services
-
How can I change my payment with a Visa card, I no longer use my gift card account. I don't have the gift card so I don't know the PIN code. I have the amount of the card on account, what should I do?
Hi Nancy, there.
Looks like you are trying to update your iTunes billing information, but he continues to ask you for a credit card security code, you have more. You may be able to change the option to zero rather than use the "Use your Mac or PC" section of this article:
Modify or delete your Apple ID payment information
If for some reason you can't, this article explains why this may be the case:
If you don't see anything or can't select
You may need to reach out to our iTunes support staff directly if you cannot get a resolution with these resources:
Thank you for using communities of Apple Support.
-
Even thought is selected the option ' when Firefox starts to show my windows and tabs from last time "I always have the default page of Firefox.
Hi Goldie_,
I guess you don't watch this page when you closed Firefox last time. Also that you are not in private, correct navigation mode? Looks like it is maybe a problem with Firefox being able to save your file pref.js. You should try the steps listed in the preferences section that won't save trouble. Try and let me know how it goes.
Hope this helps!
-
Here's my problem, I typed my redemption code and got my serial number but as I get a pen and crushed paper my computer and now I can't have my serial number for the 14 items.
All can help me please!
First, check your Adobe account to see if the serial number is Adobe ID
Otherwise, you need to contact Adobe directly
Chat/phone: Mon - Fri 05:00-19:00 (US Pacific time) <===>===> NOTE DAYS AND TIME
Don't forget to stay signed with your Adobe ID before accessing the link belowSerial number and activation support (non - CC)
-
I bought lightroom and need to register my student ID, how do I do that the trial has run out, I have the product code but not the serial number?
If you have purchased a package, then you should have instructions in the box on how to present your credentials. If you have purchased Adobe online, then you should have received instructions in an email. But here is a link that might help you. There is a link under step 2 which will lead you to a place where you can enter the information, I think.
Adobe - Adobe Education Store: proof of academic identification
-
I just restored my HD Mac from a time machine backup and PS 4 will not open. I get an error code 150:30. No idea what I need to do?
Most likely your Photoshop installation was damaged by the restoration. Re-installing Photoshop CS4. You can find the latest version that has been published here: products CS4 download
Benjamin
-
I have a movie... great... now I want to save as a .wmv file, so I can burn it to a CD, but I keep getting an error 0 x 87160139 "find missing or remove the unusable items in your project and then try again." so I tried to change the format of mp4 to mi/gal (what I know now was not necessary), but it will not save yet. I would like to make photos and videos I use. I think that this video might be too big? not sure... also, all files have the same name and in the same folder that I shot, I'm in a block, any help appreciated! Thank you.
-Mark
Hi Mark,
Thanks for posting your query on the Microsoft Community.
According to the description, I understand that you are getting an error code.
I suggest you to refer to the Microsoft Help Article below and check if that helps.
You can also check:
Hope this information helps. Please let us know if you need any other help with Windows in the future. We will be happy to help you.
-
I'm on Firefox 17.0.11, if I uninstall Firefox and reinstall Firefox 17.0.11, I always get my original addons and bookmarks back?
IAM short of space on my hard drive, I prefer just to re - install Firefox 17.0.11
on my external hard drive, I have more than 200 GB of free space.Do NOT remove the data personal when you uninstall your current version of Firefox, because all profile files will be deleted and you lose personal data such as bookmarks and passwords from other versions of Firefox profiles.
Your bookmarks and other personal data are stored in the Firefox profile folder and will not be affected by a uninstall and (re) install, but make sure that 'delete personal data' is NOT selected when you uninstall Firefox.
Note that there is a version of Firefox 24.1.1 ESR if you want to stay on the ESR update channel.
-
Yahoo password email changed computer but the iPhone and iPad can always GET mails without updating the password...
Normally, it should show as 'could not load the mail' or 'impossible to download the mail' or 'Please verify your password... "
It's really wired.You are probably using IMAP
Update contained in one place - it synchronizes across devices - all as is your email
With POP accounts, you'd see what shows your question
-
Used my copy of OSX MAvericks in the past, but now I get an error message that the application cannot be verified and go to the App Store. I did, but there is nothing to install OSX Mavericks download?
Log in to the App Store and look under the purchases tab.
-
updated Windows SP1 downloaded fine, but I still get notified to install the same thing over and over again... What's new.
Hello
I understand that you are warned to install the update even repeatedly. I'll be happy to help you with this problem.
(1) did you do changes on the computer before this problem?
(2) you have Service Pack 1 installed on your computer successfully?
(3) are you advised to re - install the Service Pack 1 update again?
(4) you receive an error message when you try to install Service Pack 1?
Method 1: I suggest you run Microsoft FIXIT from the link and if the problem persists.
The problem with Microsoft Windows Update is not working
http://support.Microsoft.com/mats/windows_update/
Method 2: I also suggest you to follow the steps from the link and check if it helps.
Windows Update or Microsoft Update repeatedly offers the same update
http://support.Microsoft.com/kb/910339
For reference:
http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-installing-updates
I hope this helps. Try the above steps and get back to us for assistance. We will be happy to help you.
-
My desktop icons suddenly got larger and moved all around. How can I get back them to the small size and keep them I would like them?
Hello
You will remember to do recent changes on the computer before this problem?
I suggest you to change the size of the icons and check if the problem persists. Follow the steps mentioned below:
a. right click on the desktop, click view , and turn off the Auto Arrange.
b. after above step. Right click on the desktop, click view choose on the icon size you want and check if the problem persists.
-
Photoshop does not open all the files on my Imac it will open work and recent files very well but will not save. I have the latest version. What is "cleanmymac3" that prevents the loading of files?
I must add that when I try and open a file, it freezes and I have to force photoshop completely.
Try resetting your Photoshop preferences.
Maybe you are looking for
-
support Mozilla blocking my view of thunderbird
just updated to version 38 and comes with support for Mozilla. When I click on thunderbird I just get support Mozilla. How to get into thunderbird e-mail or even open it.
-
any way to get find it old bar back? I tried to watch: config and searching online, but couldn't find anything. I was hoping that you can personalize it the way other toolbars and I could remove the flexible space or move the controls. Mozilla doesn'
-
Ive tried everything to unfreeze it, but it won't unfreeze. It is stuck on the peak of Apple's music and I can't go to my music at all. I tried signing in and out and even turn off my phone, but it does not work.
-
How to merge photos in a library when libraries have different user ID's
Move photos from my phone or my macbook to the family computer, apple different identifiers how can I do this?
-
Bluetooth isn't turned on, latest firmware installed.
Someone problems turning ON the component of sound Bluetooth phone to devour? I have the latest firmware already installed.