Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 04-20-2006, 03:57 AM   #1
the_nth_man
Registered User
 
Join Date: Oct 2002
Location: Iowa
Posts: 38
Default Slide Presentation Master Transitions

Has anyone ran across an easy way to set up a 'master' Transition to all of your slides in Screens? Like setting up a custom class or something?

Right now I'm just copying and pasting the code from frame to frame and its getting tedious! Plus if I have to change the 'master' transition I'm in trouble!

Thanks!
the_nth_man is offline   Reply With Quote
Old 04-20-2006, 04:18 AM   #2
Flash Gordon
rather be programming
 
Flash Gordon's Avatar
 
Join Date: Feb 2005
Location: City of Angels
Posts: 10,140
Default

why not 1 frame and make 1 function that takes a parameter of which slide?
Are all the transitions the same? If so this is very easy to do. Show me the effect you want, and I'll try to script it.
__________________
trace("Good bye Flash.") Log.i(TAG, "Hello Droid");
Flash Gordon is offline   Reply With Quote
Old 04-20-2006, 01:21 PM   #3
the_nth_man
Registered User
 
Join Date: Oct 2002
Location: Iowa
Posts: 38
Default

Its just your basic fade-in, fade-out transition

Code:
on (reveal) {
	// Transition behavior
	if (!eventObj.target._isSlide || (eventObj.target._isSlide && eventObj.target.currentSlide)) {
		mx.transitions.TransitionManager.start (eventObj.target,
			{type:mx.transitions.Fade, 
			direction:0, duration:1, easing:mx.transitions.easing.None.easeNone, 
			param1:empty, param2:empty}); 

		eventObj.target.__transitionManager._triggerEvent = eventObj.type;
	}
	// End Transition behavior


}
on (hide) {
	// Transition behavior
	if (!eventObj.target._isSlide || (eventObj.target._isSlide && eventObj.target.currentSlide)) {
		mx.transitions.TransitionManager.start (eventObj.target,
			{type:mx.transitions.Fade, 
			direction:1, duration:1, easing:mx.transitions.easing.None.easeNone, 
			param1:empty, param2:empty}); 

		eventObj.target.__transitionManager._triggerEvent = eventObj.type;
	}
	// End Transition behavior


}
the_nth_man is offline   Reply With Quote
Old 05-03-2006, 08:30 PM   #4
Shane-O-Mack
Registered User
 
Join Date: Mar 2005
Location: Kansas City
Posts: 4
Default

I would like to know how to do this too...
Shane-O-Mack is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pause and resume slide presentation zoeH Other Flash General Questions 3 04-18-2006 06:52 PM
Slide Presentation auto advance & fade - no buttons The Dillo ActionScript 2.0 3 08-11-2005 12:58 PM
Help - Slide Presentation with fading slides Chamaeleon ActionScript 2.0 3 04-27-2005 07:17 PM
Navigating within the timeline of a Slide presentation erick ActionScript 2.0 1 10-19-2004 06:18 PM
MX Presentation template slide indicator.. thede ActionScript 1.0 (and below) 1 05-16-2002 04:35 PM


All times are GMT. The time now is 02:36 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.