Solved

Creation of Dynamic Class Empty MovieClip in actionscript 2 flash 8

Posted on 2008-06-20
7
265 Views
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
PROBLEMS.txt
0
Comment
Question by:davidgfi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 12

Expert Comment

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

Author Comment

by:davidgfi
ID: 21853938
OK

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
0
 
LVL 12

Accepted Solution

by:
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
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:davidgfi
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
0
 
LVL 12

Assisted Solution

by:SamuelRostol
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
0
 

Author Comment

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

David
0

Featured Post

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
Learn how to set up basic frames and paths in Prezi and understand the open space that Prezi allows you to create presentations in.

627 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