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
Solved

One Flash date entry form used by many swf file

Posted on 2004-08-18
4
142 Views
Last Modified: 2010-04-03
How do I create one Flash data entry form that can be used and called  by many swf file.

For your information, I have 50 swf files which uses the same data entry form and putting it in all the 50 swf is tidious and not practical. Please guide me to the solution and if possible appropriate samples.

Thanks in advance.
0
Comment
Question by:showbix
  • 3
4 Comments
 
LVL 7

Accepted Solution

by:
fixitben earned 50 total points
ID: 11832247
Create a empty movie clip  give it a instance name of empytMC or what ever

then add this where ever you want it to load  

loadMovie("form.swf",_root.emptyMC);

Replace the emptyMC with whatever you had the instance name of the MC to be

And replace hte form.swf with what ever swf you want to load.

fixitben
0
 
LVL 7

Expert Comment

by:fixitben
ID: 11990685
Did this help any?  Or do you  need more assisantance.

Fixitben
0
 

Author Comment

by:showbix
ID: 12067805
Hi Fixitben.
What i'm looking for is library kind of thing, shared library to be exact.

Any samples/ideas/comments?

0
 
LVL 7

Expert Comment

by:fixitben
ID: 12208409
Sorry I didn't post before I must have missed your reply.

By Library are you talking about a component.  In that case no there is no component that you can drag and drop in.  Components are there to make something that would have taken a day to make easy to add.  But What it seems you are trying to do would only take about 30 sec to add with the script I provided.  So to answer your question no there is no component.

And if you are ask if you can create a main swf that will load all the different swfs when you click a button.  That kind of library then Yes you can do that using the code I provided above.

Fixitben
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

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…
I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to how to record live broadcast.

808 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