473,660 Members | 2,475 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 2972
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
2820
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 true large int calculator, the numbers entered are at max 100 intergers. CODE SO FAR: #include<iostream> //libraries limited to #include<string> using namespace std;
2
5997
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
3140
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
2610
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 memory error. How can I read a BMP file directly at byte level and split it into smaller files? For example, into 1700 * 1000 strips.
2
3608
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 access to a linux machine right now. I have been told that a program could be written in C/C++ that would do this very quickly. Can anyone point me to a tutorial or how-to that will teach me to write a quick program do accomplish this? for...
1
3090
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 manageable chunks and pull out any invoices within those smaller data files that are larger than 250 MB each and print them to their own files as well. How do I go about doing that? Here is what I am currently working with... ...
2
2846
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 doesn't have to read every row to find data? Context: I have a large dataset and am wondering if i should split it up into several smaller tables to reduce the resources required to search it... i would then have to predetermine which table to do the...
13
29650
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 down to the bottom and you see several images, One large one and then several smaller ones, when you click on the smaller ones it places a larger version of that picture in place of where the other larger picture was, well i use this method on my...
2
2627
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 flvplayback component. What I am trying to do is provide a menu of buttons, which will allow a user to play a set portion of the movie. Previously I have embedded the flvs in swfs, loaded them using loadclip and used the onEnterFrame event to count the...
0
8428
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8341
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8539
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8630
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6181
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5650
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4342
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1982
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1739
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.