Go Back   BioRUST Forums > Graphics Software & Support > Flash & Dynamic Media

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 06-25-2004   #1 (permalink)
Art Extortionist
 
LimitLess's Avatar
 
Join Date: Oct 2003
Posts: 78

blending two external images into each other

i call upon the staff of biorust to help me once again with flash. i made a banner in photoshop and decided that i wanted to animate in flash so i saved it as a jpeg and imported into flash. The banner which was created in photoshop is based upon blending modes so there are 3 images of the banner on top of each other for the whole banner. What i basically want to do is take those 3 images which have all been imported and blend them together in flash in a fading in/ fading out type of way. And after that, i want to animate the other elements in the banner to spice it up because it is so plain otherwise. I've tried Motion Tweening the two images by having each image on a keyframe but that didnt work. Please, this is a plead for help.

A newbie explanation should do be fine. Thank You.
LimitLess is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-25-2004   #2 (permalink)
Lazarus' Child
 
malboroman's Avatar
 
Join Date: Nov 2003
Location: The Netherlands
Posts: 603

Send a message via MSN to malboroman Send a message via Skype™ to malboroman
Why don't you try to fade in/out in Image Ready first? It's much easier in there. From there you export a flash swf. (file>export>flash swf)

!!!NOTE!!!
This only works with the version of IR that came with PhotoShop CS.
!!!NOTE!!!
__________________


"Only the dead have seen the end of war."

- Plato
malboroman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-25-2004   #3 (permalink)
Red Dawn
 
BlodoPKNZ's Avatar
 
Join Date: May 2004
Location: Eastern Europe
Posts: 302

Hmm cant this be done with alpha and actionscript?

In the mc you want to fade out write in the actions:
Code:
onClipEvent (enterFrame) {
//this number is the speed of fading
	this._alpha -= 8;
//this checks if the image has faded out so it can move to a static frame
//you can usually just change gotoandstop with this._alpha == 0 to stop the loop
//or if youre feeling lucky do it with variables
	if (this._alpha <= 0) {
		gotoAndStop(3);
	}
}
Make a second frame and in the frame actions write
Code:
GotoAndPlay(1)
Be sure to make the picture you want to be seen after this one has faded on a separate layer lower than the layer with the fading picture
__________________

Last edited by BlodoPKNZ; 06-25-2004 at 06:52 AM.
BlodoPKNZ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-25-2004   #4 (permalink)
Art Extortionist
 
LimitLess's Avatar
 
Join Date: Oct 2003
Posts: 78

i have the two banners on two indivdual layers and i change the alpha of one of them and the other one changes along with it. I doesn't act as its own and remain constant. And also vice versa. I dont understand what to do. please help me.

please be a little more eleborate

Last edited by LimitLess; 06-25-2004 at 12:08 PM.
LimitLess is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-25-2004   #5 (permalink)
Lazarus' Child
 
malboroman's Avatar
 
Join Date: Nov 2003
Location: The Netherlands
Posts: 603

Send a message via MSN to malboroman Send a message via Skype™ to malboroman
It seems that both layers are in the same movieclip... try putting them into different mc's and change the alpha again...
__________________


"Only the dead have seen the end of war."

- Plato
malboroman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-25-2004   #6 (permalink)
Art Extortionist
 
LimitLess's Avatar
 
Join Date: Oct 2003
Posts: 78

wat do i exactly do. i mean i differeicienate the layers and movieclpcan u please tell me the exact steps in chronological order?
LimitLess is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-26-2004   #7 (permalink)
Lazarus' Child
 
malboroman's Avatar
 
Join Date: Nov 2003
Location: The Netherlands
Posts: 603

Send a message via MSN to malboroman Send a message via Skype™ to malboroman
could you perhaps post the psd... we can help you a lot better when we have something we can look at
__________________


"Only the dead have seen the end of war."

- Plato
malboroman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-26-2004   #8 (permalink)
Red Dawn
 
BlodoPKNZ's Avatar
 
Join Date: May 2004
Location: Eastern Europe
Posts: 302

Here i did this for you. Just examine the code.
Attached Files
File Type: zip fading.zip (2.3 KB, 213 views)
__________________
BlodoPKNZ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-26-2004   #9 (permalink)
Art Extortionist
 
LimitLess's Avatar
 
Join Date: Oct 2003
Posts: 78

u just changed the alpha with actionscript. i understand that. now how do i fade in/out into a completly different image from the image i started out with? i want the first image to fade into the second image and the second fade into the third.
LimitLess is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-27-2004   #10 (permalink)
Red Dawn
 
BlodoPKNZ's Avatar
 
Join Date: May 2004
Location: Eastern Europe
Posts: 302

Repeat the process on the second image. Obvious...
__________________
BlodoPKNZ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-27-2004   #11 (permalink)
Art Extortionist
 
LimitLess's Avatar
 
Join Date: Oct 2003
Posts: 78

iam sorry to bother u but would u care to make me another example?
LimitLess is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-27-2004   #12 (permalink)
Red Dawn
 
BlodoPKNZ's Avatar
 
Join Date: May 2004
Location: Eastern Europe
Posts: 302

Hmm looks like last time i made a small error in the script that would not allow you to add anymore pics without rewriting the script. Fixed + i added a third pic example
Attached Files
File Type: zip fading.zip (3.5 KB, 241 views)
__________________
BlodoPKNZ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-27-2004   #13 (permalink)
Art Extortionist
 
LimitLess's Avatar
 
Join Date: Oct 2003
Posts: 78

u did this fading with just colors, which can also be easily done with a shape tween. can this technique work with two completely different images?
LimitLess is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-28-2004   #14 (permalink)
Red Dawn
 
BlodoPKNZ's Avatar
 
Join Date: May 2004
Location: Eastern Europe
Posts: 302

Yes just replace the colors inside their respective mc's with pics. The third pic is actually a static one, unless you want to make a fading loop. And this technique is actually better then tweening, as the additional frames required dont enhance the file size. But then again tweening is easier, but its your decision.
__________________
BlodoPKNZ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-28-2004   #15 (permalink)
Art Extortionist
 
LimitLess's Avatar
 
Join Date: Oct 2003
Posts: 78

ok, this one had 6 actions instead of 3 like the other one. so all i have to do is replace the rectangles with my images and add the same actions? ok, i'll do that, but wat about further animation to the whole scene. I have the fading that has already taken place, now i want to add more elements to the animation, like moving shapes and masking, etc. How would i accomplish this?
LimitLess is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 08:39 AM.
Content Relevant URLs by vBSEO 3.2.0 RC7

Design & Content © BioRUST 2007 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT