Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3878572
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T22:37:40+00:00 2026-05-19T22:37:40+00:00

Having done some programming in Groovy, I know you can write test code in

  • 0
  1. Having done some programming in Groovy, I know you can write test code in the Groovy console. I classify this as true a scripting language as it doesn’t force you to have a class definition.

  2. So I’d assume with a name like ActionScript with ‘script’ in it’s name that, you can write a series of statements that act linearly, such as a sequence of variables assignments, their manipulation and dumping out a value.

    My question is if this is possible, how do you go about doing it, in order to test some code with ActionScript3?

  3. Does the code have to exist in a package?

  4. Can the code exist on it’s own? (If so, what would the name be you’d give to the source file in order to compile it from the command line?

    • Would you use mxmlc?

    • Would you use compc?

    • I’ve heard about fsch too. How about that?

    • I also read about a command called ‘asc’ in R.Braunstein’s AS3 Bible 2nd ed (P8), but don’t even see this in the SDK bin folders…. So what’s that all about?

    • Assuming I’ve managed to compile this name.as file, how do I execute it and see results? Do I have to run it through a browser and the HTML template, or can I execute from a command line?

  5. Do you have to have a class in the source to bypass this?

  6. Can the code block be placed outside a dummy class?

  7. If so, does it have to exist in a function?

  8. Or can it exist on it’s own?

  9. Does it have to exist in a code blocks, by wrapping them in curly braces?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T22:37:41+00:00Added an answer on May 19, 2026 at 10:37 pm
    • 2: Code in frames (in Flash IDE) is like that, statements without any wrapping. But if you want interactive console, there is hardly any. With eval removed in AS 3.0, this is not easy to do.
    • 3: Code may exist outside of the package, and not only in frames:

      package {
        public class Open
        {
             //can use Hidden class
        }
      }
      
      //invisible for outer files
      class Hidden {}
      
    • 4: Code is compiled into swf or swc, entire project at time. SWF can be opened in Flash Player, although Flex applications will not work this way (and AIR apps need adl to run).

    • 5: ?
    • 6: yes
    • 7: no
    • 8: yes 🙂
    • 9: out-of-package code may exist with no curly braces.

    Overall, ActionScript is not so true script language as you might like. It is dynamic, but compiled and not really meant for interpretation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Having read an existing post on stackoverflow and done some reading around on the
I am programming C on cygwin windows. After having done a bit of C
I'm trying to write some code to remove the first N characters in a
I'm having a site done in wordpress with some 10 pages. I'll need to
I recently upgraded one of my applications to Rails 2.2.2. Having done that, I've
Having not done ASP.NET since v1.1, and now blitzing through the Wrox Pro ASP.NET
I am having trouble with a subversion merge I've done before, and my local
Having a heckuva time with this one, though I feel I'm missing something obvious.
Having a problem getting a TreeView control to display node images. The code below
I'm just getting started on some programming to handle filenames with non-english names on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.