Jump to content

Actionscript


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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...