Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 149
  • Last Modified:

One Flash date entry form used by many swf file

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
showbix
Asked:
showbix
  • 3
1 Solution
 
fixitbenCommented:
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
 
fixitbenCommented:
Did this help any?  Or do you  need more assisantance.

Fixitben
0
 
showbixAuthor Commented:
Hi Fixitben.
What i'm looking for is library kind of thing, shared library to be exact.

Any samples/ideas/comments?

0
 
fixitbenCommented:
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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now