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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T11:33:31+00:00 2026-05-29T11:33:31+00:00

I am trying to create a dynamic class from a symbol in an embedded

  • 0

I am trying to create a dynamic class from a symbol in an embedded swf, basically I need to be able to add arbitrarily named properties for some exciting math, but it appears the only way is to create a dynamic class.

[Bindable]
[Embed(source='ExternalAssets/Assets.swf', symbol="assetName")]
private var AssetNameObject:Class;

var obj:Object = new AssetNameObject();
obj.someDifferentProperty = someValue;

This is throwing an error of “cannot add property ‘someDifferentProperty’ to object”

Is this even possible?

  • 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-29T11:33:32+00:00Added an answer on May 29, 2026 at 11:33 am

    What you are trying to achieve is not possible. You have already found the only way of doing it which is to add a movieclip as its parent and attaching the dynamic properties to the movieclip.

    If you could explain in more detail what exactly you are trying to achieve.. maybe someone can suggest an alternate way of doing it without the dynamism.

    The best perhaps you can do is to check whether the object is dynamic which can be achieved as given by this post here.

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

Sidebar

Related Questions

I'm trying to dynamically create a bunch of class properties, but each dynamic fget
I'm trying to create a dynamic popup window that is able to be re-sized.
I am trying to create some dynamic html out of some data from db.
I'm trying to dynamically add class properties into an PDO prepared statement. To achieve
I am trying to create a dynamic pagination system for my website and I've
I'm trying to create a dynamic datagrid in Flex. The data is coming back
I am trying to create a dynamic hyperlink that depends on a value passed
I'm trying to create a dynamic grid using ExtJS. The grid is built and
I am trying create a delegate representation of constructor by emitting a Dynamic Method,
What I am trying to accomplish: Create a dynamic bubble that expands on height

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.