Hi all,
newbie trying to do dynamic masking with externally loaded images. followed a tutorial that led me to this code:
//Make Mask
function dynmask(){
_root.createEmptyMovieClip('rectmask',1);
_root.rectmask.moveTo(0,0);
_root.rectmask.beginFill(0x000088)
_root.rectmask.lineTo(100,0);
_root.rectmask.lineTo(100,100);
_root.rectmask.lineTo(0,100);
_root.rectmask.endFill();
_root.maskme.setMask(_root.rectmask);
}
masker.onRelease = function(){
//Load Image
_root.createEmptyMovieClip('maskme', 0);
_root.maskme.loadMovie("http://farm2.static.flickr.com/1145/1075852283_69ddb14267.jpg", "pic");
_root.maskme._x = 0;
_root.maskme._y = 0;
dynmask();
}
syntax appears right, but its not working. this should be super simple.
I was clobbered over the head this morning when asked to get the site I’m working on to flow like this:
more specifically, the way the images transition when clicked on…the collections section. Its real slick, and I’m trying to figure out if its a dynamic mask or an image sequence. I need to make an XML powered gallery that works that fast.
any tips?
thanks!
- dan.