Solved

One Flash date entry form used by many swf file

Posted on 2004-08-18
4
140 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
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.

932 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

11 Experts available now in Live!

Get 1:1 Help Now