Search the Community
Showing results for tags 'layer'.
-
Hi, hope everyone is doing great. I would like to be able to achieve an effect that is done with scrollmagic but with scrolltrigger. It layers 2 images on top of each other and the second image is hidden. But when you scroll the second image and section is revealed on top of the first section. You can understand the effect more from this gif - I hope its not too much of a trouble and I can get a starting point here as I am not very good with code. Thank you so much. Have a great day!
- 1 reply
-
- scrolltrigger
- pin
-
(and 1 more)
Tagged with:
-
Hi, How can I fix my animation ? The last div is not follow by the first I play with delay, repeatDelay, position… Maybe I need a good trick ? Clone the first to the last and jump in the animation position ? How To ?
-
HI! So I'm not a fantastic flash coder.. but I'm in the middle of a project that I need a little help on. I have some code, which works very well, with one thing that I cannot figure out how to change. I'd like to be able to put other art on top of the loaded SWF.. but it only loads in the topmost "z" index, and even if I put another layer over the top with art to overlay, it just loads over it.. var queueb1:LoaderMax = new LoaderMax({onProgress:progressHandlerb1, onComplete:completeHandlerb1, onError:errorHandlerb1}); queueb1.append( new SWFLoader("whitley.swf", {name:"whitleySWF", estimatedBytes:3000, container:this, autoPlay:false}) ); queueb1.load(); function progressHandlerb1(event:LoaderEvent):void { trace("progress: " + event.target.progress); } function completeHandlerb1(event:LoaderEvent):void { var image:ContentDisplay = LoaderMax.getContent("whitleySWF"); image.x=0; image.y = -65; trace(event.target + " is complete!"); } function errorHandlerb1(event:LoaderEvent):void { trace("error occured with " + event.target + ": " + event.text); } Can you tell me what I need to do to this code so it loads on a specific layer? I also have a symbol that I've been using as a mask, it'd be perfect if I could load it into it.