473,507 Members | 8,335 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to split a large swf into smaller swfs

6 New Member
It has been years since I used flash, so I consider myself a rank amature. I'm Using Flash 8 and would like the code to be backward-compatible to ver. 6.

I have a big movie, with lots of images. I've comprimised the image quality as much as I dare, but it still takes 20-30 seconds to load (my client is in Paris, and claims to have the fastest connection in Paris, but it takes more than a minute to load it from there, even when loaded on his local server). I'm assuming that the only way to achieve a meaningful decrease in load time will be to split it up into smaller swf's, one mail swf, and each sub-page in it's own swf, and have each swf loaded only when needed. The fla can be downloaded here:

cjreynolds.com/fuda30.zip

The movie currently runs an intro animation, then when a link is clicked, it loads different "pages" which consist of large movie clips. These are contained in a MC called "pages", and are called by manipulating a root variable called "level" - ie: "level = 1" causes the MC at frame 1 of the "pages" MC to be displayed. (this was an existing movie that I have been tasked with modifying).

#1 - Is it correct that splitting the individual pages into different swfs the only way to lessen load time? I would welcome any other suggestions.

#2 - If spitting the movie up is the way to go, I'm thinking I need to replace the movie clips in the "pages" MC with swfs. How do I tell each individual page to go back to the main (intro) swf and load a different page? The main timeline contains animations that "overlay" the sub-pages, creating a transision effect when going from one page to the next.

Thanks for your help - you guys (and gals) have been a great source of aid for me!

joe
Aug 20 '07 #1
1 2959
crabpot8
40 New Member
if you have audio in your flash, recoding it can save a huge amount of data. other than that, cleverly loading only what is needed is the best way to reduce load time. as for redirecting, assign a variable to the main timeline and use that to play specific actionscript from within other swf's
Aug 22 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
2807
by: akickdoe22 | last post by:
Please help me finish this program. i have completed the addition and the subtraction parts, but i am stuck on the multiplication and division. any suggestions, hints, code, anyhting. it's not a...
2
5988
by: damian | last post by:
I want to split a large csv file into smaller files. How can i go about this?.. thank you !
2
3131
by: jeremy.figgins | last post by:
Hi, I have a class that is fairly large and I would like to split the file into two files, but still use only one class. What is the best way to accomplish this? Thanks!
1
2590
by: Chris Ashley | last post by:
I am working with some very large bitmap files (1700 * 60000) and need to split them into vertical strips. This is because GDI+ seems to load the entire file into memory and crashes with an out of...
2
3593
by: Curious Joe | last post by:
I have some files that are anywhere from 3GB to 9GB and I need to split them down to a series of smaller files similar to what the "split" command in linux can do. Unfortunately, I do not have...
1
3066
by: JayDog | last post by:
I have a large data file that I split into smaller more manageable chunks (went from a 12.86 GB file to 500 MB - 1.6 GB chunks). I now want to add to the PERL script and go back through those more...
2
2824
bugboy
by: bugboy | last post by:
Does the total number of rows in a table determine the amount of resources required for a query?.. or is it primarily determined by the number of rows used by the query? ..Does an INDEX mean it...
13
29495
by: sevenz24 | last post by:
So i have my images set up like this : http://cgi.ebay.com/Tippmann-98-paintBall-Marker-Gun-Paint-Ball_W0QQitemZ250274334261QQihZ015QQcategoryZ47248QQssPageNameZWDVWQQrdZ1QQcmdZViewItem Scroll...
2
2617
by: chromis | last post by:
Hi there, I'm creating an offline flash piece to go on a cd for a presentation. I have a number of large flvs around the 60mb mark, I am able to display these in my flash movie using the...
0
7221
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7109
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7313
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
5039
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1537
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
411
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.