Topic: Using AS to create a photo album (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=11248" title="Pages that link to Topic: Using AS to create a photo album (Page 1 of 1)" rel="nofollow" >Topic: Using AS to create a photo album <span class="small">(Page 1 of 1)</span>\

 
kretsminky
Maniac (V) Inmate

From: A little lower... lower... ahhhhhh, thats the spot
Insane since: Jun 2000

posted posted 11-14-2001 21:22

OK you Flash smarties, I am working on a photo album for my sister's wedding that she wants to distribute via CD in her thank you cards.

Here is the idea so far. I'm not really looking for reviews on the movie itself because my sister loves it and thats all that is important to me. What I am looking for is ideas.

Currently the pictures are individual tweens that I've created myself. What I would like to do is create this with AS so that I don't have to do each tween myself. What I was thinking is that I could set up one MC with AS controlling the fade-in/fade-out and then create another MC with each frame being a different pic. I've seen this one by levitated and was just looking for some input on ways to acheive it.

So whatcha think?

Dark
Neurotic (0) Inmate
Newly admitted Neurotic (0) Inmate
Newly admitted
posted posted 11-15-2001 00:17

I think that you are tween madman
Good work so far.......

:: Jon ::

Weadah
Maniac (V) Mad Scientist

From: TipToToe
Insane since: Aug 2000

posted posted 11-15-2001 10:35

No problems, dynamically set a variable for movie (image) instance names, and one for return in a control clip,

var newName = 'Next_MC_in_Series';
// This is the instance name of the MC to appear.
// Change it dynamically by cycling thru an array or a bunch of buttons... whatever.

execute(oldName, Get_It_Off_The_Screen_Code);
// P.O. the M.C. on screen now using whatever A.S. you like =)
// Either in this clip, the image MC itself or anywhere actually.

execute (newName, whizz bangaree);
// Get the new one on screen and in place, again using AS in this clip or elsewhere.

var oldName = newName;
// Swap the names over so the next time the script is run newName (the one there now) is oldName (the one you wanna piss off)

And Bob's your aunties live in lover.

Ed - Hey you could do it like this too. This is a buncha images on a time line - the button just play()'s a 3 frame tween with a stop() command every 4 frames. Very simple, might suit your needs. Here's the .fla anyways.

For your project I'd go with a bunch of 'image' clips tho. Even Recycle them, just change image. Still more control.
You could also save your clips as .swf's, load 'em dynamically into your bed gallery. Not much point for CD, handy for the web tho.

Jolly good. Carry awn.

Weadz


[This message has been edited by Weadah (edited 11-15-2001).]

Steve
Maniac (V) Inmate

From: Boston, MA, USA
Insane since: Apr 2000

posted posted 11-16-2001 03:15

Can you give me a day or so? I'm cooking up a scheme that involves a function that uses attachMovie. Sets the clip's _alpha to 0 and then if(clip._alpha<100){clip._alpha+=10}

If each clip gets attached at the same level, they will bump the one that had been there previously. Next and Prev buttons will increment a variable on release - that variable will correspond to the clip name: ie. engage1, engage2 etc. Buttons might even be smart - prev._visible=false if counter variable<1, next button._visible=false if counter variable>whatever the last image number is.

So, I sorta have it swimming inside the head, but haven't found the time to hack it out. Might not even work. But might!

Hey - are all the images the same size and orientation? Mixed verticals and horizontals? Mixed sizes? Don't know if it matters, just wondering....

[This message has been edited by Steve (edited 11-16-2001).]

Steve
Maniac (V) Inmate

From: Boston, MA, USA
Insane since: Apr 2000

posted posted 11-16-2001 05:13

Have a look at this very rough example, and see if it contains the seed of something useful.

kretsminky
Maniac (V) Inmate

From: A little lower... lower... ahhhhhh, thats the spot
Insane since: Jun 2000

posted posted 11-16-2001 06:09

Yeah Steve, that is exactly that I was thinkin and had kinda started workin on.

Poifect!

Thanks man

Steve
Maniac (V) Inmate

From: Boston, MA, USA
Insane since: Apr 2000

posted posted 11-16-2001 14:58

Krets - one other thought before you get too deep into this. My example had the images apperaing right on the main timeline. To facilitate your project, I'd make each of the 3 major sections a self contained MC (function can still live on the main time line so you can address it conveniently with a call to _root). That way, when you have all the images collected, clicking any of the three major category buttons loads the MC with those images: ie. "engagement" would be self contained in a MC, as would "wedding" etc.

Make sense? That way it'll be lots easier to maintian.

Fig
Paranoid (IV) Mad Scientist

From: Houston, TX, USA
Insane since: Apr 2000

posted posted 11-16-2001 18:03

Good stuff guys, for those of us who don't know AS that well this is amazingly useful. Y'all rock

Chris


KAIROSinteractive

kretsminky
Maniac (V) Inmate

From: A little lower... lower... ahhhhhh, thats the spot
Insane since: Jun 2000

posted posted 11-16-2001 19:26

Yeah, I was thinkin that already Steve because I'm going to have more than just those three categories.

Mebbe even just have the buttons attach the movie clip and then play it.

Steve
Maniac (V) Inmate

From: Boston, MA, USA
Insane since: Apr 2000

posted posted 11-16-2001 20:33

More categories??
"The Wedding Night..."

"the Firstborn..."



BTW - congrats to sis from us all!

[This message has been edited by Steve (edited 11-17-2001).]

docilebob
Maniac (V) Mad Scientist

From: buttcrack of the midwest
Insane since: Oct 2000

posted posted 11-17-2001 07:08

"Weekend at Krets aunties` house..."

( you weren`t suppoed to tell, weadz. )

Weadah
Maniac (V) Mad Scientist

From: TipToToe
Insane since: Aug 2000

posted posted 11-17-2001 10:54

Ok so it took all morning to get that. Now I cant stop larfin hahahaa

Steve
Maniac (V) Inmate

From: Boston, MA, USA
Insane since: Apr 2000

posted posted 11-17-2001 14:40

ooooooh Bob -

docilebob
Maniac (V) Mad Scientist

From: buttcrack of the midwest
Insane since: Oct 2000

posted posted 11-18-2001 02:48

Hey, a guy`s gotta have a hobby...



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu