ACTIONSCRIPT - Fade In/Out

Joined
Jul 15, 2008
Messages
17
Reaction score
0
Points
1
Hey guys,
I am design a page & have a quick question on a.s. The page is a portfolio page, so its just going to have a forward & back button and each new image will fade in. My problem is, i dont know how to make it fade out with my button actions.
My button code is:
on (release) {
gotoAndPlay("Frame",78);

}
This would just take me to the fade in & not make the previous image fade out. sorry if it is confusing.
THX!
 
Joined
Nov 15, 2011
Messages
948
Reaction score
150
Points
43
Location
Toronto
Your Mac's Specs
MBP 16” M1max 32/1tb and bunch of other mac/apple stuff
that's pretty old school as, are you using as1?

You're far better off (and way easier) to stack all the images on top of each other, and do it with a simple bit of code.

I don't know how much as you know, before I suggest the way. I've done very advanced stuff in AS3.

The idea of using the timeline to do things is reeeeealllly time consuming, and you'll lose some hair over it.

just a quick note though, if you want everyone to see it, it may be quicker and simpler to use a jquery slider. More time to drink or chase girls after. ;)

I can write a quick as2 example if you'd understand it, as1 is just wrong.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top