|
-
actionscript, so far I hate it!
Can anyone tell me why this isn't working? I'm learning actionscript and my first lesson isn't working. I made a movie clip with the instant name 'mcQuit'.
mcQuit.onPress = function():Void {
trace("Why isn't this working?")
};
In this case the lessons from Lynda.com are created from MX and I'm using 8, is there an actionscript conflict here?
I have a single frame movie with the movie clip instant one the one and only frame.
-
Works just fine for me here. Make sure you have your Publish Settings set to Actionscript 2 and you're doing Control>Test Movie to test the movie.
-
5+5=55
Last edited by Schfifty Five; 05-22-2007 at 06:26 PM.
-
Flashmatics
make sure the code is not attached to the movieclip itself... give your movieclip an instance name of mcQuit. The code should be in a frame on the same timeline as the movieclip (but not attached to the movieclip itself)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|