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

  • SEARCH
  • Home
  • 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 8887365
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T21:47:26+00:00 2026-06-14T21:47:26+00:00

How do i create a ac3 class which is similar to the c++ class?

  • 0

How do i create a ac3 class which is similar to the c++ class? I’m pretty new to ac3 so converting has been a bit hard for me. When i do this i get a nested problem and also can only be one visible external class error. Anything similar so i can add variables into product.milk, .cheese and .chocolate?

public class dairy
{
public int cheese;
public int milk;
public int chocolate
}product;
  • 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-06-14T21:47:27+00:00Added an answer on June 14, 2026 at 9:47 pm

    In actionscript 3 you need to have to wrap it into a package, which matches the directory structure. If no package name defined,the file should be located in the same folder as the .fla file. Note the name of the class should be exact the same (case sensitive) as the claas name defined in the file itself. In actionscript it is common to start classes with a capital.

    package{
      public class Dairy
      {
        public var cheese:int;
        public var milk:int;
        public var chocolate:int
      } 
    }
    

    Btw, the right term is actionscript 3, also AS3. There is no cs6 version of actionscript, thats only the version of the IDE.

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

Sidebar

Related Questions

Create a new appdomain, setup the assemblyResolve handler and you always get an exception
Create an instance within Abstract Class using Reflection I opened similar question before. But
CREATE OR REPLACE FUNCTION layer2layerAttribute RETURN VARCHAR2 AS /** * This function properly joins
create table ImagenesUsuario { idImagen int primary key not null IDENTITY } This doesn't
CREATE QUERY ohQuery. ohQuery:SET-BUFFERS(hBuffer). OhQuery:QUERY-PREPARE(FOR EACH + ip-tablename ). ohQuery:QUERY-OPEN(). ohQuery:GET-FIRST(). ip-tablename = value
Create a new solution with a C++ console command-line project Create a new project,
I have this error when I try add ace in class: Warning: PDO::quote() expects
SOLUTION Well, that's what I get when I use a bit oldish Symfony2 release
Create a new ASP.NET MVC Web Application Create an ASP.NET App_Code Folder Inside the
CREATE TABLE `tbl_atn` ( `atn_id` int(15) NOT NULL AUTO_INCREMENT, `eng_id` int(15) DEFAULT NULL, `visit`

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.