Jump to content

Actionscript


shadowayex

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...