Error code 1009 CS6
Help!
I'm trying to revamp a flash for a website, but I'm getting stuck with the coding. I'm trying to link buttons to external URLs and I keep getting the error code
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at Untitled_fla::MainTimeline/frame1()
I debugged the code and found the line that is having a problem (the "function" line in the code), but I still don't get it. I used the code
news_btn.addEventListener(MouseEvent.CLICK, move1);
function move1(event:MouseEvent):void{
var newsLink:URLRequest = new URLRequest("http://www.powerquestglobal.com/news.htm");
navigateToURL(newsLink, "_self");
for the first button and it works fine. But when I copy and paste it, changing "move1" to "move2" and changing the webaddress, error 1009 comes up. Can anyone help me out?? Please!
I did to the best of my ability, which I must admit is limited since I'm a newbie at Flash. From what I can see the button is located in frame 1 of the main timeline. In a nutshell, I have 9 pictures that are movie clips and have a tween to fade them in as they appear. On top of each picture I put a rectangle that is set Alpha 0%. I made these into buttons so that I could make it possible to link them to a URL. In my limited experience this was the best way I could find for it to work. Here is a copy of my action script so far. I've marked line 75 where it places the error.
import flash.events.MouseEvent;
stop()
btn1.addEventListener(MouseEvent.CLICK,play1);
function play1 (event:MouseEvent):void{
gotoAndStop("news");
btn2.addEventListener(MouseEvent.CLICK,play2);
function play2 (event:MouseEvent):void{
gotoAndStop("projects");
btn3.addEventListener(MouseEvent.CLICK,play3);
function play3 (event:MouseEvent):void{
gotoAndStop("jackie");
btn4.addEventListener(MouseEvent.CLICK,play4);
function play4 (event:MouseEvent):void{
gotoAndStop("solar");
btn5.addEventListener(MouseEvent.CLICK,play5);
function play5 (event:MouseEvent):void{
gotoAndStop("xray");
btn6.addEventListener(MouseEvent.CLICK,play6);
function play6 (event:MouseEvent):void{
gotoAndStop("hydro");
btn7.addEventListener(MouseEvent.CLICK,play7);
function play7 (event:MouseEvent):void{
gotoAndStop("diesel");
btn8.addEventListener(MouseEvent.CLICK,play8);
function play8 (event:MouseEvent):void{
gotoAndStop("power");
btn9.addEventListener(MouseEvent.CLICK,play9);
function play9 (event:MouseEvent):void{
gotoAndStop("battery");
var nextImage:Timer = new Timer(7000);
nextImage.addEventListener(TimerEvent.TIMER, playNext);
nextImage.start();
function playNext(event:Event):void{
nextFrame();
news_btn.addEventListener(MouseEvent.CLICK, move1);
function move1(event:MouseEvent):void{
var newsLink:URLRequest = new URLRequest("http://www.powerquestglobal.com/news.htm");
navigateToURL(newsLink, "_self");
projects_btn.addEventListener(MouseEvent.CLICK, move2);
***Line 75 is here***function move2(event:MouseEvent):void{
var newsLink:URLRequest = new URLRequest("http://www.powerquestglobal.com/projects.htm");
navigateToURL(newsLink, "_self");
Here's a screen shot of my timeline
Similar Messages
-
What does this error mean?! " your request cannot be processed, error code 1009".
Read through this article for iTunes Store troubleshooting:
http://support.apple.com/kb/TS3297 -
i need help, i can't download free applications in App store. they answer me "your request cannot be processed Error code:1009".
and after they said "we could not complete your request. There was an error in the App Store. Please try again later (null)".
COMPUTER DETAILS: MacBook Pro 13-inch, Mid 2012 OS X Version 10.9.5; Processor 2,5GHz Intel Core i5; Memory 4 Go 1600 MHz DDR3.
Thanks beforehand!!!Error
what is error code 1009? -
TS1424 what is error code 1009 when i tried to download or update the apps
i had been worked with itunes and iphone's app store since 1 year ago
and i have credit in my account
suddenly from 5 days ago when i wanted to download the appliction from app store the error code 1009 is appeared and i cant update my purchased apps from that time too
what can i doHi amir vaziry!
It sounds like you may have an issue with connecting to the iTunes Store. We have an that can deal with that issue, and it can be found here:
Can't connect to the iTunes Store
http://support.apple.com/kb/ts1368
If you are still having issues with your iTunes Store connection after following that article, you may also want to view the Advanced iTunes Store troubleshooting article, located here:
iTunes: Advanced iTunes Store troubleshooting
http://support.apple.com/kb/TS3297
Take care, and thanks for visiting the Apple Support Communities.
-Braden -
Hello,
I cannot download an application from Apple store. A message appeares "your request cannot be processed. Error code 1009 "hi
i have a messege ( your request cannot be processed error code 1009) my iphone is 4s with ios 7.0.4 .
so cannot download in itunes
if i creat a new apple id problem is solved
thanks -
TS3297 What can I do for Message 'Your request cannot be processed Error code: 1009 ?
Message 'Your request cannot be processed Error code: 1009
What can I do for above error?iTunes: Advanced iTunes Store troubleshooting - http://support.apple.com/kb/TS3297 > Specific Conditions and Alert Messages: (Mac OS X / Windows) - includes list of iTunes error codes
If you are asking questions about using iTunes for Windows, there is a forum for that. This is the iTunes for Mac forum. -
HI.
display on my iphone5 : Your request cannot be processed. Error code :1009
Why???
tanxWhat were you doing to bring up this error corde? Any other text with the code?
-
i can't download/install apps (like skype) in my iphone 5 from apple store....it shows error code-1009.... can anybody help me...?
The error 1009 error is normally associated with a blocked country. There are a list of countries that Apple is not allowed to sell their software to due to US restrictions
-
I'm now at Sudan. I'm from Bangladesh. After coming Sudan I can't download/install any application from apps store. It shows error code-1009. Now what to do ? can anybody help me....?
Are you trying to download apps from the Sudan app store? If so, you have to have a valid credit card and billing address in the country of the app store to purchase from that app store.
Some countries also have restrictions on the apps and functions allowed in their countries. -
I updated iOS in iPhone 5 just now... But I can not download/install apps (Skype,Facebook etc.) from apple store...it shows error code -1009... What can I do...?
The error 1009 error is normally associated with a blocked country. There are a list of countries that Apple is not allowed to sell their software to due to US restrictions
-
TS1424 I get error code 1009 while trying to download an application from app stor
I get error code 1009 while trying to download an application from app storp
You will need to do what it says, contact iTunes support. Click the Support tab above, then the Get Started link in the Contact Apple Support area and you'll be guided.
Regards. -
When I try to download apps on my Ipod touch I recieve an error code 1009
When I try to download apps on my Ipod touch I just cant, and recieve an error code 1009. What is this???
https://discussions.apple.com/message/15512116#15512116
-
How can I pass through error code 1009
How can I pass through error code 1009
See this support document. While I do not see an explanation for error code 1009, the closest ones describe 3rd party security software or a hardware fault. You decide which direction you want to head in. http://support.apple.com/kb/TS3694
-
Sometimes when I want to download from AppStore this sentence appears:" your request can't be processed. Error code:1009.
Please help me.Hi Navid1379,
Thanks for visiting Apple Support Communities.
I recommend the troubleshooting steps in this article if you continue to receive an "error 1009" when downloading items from the App Store:
Can't connect to the iTunes Store
http://support.apple.com/kb/ts1368
Regards,
Jeremy -
hello all today i cannot purchase anything from the itunes store because of the error code 1009?!!
I buy from 2 country itunes store using credit cards from those countries in two different accounts one US and United Arab Emirates and both are not working?!!
I have the latest iphone and itunes versions!!Take a look at these pages:
http://iphone.cazisoft.com/2008/itunes-error-code-1009-updated
http://forums.macrumors.com/archive/index.php/t-518535.html
If none of this helped, you could try contacting Apple: http://www.apple.com/support/itunes/store/browser/
Maybe you are looking for
-
ITunes Won't open on windows 7
Last week, my iTunes randomly decided not to open when I clicked on it. When I called a technician to look at my computer, I discovered it had been hacked. After several days of fixing that big issue, he then helped me with my itunes. Before I found
-
How do you delete On The Go playlists?
I accidentely added like 4 playlists to On-The-Go...how do I delete them? Thanks.
-
Fireworks Selection Tool Issues
I'm having issues with my selection tool in Fireworks CS5. The selection tool isn't working properly upon click etc. I have encountered this issue before and don't remember my resolve. I do know that this is some issue resulting from the Media Keys o
-
Error Workflow Project Server 2013
I have Sharepoint 2013 farm. In SPD 2013 create workflow Sharepoint 2013-Project Server. And want to write in workflow log Project UID. But in during i see error: System.ApplicationException: HTTP 403 {"Transfer-Encoding":["chunked"],"X-SharePointHea
-
I have a new ipad and it has been doing great and I love it. today I have a message reading icloud backup...this ipad hasnt been backed up for 2 wks...backups happen when this ipad is plugged in (done) locked (done) and connected to wifi (I assume th