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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T21:53:26+00:00 2026-05-19T21:53:26+00:00

i’m trying to use compiled assets and code from a swc. Inside a new

  • 0

i’m trying to use compiled assets and code from a swc.
Inside a new fla I select the swc to be included when exporting.
When create the instance in the timeline of the code works and I can see assets that are inside the swc and trace a propertie from the same object.
The problem is only when doing the same inside a movieclip, can’t reach the assets (movieclip) but I can still trace properties from the class.

I’ve uploaded the working files:
master.fla is the one that creates the swc.
template.fla is where I test the swc.

files (This are cs4 .fla + .swc + .as)

EDIT:
How to reproduce the problem I had:

.1 create a new master.fla and make it compile a swc.

.2 In master.fla timeline create a Textfield, give it the instance name of “tfield” and make a MovieClip from it.

.3 Create a TextBox.as class and define a public variable “tfield” (this will pickup the TextField asset you have inside your movie).

.4 In library link the newly created MovieClip to the TextBox class.

.5 Export and you should be seeing a instance of the TextBox class.

using the swc:

.1 Create a new fla and make it use the master.swc as source

.2 open first frame in timeline and write the following code:

var tf : TextBox = new TextBox();
addChild(tf)

This should work as expected, creating a instance of the TextBox and you should see the TextField inside.

.3 comment the previous code and write the same code but this time inside a MovieClip and drop it to the timeline. Although the code works the “tfield” is not accessible. Nor you can see it.

SOLUTION: As pointed out by Daniel just give a linkage id to the MovieClip that contains the code (DON’T give the TextBox class id, just make it create a new class like “lalala”).

Thank you Daniel!

  • 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-19T21:53:27+00:00Added an answer on May 19, 2026 at 9:53 pm

    add a linkage id to tf in template

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

Sidebar

Related Questions

Basically, what I'm trying to create is a page of div tags, each has
I am trying to understand how to use SyndicationItem to display feed which is
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
Does anyone know how can I replace this 2 symbol below from the string
I am trying to loop through a bunch of documents I have to put
I have a bunch of posts stored in text files formatted in yaml/textile (from
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString

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.