Creation of Dynamic Class Empty MovieClip in actionscript 2 flash 8

Posted on 2008-06-20
Last Modified: 2013-11-11
I would like to know how use the class in AS to create Movie Clip or TextField.

I manage to creeate a class with the biblio repertory, my purpose is to create a library in class of ActionScript.

here is a zip file with the exemples:

the Biblio repertory is ok but for the two others i dont understand.

Thx for ur answer
Question by:davidgfi
  • 3
  • 3
LVL 12

Expert Comment

ID: 21853023
Could you elabourate abit, I don't quite understand.. And the file cannot be opened if renamed to zip..?

Author Comment

ID: 21853938

The problem is that I have try to send a .fla zip but it refused.
Maybe you could give to me an email address in order that I send you the flash project?

Thanks a lot
Best DAvid
LVL 12

Accepted Solution

SamuelRostol earned 500 total points
ID: 21854243
Hi there,

Rename the filename.fla to filename.fla.txt, zip it, and upload the zip, and you should be good :)

| Samuel
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.


Author Comment

ID: 21866061
OK thank you very much.
I will do it ASAP. But take your time to answer I don't want to trouble you.
I am PhD Eng non linear optics and I work since 01 years in consultant web
I have still problem to understand the instantiation of empty movie clip.
I will send you the programm fla.txt and a word document explaining my purpose.

Best David
LVL 12

Assisted Solution

SamuelRostol earned 500 total points
ID: 21872671
Hi there,

To quickly answer that question, a empty movie clip can be created using this syntax:
var newClip = this.createEmptyMovieClip("the_clip", this.getNextHighestDepth());

Now, you can access the movieclip with the identifyer "newClip".

| Samuel

Author Comment

ID: 21897915
I'll try on my laptop tomoroww because tonight I am busy
Thanks Samuel


Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
Learn how to download your full Prezi presentation for offline presenting. Prezi doesn’t have to be viewed and shared in a web browser, even with a free account you can download your full presentation to share with others. Be sure to download any vi…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now