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 8929299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T08:38:40+00:00 2026-06-15T08:38:40+00:00

So I got a very basic class package { import flash.display.MovieClip; public class XmlLang

  • 0

So I got a very basic class

package  {

    import flash.display.MovieClip;

    public class XmlLang extends MovieClip {

        public function XmlLang(num:int) {
            trace(num);
        }
    }
}

and an object at frame one:

var teste:XmlLang = new XmlLang(1);

I’m getting this error:

ArgumentError: Error #1063: Argument count mismatch on XmlLang(). Expected 1, got 0

What am I doing wrong?
Thank you very much for you help.

  • 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-15T08:38:42+00:00Added an answer on June 15, 2026 at 8:38 am

    Something is up with your setup. I took your code and implemented it and it worked.

    Here’s what I did. I created a new test.fla file in AS3 and put the following code on frame 1 – no object on the stage, just code in frame 1.

    import XmlLang;
    
    var teste:XmlLang = new XmlLang(1);
    stop();
    

    Created a XmlLang.as file, copying your code exactly and saved it in the same folder as the test.fla. Compiled and got a trace of 1

    So I’m not exactly sure what’s going on. What version of Flash are you running?

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

Sidebar

Related Questions

I've got some basic Java experience and very basic Android app development experience (currently
Very basic question - but I couldn't find an answer. I have got a
I've got a very simple map : std::map<int, double> distances; distances[20.5] = 1; distances[19]
I got the following very basic template: <html> <head> </head> <body> <div> <!-- Using
I've got this to work using a very basic example(outlined below) and I want
I have very strong basic in Java, and when comes to PHP I got
I've got a pretty basic static method on an ActiveRecord model: #./app/models/comic.rb class Comic
I've got a very basic object object model that is being serialized by the
I got very basic question. Why this is not working?! <?xml version=1.0 encoding=utf-8?> <s:Application
I'm trying to do a very basic setup of LinkedIn - accessing public profile

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.