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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T11:51:51+00:00 2026-05-15T11:51:51+00:00

Any sample code to do so ? I can only see example for passing

  • 0

Any sample code to do so ? I can only see example for passing simple variable.

Let’s say I have a movieClip M1 and a movieClip M2 loaded by M1. Then M2 will create an instance of a class c that will be passed to MovieClip M1 by calling a predefined method.

I’m totally new to actionscript so I’d need to know the exact syntax and event to do so.

  • 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-15T11:51:52+00:00Added an answer on May 15, 2026 at 11:51 am

    You can pass them the same way you pass simple variables.

    function myFunction(a:CustomClass):void
    {
      trace("received " + a.toString());
    }
    
    var c:CustomClass = new CustomClass("blah", 42);
    myFunciton(c);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can any one give me a sample code that gets the selected value from
I have two pages - a simple HTML code example page from a jQuery
I have a simple animation (only for Safari in this example): h1 { -webkit-animation:
Is there an Android equivalent of didUpdateHeading (from iOS) ? Any sample code to
In Java how do I get a JList with alternating colors? Any sample code?
Is there any utility (or sample source code) that truncates HTML (for preview) in
I'm curious if anyone knows of any downloadable Objective C sample code for the
This is my code inside smarty tpl file(or for any simple HTML): <img src=../images/blah.jpg
Someone have any sample of Comet app .net? I need one sample how to
I have downloaded TableView sample code '4_TableViewCellSubviews' from internet. I am trying to run

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.