Go Back   StickpagePortal Forums > General > General Help

General Help Ask questions you have about anything here!


Welcome to the StickpagePortal Forums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.
Closed Thread
 
Thread Tools Display Modes
Old 11-07-2009, 12:08 AM   #1
Vendetta
You make me uncomfortable
 
Vendetta's Avatar
 
Join Date: Oct 2009
Location: California
Posts: 333
My Mood:
Default Actionscript

Okay you stickpage members. I need you to answer these two questions and give me a way to fix my problem.
My problem is:
When I convert something to a symbol and press "Actions," in the box where you're supposed to put the code in says: "The current selection cannot have actions applied to it." I can apply actionscript to frames though, that works.
The questions are:
Why won't my flash let me apply actionscript to movieclips, graphics, or buttons? What can I do to make it work?

Code:
Quote:
Thank you very much to anyone who can provide helpful feedback. :)
__________________

Last edited by Vendetta : 11-07-2009 at 12:12 AM.
Vendetta is online now  
Old 11-07-2009, 12:10 AM   #2
RazrBlade
Tug On His Winkie!
 
RazrBlade's Avatar
 
Join Date: Dec 2007
Location: No Comment -_-
Posts: 1,670
Send a message via MSN to RazrBlade
Default

Quote:
Originally Posted by Vendetta View Post
Okay you stickpage members. I need you to answer these two questions and give me a way to fix my problem.
My problem is:
When I convert something to a symbol and press "Actions," in the box where you're supposed to put the code in says: "The current selection cannot have actions applied to it." I can apply actionscript to frames though, that works.
The questions are:
Why won't my flash let me apply actionscript to movieclips, graphics, or buttons? What can I do to make it work?
Either you're double clicking it to edit it's properties specifically, for this you need to either go back to the scene.

-OR-

Make every other layer invisible, and click on the MC, Button, or Graphic itself and try to add actionscript to it then. Perhaps the layer is locked that the button/graphic/mc is on?
__________________

RazrBlade is offline  
Old 11-07-2009, 12:14 AM   #3
Vendetta
You make me uncomfortable
 
Vendetta's Avatar
 
Join Date: Oct 2009
Location: California
Posts: 333
My Mood:
Default

For number one that is definitely not the problem, number two isn't either I tried that.
Thanks anyway!
__________________
Vendetta is online now  
Old 11-07-2009, 01:25 AM   #4
Bonk
Might animate soon
 
Join Date: Mar 2008
Location: On the highest seas Animating: -
Posts: 884
Default

Flash has a tendency to dis-select movieclips when you open the actions menu. Just click the intended object once with the actions window open and you'll be set.

+ Graphics can't have code, only symbols like movieclips and buttons.
__________________
I'm feeling another sig coming on soon...
Bonk is offline  
Old 11-07-2009, 03:12 AM   #5
Aycaramba
pew pew
 
Aycaramba's Avatar
 
Join Date: Apr 2007
Location: Sweden
Posts: 951
Send a message via MSN to Aycaramba
Default

Or if you're using AS3, then you can't apply code to buttons/movieclips.
Also this:
Quote:
Originally Posted by Bonk View Post
Graphics can't have code, only symbols like movieclips and buttons.
__________________
AH SHIT
Aycaramba is offline  
Old 11-07-2009, 03:38 AM   #6
Scarecrow
oh hello there
 
Scarecrow's Avatar
 
Join Date: Oct 2005
Location: two lines ago
Posts: 8,857
My Mood:
Send a message via AIM to Scarecrow Send a message via MSN to Scarecrow
Default

Actionscript 3 does not allow instance-based coding. You have to change the actionscript language to Actionscript 2 if you want to work that way.
__________________
Click here to see some cartoons I made whilst on... whatever I was on
||
somebody.newgrounds.com
Quote:
Originally Posted by Gavel View Post
I'm rapping in front of the whole school tonight
Scarecrow is online now  
Old 11-07-2009, 05:05 AM   #7
Scorpioxxx
The Scotsman
 
Scorpioxxx's Avatar
 
Join Date: Apr 2006
Location: Aberdeen, Scotland
Posts: 2,618
Send a message via MSN to Scorpioxxx
Default

However you're better off trying to learn AS3 before falling back to AS2, just to finish Scarecrow's sentence.
__________________

^Deviantart^
Scorpioxxx is offline  
Old 11-07-2009, 05:31 AM   #8
Scarecrow
oh hello there
 
Scarecrow's Avatar
 
Join Date: Oct 2005
Location: two lines ago
Posts: 8,857
My Mood:
Send a message via AIM to Scarecrow Send a message via MSN to Scarecrow
Default

thaaaaaank youuuuuu
__________________
Click here to see some cartoons I made whilst on... whatever I was on
||
somebody.newgrounds.com
Quote:
Originally Posted by Gavel View Post
I'm rapping in front of the whole school tonight
Scarecrow is online now  
Old 11-07-2009, 10:51 AM   #9
Vendetta
You make me uncomfortable
 
Vendetta's Avatar
 
Join Date: Oct 2009
Location: California
Posts: 333
My Mood:
Default

Quote:
Originally Posted by Bonk View Post
Flash has a tendency to dis-select movieclips when you open the actions menu. Just click the intended object once with the actions window open and you'll be set.

+ Graphics can't have code, only symbols like movieclips and buttons.
doesn't work :(

And all this would work if I just used AS2?
yay I made my fist button animation!
http://www.truploader.com/view/420721
__________________

Last edited by Vendetta : 11-07-2009 at 11:36 AM.
Vendetta is online now  
Closed Thread


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 09:55 PM.



Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.