Question : Creating a disolve off and Disolve on transition of the pages with the button staying active

I had tween events having pages load on and off of the screen. But my client wants the pages to disolve on and off of the screen as opposed to them sliding on and off the the screen.

Also if i wanted to do the same thing where the buttons stay on the screen when clicked for the sub nav buttons would the ActionScript look the same in that page movie clip or would i have to go about it in a different manner?

Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
import fl.transitions.Tween;
import fl.transitions.easing.*;
import fl.transitions.TweenEvent;
 
var exitTween:Tween;
 
var currentPage:MovieClip
var prevPage:MovieClip;
 
var home_mc = new home();
var calendar_mc = new calendar();
var christianFormation_mc = new christianFormation();
var worship_mc = new worship();
var staff_mc = new staff();
var music_mc = new music();
var fellowship_mc = new fellowship();
var photoTour_mc = new photoTour();
var contactUs_mc = new contactUs();
var outreach_mc = new outreach();
var ministries_mc = new ministries();
var community_mc = new community();
var youth_mc = new youth();
var nursery_mc = new nursery();
var tidings_mc = new tidings();
 
 
var arrNavigation:Array = [{button:tidingsNewsletter_mcButton, page:tidings_mc},{button:nursery_mcButton, page:nursery_mc},{button:community_mcButton, page:community_mc},{button:youth_mcButton, page:youth_mc},{button:ministries_mcButton, page:ministries_mc},{button:outreach_mcButton, page:outreach_mc},{button:contactUs_mcButton, page:contactUs_mc},{button:photoTour_mcButton, page:photoTour_mc},{button:fellowship_mcButton, page:fellowship_mc},{button:music_mcButton, page:music_mc},{button:home_mcButton, page:home_mc},{button:calendar_mcButton, page:calendar_mc},{button:christianFormation_mcButton, page:christianFormation_mc},{button:worship_mcButton, page:worship_mc},{button:staff_mcButton, page:staff_mc}]
 
//add screens to stage and set properteis
for(var i=0;i
           
Open in New Window Select All

Answer : Creating a disolve off and Disolve on transition of the pages with the button staying active

import fl.transitions.*;
 import fl.transitions.easing.*;
   
 TransitionManager.start(img1_mc, {type:PixelDissolve, direction:Transition.IN, duration:2, easing:Regular.easeIn, xSections:50, ySections:50});
 

where img1_mc is your object fiddle with xSections ySections variable the bigger the number the smaller the "pixel"
Random Solutions  
 
programming4us programming4us