Jump to content
Search Community

Procise

Members
  • Posts

    22
  • Joined

  • Last visited

Procise's Achievements

0

Reputation

  1. Just what I was looking. Thanks alot
  2. interesting thank you..what would be a better way to set this type of project up? instead of nesting mc's like I did. what is this doing? e.stopImmediatePropagation();
  3. JoelCS5.5.zipOk so Ive uploaded a new file hope it works. Also Im using your mall map code from your site. But Instead of onRollOver Im using on Click commands so that way you can go deeper into the MC's. Like so: function mapOver(e:MouseEvent):void{ var mapItem:MovieClip = e.target as MovieClip; trace(mapItem.name); description.gotoAndStop(mapItem.name); } then I have a MC within the description MC called Kennel: kennel.addEventListener(MouseEvent.CLICK, kennelOver); function kennelOver(e:MouseEvent):void{ var mapitem:MovieClip = e.target as MovieClip; trace(mapitem.name); kennel.gotoAndStop(mapitem.name); help.alpha= 0; } Then within kennel MC I have a MC called back which Im trying to tell to bring the user back to the description MC on the services label. A simple back button is what Im trying to achieve. what code would achieve this ? Thanks for your help
  4. Ive done this before but for some reason its not working on this project... I have a MC that im trying to tell to bring the user back a page.. Ive attached a zip with the project if anyone has the time to check it out it would be very appreciated.
  5. So what about if I wanted to do the same thing but not as a tween but rather the mcs always had a drop shadow an always had there alpha at .05. Would it be... Mc1.Mc2.alpha=.05 An then so the alpha won't effect the drop shadow I would do this? Mc1.Mc2.Mc3.dropshadow= (blah blah on iPad don't know code off hand for the dropshadow.) sry ? I'm using cs3
  6. Thanks for the input I will check out TimelineLite.
  7. I forgot to take out the alpha in the var tweenpos but you know what I mean i hope
  8. I saw your video very helpful but I wanted to learn how to use if and else conditionals and I figured it out using "if" and "else if" after hours of messing around...but I do like how you used a variable to put all the information in it with my practice file..But what happens if I wanted to have the alpha take .5 secs would I have to make another variable for the alpha? like this? var isOpen:Boolean = true; var tweenpos:TweenLite = TweenLite.to(mc,.8,{y:400,alpha:0,paused:true}); var tweenalpha:TweenLite = TweenLite.to(mc,.5{alpha:0}); toggle_btn.addEventListener(MouseEvent.CLICK, toggleTween); function toggleTween(e:MouseEvent):void { if (isOpen) { tweenpos.play(); tweenalpha.play(); } else { tweenpos.reverse(); tweenalpha.reverse(); } isOpen = !isOpen; }
  9. I would like to learn how to toggle the alpha with if and else but not just to have it switch on and off like a light but over a period of time, dunno like .8 secs and also the y position ..I attached what I have so far if ya test the fla you will see some issues with if not more lol...like when you click on the black box everything is effected and thats probably because I am using event.target.parent..I dont want anything to happen if you were to click on the black box just the grey circle or the smaller red box. Hope I was clear appreciate it.
  10. Any info on how this could be done? I used mc.visible == False and it worked but Im looking for a smooth alpha change and I dont know how to set that up. help please. also I can get the position of the mc to move on screen and off but wont move back on screen!
  11. works greats. Time to learn some more. Thanks
  12. ah..cant open the fla file i have cs3..but i will read into what you said and try to figure it out tomorrow been trying all day an need sleep now..my eyes are shot. Thanks maybe you got a new video idea now?? lol
  13. Anyone try to tween a movie clips color that has a drop shadow? my shadow seems to change how do I change just the color of the mc without effecting the drop shadow!!!? another head banger. here is the code: img.addEventListener(MouseEvent.MOUSE_OVER, imgOver); img.addEventListener(MouseEvent.MOUSE_OUT, imgOut); function imgOver(e:MouseEvent):void{ TweenMax.to(e.target, .8, {colorTransform:{tint:0xFF0000, tintAmount:.9}}); TweenMax.to(e.target, .8, {glowFilter:{color:0xffffff, tintAmount:1, alpha:1, blurX:30, blurY:30, remove:true}, ease:Back.easeInOut, easeParams:[4]}); TweenMax.to(e.target, .8, {dropShadowFilter:{color:0x000000, alpha:1, blurX:20, blurY:20, strength:1, angle:90, distance:1, delay:1}}); //img.addChild(e.target as MovieClip); } function imgOut(e:MouseEvent):void{ TweenMax.to(e.target, .5, {colorTransform:{tint:0xA2A4AA}, ease:Back.easeOut}); TweenMax.to(e.target, .5, {dropShadowFilter:{color:0x000000, alpha:0, blurX:0, blurY:0, strength:0, angle:90, distance:1}});
  14. ahh works perfectly thanks and yea they are in a MC called img sorry didnt know it would change things but thanks again your great
×
×
  • Create New...