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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:29:12+00:00 2026-05-13T06:29:12+00:00

If I were to add a form (two inputs and a button) to a

  • 0

If I were to add a form (two inputs and a button) to a Flash project via an external class, could another team member change the visual characteristics of that form (skin, size, placement… etc.) in the .fla project file?

As it stands, I’m assuming that my AS3 user controls are added at compile time and thus are not accessible from the Flash IDE. But is there a way I can control a button’s visual characteristics through the IDE and all of it’s functionality through an external AS3 class?

Thank you!

  • 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-13T06:29:12+00:00Added an answer on May 13, 2026 at 6:29 am

    This is definitely possible. Just as you can define a document class for your FLA, you can do a similar process for a MovieClip.

    Take your MovieClip in the library (presumably this contains your UI), right click and choose Properties and expand out that window. Fill it in something like this:

    alt text http://img163.imageshack.us/img163/9787/symbolproperties.png

    From there, you can define your base class in an ActionScript file, and gain access to the instance variable objects you defined within your MovieClip by defining them at the top of your base class.

    MyCustomMC.as located in your class_root/net/dostrosity/MyCustomMC.as
    Flash might complain about you assigning your MovieClip to this class if
    it does not already exist. It will comment about creating a default class
    for you in that event. Hitting the checkbox is a way of confirming that Flash
    found your file, and hitting the pencil will open that file for editing.

    package net.dotstrosity.MyCustomMC {
    
    import flash.display.MovieClip;
    
        public class MyCustomMC extends MovieClip {
    
            private var okBtn:MovieClip;
            private var cancelBtn:MovieClip;
            private var nameField:TextInput;
    
            public function MyCustomMC() {
                //constructor that can add mouse events
                //to okBtn and cancelBtn that were placed
                //inside your MovieClip on the stage and
                //given the instance names "okBtn" and "cancelBtn".
    
                okBtn.addEventListener(MouseEvent.CLICK, pressedOk);
            }
    
            private function pressedOk(e:MouseEvent):void {
                //do something else...maybe...
                nameField.txt.enabled = false; //pseudo crap code
            }
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When I add a new form to an ASP.NET project (WebForms), and then View
I am trying to create two form elements when the user clicks a button,
I have the normal PayPal donation button. I want to add two multiple choice
I have two functions to add and remove table rows that contain a form
i have two submit buttons on my mvc application. 1. <input type=submit class=btnsubmit value=Add
I am trying to set a custom title for a node add form in
What are some good tutorials on how to add form fields with jquery?
My view for the new form is <h1>Add Form 3C </h1> <%= form_for([@basiccase, @form3c])
i'm trying to use jQuery multiselect plugin in a form editing jqGrid (add form).
How do you add Search form to your Views in Drupal? Do I have

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.