Jump to content
Search Community

CHA

Members
  • Posts

    12
  • Joined

  • Last visited

CHA's Achievements

0

Reputation

  1. Iam very happy to have the Resolution for my Flash Object! Jamie, thats it First i wanna say THANKS ALOT to "CARL SCHOOF" for his Tips & Support!! And of course "Jamie Jefferson" for the BIG BIG REST, I embrace you very much!! Action Script is a new World for me and i want learn more about it, time by time. Many Thankx for the Answers of my Questions and .,.,., God bless CHA
  2. Hi Jamie, thx for your Time, but i cant understand why the Namescape of the Buttons are the Problem! Carl gives me a Idea to solve 1 of 2 Errors with the "2"! But now is the "i" the Error! Now i have 2 Scenes and the Code in is: 1 Scene import com.greensock.*; var buttons1:Array = [art1, gall1];for (var i:int = 0; i< buttons1.length; i++){ buttons1[i].addEventListener(MouseEvent.ROLL_OVER, over1); buttons1[i].addEventListener(MouseEvent.ROLL_OUT, out1); } function over1(e:MouseEvent):void { TweenMax.to(e.target, 0.3, {tint:0xE91F3E}); } function out1(e:MouseEvent):void { TweenMax.to(e.target, 0.3, {tint:null}); } 2 Scene import com.greensock.*; var buttons2:Array = [art2, gall2];for (var i:int = 0; i< buttons2.length; i++){ buttons2[i].addEventListener(MouseEvent.ROLL_OVER, over2); buttons2[i].addEventListener(MouseEvent.ROLL_OUT, out2); } function over2(e:MouseEvent):void { TweenMax.to(e.target, 0.3, {tint:0xE91F3E}); } function out2(e:MouseEvent):void { TweenMax.to(e.target, 0.3, {tint:null}); } The current Error: What is the "i" Every Scene is working fine in a separate swf, but when it runs together the "i" Error kicked my Ass Please, I need the solution CHA
  3. ... it has not to do with the Movieclip Names, i build much more other Movieclips and its always the same: The Single Szene is ok but when i run it as one Movie, then the Error comes out: 1 Error: level 'gall2', Image 225, Line 5 1151: In Definition buttons in the internal namespace is a conflict. Anyone has an Idea? Greeeeetttz CHA
  4. Yes i did change the instance names of my symbols in scene 2 !! Bevor i had 2 Errors, now only 1: 1 Error: level 'gall2', Image 225, Line 5 1151: In Definition buttons in the internal namespace is a conflict. In "gall2" is the AS3 Code, when i put the Code into another Timeline "art2", then the Error is in them! I wonder why I have no Idea for now Greeeetz CHA
  5. Hello Carl , first Thanks for your Time and Reply! Your Idea not works for now. I have change the Code for my 1 Scene and for the 2 Scene. Everything works if only one code is integrated. THE 1 CODE: import com.greensock.*; import com.greensock.easing.*; import com.greensock.plugins.*; var buttons1:Array = [art1, gall1];for (var i:int = 0; i< buttons1.length; i++){ buttons1[i].addEventListener(MouseEvent.ROLL_OVER, over1); buttons1[i].addEventListener(MouseEvent.ROLL_OUT, out1); } function over1(e:MouseEvent):void { TweenMax.to(e.target, 0.3, {tint:0xE91F3E}); } function out1(e:MouseEvent):void { TweenMax.to(e.target, 0.3, {tint:null}); } THE 2 CODE: import com.greensock.*; import com.greensock.easing.*; import com.greensock.plugins.*; var buttons2:Array = [art2, gall2];for (var i:int = 0; i< buttons2.length; i++){ buttons2[i].addEventListener(MouseEvent.ROLL_OVER, over2); buttons2[i].addEventListener(MouseEvent.ROLL_OUT, out2); } function over2(e:MouseEvent):void { TweenMax.to(e.target, 0.3, {tint:0xE91F3E}); } function out2(e:MouseEvent):void { TweenMax.to(e.target, 0.3, {tint:null}); } I wish to see soon the Light on the End of the Tunnel Many Thanks for your Time CHA
  6. Hello Family I have a working Tween Code for 2 Movieclip Link Buttons. But when i copy my first Flash Scene and put the Code into the Second Scene, it will not works. 1 Error: level 'gall2', Image 225, Line 5 1151: In Definition buttons in the internal namespace is a conflict. 2 Error: 2, level 'gall2', Image 225, Line 10 1021: Duplicate function definition. import com.greensock.*; import com.greensock.easing.*; import com.greensock.plugins.*; var buttons:Array = [art, gall];for (var i:int = 0; i< buttons.length; i++){ buttons[i].addEventListener(MouseEvent.ROLL_OVER, over); buttons[i].addEventListener(MouseEvent.ROLL_OUT, out); } function over(e:MouseEvent):void { TweenMax.to(e.target, 0.3, {tint:0xE91F3E}); } function out(e:MouseEvent):void { TweenMax.to(e.target, 0.3, {tint:null}); } How can i do it that it works for much of Scenes? Best Wishes! I hope u can help me! CHA
  7. So how fast youre Answer This Man makes me Happy.,.,., i think i begin to love you Many many Thanks for your Support! You are the MAN!!! ~777~ Best wishes from Hamburg CHA
  8. Hello Mr.Greensock, that was my Problem, you find it! Thanks alot But i have another Question: How can i do that the tint Effekt going away when i go with the Mouse out and to the next? CHA
  9. Cheers.,.,., I will make it clear what i want to do: i have 13 Menue Buttons, Movie Clip Buttons (bevor Text Links)... Every Single Button is on a Level in ONE Flash Scene! So what i will is, to put the Code: import com.greensock.*; import com.greensock.easing.*; import com.greensock.plugins.*; var buttons:Array = [regenbogenbruecke]; for (var i:int = 0; i< buttons.length; i++){ buttons[i].addEventListener(MouseEvent.ROLL_OVER, over); } function over(e:MouseEvent):void { TweenMax.to(regenbogenbruecke, 0.3, {tint:0x3366CC, remove:true}); } that works for 1 mc.,.,., into a next level, for another mc, in ONE Flash FLA! But when i copy the Code to a Second mc in another Flash level.,.,., than it sucks! It calls Double Name Definions, Double Function Definions! The other mc Tweens are blocking then! Nothing works after! Iam glad for help! CHA
  10. Hello All.,.,., i have a Menübar Flash with 13 Single mc`s (movie clips)! For the First mc i have choise a bezier Code, it works perfecty! But when i put the same Code to a second mc than comes an error: 1151 (Namespace Conflict) 1021 (Double Funktion Definion) 3596 (Double Variable Definion) The mc`s are in 13 levels. How can i do that the same Code works for all mc`s that i choose? The Code i use: import com.greensock.*; import com.greensock.easing.*; import com.greensock.plugins.*; TweenPlugin.activate([TintPlugin, GlowFilterPlugin]); var buttons:Array = [katzen]; for (var i:int = 0; i< buttons.length; i++){ buttons[i].addEventListener(MouseEvent.ROLL_OVER, over); } function over(e:MouseEvent):void { TweenMax.to(katzen, 1, {bezier:[{x:26, y:208}], tint:0x3366CC, ease:Bounce.easeOut}); } Best Thanks.,.,., CHA
  11. Thanks Alot for the fast Answer! It was my fault, the code is ok! Sry But i have now a new Question, i will post it in a New Topic! Cheers CHA
  12. Hello ALL.,.,., FIRST.,.,., to all first huge respect to Mr.Greensock You create a Miracle for AS Newbies! I've tinkered a mouseover code together, it does not work with "remove:true"! Where is the Problem? Thank you in advance for the solution! import com.greensock.*; import com.greensock.easing.*; import com.greensock.plugins.*; TweenPlugin.activate([TintPlugin, GlowFilterPlugin]); var buttons:Array = [home]; for (var i:int = 0; i< buttons.length; i++){ buttons[i].addEventListener(MouseEvent.ROLL_OVER, over); } function over(e:MouseEvent):void { TweenMax.to(home, 0.2, {tint:0xFFFFFF, glowFilter:{color:0xFFFFFF, alpha:1, blurX:10, blurY:10, remove:true}}); } Thank you in advance for the solution! CHA
×
×
  • Create New...