Solved

Make SWF from more than one FLA

Posted on 2012-03-28
7
288 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 39

Expert Comment

by:blue-genie
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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): …
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…

728 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

9 Experts available now in Live!

Get 1:1 Help Now