Solved

Make SWF from more than one FLA

Posted on 2012-03-28
7
289 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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

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,…
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…
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 how to how to load their YouTube profile onto Flash Media Live Encoder.

785 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