?
Solved

Make SWF from more than one FLA

Posted on 2012-03-28
7
Medium Priority
?
293 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
[X]
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
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
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,…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
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.
Suggested Courses

752 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