AS Stops working correctly
I am helping someone edit a template that they purchased. The
original file had 6 buttons, and when you move over a button the
buttons below it shift downward. I figured out the code enough to
add more buttons. Each button had to be named a number in
sequencial order (ex: 1,2,3,4....). Everything worked great until I
hit 10, then the array crapped out. The tenth button and so on
didn't react like the other buttons, they didn't move down, and
they didn't open correctly. Here is the code:
link = new Array();
frame = new Array();
location = new Array();
link[1] = "1.html";
link[2] = "2.html";
link[3] = "3.html";
link[4] = "4.html";
link[5] = "5.html";
link[6] = "6.html";
link[7] = "7.html";//link for button 7 (new 1)
link[8] = "8.html";//link for button 8 (new 2)
link[9] = "9.html";//link for button 9 (new 3)
link[10] = "10.html";//link for button 10 (new 4)
link[11] = "11.html";//link for button 10 (new 4)
frame[1] = "_self";
frame[2] = "_self";
frame[3] = "_self";
frame[4] = "_self";
frame[5] = "_self";
frame[6] = "_self";
frame[7] = "_self";
frame[8] = "_self";
frame[9] = "_self";
frame[10] = "_self";
frame[11] = "_self";
location = [80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80];
numOfMenu = 11;
gap = 35;
speed = 6;
_global.active = pageNum;
_global.subActive = subNum;
_global.over = active;
for (i = 1; i <= numOfMenu + 1; i++)
this
._y = this.defaultY = (i - 1) * gap + this[1]._y;
if (i > 1)
if (over)
if (this
._name <= over)
this.targetY = this
.defaultY;
else
this.targetY = this
.defaultY + location[over - 1];
} // end else if
else
this.targetY = this
.defaultY;
} // end else if
this._y = this
.targetY;
} // end if
this.bg.onRollOver = function ()
_global.over = this._parent._name;
this
.bg.onRollOut = this.bg.onDragOut = function ()
_global.over = active;
this
.bg.onRelease = function ()
getURL(link[this._parent._name], frame[this._parent._name]);
this.onEnterFrame = function ()
var _loc1 = this;
if (over == _loc1._name)
_loc1.direction = "next";
_loc1.nextFrame();
return;
} // end if
_loc1.direction = "prev";
_loc1.prevFrame();
_loc1.prevFrame();
} // end of for
this.onEnterFrame = function ()
var _loc1 = this;
for (i = 2; i <= numOfMenu + 1; i++)
if (over)
if (_loc1
._name <= over)
_loc1.targetY = _loc1
.defaultY;
else
_loc1.targetY = _loc1
.defaultY + location[over - 1];
} // end else if
continue;
} // end if
_loc1.targetY = _loc1
.defaultY;
} // end of for
for (i = 2; i <= numOfMenu + 1; i++)
_loc1._y = _loc1
._y + (_loc1.targetY - _loc1
._y) / speed;
} // end of for
this[numOfMenu + 1].onRollOver = function ()
this[numOfMenu + 1].useHandCursor = false;
Any idea why this works with 9 buttons but fails to work at
10 or more?
Here is a sample of the buttons working (only 8 buttons)
http://www.johnkalnin.com/test/~TARGET_GO_MENU_TEST.swf
and not working:
http://www.johnkalnin.com/test/11Buttons-test.swf
Thanks for any help.
this._y = this.defaultY = (i - 1) * gap + this[1]._y;
That could be a typo, what would you suggest changing it to?
I am not an AS pro, I can read it enough to decypher it.
I'll try:
this._y = this.defaultY = (i - 1) * gap + this._y;
and see if it works.
UPDATE:
this._y = this.defaultY = (i - 1) * gap + this._y; //Doesn't
help fix problem
and
this._y = this.defaultY = (i - 1) * gap + this
._y; //doesn't work either - just makes gap btween buttons
bigger
Messing with that particular line of code does affect the
layout. However, the buttons 10 and 11 are still don't move when
the other buttons are moused-over.
Similar Messages
-
I have a new laptop with Windows 8 as operating system. Installed latest version of iTunes ontop computer. I can play music in My Library but when I click on iTunes, I get the message " iTunes has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify if a solution is available."
Anyone know what is the cause and if there is a resolution? Have tried to re-installing iTunes and have also tried restoring laptop to an earlier date.iPad not appearing in iTunes
http://www.apple.com/support/ipad/assistant/itunes/
iOS: Device not recognized in iTunes for Mac OS X
http://support.apple.com/kb/TS1591
iOS: Device not recognized in iTunes for Windows
http://support.apple.com/kb/TS1538
iTunes for Windows: Device Sync Tests
http://support.apple.com/kb/HT4235
IOS: Syncing with iTunes
http://support.apple.com/kb/HT1386
Apple - Support - iPad - Syncing
http://www.apple.com/support/ipad/syncing/
iTunes 10.5 and later: Troubleshooting iTunes Wi-Fi Syncing
http://support.apple.com/kb/ts4062
The Complete Guide to Using the iTunes Store
http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-using-t he-itunes-store/
iTunes Store: Associating a device or computer to your Apple ID
http://support.apple.com/kb/ht4627
Can't connect to the iTunes Store
http://support.apple.com/kb/TS1368
iTunes: Advanced iTunes Store troubleshooting
http://support.apple.com/kb/TS3297
Best Fixes for ‘Cannot Connect to iTunes Store’ Errors
http://ipadinsight.com/ipad-tips-tricks/best-fixes-for-cannot-connect-to-itunes- store-errors/
Try this first - Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
This works for some users. Not sure why.
Go to Settings>General>Date and Time> Set Automatically>Off. Set the date ahead by about a year.Then see if you can connect to the store.
Cheers, Tom -
So I download photoshop cc (2014) and when I go to open the program, it gives me an error message and shuts the program down. It says," A problem cause the program to stop working correctly. Windows will close the program." Can someone help me please?
I've got the same issue and it affects all my adobe software. You are not alone as I have seen several postings looking for the answer to this help request.
-
iTunes64Setup.exe, even after multiple times of uninstalling and reinstalling with even a fresh download crashes with the message:
"iTunes has stopped working. A problem [unspecified] caused the program to stop working correctly. Windows will close the program and notify you IF a solution is available." I cannot get out of this loop and it renders my iPad HD useless. I tried calling the Apple Store but was referred by an automated system to this web site. I tried looking up the problem in the FAQ but it didn't help.
merylewHi there Nok Saensanoh,
I would recommend taking a look at the troubleshooting steps found in the article below.
iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
http://support.apple.com/kb/ts1717
-Griff W. -
I cannot open my firefox broswer. The message box appeared that said a problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available. Under that there are debug and close program buttons.
JackieMars71 I would recommend reviewing your installation log files to determine if there are any errors during the installation process. You can find information on how to locate and interpret your installation log files at Troubleshoot install issues with log files | CC - http://helpx.adobe.com/creative-cloud/kb/troubleshoot-install-logs-cc.html. You are welcome to post any specific errors you discover to this discussion.
-
Whenever I connect to the iTunes store i receive an error message "iTunes has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available." This causes iTunes to close. I am using iTunes version 10.5.0.142 on a Windows Vista (64) PC. I have reinstalled iTunes selecting the "repair" option and also uninstalled and reinstalled iTunes. Any help will be deeply appreciated. Thank you. Below is the result of the diagnositc.
Microsoft Windows 7 x64 Home Premium Edition Service Pack 1 (Build 7601)
HP-Pavilion BN474AV-ABA HPE-150t
iTunes 10.5.0.142
QuickTime not available
FairPlay 1.13.35
Apple Application Support 2.1.5
iPod Updater Library 10.0d2
CD Driver 2.2.0.1
CD Driver DLL 2.1.1.1
Apple Mobile Device 4.0.0.96
Apple Mobile Device Driver 1.57.0.0
Bonjour 3.0.0.10 (333.10)
Gracenote SDK 1.9.3.494
Gracenote MusicID 1.9.3.106
Gracenote Submit 1.9.3.136
Gracenote DSP 1.9.3.44
iTunes Serial Number 002FAD94098CD0E0
Current user is not an administrator.
The current local date and time is 2011-11-13 22:08:54.
iTunes is not running in safe mode.
WebKit accelerated compositing is enabled.
HDCP is not supported.
Core Media is supported.
Video Display Information
NVIDIA, NVIDIA GeForce GT 220
**** External Plug-ins Information ****
No external plug-ins installed.
Genius ID: 2cb3fff3fa771d265b0f8ffdcca13b55
**** Network Connectivity Tests ****
Network Adapter Information
Adapter Name: {F4A2029C-16AA-4BDF-8DB7-9EC2A75B5991}
Description: Realtek PCIe GBE Family Controller
IP Address: 192.168.1.6
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.1
DHCP Enabled: Yes
DHCP Server: 192.168.1.1
Lease Obtained: Sun Nov 13 21:09:29 2011
Lease Expires: Mon Nov 14 21:09:29 2011
DNS Servers: 192.168.1.1
Active Connection: LAN Connection
Connected: Yes
Online: Yes
Using Modem: No
Using LAN: Yes
Using Proxy: No
SSL 3.0 Support: Enabled
TLS 1.0 Support: Disabled
Firewall Information
Windows Firewall is on.
iTunes is NOT enabled in Windows Firewall.
Connection attempt to Apple web site was successful.
Connection attempt to browsing iTunes Store was successful.
Connection attempt to purchasing from iTunes Store was successful.
Connection attempt to iPhone activation server was successful.
Connection attempt to firmware update server was successful.
Connection attempt to Gracenote server was successful.
Last successful iTunes Store access was 2011-11-13 22:02:08.
**** CD/DVD Drive Tests ****
LowerFilters: PxHlpa64 (2.0.0.0),
UpperFilters: GEARAspiWDM (2.2.0.1),
E: hp DVD A DH16ABLH, Rev 3HD9
Data or MP3 CD in drive.
Found 1 songs on CD, playing time 15:40 on CDROM media.
Track 1, start time 00:02:00
Get drive speed succeeded.
The drive CDR speeds are: 8 16 24 32.
The drive CDRW speeds are: 8.
The drive DVDR speeds are: 8.
The drive DVDRW speeds are: 8.
The last failed audio CD burn had error code 4251(0x0000109b). It happened on drive E: hp CDDVDW TS-H653R on CDR media at speed 24X.
**** Device Connectivity Tests ****
iPodService 10.5.0.142 (x64) is currently running.
iTunesHelper 10.5.0.142 is currently running.
Apple Mobile Device service 3.3.0.0 is currently running.
Universal Serial Bus Controllers:
Intel(R) 5 Series/3400 Series Chipset Family USB Enhanced Host Controller - 3B34. Device is working properly.
Intel(R) 5 Series/3400 Series Chipset Family USB Enhanced Host Controller - 3B3C. Device is working properly.
FireWire (IEEE 1394) Host Controllers:
VIA 1394 OHCI Compliant Host Controller. Device is working properly.
Connected Device Information:
Bruce's iTouch, iPod touch (2nd generation) running firmware version 4.2.1
Serial Number: 1C9053CC201
**** Device Sync Tests ****
Sync tests completed successfully.Same exact thing with me. And no help from apple. Just dropped nearly $600 and cannot get a decent working setup.
Apple's only suggestion was to uninstall iTunes and Quicktime, and re-install... of course (the I.T. Crowd tactic).
The crash happens only on iTunes store access. -
for a few weeks i have not been able to access the itunes store from the itunes on my laptop. every time i click on it it tells me it cannot access the store...not sure why. and says this: ITUNES HAS STOPPED WORKING a problem caused the program to stop working correctly. windows will close the program and notify if a solution is available.
I had this exact same problem. I found this fix and it worked for me.
Step 1:
Browse to C:\Program Files (x86)\Common Files\Apple\Apple Application Support and copy the filen named QTMovieWin.dll.
Step 2:
Browse and past that file into C:\Program Files (x86)\iTunes.
Hope this helps you. I wish I could remember where I saw this originally so I could thank them.
Good Luck.
Anthony -
I recently purchased a new desktop computer and installed Adobe CS3 Master Edition on it and I get the following error:
Adobe Photoshop CS3 has stopped working: A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.
Out of the entire suite of tools only Photoshop will not launch. The weird thing is i also had the same Adobe programs installed on my laptop and I have not made any installation updates to that machine and i am getting the same error. I have always installed the same software on my two home machines with no problem until now. Any help is appreciated.
Thanks,
AndyYou'll probably going to have to uninstall, then re-install the application; but you need to provide a lot more information;
BOILERPLATE TEXT:
Note that this is boilerplate text.
If you give complete and detailed information about your setup and the issue at hand,
such as your platform (Mac or Win),
exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
your settings in Photoshop > Preference > Performance
the type of file you were working on,
machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
what troubleshooting steps you have taken so far,
what error message(s) you receive,
if having issues opening raw files also the exact camera make and model that generated them,
if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
etc.,
someone may be able to help you (not necessarily this poster).
a screen shot of your settings or of the image could be very helpful too.
Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
http://forums.adobe.com/thread/419981?tstart=0
Thanks! -
Itunes will no longer work on my Windows 8 PC. When I attempt to start the program a message says: A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available. I have tried to uninstall iTunes but the Windows uninstaller will not delete the program I get a message that says: A network error occurred while attempting to read file: C:\Windows|Installer|iTunes.msi. How do I get iTunes to work again?
Whentrying to uninstall iTunes (the first program that must be uninstalled per the instructions) I get a message: A network error occurred while attempting to read file: C:\Windows|Installer|iTunes.msi. I can't even uninstall iTunes?
(1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page).
http://majorgeeks.com/download.php?det=4459
Here's a screenshot showing the particular links on the page that you should be clicking:
After clicking one of the circled links, you should be taken to another page, and after a few seconds you should see a download dialog appear for the msicuu2.exe file. Here's a screenshot of what it looks like for me in Firefox:
Choose to Save the file. If the dialog box does not appear for you, click the link on the page that says "CLICK HERE IF IT DOES NOT". Here's a screenshot of the page with the relevant link circled:
When the dialog appears, choose to save the file.
(2) Go to the Downloads area for your Web browser. Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
(3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
(4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
(5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time? -
[Window Title]
Microsoft Windows
[Main Instruction]
iTunes has stopped working
[Content]
A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.
[Close program]
This is what I got... sorry, not very tech savvy to copy the error message onto here...
Have tried uninstalled and re-installed iTune, updated the new version of 10.6... many times over still not working!!!
I share the frustrations of many here. HELP!!!!!Hi there Nok Saensanoh,
I would recommend taking a look at the troubleshooting steps found in the article below.
iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
http://support.apple.com/kb/ts1717
-Griff W. -
Hello!
I've had the student version of the Adobe Creative Suite 5.5 Design Premium software for several years now.
When I received my Windows 8 computer I installed the software with no issue.
Last week when I tried opening Photoshop I get the following error: "Adobe Photoshop CS5.1 has stopped working.A problem caused by the program to stop working correctly. Windows will close the program and notify you if a solution is available."
I deactivated and uninstalled the entire Creative Suite then reinstalled it. I am able to open the other programs, but still receive the same message for Photoshop.
What can I do?I found the issue was with the Nik Filters I was using. The filters were messing with Photoshop's initializing. I uninstalled and reinstalled the filters and now Photoshop works like a charm.
It appears this forum is dead?!
Thankfully, I was able to troubleshoot on my own and figured out the problem... -
Error when opening iTunes : iTunes has stopped working '' A problem caused the program to stop working correctly''.
When I repaired damaged files the problem still exists and also after uninstalling, redownloading and reinstalling iTunes.
My pc is working with windos 8.
Is there a solution?Hey there Rodney274,
It sounds like you are getting an error from iTunes when you launch it. I would try the troubleshooting in this article named:
iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
http://support.apple.com/kb/ts1717
Start with troubleshooting for 3rd party plug ins section, then the rest of the article if needed:
Start iTunes in Safe Mode
Open iTunes in Safe Mode to isolate any interference from plug-ins or scripts not manufactured by Apple.
Hold down Shift–Control while opening iTunes. You should see a dialog that says "iTunes is running in safe mode" before iTunes finishes starting up.
Click Continue.
See if the issue you're experiencing persists in Safe Mode.
If you have the same issue while iTunes is in Safe Mode, proceed to the "Create a new user account" section. If you don't experience the same issue, follow these steps to remove third-party plug-ins.
Thank you for using Apple Support Communities.
Take care,
Sterling -
I keep getting this message when I try to open my new Adobe Photoshop. The main screen comes on and a box for the tutorials then this. "Adobe Photoshop CC 2014 has stopped working. A problem caused the program to stop working correctly." When I say Okay to the message, it shuts down the program.
Refer below link once
Photoshop: Basic Troubleshooting steps to fix most issues -
Hi,
I’m getting the following error message when ever I try to start cs6 and the program gets close.
“Adobe Photoshop CS6 has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available”
Please advise what is the problem? and How to sort this out?
OS Name
Microsoft Windows 8.1 Pro
Version
6.3.9600 Build 9600
Other OS Description
Not Available
OS Manufacturer
Microsoft Corporation
System Name
JARVIS
System Manufacturer
Dell Inc.
System Model
Inspiron N5110
System Type
x64-based PC
System SKU
To be filled by O.E.M.
Processor
Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
BIOS Version/Date
Dell Inc. A11, 8/3/2012
SMBIOS Version
2.6
Embedded Controller Version
1.01
BIOS Mode
Legacy
BaseBoard Manufacturer
Dell Inc.
BaseBoard Model
Not Available
BaseBoard Name
Base Board
Platform Role
Mobile
Secure Boot State
Unsupported
PCR7 Configuration
Binding Not Possible
Windows Directory
C:\Windows
System Directory
C:\Windows\system32
Boot Device
\Device\HarddiskVolume2
Locale
United States
Hardware Abstraction Layer
Version = "6.3.9600.17196"
User Name
Jarvis\JARVIS\Abhishek
Time Zone
India Standard Time
Installed Physical Memory (RAM)
4.00 GB
Total Physical Memory
3.16 GB
Available Physical Memory
1.21 GB
Total Virtual Memory
3.72 GB
Available Virtual Memory
1.55 GB
Page File Space
576 MB
Page File
C:\pagefile.sys
Hyper-V - VM Monitor Mode Extensions
Yes
Hyper-V - Second Level Address Translation Extensions
Yes
Hyper-V - Virtualization Enabled in Firmware
Yes
Hyper-V - Data Execution Protection
Yes
Display adapters:
and NVIDIA GeForce GT 525M.Without the actual crash logs nobody can say, but chances are that your graphics hardware is to blame, so update the driver...
Mylenium -
New laptop, load itunes to find a error message that states, "i tunes has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available". It has me stuffed on such a problem that should be easy to load. Please help!!!!
Hey there Rodney274,
It sounds like you are getting an error from iTunes when you launch it. I would try the troubleshooting in this article named:
iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
http://support.apple.com/kb/ts1717
Start with troubleshooting for 3rd party plug ins section, then the rest of the article if needed:
Start iTunes in Safe Mode
Open iTunes in Safe Mode to isolate any interference from plug-ins or scripts not manufactured by Apple.
Hold down Shift–Control while opening iTunes. You should see a dialog that says "iTunes is running in safe mode" before iTunes finishes starting up.
Click Continue.
See if the issue you're experiencing persists in Safe Mode.
If you have the same issue while iTunes is in Safe Mode, proceed to the "Create a new user account" section. If you don't experience the same issue, follow these steps to remove third-party plug-ins.
Thank you for using Apple Support Communities.
Take care,
Sterling -
I get an error message saying 'An error has caused Photoshop to stop working correctly. Windows will close the programme and notify you if a solution is available'. I have had no notification. My old Photoshop CS5 works fine, but as I'm paying for CC2014 I would like to use it. I have tried renaming the 'sniffer' file to 'snifferold' as bobmiller4002 suggested but the problem is not resolved. Lightroom works fine.
Hi Nancy,
I'm not sure I have the answers to all your questions. Although I use Photoshop and Lightroom extensively, I'm not a 'techy'.
My system;
Packard bell imedia S2885
1TB hard drive
500G RAM
Windows 8.1 64- bit
Intel core i5 4440
If I open Photoshop cc14 without opening any image, I still get an error message that reads: 'Photoshop has encountered a problem with the display driver, and has temporarily disabled enhancements which use the graphics hardware'.
There is also a link to the Adobe help site, but I'm not sure exactly what I should be downloading from there.
Thanks,
Dan.
Maybe you are looking for
-
My ipod touch will not play music in my Bowers and Wilkins mini zeppelin nor my Logitech. Yet, it plays in my car. The music can be heard playing in the ipod itself. It is only 2 years old. Should I repair or just buy another? Thanks!
-
Variable size array in a FlowPane
If i have an array of variable size (for example a array of cards). How can i build something to show the elements(in a FlowPane for example) and each of them having its own controller (fxml + controller for each card), so the container (flow pane) o
-
Hi, My server have SharePoint Server 2013,Sql, then necessary required SDKS like WCF LOB Adapter SDK(download Complete), Biz talk Adapter for my Sap business suite(download Complete), SAP client libraries,Business Data Catalog Definition Editor insta
-
New DVD Drive reads some DVD's not all, why?
Hi, I recently replaced my old dvd/cd drive in my notebook pavillion 2945se. It seems to work well except it only reads some store bought dvd's. It can read Star Trek: voyager, dc movies, disney, star wars discs, and most other store bought dvds
-
Printing Flag Based on the Condition Request
Hello I have a requirement where i need to check two conditions on Date and Print the Date in Red and Flag(Symbol) adjacent to the Date, I used Conditional Format and gave my Conditions and then i am ableto print the date in Red , Below is my Conditi