Jump to content

Actionscript


shadowayex
 Share

Recommended Posts

Ok, so, I'm trying to learn actionscript. Fun huh? Well, all i have so far is setting variables and the trace() function dealie. Well, I don't know what to do with this information to make it display. My video is empty, and I have four lines of Actionscript for the first frame.

var message = "Hi there Flash!";var firstName = "your name here";trace(message);trace("Hi there, " + firstName + ", nice to meet you.");

The tutorial said that if I clicked preview, the things in the trace() function would be written. I get nothing. Can anyone clarify what I'm doing wrong, or send me to a better tutorial please?

Link to comment
Share on other sites

Use Ctrl-Enter to preview the movie. Trace statements appear in the Output panel. If it's not open, you can open it through the Window menu. Trace statements only appear if you preview or debug the movie, the normal Flash player does not show trace statements.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...