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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:21:14+00:00 2026-05-26T00:21:14+00:00

I am creating a flash game for iPhone using Flash CS5, Everything runs smoothly

  • 0

I am creating a flash game for iPhone using Flash CS5, Everything runs smoothly when creating swf via Ctrl+Enter. But when i am attaching .p12 and provisioning profile files and publish the FLA for generating .ipa there is an error thrown by the compiler that is:

“Incorrect number of arguments, Expected no more than 0”

private static function closestVertexOnOBB(p:Vector, r:RectangleParticle):Vector   
{
        var d:Vector = p.minus(r.samp);         
        var q:Vector= new Vector(r.samp.x, r.samp.y);

        for (var i:int = 0; i < 2; i++) 
        {
            var dist:Number = d.dot(r.axes[i]);

            if (dist >= 0) dist = r.extents[i];
            else if (dist < 0) dist = -r.extents[i];

            q.plusEquals(r.axes[i].mult(dist));
        }
        return q;
}

can anyone help please??

  • 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-26T00:21:15+00:00Added an answer on May 26, 2026 at 12:21 am

    The Vector class is actually a native flash class since Flash Player 10 (API docs) and is therefore a class-name so should avoid for our custom classes. we should have different class name rather than the inbuilt flash keywords and class names.:)

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

Sidebar

Related Questions

I am creating a little flash game for the facebook platform, but I am
I'm creating a game in Flash CS4 and using Actionscript 3.0. I'm adding all
I am developing a game for the Android platform using flash cs5 and AS3.
I was wondering if anyone knows of any libraries for programatically creating flash swf
I'm currently creating a Flash CMS via Flex and the Zend Framework. In the
I'm creating a flex-based video player, using the FLVPlayback component (imported from Flash Pro
I'm creating a flash rhythm game. I have a looping (at a certain frame
In short I'm creating a Flash based multiplayer game and I'm now starting to
I'm creating a space game in actionscript/flex 3 (flash). The world is infinitely big,
I am creating a game web site using PHP and I want to just

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.