I have an error message with my actionscript that's DOING MY HEAD IN!

This is a discussion on "I have an error message with my actionscript that's DOING MY HEAD IN!" within the Flash & Multimedia Forum section. This forum, and the thread "I have an error message with my actionscript that's DOING MY HEAD IN! are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Aug 13th, 2007, 17:34
New Member
Join Date: Aug 2007
Location: Kent
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
I have an error message with my actionscript that's DOING MY HEAD IN!

Hi guys

I'm creating some buttons with flash (CS3) and I've got a problem. When I type in the following action code:

on (Release) {getURL("see.html", "_self");}

I get the following error message:

1087: syntax error. extra characters found after end of program

I can't seem to work out what this means. When I try exactly the same code in other flash buttons it works perfectly... just not on my new ones.

I've recently swapped from a pc to a mac, and from Studio 8 to CS3. Don't know if that makes any difference...

Any help would be gratefully received!
Reply With Quote

  #2 (permalink)  
Old Aug 13th, 2007, 18:25
Reputable Member
Join Date: May 2006
Location: NC, USA
Age: 16
Posts: 355
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to MrMadison Send a message via MSN to MrMadison Send a message via Skype™ to MrMadison
Re: I have an error message with my actionscript that's DOING MY HEAD IN!

Yeah, are you using AS 3 or 2. AS 3 is completely different. I've only glanced at AS 3, so i don't know if i can help much. I'll fool around and get back to you...
Reply With Quote
  #3 (permalink)  
Old Aug 13th, 2007, 18:32
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sgaspar11
Re: I have an error message with my actionscript that's DOING MY HEAD IN!

Not sure about AS3 but off the top of my head change your on (Release) to on (release) lowercase makes a difference.

Cheers,

Scott
Last Blog Entry: Yay!? (Oct 8th, 2007)
Reply With Quote
  #4 (permalink)  
Old Aug 13th, 2007, 18:32
New Member
Join Date: Aug 2007
Location: Kent
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: I have an error message with my actionscript that's DOING MY HEAD IN!

Thanks MrMadison. I'm using AS 2...
Reply With Quote
  #5 (permalink)  
Old Aug 13th, 2007, 18:41
New Member
Join Date: Aug 2007
Location: Kent
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: I have an error message with my actionscript that's DOING MY HEAD IN!

Thanks Scott - i got very excited then, but sadly changing it to lowercase didn't help. Sorry!
Reply With Quote
  #6 (permalink)  
Old Aug 13th, 2007, 19:10
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sgaspar11
Re: I have an error message with my actionscript that's DOING MY HEAD IN!

Ok try it like this:
Code: Select all
on (release) {getURL("see.html", _self);}
remove the "" from the _self, and are you applying this directly to a button? I am not getting any errors.
Last Blog Entry: Yay!? (Oct 8th, 2007)
Reply With Quote
  #7 (permalink)  
Old Aug 16th, 2007, 09:16
New Member
Join Date: Aug 2007
Location: Kent
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: I have an error message with my actionscript that's DOING MY HEAD IN!

HI - thanks for that. Doesn't work either, I'm afraid. Any other ideas? Am I doing something else wrong maybe?
Reply With Quote
  #8 (permalink)  
Old Aug 16th, 2007, 09:19
Reputable Member
Join Date: Jul 2007
Location: UK, Essex
Age: 21
Posts: 171
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to RZX Developer
Re: I have an error message with my actionscript that's DOING MY HEAD IN!

hey mate dont know if this would help

Code: Select all
on(release) {
    getURL ("http://", _newCF);
}
Wayne
Reply With Quote
  #9 (permalink)  
Old Aug 16th, 2007, 14:17
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sgaspar11
Re: I have an error message with my actionscript that's DOING MY HEAD IN!

I need to play around with Flash CS3 some more, everyone keeps getting this error and it makes no sense to me. :-)
Last Blog Entry: Yay!? (Oct 8th, 2007)
Reply With Quote
  #10 (permalink)  
Old Aug 16th, 2007, 15:55
Reputable Member
Join Date: May 2006
Location: NC, USA
Age: 16
Posts: 355
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to MrMadison Send a message via MSN to MrMadison Send a message via Skype™ to MrMadison
Re: I have an error message with my actionscript that's DOING MY HEAD IN!

funny, that code worked for me in AS 2....
Yeah,....button or something else...you might not have the target set.
Reply With Quote
Reply

Tags
actionscript

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Keep getting error message Microsoft VBScript runtime error '800a01a8' cpando1974 Classic ASP 2 Aug 7th, 2007 12:00
CDO.Message.1 error '80040220' djanim8 Classic ASP 2 Jan 12th, 2007 18:33
Please Help Fix This Error Message DannyP43 JavaScript Forum 3 Sep 26th, 2006 22:04
Another ASP script error message a.jenery Classic ASP 13 Apr 21st, 2006 01:10
head message csa Web Page Design 1 Jan 17th, 2006 12:30


All times are GMT. The time now is 17:30.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43