Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Need Help with Actionscript

New Here ,
Mar 26, 2014 Mar 26, 2014

Hey.  I used Flash CS5 and CS6 with great success.  But after coming back, I was forced to pick up Flash CC with the Creative Cloud.  I had CS6 through a subscription, but terminated it.  So... now my only option is, apparently, to work with CC.  Fine.

Only problem is the thing doesn't appear to do basic commands.  Here is the one action that appears to work:

stop();

My movie will run, will display images.  And stop appropriately.  However, when I tried this code:

trace("Hello World.");

The movie did not play, no images appeared, and there was no output in the output box.  I'm really frustrated.  I USED to think I was quite proficient with Flash and this has just been extremely frustrating.  I'm really wishing it had let me keep Flash CS6.

Anyways.  I know it's a bone-headed question, but there you go.  Oh!  And I'm typing this action into the Frame in the Timeline.

~JOE

TOPICS
ActionScript
445
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 26, 2014 Mar 26, 2014

Joe, change the trace() statements to Debug.log() >> Debug.log("Hello World.").

What other basic commands do not function? Just name one or two more please.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 26, 2014 Mar 26, 2014

1.  you can use cs6 with your cc subscription, http://helpx.adobe.com/creative-cloud/help/install-cc-and-cs6-apps.html

2.  trace works the same in cc as in previous versions of flash pro.  to debug, create a new fla, save in a new directory and test a simple trace.  if that fails, click file>publish settings>swf and make sure 'omit trace statements' is unticked.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 27, 2014 Mar 27, 2014

I realize my first post didn't have a lot to go on.  As I'm learning, Flash doesn't use actionscript so much?  It's moving towards HTML5... whatever that is.

InnerUFOmaker, I attempted to use functions like:
var counter:number = 0;

as well as a random number generator that I can't recall.

Kglad, I'm SO glad you said that.  I got CS6 promptly installed and I'm zipping right along now.  Thank you so much for pointing that out.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 27, 2014 Mar 27, 2014
LATEST

you're welcome.

and flash still uses actionscript.  it's also trying to expand  into html 5.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines