This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > December 2003 > pictures out of a movie





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author pictures out of a movie
Apitt webforumsuser@macromedia.com

2003-12-22, 1:28 pm

does anyone nows how to create a movie were there are lots of pictures, and load them only when its requieried, i mean that i want to create an album and i want the interface to be as small as possible, so to do that i don't want the pictures in the libre
ry, i want to load tehn from another place, another url. thanx
@ndrew


pazzoboy webforumsuser@macromedia.com

2003-12-22, 3:29 pm

Yeah, you just have your buttons up there and attach this actionscript to them:

on(release){
loadMovie("picture1.jpg","picholder");
}

"picholder" is a shape that you draw with the rectangle tool and delete the fill...and then convert it to a symbol (movieclip). Then you go to property inspector and give it instance name picholder. make sure it is at least as big as your biggest pictur
e.

You would need a button for each picture...("picture2.jpg","picholder"); etc. This could be very cumbersome to work with. There's another way to do it using an array, so you'd only have to have one button that, when clicked, goes through each picture.
Tricky for a beginner, but much easier to work with. Your call. Look up arrays in the actionscript forum for more info.


jemac2003 webforumsuser@macromedia.com

2003-12-22, 7:28 pm

hey apitt, i wanted to do the same thing. i thought the only way to keep my flash site small eneough to view online was to load each pic seperate (one at a time).

i found out that making each section of your website a seperate .swf and make the buttons with loadmovie action was the best way to go, for the reason that you can allow a preloader for each .swf movie and each .swf was not really that big to load when i
broke them up into sections. basically, check my website http://home.fuse.net/jmdesign and let me know if it took too long for you to load.

it seems that if you want to load each picture seperately, and you want preloaders for each image, you will have to make each pic a .swf with a preloader scene in it. if you don't want a preloader for each pic, then i suggest each image to be no larger th
an 100k. and, if your pictures are under 100k a piece, then you would be able to break up the website into individual sections and just load each section as it's own .swf.

it might not be the best way for a professional flash maker, but for someone like myself (a non-actionscript junky) it is the best way to go without having to learn too much actionscript.

hope i helped ;-) jemac



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews