Solved

Make SWF from more than one FLA

Posted on 2012-03-28
7
290 Views
Last Modified: 2012-08-13
We inherited a job with multiple fla file & one resultant swf. We had to change ONE of the fla.

How can be make an swf from multiple fla files?
0
Comment
Question by:Richard Korts
  • 4
  • 3
7 Comments
 
LVL 39

Expert Comment

by:blue-genie
ID: 37777487
that sounds odd and in my opinion - downright impossible.
if you were to export each fla file, you'd get multiple swf files, what they might be doing is having one "main" or base swf file which then loads other swf files.

I'm just guessing as it's hard to say without seeing the files in question.
0
 

Author Comment

by:Richard Korts
ID: 37777956
Attached are the 3 fla files (the one called contractor2.fla is modified).

There is ONE swf file; you can see in on the right at http://meyercosprinklers.com/

(it won't allow me to attach the other????).
marketing.fla
contractor2.swf
0
 
LVL 39

Expert Comment

by:blue-genie
ID: 37778004
can you try and rename the other fla i.e contractor2.txt and upload it? or was it giving you a xfl error ? if so try and save your file for CS4 and reupload it - it would make life much easier to be able to access everything.
0
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 39

Expert Comment

by:blue-genie
ID: 37778052
hey, the file that's in your website is called marketing.swf

which is what would be compiled from the marketing.fla file

this file in turn will load a other swf files
"banner"+_root.banSeqArr[count]+".swf

so you wil have a file called banner1.swf or something to that effect.
so in your file directory where marketing.swf resides, you should have other swf files as well.
0
 

Author Comment

by:Richard Korts
ID: 37778092
Yes, that's what is there.

So the question now is which banner related to which fla file?

They are called banner1, 2 & 3.

I guess it's trial & error?
0
 

Author Comment

by:Richard Korts
ID: 37778106
One more question, can I just rename the contractor2.swf to banner1.swf or do I have to recompile it?

Thanks
0
 
LVL 39

Accepted Solution

by:
blue-genie earned 500 total points
ID: 37778154
No, there's no trial or error about it. have a look at the file where the marketing.swf is embedded.

there's this line of code
   <PARAM NAME=movie VALUE="marketing.swf?bseq=2.3.1">

then inside the flash code in frame 1.


_root.banSeqArr=bseq.split(".");
so what is happening is this - when the flash file loads - it gets the 2.3.1 value, turns it into an array - so in this case it will load banner2.swf then banner3.swf and then banner1.swf an then loop.

if you're happy with contractor.swf you can just rename it.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

839 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