-
Hi,
I'm not very experienced in flash, but have a lot of fun with Flash MX for win XP. I've been making a slide show with a lot of 1024*728 jpegs and some animated text. Everything is pretty basic and just running along the timeline. It seemed to work pretty well, but now that I'm finished, the result is a really large file and my computer tends to hang up (the program that runs the swf is shut down by Windows) in the middle of my presentation. I've been considering trying to divide it into several swfs or something to ease the demands on my computer. A simple slideshow shouldn't be that much of a problem for a 1,5 GHz as I consider it. Why doesn't it work and what should I do?
I would appreciate quick help, as the deadline for my little project is closing in :-)
Kristian Hanstad
Jørpeland, Norway
-
how long it is? i mean frames?
-
well just load in the slides as you need them (jpg's or swf's)..
make a new array , fill the array
->then make a load function and put it in root
-> put on you're buttons to increase or decrease
Code:
slideArray= new Array();
slideArray[0] = "image1.jpg"
slideArray[1] = "image1.jpg"
slideArray[2] = "image1.jpg"
// function in _root
container = null;
num = 0;
function loadSlideNum(){
// if num is larger/ smaller as the array num!
if(num > slideArray.length) num = 0;
else if(num<0) num = slideArray.length;
if(container==null) createEmptyMovieClip ("container", 1)
container.loadMovie(slideArray[num])
}
on the button + & -
Code:
on (release) {
num = num+1
_root.loadSlideNum()
}
on (release) {
num = num-1
_root.loadSlideNum()
}
Okeey this would fairly do the job .. goodluck !!
-
Originally posted by aashu.com
how long it is? i mean frames?
About 5700 frames (20 fps), somewhat 60 jpegs, 84 Mb swf...
-
Thank you - I made it
Thanks for your help, nyls! I guess this script would do the trick, I've saved it for future reference... This time, however, interactivity was only barely included in the file (start/stop movie), so I just dropped it and exported it as a .mov file and got a nice and stable thing. Pretty unorthodox and not compatible with the intentions of the flash format, but good enough for me, though
Have a nice time,
Kristian
Jørpeland, Norway
-
84mb... thats scary... like was said before i would look into dynamically loading some of those jpgs (movies and sounds too).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|