creating flash scrolling header

Posted by aaronwinkler 
creating flash scrolling header
November 23, 2010 09:06PM
I am trying to create a simple header image scroller. I am getting hung up on how to accomplish this.

so i load the images then when they are all loaded i set alpha to 1 and use flasheff this works great then i try and use a button to do the same thing and nothing... I have read a bunch of the post on the forum and have yet to find a solution. Thanks for your time.
Re: creating flash scrolling header
November 23, 2010 09:50PM
let me expand a bit. what would a function look like that i could call to be able to pass a MovieClip name to and it would run the flash eff code... this is what i thought would work but does not.

function showImg($imgName){
effect.showTransition = showEffect;
effect._targetInstanceName = $imgName;
}
Re: creating flash scrolling header
November 24, 2010 02:20PM
Your function should look more like this one:
function showImg(targetClip){
effect._targetInstanceName = targetClip
effect.show()
}
The showTransition needs to be set before you call the function.
Sorry, you do not have permission to post/reply in this forum.