Killersites.com Homepage Welcome Guest   |   Register  |  Login
Login Name Password
  Search  
  Index  | Recent Threads  | Unanswered Threads  | Who's Online  | User List  | Help



Quick Go »

No member browsing this thread
Thread Status: Active
Total posts in this thread: 4
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 3192 times and has 3 replies Next Thread
Male samsonezee
Stranger



england
Joined: Sep 28, 2008
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
adding actions to my buttons

Hi

I am having problems with adding actions to my buttons. i get the following msg on clicking f9, "current selection cannot have actions applied to it"...... any help?

[Sep 28, 2008 9:04:03 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Male samsonezee
Stranger



england
Joined: Sep 28, 2008
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
1087: Syntax error: extra characters found after end of program.

anyone knows what i need to do about the above error in my actionscript?

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

much appreciated
[Sep 29, 2008 6:40:49 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Female nidhishavj
Stranger




Joined: Oct 24, 2008
Post Count: 2
Status: Offline
Reply to this Post  Reply with Quote 
Re: adding actions to my buttons

u may be giving actions going inside the button..It is not possible.Just select the button in the scene &u can give the action.
[Oct 24, 2008 10:49:00 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Female Fnkmedia
Stranger




Joined: Dec 15, 2008
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
Re: adding actions to my buttons

Ok , give an instance name on your button ( example: my_btn) and then in the first frame of your scene press f-9.
Start Coding.

my_btn.onRelease=function(){
//do this or that
}
[Dec 15, 2008 8:28:05 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread