Re: [Flashcoders] Back On Course, Still Problems
Well... Code without braces may look a bit confusing, but that depends on what somebody is used to and just what you like. An example when I often bypass braces is setting default values for AS2 function arguments: function funName(arg1:Number, arg2:Object):Object { if(isNaN(arg1)) arg1 = 0; if(arg2 == null) arg2 = {}; //... rest of code } This has no sense in AS3 because it provides a new syntax for setting default values fun(arg:Number=0):void. Another example: function funName2(flag:Number):Number { if(isNaN(flag)) return someValue; return someOtherValue; } You mention using braces without somewhere to emphasize the code. I think it is just somebodies preference how he highlights separated logic Usually separated logic should be done just by writing a separate method but when there are performance issues (calling a new method leads to redeclaration of variables) or when this part of code sets a group of new variables (separate method returns only one value, unless it returns an array or object - again performance issue), this may have sense. Still, I prefer adding a commented bar or a short limerick instead or braces. Greg Wednesday, December 09, 2009 (6:18:42 AM): Yes, your correct. I always use braces. It looks aesthetically pleasing to me and helps me separate things. BTW, what is the point of braces if you dont need them, except the separation of your code part. Are they needed in some situations over others? Karl ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
Greg Ligierko wrote: Well... Code without braces may look a bit confusing, but that depends on what somebody is used to and just what you like. An example when I often bypass braces is setting default values for AS2 function arguments: function funName(arg1:Number, arg2:Object):Object { if(isNaN(arg1)) arg1 = 0; if(arg2 == null) arg2 = {}; //... rest of code } This has no sense in AS3 because it provides a new syntax for setting default values fun(arg:Number=0):void. Another example: function funName2(flag:Number):Number { if(isNaN(flag)) return someValue; return someOtherValue; } The only problem with this (and yes, I have like everyone else coded like that), is that it doesn't explicitly indicate the intention of the code. If the function is written as: if(isNaN(flag)){ return someValue; } else { return someOtherValue; } Then the intention to return one or the other depending on the test is very explicit. Maybe it doesn't matter for these trivial examples, but the intent can be less obvious when the code is more complex. I think every body uses the shortcuts (me too) for conditional statements, but I think often it's really bad practice and it's often proven as bad practice when begginers can't debug their code because it looks right. I start off by writing. if (i==6) doThis(); Well already I've messed up any visual clues about the nesting of code conditionals when I scan the page because my doThis() isn't indented equally with other conditional code. Lets put that right. if (i==6) doThis(); Now the visual appearance of the code makes me instantly see that the call to doThis is nested in conditional code - it's indented to the right. No problem, now right? A month later I realise there's a bug and it should really be doThis();doThat() if i equals 6. In my hurry I now make this update: if (i==6) doThis(); doThat(); And it looks right, but now my code is behaving even more badly. Scanning through the code doesn't give an instant clue because this wil be buried amongst a load of other stuff.. Only later do I realise that while my indents look right, the actual interpretation is: if (i==6) doThis(); doThat(); ..something I didn't intend. Now, if I was in the habit of writing my conditionals with braces and indenting my code, I would be very, very unlikely to make this simple error. So I should habitualy write: if (i==6) { doThis(); } or (depending on your own preferences) if (i==6) { doThis(); } Then I can't go wrong when I come to add extra code: if (i==6) { doThis(); doThat(); } So, in essence, adding braces even when they aren't needed will make you less likely to make accidental mistakes in the future. Paul You mention using braces without somewhere to emphasize the code. I think it is just somebodies preference how he highlights separated logic Usually separated logic should be done just by writing a separate method but when there are performance issues (calling a new method leads to redeclaration of variables) or when this part of code sets a group of new variables (separate method returns only one value, unless it returns an array or object - again performance issue), this may have sense. Still, I prefer adding a commented bar or a short limerick instead or braces. Greg Wednesday, December 09, 2009 (6:18:42 AM): Yes, your correct. I always use braces. It looks aesthetically pleasing to me and helps me separate things. BTW, what is the point of braces if you dont need them, except the separation of your code part. Are they needed in some situations over others? Karl ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re[2]: [Flashcoders] Back On Course, Still Problems
Paul, You are perfectly right. The case of Beno's piece: if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); ...is clearly a proof of what you say, because it already produced confusion. Greg Wednesday, December 09, 2009 (1:30:22 PM) Paul Andrews: Greg Ligierko wrote: Well... Code without braces may look a bit confusing, but that depends on what somebody is used to and just what you like. An example when I often bypass braces is setting default values for AS2 function arguments: function funName(arg1:Number, arg2:Object):Object { if(isNaN(arg1)) arg1 = 0; if(arg2 == null) arg2 = {}; //... rest of code } This has no sense in AS3 because it provides a new syntax for setting default values fun(arg:Number=0):void. Another example: function funName2(flag:Number):Number { if(isNaN(flag)) return someValue; return someOtherValue; } The only problem with this (and yes, I have like everyone else coded like that), is that it doesn't explicitly indicate the intention of the code. If the function is written as: if(isNaN(flag)){ return someValue; } else { return someOtherValue; } Then the intention to return one or the other depending on the test is very explicit. Maybe it doesn't matter for these trivial examples, but the intent can be less obvious when the code is more complex. I think every body uses the shortcuts (me too) for conditional statements, but I think often it's really bad practice and it's often proven as bad practice when begginers can't debug their code because it looks right. I start off by writing. if (i==6) doThis(); Well already I've messed up any visual clues about the nesting of code conditionals when I scan the page because my doThis() isn't indented equally with other conditional code. Lets put that right. if (i==6) doThis(); Now the visual appearance of the code makes me instantly see that the call to doThis is nested in conditional code - it's indented to the right. No problem, now right? A month later I realise there's a bug and it should really be doThis();doThat() if i equals 6. In my hurry I now make this update: if (i==6) doThis(); doThat(); And it looks right, but now my code is behaving even more badly. Scanning through the code doesn't give an instant clue because this wil be buried amongst a load of other stuff.. Only later do I realise that while my indents look right, the actual interpretation is: if (i==6) doThis(); doThat(); ..something I didn't intend. Now, if I was in the habit of writing my conditionals with braces and indenting my code, I would be very, very unlikely to make this simple error. So I should habitualy write: if (i==6) { doThis(); } or (depending on your own preferences) if (i==6) { doThis(); } Then I can't go wrong when I come to add extra code: if (i==6) { doThis(); doThat(); } So, in essence, adding braces even when they aren't needed will make you less likely to make accidental mistakes in the future. Paul You mention using braces without somewhere to emphasize the code. I think it is just somebodies preference how he highlights separated logic Usually separated logic should be done just by writing a separate method but when there are performance issues (calling a new method leads to redeclaration of variables) or when this part of code sets a group of new variables (separate method returns only one value, unless it returns an array or object - again performance issue), this may have sense. Still, I prefer adding a commented bar or a short limerick instead or braces. Greg Wednesday, December 09, 2009 (6:18:42 AM): Yes, your correct. I always use braces. It looks aesthetically pleasing to me and helps me separate things. BTW, what is the point of braces if you dont need them, except the separation of your code part. Are they needed in some situations over others? Karl ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
On Tue, Dec 8, 2009 at 5:50 PM, Greg Ligierko gre...@l-d5.com wrote: I think Beno does not see difference between local variables (google: local variables tutorial) and class properties (google: class properties tutorial). You are correct. I don't fully understand classes, although I doubt I'm far from it. I will google what you have suggested. Thank you! beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
This is how I code. And is what I was seeing in my head when I made that observation about benos code. Your right Paul. Without braces, it can get a little run-on-sentence ish but still works. I agree Greg. It is a matter of preference. And with AS3 I believe, it is more like without braces. Yes? Karl Sent from losPhone On Dec 9, 2009, at 6:30 AM, Paul Andrews p...@ipauland.com wrote: If the function is written as: if(isNaN(flag)){ return someValue; } else { return someOtherValue; } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
On Tue, Dec 8, 2009 at 5:07 PM, Karl DeSaulniers k...@designdrumm.comwrote: Well I know why this code was not working. if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } Because it should read. if (e.target.currentFrame == 40) { TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } You missed the first { Don know if that fixes everything or just this line. Just that line. It's commented out for now. But thank you very much! beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
On Wed, Dec 9, 2009 at 10:20 AM, beno - flashmeb...@gmail.com wrote: You are correct. I don't fully understand classes, although I doubt I'm far from it. I will google what you have suggested. Thank you! Didnt you say: I have many years working with python? Were you able to do that without touching oop or classes, beno? .m ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
On Wed, Dec 9, 2009 at 11:27 AM, Matt S. mattsp...@gmail.com wrote: On Wed, Dec 9, 2009 at 10:20 AM, beno - flashmeb...@gmail.com wrote: You are correct. I don't fully understand classes, although I doubt I'm far from it. I will google what you have suggested. Thank you! Didnt you say: I have many years working with python? Were you able to do that without touching oop or classes, beno? I'm ashamed to admit it, yes. I might very well be working in classes and what I'm doing in python could very well be oop, but I've never studied it as such and I obviously need to. I write all sorts of things like: def whatever(var, var2): stuff here and call that from other functions. If that's classes and oop, then I've been all over that for years. I dunno :-} We're OT again caution beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
you will never want to as2 again ax On 8 Dec 2009, at 22:36, Karl DeSaulniers wrote: Greg, I see your point. I am more familiar with AS2, so oops. I will be migrating soon. I promise. Karl On Dec 8, 2009, at 3:50 PM, Greg Ligierko wrote: I don't think, because braces are not required when the there is only one statement ended with semicolor: //code if(something) doSomething(); // semicolon ends the scope here... //code ... the second brace was ending the myLeftHand() method. I think that that the problem with this line was that mcHandInstance2 was neither defined as a class property nor as a local variable. I think Beno does not see difference between local variables (google: local variables tutorial) and class properties (google: class properties tutorial). g Tuesday, December 08, 2009 (10:07:34 PM) Karl DeSaulniers wrote: Well I know why this code was not working. if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } Because it should read. if (e.target.currentFrame == 40) { TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } You missed the first { Don know if that fixes everything or just this line. Karl Sent from losPhone On Dec 8, 2009, at 1:18 PM, beno - flashmeb...@gmail.com wrote: On Tue, Dec 8, 2009 at 3:02 PM, Gregory Boudreaux gjboudre...@fedex.com wrote: What is setting e in your code? I have no idea. This is what was suggested to me on this list once upon a time. I presume that's the problem. The idea was to make the mc run when the code entered a certain frame, as you can see by the commented-out line and the trace: public function myLeftHand(e:Event=null):void { if (e.target.currentFrame == 10) { trace(yes) }; var mcHandInstance2A:mcHand = new mcHand(); addChild(mcHandInstance2A); mcHandInstance2A.x = 800; mcHandInstance2A.y = 200; //if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } What should it be? How do I tie it in to the rest of the code? TIA, beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: Re[2]: [Flashcoders] Back On Course, Still Problems
BTW, what is the point of braces if you dont need them, except the separation of your code part. Are they needed in some situations over others? Braces let you build a code block containing multiple statements. If you want to run multiple statements in the body of a loop, or conditional, or whatever, or if you think you may want to do that in the future, you should use braces. Some people prefer to always use them, because they prefer the appearance or because they don't know that they're sometimes optional. I'm in the first category, myself - I always use them, because I think it makes my code easier to read. In general, I prefer my code to be formatted vertically rather than horizontally, if you know what I mean. This is how braces work in all C-style languages I've seen, including JavaScript 1.0+. I suspect it works the same way in AS2. It definitely works that way in AS3. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: Re[2]: [Flashcoders] Back On Course, Still Problems
yep - same in as2 and as3 On Wed, Dec 9, 2009 at 5:21 PM, Dave Watts dwa...@figleaf.com wrote: BTW, what is the point of braces if you dont need them, except the separation of your code part. Are they needed in some situations over others? Braces let you build a code block containing multiple statements. If you want to run multiple statements in the body of a loop, or conditional, or whatever, or if you think you may want to do that in the future, you should use braces. Some people prefer to always use them, because they prefer the appearance or because they don't know that they're sometimes optional. I'm in the first category, myself - I always use them, because I think it makes my code easier to read. In general, I prefer my code to be formatted vertically rather than horizontally, if you know what I mean. This is how braces work in all C-style languages I've seen, including JavaScript 1.0+. I suspect it works the same way in AS2. It definitely works that way in AS3. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
Using just a set of functions is not oop. It's rather procedural programming. However it works, it is difficult to reuse or make something really large scale or cooperate with other programmers basing on procedural code. You can write procedural-AS3, but there is not point of doing that. And you would have to place all library item on the stage, name them (properties - instance name) and do stuff with them. Beno... The difference is that in oop you have various classes that may (but not necessarily) construct their instance objects. Classes have their own methods (functions of classes) and their own properties (like variables of classes). Any object constructed by a class has all these methods and properties. In AS2 and AS3 both methods and properties may be private or public (there are more than that two in AS3, but basically let's consider private and public). Now you can consider a class called Dog. The class Dog has methods startBarking() and stopBarking(). Its instance can do all that its class define: var instanceOfDog : Dog = new Dog(); //(instance name)^ (type)^ (class)^ instanceOfDog.startBarking(); /// and somewhere later instanceOfDog.stopBarking(); ... and you can create another instance of Dog, but the new instance is a completely separate object (they do not bark at once, for example). --- Local variables are those that you create temporally in a function/method body. Other functions/methods do not see these variables. They are visible only in the scope of one function/method after being declared until the function ends: function fun1() { // here nobody has seen rolf yet... var rolf:Dog = new Dog(); //of course you have to import //your Dog class before instantiating it // (.) here the compiler sees rolf because has a reference to it // in the computer memory. } function fun2() { // in this function (or method) nobody knows about rolf's // existance... } ... I have to end here. This is a longer story. Use google to reach tutorials about AS3 object oriented programming basics. g Wednesday, December 09, 2009 (4:50:44 PM) beno- wrote: On Wed, Dec 9, 2009 at 11:27 AM, Matt S. mattsp...@gmail.com wrote: On Wed, Dec 9, 2009 at 10:20 AM, beno - flashmeb...@gmail.com wrote: You are correct. I don't fully understand classes, although I doubt I'm far from it. I will google what you have suggested. Thank you! Didnt you say: I have many years working with python? Were you able to do that without touching oop or classes, beno? I'm ashamed to admit it, yes. I might very well be working in classes and what I'm doing in python could very well be oop, but I've never studied it as such and I obviously need to. I write all sorts of things like: def whatever(var, var2): stuff here and call that from other functions. If that's classes and oop, then I've been all over that for years. I dunno :-} We're OT again caution beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
classes used in oop are generally separate .as files (in flash) that are templates that create custom objects which interact with each other (it is possible to program oop as a single file using as1-style prototype chains but these are outdated and frankly painful) a class would consist of properties (or variables in procedural parlence) which allow the class/object to store data and / or methods (or functions) which allow the class/object to execute functionality what you've described is more a procedural style of coding where the whole program exists in a single block of code with all of it's variables and functions in one place. This isn't oop (object oriented programming). http://en.wikipedia.org/wiki/Object-oriented_programming http://en.wikipedia.org/wiki/Procedural_programming hope this helps ax On Wed, Dec 9, 2009 at 3:50 PM, beno - flashmeb...@gmail.com wrote: On Wed, Dec 9, 2009 at 11:27 AM, Matt S. mattsp...@gmail.com wrote: On Wed, Dec 9, 2009 at 10:20 AM, beno - flashmeb...@gmail.com wrote: You are correct. I don't fully understand classes, although I doubt I'm far from it. I will google what you have suggested. Thank you! Didnt you say: I have many years working with python? Were you able to do that without touching oop or classes, beno? I'm ashamed to admit it, yes. I might very well be working in classes and what I'm doing in python could very well be oop, but I've never studied it as such and I obviously need to. I write all sorts of things like: def whatever(var, var2): stuff here and call that from other functions. If that's classes and oop, then I've been all over that for years. I dunno :-} We're OT again caution beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
if you genuinely want to learn about programming, i'd recommend getting essential actionscript 3.0 by colin moock or Friends of Ed's Foundation Actionscript 3.0 with Flash CS3 and Flex (Paperback). I've seen plenty of people try to learn by reading random stuff from the web and seeing if they can muddle through it and they invariably become a massive burden to anyone that has to work with them so please don't try to side step the work of learning how to code good luck a On Wed, Dec 9, 2009 at 7:19 PM, allandt bik-elliott (thefieldcomic.com) alla...@gmail.com wrote: classes used in oop are generally separate .as files (in flash) that are templates that create custom objects which interact with each other (it is possible to program oop as a single file using as1-style prototype chains but these are outdated and frankly painful) a class would consist of properties (or variables in procedural parlence) which allow the class/object to store data and / or methods (or functions) which allow the class/object to execute functionality what you've described is more a procedural style of coding where the whole program exists in a single block of code with all of it's variables and functions in one place. This isn't oop (object oriented programming). http://en.wikipedia.org/wiki/Object-oriented_programming http://en.wikipedia.org/wiki/Procedural_programming hope this helps ax On Wed, Dec 9, 2009 at 3:50 PM, beno - flashmeb...@gmail.com wrote: On Wed, Dec 9, 2009 at 11:27 AM, Matt S. mattsp...@gmail.com wrote: On Wed, Dec 9, 2009 at 10:20 AM, beno - flashmeb...@gmail.com wrote: You are correct. I don't fully understand classes, although I doubt I'm far from it. I will google what you have suggested. Thank you! Didnt you say: I have many years working with python? Were you able to do that without touching oop or classes, beno? I'm ashamed to admit it, yes. I might very well be working in classes and what I'm doing in python could very well be oop, but I've never studied it as such and I obviously need to. I write all sorts of things like: def whatever(var, var2): stuff here and call that from other functions. If that's classes and oop, then I've been all over that for years. I dunno :-} We're OT again caution beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: Re[2]: [Flashcoders] Back On Course, Still Problems
Good to know. Thanks for all the responses. I learn a little more each day. :)) Best, Karl Sent from losPhone On Dec 9, 2009, at 1:09 PM, allandt bik-elliott (thefieldcomic.com) alla...@gmail.com wrote: yep - same in as2 and as3 On Wed, Dec 9, 2009 at 5:21 PM, Dave Watts dwa...@figleaf.com wrote: BTW, what is the point of braces if you dont need them, except the separation of your code part. Are they needed in some situations over others? Braces let you build a code block containing multiple statements. If you want to run multiple statements in the body of a loop, or conditional, or whatever, or if you think you may want to do that in the future, you should use braces. Some people prefer to always use them, because they prefer the appearance or because they don't know that they're sometimes optional. I'm in the first category, myself - I always use them, because I think it makes my code easier to read. In general, I prefer my code to be formatted vertically rather than horizontally, if you know what I mean. This is how braces work in all C-style languages I've seen, including JavaScript 1.0+. I suspect it works the same way in AS2. It definitely works that way in AS3. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
On Mon, Dec 7, 2009 at 5:38 PM, Karl DeSaulniers k...@designdrumm.comwrote: My suggetion to you bueno is to rewrite your code using the suggestions provided by this list. Keep all variables different. If your attaching multiple instances , use the for loop to assign their names. Trace trace trace. Thank you. Sometimes rewriting your code line by line (while gruling it can be) will expose it's faults to you. Somtimes our eyes wash over the same thing time and time again. Don't they, though LOL! Oh and never ask someone to help you for free and get mad that they don't. Just bite your tongue and move forward on your own. Letting the list know how you had distain for it, just works against you in your search for an answer. I didn't ask him! He volunteered! If I had asked him, you would be right! Since he volunteered, I am! Oh and one other thing. I would google they type of project you making and see if it's already done. You may get farther adopting Somone elses code and morphing it into your project, and at the same time, see how it really works. Try this. Google a sentance of what your end goal of this project is. IE: flash and python based shopping page It's far more complex than that, as you no doubt know. Define shopping cart. Here, let me give you my definition: * Automate everything, so you don't have to rewrite it for every new client * That includes making it so it can accommodate the vastly different needs of, say, a jeweler and a pharmacy, the former being able to accommodate, say, daily price fluctuations in the spot gold market and the latter requiring login to access and order their personal prescriptions. Nah, I'll roll my own. beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
On Dec 8, 2009, at 1:58 AM, beno - wrote: On Mon, Dec 7, 2009 at 5:38 PM, Karl DeSaulniers k...@designdrumm.comwrote: Thank you. No problem. Any time.. Don't they, though LOL! More often than needed. :P I didn't ask him! He volunteered! If I had asked him, you would be right! Since he volunteered, I am! Well, not to rub it in your face, but by asking this list your questions, you are asking for their professional ( billable) knowledge and time. Some list goers will extend the courtesy a little farther by volunteering their personal time to your project (again, probono I might add) No one here is asking for money, but in essence, you were asking for the help, you just didn't know the extent of the help. But not to get off to another one about that, its just the preface to how you deal with the no help aspect of these forums. Just pick up and move on like it never happened and quick. Like you just couldn't find it in the dictionary.. you don't get mad at the dictionary. It's far more complex than that, as you no doubt know. might I suggest looking into PHP and MySQL. It is a bit easier to learn and implement. I think. Define shopping cart. Here, let me give you my definition: * Automate everything, so you don't have to rewrite it for every new client * That includes making it so it can accommodate the vastly different needs of, say, a jeweler and a pharmacy, the former being able to accommodate, say, daily price fluctuations in the spot gold market and the latter requiring login to access and order their personal prescriptions. That is a pretty healthy shopping cart. Does it have warp speed? :)) I would suggest building and billing that one in stages. Build the interface and a database back-end and see how everything works out. Then start up modifications and add-ons. The tracking and updating via feeds and such. that way you can get paid when the interface is done, then when the database is done, etc, etc. IMO no one who has written the class you have been working on should be going hungry.. Just my opinion. I don't even know AS3, I work in AS2 and it serves me well. This list has helped with that. Thanks guys Nah, I'll roll my own. True that. beno Karl ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
Again ??!? Beno, you promised you would buy these books and study. And you promised to build bricks first before trying to build a skyscraper. Cedric I really feel like you are trying to build a ferrari without taking one automotive class. To understand the logic, you need to establish a firm foundation of understand as3. Then build your skill level on that. If you build a house without a good foundation, you are going to have issues during the building process. I think this is partially what you are experiencing now. I know this is a huge growing point for you, but you are only capable of doing what you know how to do and can apply it to your project. Build that house first bro. Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com -Original Message- From: beno - flashmeb...@gmail.com Date: Mon, 7 Dec 2009 14:07:20 To: Flash Coders Listflashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Back On Course, Still Problems Jason's suggestion of adding a trace to see if the class is even being activated was excellent, thank you. No, it is not being activated. I tried to comment out the mcHandInstance2 as per Mark's suggestion: public function init():void { hatAndFace(); eyeball1(); eyeball2(); myRightHand(); //var mcHandInstance2:mcHand = new mcHand(); addChild(mcHandInstance2) mcHandInstance2.addFrameScript(20, myLeftHand) //myLeftHand(); } but it threw this error: TypeError: Error #2007: Parameter child must be non-null. at flash.display::DisplayObjectContainer/addChild() at Main/init() at main_fla::MainTimeline/frame1() Mark informs me that I need to name these calls to mcHandInstance2 different things; however, I still am greatly struggling to understand the fundamental logic of what I'm trying to build. Can you help me understand how these various elements work together so that I can properly name them? I, like you, doubt seriously that I want them all to be the same name. I'm sure Michael's suggestion was as good as Jason's, but obviously there was no point for it, at least at this juncture, because the class is not being activated. If you all care to, please suggest google kw for me to research, but please not the general educational information, of which I have studied some and continue to study more. The learning curve is long and steep, par for the course in programming, but frankly (and this is not a complaint!) apparently longer and steeper than the norm with AS3. TIA, beno package { import flash.events.Event; import flash.events.MouseEvent; import flash.display.MovieClip; import com.greensock.*; import com.greensock.plugins.*; import com.greensock.easing.*; public class Main extends MovieClip { public var mcHandInstance2:mcHand; public function Main():void { } public function init():void { hatAndFace(); eyeball1(); eyeball2(); myRightHand(); var mcHandInstance2:mcHand = new mcHand(); addChild(mcHandInstance2) mcHandInstance2.addFrameScript(20, myLeftHand) //myLeftHand(); } public function hatAndFace():void { TweenPlugin.activate([AutoAlphaPlugin]); var mcHatAndFaceInstance:mcHatAndFace = new mcHatAndFace(); addChild(mcHatAndFaceInstance); mcHatAndFaceInstance.x = 350; mcHatAndFaceInstance.y = 100; mcHatAndFaceInstance.alpha = 0; TweenLite.to(mcHatAndFaceInstance, 2, {autoAlpha:1}); } public function eyeball1():void { var mcEyeballInstance1:mcEyeball = new mcEyeball(); addChild(mcEyeballInstance1); mcEyeballInstance1.x = 380; mcEyeballInstance1.y = 115; mcEyeballInstance1.alpha = 0; TweenLite.to(mcEyeballInstance1, 2, {autoAlpha:1}); } public function eyeball2():void { var mcEyeballInstance2:mcEyeball = new mcEyeball(); addChild(mcEyeballInstance2); mcEyeballInstance2.x = 315; mcEyeballInstance2.y = 115; mcEyeballInstance2.alpha = 0; TweenLite.to(mcEyeballInstance2, 2, {autoAlpha:1}); } public function myRightHand():void { var mcHandInstance1:mcHand = new mcHand(); addChild(mcHandInstance1); mcHandInstance1.x = 400; mcHandInstance1.y = 200; } /* public function set totalProgress(value:Number):void { myLeftHand.value = 1; } */ // private function myLeftHand():void private function myLeftHand(e:Event=null):void { if (e.target.currentFrame == 10) { trace(yes) }; var mcHandInstance2:mcHand = new mcHand(); addChild(mcHandInstance2); mcHandInstance2.x = 800; mcHandInstance2.y = 200; //if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } } } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders
Re: [Flashcoders] Back On Course, Still Problems
I know we all love Beno, and we really tried hard to make it work, that's how this list is ;) But, it should end, shouldn't it ? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
On Tue, Dec 8, 2009 at 4:11 AM, Cedric Muller flashco...@benga.li wrote: Again ??!? Beno, you promised you would buy these books and study. And you promised to build bricks first before trying to build a skyscraper. I promised I would buy the books around the end of the year. I never promised anything about bricks or skyscrapers. I did, however, promise three clients I would build their sites in Flash. What is your point? That I am not honest? I am. Why don't we just get back to Flash? beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
On Mon, Dec 7, 2009 at 2:50 PM, Merrill, Jason jason.merr...@bankofamerica.com wrote: In my twisted mind, I'm actually kinda enjoying watching this thread self-destruct under its own weight. Twisted mind indeed. Do unto others as you would have others do unto you. If you treat me badly, it will come back to you (karma). Treat others with respect. Be nice. As for me, I just keep turning the other cheek. Do to me what you will, you cannot disturb my equanimity. I am always your friend, no matter what. And I will point out your errors to help you see the stumbling-blocks you place in your own path. Only the best of friends would do that for people who try to hurt them. You are hurting only yourself (yourselves). You have not hurt me. You cannot hurt me. It isn't even possible. Peace to you. My peace I leave with you. Draw your tight circles to close me out. I draw my infinitely wide circle to bring you in. Love conquers all. beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
On Mon, Dec 7, 2009 at 7:33 PM, Karl DeSaulniers k...@designdrumm.comwrote: Beno, New or used? Take your pick. Hell what's your address I'll buy you one for Christmas if it means this thread can end. Pay it forward I always say.. :) http://www.amazon.com/gp/offer-listing/0596526946/ref=rdr_ext_uan Why would I care? If you're serious, send it here: c/o Best Furniture 4200 United Shopping Plaza Christiansted, VI 00820 (still too poor to even afford a POB LOL) beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
On Mon, Dec 7, 2009 at 7:14 PM, Steven Sacks flash...@stevensacks.netwrote: Dale Carnegie wrote the manifesto on this subject in 1934. Human nature being what it is, what he wrote then is still true today. I recommend that you include Dale Carnegie's book when you purchase Colin Moock's Essential Actionscript 3 book. Before Dale Carnegie wrote, for the Illuminati I might add, his politically correct books, the great Ch'an (Zen) masters of China compiled the Blue Cliff Records, a book, unlike the one you have cited, that has stood the test of time (centuries of it). Here are a few chapter titles. Take a look and see if some of the titles apply to your situation and approach. Begin in a friendly way. Call attention to other people's mistakes indirectly. The Ch'an masters weren't so subtle. They were famous for beating people senseless with their staffs and shouting them out the door. You, and almost everyone else, would demand from them they remove your cancerous tumor but set down their scalpels! It doesn't work that way. Even Jesus called the Pharisees you brood of vipers. You see, it's impossible to penetrate the ego by being nice to _the_ego_. The ego is the problem! As Edgar Cayce so often said, self stands in the way. Even Muhammad (peace and blessings be upon him) stated the greatest of all idols is the self (ego). Show respect for the other person's opinions. Never tell someone they are wrong. Read above. Ask questions instead of directly giving orders. I didn't give an order (?!) Don't criticize. LOL. Read above. beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
I did not say you were not honest, pardon me if you felt I was. How would I question honesty in a Flash mailing list ??? I am not saying you are not being honest or anything, but now I am wondering why it took you about 3 weeks to build something a normal coder would have taken 15 minutes ? Imagine everyone monopolizing as many people as you are, that's not possible, there is something wrong here. I helped you back then, but now I see you are still at the beginning, asking for questions, and worse: you do not have a clue about what you are doing. This is tensing me, but I won't black out. Back to Flash ? yea, that's what I have been doing for the last 8 years now :( On Tue, Dec 8, 2009 at 4:11 AM, Cedric Muller flashco...@benga.li wrote: Again ??!? Beno, you promised you would buy these books and study. And you promised to build bricks first before trying to build a skyscraper. I promised I would buy the books around the end of the year. I never promised anything about bricks or skyscrapers. I did, however, promise three clients I would build their sites in Flash. What is your point? That I am not honest? I am. Why don't we just get back to Flash? beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
Did you mean: Best Furnature 4200 United Shopping Plaza Christiansted, St. Croix U.S. Virgin Islands 00820 ? and yes I was serious. Karl On Dec 8, 2009, at 4:07 AM, beno - wrote: On Mon, Dec 7, 2009 at 7:33 PM, Karl DeSaulniers k...@designdrumm.comwrote: Beno, New or used? Take your pick. Hell what's your address I'll buy you one for Christmas if it means this thread can end. Pay it forward I always say.. :) http://www.amazon.com/gp/offer-listing/0596526946/ref=rdr_ext_uan Why would I care? If you're serious, send it here: c/o Best Furniture 4200 United Shopping Plaza Christiansted, VI 00820 (still too poor to even afford a POB LOL) beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
On Tue, Dec 8, 2009 at 10:52 AM, beno - flashmeb...@gmail.com wrote: I promised I would buy the books around the end of the year. In case you're interested, Safari Books has a free 10 day trial. I haven't tried it myself, but I hear it's good. http://www.safaribooksonline.com/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
Also, its missing a street name. 4200 (Street name) United Shopping Plaza Christiansted, St. Croix U.S. Virgin Islands 00820 Amazon will not deliver to the address you supplied. I already tried. Karl On Dec 8, 2009, at 4:42 AM, Karl DeSaulniers wrote: Did you mean: Best Furnature 4200 United Shopping Plaza Christiansted, St. Croix U.S. Virgin Islands 00820 ? and yes I was serious. Karl On Dec 8, 2009, at 4:07 AM, beno - wrote: On Mon, Dec 7, 2009 at 7:33 PM, Karl DeSaulniers k...@designdrumm.comwrote: Beno, New or used? Take your pick. Hell what's your address I'll buy you one for Christmas if it means this thread can end. Pay it forward I always say.. :) http://www.amazon.com/gp/offer-listing/0596526946/ref=rdr_ext_uan Why would I care? If you're serious, send it here: c/o Best Furniture 4200 United Shopping Plaza Christiansted, VI 00820 (still too poor to even afford a POB LOL) beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
Beno, In the spirit of your recommendations and opinions regarding criticism, allow me to be blunt with you in the manner you find most effective. Considering everyone here has expressed a negative reaction to your communication style, it's pretty fucking clear where the problem is. Whether you like it or not, whether you agree with it or not, based entirely on people's reactions, you're being an asshole. You can either accept the reality of people's reactions and adjust your behavior accordingly, or you can refuse to accept it and attempt, with more of the same behavior, to convince them to change their perception. Which do you think is more likely to be within your power to control? Your behavior or everyone else's? Here are some famous quotes for you: God, grant me the serenity to accept the things I cannot change, the courage to change the things I can, and the wisdom to know the difference. - Reinhold Niebuhr Insanity is defined as doing the same thing over and over and expecting different results. - Albert Einstein Do what you will. Keep behaving in a way that other people find distasteful and discover how quickly nobody will ever help you again, or change your behavior for a different result. It's really up to you. This is the last I'll speak on the matter, and I have no interest in discussing it with you further. The list owner, who has also expressed a negative reaction to your approach, has asked for this to end, and I personally think that if you don't change your tact, he should ban you from the list. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
Hi, Beno! I'm the list admin for Flashcoders. The Ch'an masters weren't so subtle. They were famous for beating people senseless with their staffs and shouting them out the door. You, and almost everyone else, would demand from them they remove your cancerous tumor but set down their scalpels! Presumably, the Ch'an masters didn't need anyone's help with Flash or AS. And they weren't on this mailing list. As the list admin, I'd prefer that the list get back to what it's about - Flash and AS. If you want to ask Flash/AS questions, feel free to do so, but you should expect no more help than you're paying for. If your expectations are then exceeded, that's good for you. If you do ask questions, you should probably try not to alienate the other list members, who are presumably the potential source of the answers you want. If said list members criticize the way you're asking questions, it really doesn't matter whether they're right or wrong to do so, as you simply won't get any answers if you continue doing whatever it is you're being criticized for doing. That's what happens when you rely solely on the goodwill of others. Now, to take off my list admin hat for a second, I strongly recommend that you chart another course of action, as this simply doesn't appear to be working out for you. Buy a book, steal a book, abduct a competent Flash developer, go back into the jungle, whatever - you simply don't seem to be making any progress doing what you're doing now. The oft-quoted definition of insanity is doing the same thing repeatedly while expecting different results. Of course, you're free to ignore that advice, but if you're going to ignore everyone's advice, why ask questions on a mailing list in the first place? Please don't reply to this, unless your reply consists of Flash programming questions. Thanks in advance! Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
I don't know, I think it has more to do with humility and being humble ... are we ? Beno, In the spirit of your recommendations and opinions regarding criticism, allow me to be blunt with you in the manner you find most effective. Considering everyone here has expressed a negative reaction to your communication style, it's pretty fucking clear where the problem is. Whether you like it or not, whether you agree with it or not, based entirely on people's reactions, you're being an asshole. You can either accept the reality of people's reactions and adjust your behavior accordingly, or you can refuse to accept it and attempt, with more of the same behavior, to convince them to change their perception. Which do you think is more likely to be within your power to control? Your behavior or everyone else's? Here are some famous quotes for you: God, grant me the serenity to accept the things I cannot change, the courage to change the things I can, and the wisdom to know the difference. - Reinhold Niebuhr Insanity is defined as doing the same thing over and over and expecting different results. - Albert Einstein Do what you will. Keep behaving in a way that other people find distasteful and discover how quickly nobody will ever help you again, or change your behavior for a different result. It's really up to you. This is the last I'll speak on the matter, and I have no interest in discussing it with you further. The list owner, who has also expressed a negative reaction to your approach, has asked for this to end, and I personally think that if you don't change your tact, he should ban you from the list. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
I smell a prank. Does anyone else wonder if Beno really exists, or is just the product of a list regular having a little fun with easily agitated flashers? ;) .m On Tue, Dec 8, 2009 at 4:58 AM, beno - flashmeb...@gmail.com Twisted mind indeed. Do unto others as you would have others do unto you. If you treat me badly, it will come back to you (karma). Treat others with respect. Be nice. As for me, I just keep turning the other cheek. Do to me what you will, you cannot disturb my equanimity. I am always your friend, no matter what. And I will point out your errors to help you see the stumbling-blocks you place in your own path. Only the best of friends would do that for people who try to hurt them. You are hurting only yourself (yourselves). You have not hurt me. You cannot hurt me. It isn't even possible. Peace to you. My peace I leave with you. Draw your tight circles to close me out. I draw my infinitely wide circle to bring you in. Love conquers all. beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
Might be a troll... Matt S. wrote: I smell a prank. Does anyone else wonder if Beno really exists, or is just the product of a list regular having a little fun with easily agitated flashers? ;) .m On Tue, Dec 8, 2009 at 4:58 AM, beno - flashmeb...@gmail.com Twisted mind indeed. Do unto others as you would have others do unto you. If you treat me badly, it will come back to you (karma). Treat others with respect. Be nice. As for me, I just keep turning the other cheek. Do to me what you will, you cannot disturb my equanimity. I am always your friend, no matter what. And I will point out your errors to help you see the stumbling-blocks you place in your own path. Only the best of friends would do that for people who try to hurt them. You are hurting only yourself (yourselves). You have not hurt me. You cannot hurt me. It isn't even possible. Peace to you. My peace I leave with you. Draw your tight circles to close me out. I draw my infinitely wide circle to bring you in. Love conquers all. beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
Glen Pike wrote: Might be a troll... They live under bridges - never heard of one in the Jungle. Matt S. wrote: I smell a prank. Does anyone else wonder if Beno really exists, or is just the product of a list regular having a little fun with easily agitated flashers? ;) .m ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
So are you going to expect your clients to lash out at you if you do not do what you promised them? Would you expect them to act the same way you are about your FREE help? The only difference is, they have a reason to be upset with you. They were going to pay you. Do everyone a favor and outsource some of your stressful workload. Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com -Original Message- From: beno - flashmeb...@gmail.com Date: Tue, 8 Dec 2009 04:52:19 To: Flash Coders Listflashcoders@chattyfig.figleaf.com Cc: nat...@mynarcik.com Subject: Re: [Flashcoders] Back On Course, Still Problems On Tue, Dec 8, 2009 at 4:11 AM, Cedric Muller flashco...@benga.li wrote: Again ??!? Beno, you promised you would buy these books and study. And you promised to build bricks first before trying to build a skyscraper. I promised I would buy the books around the end of the year. I never promised anything about bricks or skyscrapers. I did, however, promise three clients I would build their sites in Flash. What is your point? That I am not honest? I am. Why don't we just get back to Flash? beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
Those are very wise words yet mean nothing coming from you because you do not follow them. Just sayin'. --Original Message-- From: beno - Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders List Subject: Re: [Flashcoders] Back On Course, Still Problems Sent: Dec 8, 2009 3:58 AM On Mon, Dec 7, 2009 at 2:50 PM, Merrill, Jason jason.merr...@bankofamerica.com wrote: In my twisted mind, I'm actually kinda enjoying watching this thread self-destruct under its own weight. Twisted mind indeed. Do unto others as you would have others do unto you. If you treat me badly, it will come back to you (karma). Treat others with respect. Be nice. As for me, I just keep turning the other cheek. Do to me what you will, you cannot disturb my equanimity. I am always your friend, no matter what. And I will point out your errors to help you see the stumbling-blocks you place in your own path. Only the best of friends would do that for people who try to hurt them. You are hurting only yourself (yourselves). You have not hurt me. You cannot hurt me. It isn't even possible. Peace to you. My peace I leave with you. Draw your tight circles to close me out. I draw my infinitely wide circle to bring you in. Love conquers all. beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
We've gone from rudimentary Flash to jungle exile to treatises on human behavior bouncing off the Illuminati on the way to betrayal and disillusionment. Pretty impressive work, list; someone should convert this thread into an opera. On Tue, Dec 8, 2009 at 3:35 AM, Cedric Muller flashco...@benga.li wrote: I don't know, I think it has more to do with humility and being humble ... are we ? Beno, In the spirit of your recommendations and opinions regarding criticism, allow me to be blunt with you in the manner you find most effective. Considering everyone here has expressed a negative reaction to your communication style, it's pretty fucking clear where the problem is. Whether you like it or not, whether you agree with it or not, based entirely on people's reactions, you're being an asshole. You can either accept the reality of people's reactions and adjust your behavior accordingly, or you can refuse to accept it and attempt, with more of the same behavior, to convince them to change their perception. Which do you think is more likely to be within your power to control? Your behavior or everyone else's? Here are some famous quotes for you: God, grant me the serenity to accept the things I cannot change, the courage to change the things I can, and the wisdom to know the difference. - Reinhold Niebuhr Insanity is defined as doing the same thing over and over and expecting different results. - Albert Einstein Do what you will. Keep behaving in a way that other people find distasteful and discover how quickly nobody will ever help you again, or change your behavior for a different result. It's really up to you. This is the last I'll speak on the matter, and I have no interest in discussing it with you further. The list owner, who has also expressed a negative reaction to your approach, has asked for this to end, and I personally think that if you don't change your tact, he should ban you from the list. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
dammit - i missed the beginning of this thread - where's the archives please classic ax On Tue, Dec 8, 2009 at 2:35 PM, Matt Gitchell m...@moonbootmedia.comwrote: We've gone from rudimentary Flash to jungle exile to treatises on human behavior bouncing off the Illuminati on the way to betrayal and disillusionment. Pretty impressive work, list; someone should convert this thread into an opera. On Tue, Dec 8, 2009 at 3:35 AM, Cedric Muller flashco...@benga.li wrote: I don't know, I think it has more to do with humility and being humble ... are we ? Beno, In the spirit of your recommendations and opinions regarding criticism, allow me to be blunt with you in the manner you find most effective. Considering everyone here has expressed a negative reaction to your communication style, it's pretty fucking clear where the problem is. Whether you like it or not, whether you agree with it or not, based entirely on people's reactions, you're being an asshole. You can either accept the reality of people's reactions and adjust your behavior accordingly, or you can refuse to accept it and attempt, with more of the same behavior, to convince them to change their perception. Which do you think is more likely to be within your power to control? Your behavior or everyone else's? Here are some famous quotes for you: God, grant me the serenity to accept the things I cannot change, the courage to change the things I can, and the wisdom to know the difference. - Reinhold Niebuhr Insanity is defined as doing the same thing over and over and expecting different results. - Albert Einstein Do what you will. Keep behaving in a way that other people find distasteful and discover how quickly nobody will ever help you again, or change your behavior for a different result. It's really up to you. This is the last I'll speak on the matter, and I have no interest in discussing it with you further. The list owner, who has also expressed a negative reaction to your approach, has asked for this to end, and I personally think that if you don't change your tact, he should ban you from the list. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
On Tue, Dec 8, 2009 at 6:35 AM, Mark Winterhalder mar...@gmail.com wrote: On Tue, Dec 8, 2009 at 10:52 AM, beno - flashmeb...@gmail.com wrote: I promised I would buy the books around the end of the year. In case you're interested, Safari Books has a free 10 day trial. I haven't tried it myself, but I hear it's good. One of my greatest challenges right now is online time. I still haven't even bought a computer, and am borrowing the same. Thanks, though. beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
On Tue, Dec 8, 2009 at 6:42 AM, Karl DeSaulniers k...@designdrumm.comwrote: Did you mean: Best Furnature 4200 United Shopping Plaza Christiansted, St. Croix U.S. Virgin Islands 00820 beno C/o Best Furniture etc. ? and yes I was serious. Cool! Thank you. BTW, you should probably buy a new one, since Amazon will ship it through the USPS directly, whereas the used books I always have to have shipped to my brother in the states and re-shipped down here. Thanks again! Please keep me posted. I only go to Best Furniture on weekends, usually. beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
We've gone from rudimentary Flash to jungle exile to treatises on human behavior bouncing off the Illuminati on the way to betrayal and disillusionment. Pretty impressive work, list; someone should convert this thread into an opera. Let's go ahead and end this thread now. I prefer to do as little moderation as possible, but this is getting ridiculous. Thanks in advance! Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
On Tue, Dec 8, 2009 at 6:49 AM, Karl DeSaulniers k...@designdrumm.comwrote: 4200 United Shopping Plaza Christiansted, St. Croix U.S. Virgin Islands 00820 beno c/o Best Furniture etc. Addresses are strange down here in the Virgin Islands. Everything is by estate, not street. Take my word for it ;) beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
On Tue, Dec 8, 2009 at 3:58 AM, beno - flashmeb...@gmail.com wrote: On Mon, Dec 7, 2009 at 5:38 PM, Karl DeSaulniers k...@designdrumm.comwrote: My suggetion to you bueno is to rewrite your code using the suggestions provided by this list. Keep all variables different. If your attaching multiple instances , use the for loop to assign their names. Trace trace trace. Looking at the code again, it seems clearly that the problem has to do with trying to access the public function myLeftHand. The first two declarations of mcHandInstance2 in the unrevised code submitted yesterday were from earlier incarnations of trying to resolve this problem. I have eliminated them, and uncommented the call to myLeftHand: public function init():void { hatAndFace(); eyeball1(); eyeball2(); myRightHand(); //var mcHandInstance2:mcHand = new mcHand(); //addChild(mcHandInstance2) //mcHandInstance2.addFrameScript(20, myLeftHand) myLeftHand(); } Here is the code for myLeftHand: public function myLeftHand(e:Event=null):void { if (e.target.currentFrame == 10) { trace(yes) }; var mcHandInstance2A:mcHand = new mcHand(); addChild(mcHandInstance2A); mcHandInstance2A.x = 800; mcHandInstance2A.y = 200; //if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } } } The swf plays without myLeftHand, but throws a 1009 error, apparently indicating that I'm referencing something (myLeftHand) that doesn't exist. Therefore, my function is not being read. Can you please inform me why? TIA, beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Back On Course, Still Problems
What is setting e in your code? -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of beno - Sent: Tuesday, December 08, 2009 12:38 PM To: Flash Coders List Subject: Re: [Flashcoders] Back On Course, Still Problems On Tue, Dec 8, 2009 at 3:58 AM, beno - flashmeb...@gmail.com wrote: On Mon, Dec 7, 2009 at 5:38 PM, Karl DeSaulniers k...@designdrumm.comwrote: My suggetion to you bueno is to rewrite your code using the suggestions provided by this list. Keep all variables different. If your attaching multiple instances , use the for loop to assign their names. Trace trace trace. Looking at the code again, it seems clearly that the problem has to do with trying to access the public function myLeftHand. The first two declarations of mcHandInstance2 in the unrevised code submitted yesterday were from earlier incarnations of trying to resolve this problem. I have eliminated them, and uncommented the call to myLeftHand: public function init():void { hatAndFace(); eyeball1(); eyeball2(); myRightHand(); //var mcHandInstance2:mcHand = new mcHand(); //addChild(mcHandInstance2) //mcHandInstance2.addFrameScript(20, myLeftHand) myLeftHand(); } Here is the code for myLeftHand: public function myLeftHand(e:Event=null):void { if (e.target.currentFrame == 10) { trace(yes) }; var mcHandInstance2A:mcHand = new mcHand(); addChild(mcHandInstance2A); mcHandInstance2A.x = 800; mcHandInstance2A.y = 200; //if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } } } The swf plays without myLeftHand, but throws a 1009 error, apparently indicating that I'm referencing something (myLeftHand) that doesn't exist. Therefore, my function is not being read. Can you please inform me why? TIA, beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
On Tue, Dec 8, 2009 at 3:02 PM, Gregory Boudreaux gjboudre...@fedex.comwrote: What is setting e in your code? I have no idea. This is what was suggested to me on this list once upon a time. I presume that's the problem. The idea was to make the mc run when the code entered a certain frame, as you can see by the commented-out line and the trace: public function myLeftHand(e:Event=null):void { if (e.target.currentFrame == 10) { trace(yes) }; var mcHandInstance2A:mcHand = new mcHand(); addChild(mcHandInstance2A); mcHandInstance2A.x = 800; mcHandInstance2A.y = 200; //if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } What should it be? How do I tie it in to the rest of the code? TIA, beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
Maybe you should be a preacher, rather than a programmer? The only thing you are doing with the stumbling-blocks, is dropping them on the very toes of the people that are trying to help you. You truly lack manners and do not understand proper etiquette/common courtesy. Just my 2 cents and observations, John on 12/8/09 3:58 AM, beno - at flashmeb...@gmail.com wrote: Twisted mind indeed. Do unto others as you would have others do unto you. If you treat me badly, it will come back to you (karma). Treat others with respect. Be nice. As for me, I just keep turning the other cheek. Do to me what you will, you cannot disturb my equanimity. I am always your friend, no matter what. And I will point out your errors to help you see the stumbling-blocks you place in your own path. Only the best of friends would do that for people who try to hurt them. You are hurting only yourself (yourselves). You have not hurt me. You cannot hurt me. It isn't even possible. Peace to you. My peace I leave with you. Draw your tight circles to close me out. I draw my infinitely wide circle to bring you in. Love conquers all. beno John R. Sweeney Jr. Interactive Multimedia Developer OnDemand Interactive Inc www.ondemandinteractive.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Back On Course, Still Problems
Without knowing what else you have going on... remove all references to e in your current code to see if you get an error. public function myLeftHand():void { var mcHandInstance2A:mcHand = new mcHand(); addChild(mcHandInstance2A); mcHandInstance2A.x = 800; mcHandInstance2A.y = 200; } Just a suggestion. You should probably start writing empty functions, compile, and check for errors... Then add ONE line at a time and compile after every change. You might find your errors more easily that way. gregb -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of beno - Sent: Tuesday, December 08, 2009 1:18 PM To: Flash Coders List Subject: Re: [Flashcoders] Back On Course, Still Problems On Tue, Dec 8, 2009 at 3:02 PM, Gregory Boudreaux gjboudre...@fedex.comwrote: What is setting e in your code? I have no idea. This is what was suggested to me on this list once upon a time. I presume that's the problem. The idea was to make the mc run when the code entered a certain frame, as you can see by the commented-out line and the trace: public function myLeftHand(e:Event=null):void { if (e.target.currentFrame == 10) { trace(yes) }; var mcHandInstance2A:mcHand = new mcHand(); addChild(mcHandInstance2A); mcHandInstance2A.x = 800; mcHandInstance2A.y = 200; //if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } What should it be? How do I tie it in to the rest of the code? TIA, beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
beno - wrote: On Tue, Dec 8, 2009 at 3:02 PM, Gregory Boudreaux gjboudre...@fedex.comwrote: What is setting e in your code? It the remnants of a solution using an event handler - hence the e:Event. You can also see the remnants of code for controlling MovieClips using enterframe (a pointless exercise to avoid adding stop on the timeline). All this stuff is clearly beyond Beno. I have no idea. This is what was suggested to me on this list once upon a time. I presume that's the problem. The idea was to make the mc run when the code entered a certain frame, as you can see by the commented-out line and the trace: public function myLeftHand(e:Event=null):void { if (e.target.currentFrame == 10) { trace(yes) }; var mcHandInstance2A:mcHand = new mcHand(); addChild(mcHandInstance2A); mcHandInstance2A.x = 800; mcHandInstance2A.y = 200; //if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } What should it be? How do I tie it in to the rest of the code? TIA, beno Beno, have you ever considered that programming is not for you? So far you have had a ton of help on a very simple example and very little of that assistance seems to have stuck. What you have now is a real hotpotch of the solutions provided and where you have been guided to a simple solution you've totally ignored it, Have you programmed anything before? A lot of people start with little knowledge and work up step by step. You're just wasting everyone's time with this because the advice really isn't sticking and it's apparent that any project of complexity is beyond your capabilities - at least in the near term. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
On Tue, Dec 8, 2009 at 3:34 PM, Gregory Boudreaux gjboudre...@fedex.comwrote: Without knowing what else you have going on... remove all references to e in your current code to see if you get an error. Well, that works, because it's a copy of what I have for mcRightHand except for the trace: public function myLeftHand():void { if (currentFrame == 10) { trace(yes) }; var mcHandInstance2:mcHand = new mcHand(); addChild(mcHandInstance2); mcHandInstance2.x = 800; mcHandInstance2.y = 200; //if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } The problems are that the trace doesn't trace, the mc plays at frame 1 when I want it to play at another frame, and then eventually I want to use the TweenMax stuff to reverse the movie. What do? TIA, beno public function myLeftHand():void { var mcHandInstance2A:mcHand = new mcHand(); addChild(mcHandInstance2A); mcHandInstance2A.x = 800; mcHandInstance2A.y = 200; } Just a suggestion. You should probably start writing empty functions, compile, and check for errors... Then add ONE line at a time and compile after every change. You might find your errors more easily that way. gregb -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of beno - Sent: Tuesday, December 08, 2009 1:18 PM To: Flash Coders List Subject: Re: [Flashcoders] Back On Course, Still Problems On Tue, Dec 8, 2009 at 3:02 PM, Gregory Boudreaux gjboudre...@fedex.comwrote: What is setting e in your code? I have no idea. This is what was suggested to me on this list once upon a time. I presume that's the problem. The idea was to make the mc run when the code entered a certain frame, as you can see by the commented-out line and the trace: public function myLeftHand(e:Event=null):void { if (e.target.currentFrame == 10) { trace(yes) }; var mcHandInstance2A:mcHand = new mcHand(); addChild(mcHandInstance2A); mcHandInstance2A.x = 800; mcHandInstance2A.y = 200; //if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } What should it be? How do I tie it in to the rest of the code? TIA, beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
Shouldn't e be the object that is calling the event for the method? Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com -Original Message- From: Gregory Boudreaux gjboudre...@fedex.com Date: Tue, 8 Dec 2009 13:34:18 To: Flash Coders Listflashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Back On Course, Still Problems Without knowing what else you have going on... remove all references to e in your current code to see if you get an error. public function myLeftHand():void { var mcHandInstance2A:mcHand = new mcHand(); addChild(mcHandInstance2A); mcHandInstance2A.x = 800; mcHandInstance2A.y = 200; } Just a suggestion. You should probably start writing empty functions, compile, and check for errors... Then add ONE line at a time and compile after every change. You might find your errors more easily that way. gregb -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of beno - Sent: Tuesday, December 08, 2009 1:18 PM To: Flash Coders List Subject: Re: [Flashcoders] Back On Course, Still Problems On Tue, Dec 8, 2009 at 3:02 PM, Gregory Boudreaux gjboudre...@fedex.comwrote: What is setting e in your code? I have no idea. This is what was suggested to me on this list once upon a time. I presume that's the problem. The idea was to make the mc run when the code entered a certain frame, as you can see by the commented-out line and the trace: public function myLeftHand(e:Event=null):void { if (e.target.currentFrame == 10) { trace(yes) }; var mcHandInstance2A:mcHand = new mcHand(); addChild(mcHandInstance2A); mcHandInstance2A.x = 800; mcHandInstance2A.y = 200; //if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } What should it be? How do I tie it in to the rest of the code? TIA, beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
On Tue, Dec 8, 2009 at 3:42 PM, Paul Andrews p...@ipauland.com wrote: beno - wrote: On Tue, Dec 8, 2009 at 3:02 PM, Gregory Boudreaux gjboudre...@fedex.com wrote: What is setting e in your code? It the remnants of a solution using an event handler - hence the e:Event. You can also see the remnants of code for controlling MovieClips using enterframe (a pointless exercise to avoid adding stop on the timeline). All this stuff is clearly beyond Beno. Clearly ;) I have no idea. This is what was suggested to me on this list once upon a time. I presume that's the problem. The idea was to make the mc run when the code entered a certain frame, as you can see by the commented-out line and the trace: public function myLeftHand(e:Event=null):void { if (e.target.currentFrame == 10) { trace(yes) }; var mcHandInstance2A:mcHand = new mcHand(); addChild(mcHandInstance2A); mcHandInstance2A.x = 800; mcHandInstance2A.y = 200; //if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } What should it be? How do I tie it in to the rest of the code? TIA, beno Beno, have you ever considered that programming is not for you? So far you have had a ton of help on a very simple example and very little of that assistance seems to have stuck. Many times. I'm actually an artist. Doesn't pay the bills ;) I've also muddled through programming in python for many years and, finally, starting to get pretty good at it. What you have now is a real hotpotch of the solutions provided and where you have been guided to a simple solution you've totally ignored it, Maybe, maybe not. Guide me again. Have you programmed anything before? See above. I'm currently writing a very sophisticated highly automated shopping cart in python from scratch. Basically finished the admin part of it, which is by far the most complex. A lot of people start with little knowledge and work up step by step. You're just wasting everyone's time with this because the advice really isn't sticking and it's apparent that any project of complexity is beyond your capabilities - at least in the near term. Well, you don't have to help me if you don't want to. Then again, maybe you'll have heart and give it another shot. Perhaps others will help. I honestly am trying. It ain't easy for us right-brainers to catch on to all this left-brain stuff, but I do catch on. Try me again ;) beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
The reason why it isn't tracing is because you are not telling the function what mc to check if its current frame is at 10. I believe that is what the e was for. mcToCheck.addEventListener(Event.ENTER_FRAME, myLeftHand); public function myLeftHand(e:Event):void { if (e.target.currentFrame == 10) { trace(yes) }; var mcHandInstance2:mcHand = new mcHand(); addChild(mcHandInstance2); mcHandInstance2.x = 800; mcHandInstance2.y = 200; //if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } Now assuming no other errors, you should get a trace yes when the mcToCheck's current frame hits 10. Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com -Original Message- From: beno - flashmeb...@gmail.com Date: Tue, 8 Dec 2009 15:46:07 To: Flash Coders Listflashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Back On Course, Still Problems On Tue, Dec 8, 2009 at 3:34 PM, Gregory Boudreaux gjboudre...@fedex.comwrote: Without knowing what else you have going on... remove all references to e in your current code to see if you get an error. Well, that works, because it's a copy of what I have for mcRightHand except for the trace: public function myLeftHand():void { if (currentFrame == 10) { trace(yes) }; var mcHandInstance2:mcHand = new mcHand(); addChild(mcHandInstance2); mcHandInstance2.x = 800; mcHandInstance2.y = 200; //if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } The problems are that the trace doesn't trace, the mc plays at frame 1 when I want it to play at another frame, and then eventually I want to use the TweenMax stuff to reverse the movie. What do? TIA, beno public function myLeftHand():void { var mcHandInstance2A:mcHand = new mcHand(); addChild(mcHandInstance2A); mcHandInstance2A.x = 800; mcHandInstance2A.y = 200; } Just a suggestion. You should probably start writing empty functions, compile, and check for errors... Then add ONE line at a time and compile after every change. You might find your errors more easily that way. gregb -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of beno - Sent: Tuesday, December 08, 2009 1:18 PM To: Flash Coders List Subject: Re: [Flashcoders] Back On Course, Still Problems On Tue, Dec 8, 2009 at 3:02 PM, Gregory Boudreaux gjboudre...@fedex.comwrote: What is setting e in your code? I have no idea. This is what was suggested to me on this list once upon a time. I presume that's the problem. The idea was to make the mc run when the code entered a certain frame, as you can see by the commented-out line and the trace: public function myLeftHand(e:Event=null):void { if (e.target.currentFrame == 10) { trace(yes) }; var mcHandInstance2A:mcHand = new mcHand(); addChild(mcHandInstance2A); mcHandInstance2A.x = 800; mcHandInstance2A.y = 200; //if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } What should it be? How do I tie it in to the rest of the code? TIA, beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Back On Course, Still Problems
He does have the makings of a best-selling novel. Beno, have you ever considered that programming is not for you? So far you have had a ton of help on a very simple example and very little of that assistance seems to have stuck. What you have now is a real hotpotch of the solutions provided and where you have been guided to a simple solution you've totally ignored it, Have you programmed anything before? A lot of people start with little knowledge and work up step by step. You're just wasting everyone's time with this because the advice really isn't sticking and it's apparent that any project of complexity is beyond your capabilities - at least in the near term. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
Maybe you should be a preacher, rather than a programmer? That's how I feel today. I've been preaching all day to everyone to STOP THE OT STUFF, INCLUDING OT RESPONSES TO OTHER PEOPLE'S OT STUFF. Not to pick on you specifically, let's just all let it drop. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
On Tue, Dec 8, 2009 at 4:14 PM, Nathan Mynarcik nat...@mynarcik.com wrote: The reason why it isn't tracing is because you are not telling the function what mc to check if its current frame is at 10. I believe that is what the e was for. mcToCheck.addEventListener(Event.ENTER_FRAME, myLeftHand); public function myLeftHand(e:Event):void { if (e.target.currentFrame == 10) { trace(yes) }; var mcHandInstance2:mcHand = new mcHand(); addChild(mcHandInstance2); mcHandInstance2.x = 800; mcHandInstance2.y = 200; //if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } Now assuming no other errors, you should get a trace yes when the mcToCheck's current frame hits 10. I added that exactly. Got error 1120 access to undefined property with the mcToCheck... got 1136 Incorrect number of arguments to public function myLeftHand... Please advise. TIA, beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
Yeah sorry. That address will not work. It says it's not valid. Karl Sent from losPhone On Dec 8, 2009, at 12:14 PM, beno - flashmeb...@gmail.com wrote: On Tue, Dec 8, 2009 at 6:42 AM, Karl DeSaulniers k...@designdrumm.comwrote: Did you mean: Best Furnature 4200 United Shopping Plaza Christiansted, St. Croix U.S. Virgin Islands 00820 beno C/o Best Furniture etc. ? and yes I was serious. Cool! Thank you. BTW, you should probably buy a new one, since Amazon will ship it through the USPS directly, whereas the used books I always have to have shipped to my brother in the states and re-shipped down here. Thanks again! Please keep me posted. I only go to Best Furniture on weekends, usually. beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
I do. But amazons shipping doesn't Karl Sent from losPhone On Dec 8, 2009, at 12:15 PM, beno - flashmeb...@gmail.com wrote: On Tue, Dec 8, 2009 at 6:49 AM, Karl DeSaulniers k...@designdrumm.comwrote: 4200 United Shopping Plaza Christiansted, St. Croix U.S. Virgin Islands 00820 beno c/o Best Furniture etc. Addresses are strange down here in the Virgin Islands. Everything is by estate, not street. Take my word for it ;) beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
Well I know why this code was not working. if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } Because it should read. if (e.target.currentFrame == 40) { TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } You missed the first { Don know if that fixes everything or just this line. Karl Sent from losPhone On Dec 8, 2009, at 1:18 PM, beno - flashmeb...@gmail.com wrote: On Tue, Dec 8, 2009 at 3:02 PM, Gregory Boudreaux gjboudre...@fedex.com wrote: What is setting e in your code? I have no idea. This is what was suggested to me on this list once upon a time. I presume that's the problem. The idea was to make the mc run when the code entered a certain frame, as you can see by the commented-out line and the trace: public function myLeftHand(e:Event=null):void { if (e.target.currentFrame == 10) { trace(yes) }; var mcHandInstance2A:mcHand = new mcHand(); addChild(mcHandInstance2A); mcHandInstance2A.x = 800; mcHandInstance2A.y = 200; //if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } What should it be? How do I tie it in to the rest of the code? TIA, beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
I don't think, because braces are not required when the there is only one statement ended with semicolor: //code if(something) doSomething(); // semicolon ends the scope here... //code ... the second brace was ending the myLeftHand() method. I think that that the problem with this line was that mcHandInstance2 was neither defined as a class property nor as a local variable. I think Beno does not see difference between local variables (google: local variables tutorial) and class properties (google: class properties tutorial). g Tuesday, December 08, 2009 (10:07:34 PM) Karl DeSaulniers wrote: Well I know why this code was not working. if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } Because it should read. if (e.target.currentFrame == 40) { TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } You missed the first { Don know if that fixes everything or just this line. Karl Sent from losPhone On Dec 8, 2009, at 1:18 PM, beno - flashmeb...@gmail.com wrote: On Tue, Dec 8, 2009 at 3:02 PM, Gregory Boudreaux gjboudre...@fedex.com wrote: What is setting e in your code? I have no idea. This is what was suggested to me on this list once upon a time. I presume that's the problem. The idea was to make the mc run when the code entered a certain frame, as you can see by the commented-out line and the trace: public function myLeftHand(e:Event=null):void { if (e.target.currentFrame == 10) { trace(yes) }; var mcHandInstance2A:mcHand = new mcHand(); addChild(mcHandInstance2A); mcHandInstance2A.x = 800; mcHandInstance2A.y = 200; //if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } What should it be? How do I tie it in to the rest of the code? TIA, beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
Greg, I see your point. I am more familiar with AS2, so oops. I will be migrating soon. I promise. Karl On Dec 8, 2009, at 3:50 PM, Greg Ligierko wrote: I don't think, because braces are not required when the there is only one statement ended with semicolor: //code if(something) doSomething(); // semicolon ends the scope here... //code ... the second brace was ending the myLeftHand() method. I think that that the problem with this line was that mcHandInstance2 was neither defined as a class property nor as a local variable. I think Beno does not see difference between local variables (google: local variables tutorial) and class properties (google: class properties tutorial). g Tuesday, December 08, 2009 (10:07:34 PM) Karl DeSaulniers wrote: Well I know why this code was not working. if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } Because it should read. if (e.target.currentFrame == 40) { TweenMax.to (mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } You missed the first { Don know if that fixes everything or just this line. Karl Sent from losPhone On Dec 8, 2009, at 1:18 PM, beno - flashmeb...@gmail.com wrote: On Tue, Dec 8, 2009 at 3:02 PM, Gregory Boudreaux gjboudre...@fedex.com wrote: What is setting e in your code? I have no idea. This is what was suggested to me on this list once upon a time. I presume that's the problem. The idea was to make the mc run when the code entered a certain frame, as you can see by the commented-out line and the trace: public function myLeftHand(e:Event=null):void { if (e.target.currentFrame == 10) { trace(yes) }; var mcHandInstance2A:mcHand = new mcHand(); addChild(mcHandInstance2A); mcHandInstance2A.x = 800; mcHandInstance2A.y = 200; //if (e.target.currentFrame == 40) TweenMax.to (mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } What should it be? How do I tie it in to the rest of the code? TIA, beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re[2]: [Flashcoders] Back On Course, Still Problems
Karl, That is perfectly valid for AS2, for example: for(var k in myArray) trace(val: + myArray[k]); ...works both AS2 and AS3. Even a combo... if(someBoolean) for(var k in myArray) myClass(myArray[k]).doSomething(); Just one line and the semicolon ; (required). Man can save a pair of braces for later :) Greg Tuesday, December 08, 2009 (11:36:17 PM): Greg, I see your point. I am more familiar with AS2, so oops. I will be migrating soon. I promise. Karl On Dec 8, 2009, at 3:50 PM, Greg Ligierko wrote: I don't think, because braces are not required when the there is only one statement ended with semicolor: //code if(something) doSomething(); // semicolon ends the scope here... //code ... the second brace was ending the myLeftHand() method. I think that that the problem with this line was that mcHandInstance2 was neither defined as a class property nor as a local variable. I think Beno does not see difference between local variables (google: local variables tutorial) and class properties (google: class properties tutorial). g Tuesday, December 08, 2009 (10:07:34 PM) Karl DeSaulniers wrote: Well I know why this code was not working. if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } Because it should read. if (e.target.currentFrame == 40) { TweenMax.to (mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } You missed the first { Don know if that fixes everything or just this line. Karl Sent from losPhone On Dec 8, 2009, at 1:18 PM, beno - flashmeb...@gmail.com wrote: On Tue, Dec 8, 2009 at 3:02 PM, Gregory Boudreaux gjboudre...@fedex.com wrote: What is setting e in your code? I have no idea. This is what was suggested to me on this list once upon a time. I presume that's the problem. The idea was to make the mc run when the code entered a certain frame, as you can see by the commented-out line and the trace: public function myLeftHand(e:Event=null):void { if (e.target.currentFrame == 10) { trace(yes) }; var mcHandInstance2A:mcHand = new mcHand(); addChild(mcHandInstance2A); mcHandInstance2A.x = 800; mcHandInstance2A.y = 200; //if (e.target.currentFrame == 40) TweenMax.to (mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } What should it be? How do I tie it in to the rest of the code? TIA, beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
Beno buy a book and start where we all started: learning on your own or in a class. Now go in peace. Thanks Paul Andrews wrote: beno - wrote: On Tue, Dec 8, 2009 at 3:02 PM, Gregory Boudreaux gjboudre...@fedex.comwrote: What is setting e in your code? It the remnants of a solution using an event handler - hence the e:Event. You can also see the remnants of code for controlling MovieClips using enterframe (a pointless exercise to avoid adding stop on the timeline). All this stuff is clearly beyond Beno. I have no idea. This is what was suggested to me on this list once upon a time. I presume that's the problem. The idea was to make the mc run when the code entered a certain frame, as you can see by the commented-out line and the trace: public function myLeftHand(e:Event=null):void { if (e.target.currentFrame == 10) { trace(yes) }; var mcHandInstance2A:mcHand = new mcHand(); addChild(mcHandInstance2A); mcHandInstance2A.x = 800; mcHandInstance2A.y = 200; //if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } What should it be? How do I tie it in to the rest of the code? TIA, beno Beno, have you ever considered that programming is not for you? So far you have had a ton of help on a very simple example and very little of that assistance seems to have stuck. What you have now is a real hotpotch of the solutions provided and where you have been guided to a simple solution you've totally ignored it, Have you programmed anything before? A lot of people start with little knowledge and work up step by step. You're just wasting everyone's time with this because the advice really isn't sticking and it's apparent that any project of complexity is beyond your capabilities - at least in the near term. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: Re[2]: [Flashcoders] Back On Course, Still Problems
Yes, your correct. I always use braces. It looks aesthetically pleasing to me and helps me separate things. BTW, what is the point of braces if you dont need them, except the separation of your code part. Are they needed in some situations over others? Karl On Dec 8, 2009, at 5:25 PM, Greg Ligierko wrote: Karl, That is perfectly valid for AS2, for example: for(var k in myArray) trace(val: + myArray[k]); ...works both AS2 and AS3. Even a combo... if(someBoolean) for(var k in myArray) myClass(myArray [k]).doSomething(); Just one line and the semicolon ; (required). Man can save a pair of braces for later :) Greg Tuesday, December 08, 2009 (11:36:17 PM): Greg, I see your point. I am more familiar with AS2, so oops. I will be migrating soon. I promise. Karl On Dec 8, 2009, at 3:50 PM, Greg Ligierko wrote: I don't think, because braces are not required when the there is only one statement ended with semicolor: //code if(something) doSomething(); // semicolon ends the scope here... //code ... the second brace was ending the myLeftHand() method. I think that that the problem with this line was that mcHandInstance2 was neither defined as a class property nor as a local variable. I think Beno does not see difference between local variables (google: local variables tutorial) and class properties (google: class properties tutorial). g Tuesday, December 08, 2009 (10:07:34 PM) Karl DeSaulniers wrote: Well I know why this code was not working. if (e.target.currentFrame == 40) TweenMax.to (mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } Because it should read. if (e.target.currentFrame == 40) { TweenMax.to (mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } You missed the first { Don know if that fixes everything or just this line. Karl Sent from losPhone On Dec 8, 2009, at 1:18 PM, beno - flashmeb...@gmail.com wrote: On Tue, Dec 8, 2009 at 3:02 PM, Gregory Boudreaux gjboudre...@fedex.com wrote: What is setting e in your code? I have no idea. This is what was suggested to me on this list once upon a time. I presume that's the problem. The idea was to make the mc run when the code entered a certain frame, as you can see by the commented-out line and the trace: public function myLeftHand(e:Event=null):void { if (e.target.currentFrame == 10) { trace(yes) }; var mcHandInstance2A:mcHand = new mcHand(); addChild(mcHandInstance2A); mcHandInstance2A.x = 800; mcHandInstance2A.y = 200; //if (e.target.currentFrame == 40) TweenMax.to (mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } What should it be? How do I tie it in to the rest of the code? TIA, beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Back On Course, Still Problems
Hi; First, a bit of a rant. A lister here offered to help me by looking directly at my code and resolving my problem. That was 10 days ago. I was patient. I kept in touch with him. He kept saying he'd get to it. He never did. The result is that I am now 10 days further behind on a project I'm now 2.5 months behind on. The moral of the story is that if you're not sincerely going to help, do not offer to help, because you're just creating even more problems. Ok, I tried googling wherever we were on this without success, so I'm starting where I knew the problem was. Here is an abbreviated version of my code: package { import flash.events.Event; import flash.events.MouseEvent; import flash.display.MovieClip; import com.greensock.*; import com.greensock.plugins.*; import com.greensock.easing.*; public class Main extends MovieClip { public var mcHandInstance2:mcHand; public function Main():void { } public function init():void { hatAndFace(); eyeball1(); eyeball2(); myRightHand(); var mcHandInstance2:mcHand = new mcHand(); addChild(mcHandInstance2) mcHandInstance2.addFrameScript(20, myLeftHand) //myLeftHand(); } private function myLeftHand(e:Event=null):void { var mcHandInstance2:mcHand = new mcHand(); addChild(mcHandInstance2); mcHandInstance2.x = 800; mcHandInstance2.y = 200; //if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } } } No errors are thrown. When I step through the code to check for errors I still come up empty handed. myLeftHand doesn't do anything. It doesn't print to the screen. Please advise. TIA, beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
Hi Maybe I'm missing the obvious but perhaps you are hitting a variable naming problem. Why not try to give each variable a distinct name so that there is less chance of confusion. For example you have 3 different variable declarations for myHandInstance2, 2 of which are local and one is scoped to the main class. While in theory these should be independent it certainly can lead to confusion just in reading your code. I'm also at a loss as to why myLeftHand() and your init function both seem to be creating an instance of myHand, one as part of a framescript on 20 of the other, not that it is illegal to put one instance inside another, but it begs the question is that what you are trying to do? Perhaps, if you were to clean things up, in the init() function get rid of the declaration of myHandInstance2 and use the public variable on the class, then at least if you have a means of triggering a method on the main object post init() you will be able to see and inspect that instance and see where it is, and so forth. Sincerely Mark R. Jonkman - Original Message - From: beno - flashmeb...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Monday, December 7, 2009 11:30:21 AM GMT -05:00 US/Canada Eastern Subject: [Flashcoders] Back On Course, Still Problems Hi; First, a bit of a rant. A lister here offered to help me by looking directly at my code and resolving my problem. That was 10 days ago. I was patient. I kept in touch with him. He kept saying he'd get to it. He never did. The result is that I am now 10 days further behind on a project I'm now 2.5 months behind on. The moral of the story is that if you're not sincerely going to help, do not offer to help, because you're just creating even more problems. Ok, I tried googling wherever we were on this without success, so I'm starting where I knew the problem was. Here is an abbreviated version of my code: package { import flash.events.Event; import flash.events.MouseEvent; import flash.display.MovieClip; import com.greensock.*; import com.greensock.plugins.*; import com.greensock.easing.*; public class Main extends MovieClip { public var mcHandInstance2:mcHand; public function Main():void { } public function init():void { hatAndFace(); eyeball1(); eyeball2(); myRightHand(); var mcHandInstance2:mcHand = new mcHand(); addChild(mcHandInstance2) mcHandInstance2.addFrameScript(20, myLeftHand) // myLeftHand(); } private function myLeftHand(e:Event=null):void { var mcHandInstance2:mcHand = new mcHand(); addChild(mcHandInstance2); mcHandInstance2.x = 800; mcHandInstance2.y = 200; // if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } } } No errors are thrown. When I step through the code to check for errors I still come up empty handed. myLeftHand doesn't do anything. It doesn't print to the screen. Please advise. TIA, beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Back On Course, Still Problems
Well gee after that intro, let me jump all over helping you. You should know people here are volunteering their free time and that's the price you pay when someone offers to help for free. For free. Free that is. I saw a LOT of people here trying to help you over the past few weeks, you had some threads that frankly, went on annoyingly long, and several things were Google-able. I don't see any traces in your code, you might start by using the trace feature to see if things like this statement: if (e.target.currentFrame == 40) even runs before bothering the list with your question. Heck, put some traces inside of myLeftHand to see if it runs. I have no idea why you're inserting frame scripts, I don't have any history on what your reasons for that is, so if you're going to re-post and ask questions again, start by clearly explaining your problem, and above all, play nice. Jason Merrill Bank of America Global Learning Learning Performance Soluions Join the Bank of America Flash Platform Community and visit our Instructional Technology Design Blog (note: these are for Bank of America employees only) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of beno - Sent: Monday, December 07, 2009 11:30 AM To: Flash Coders List Subject: [Flashcoders] Back On Course, Still Problems Hi; First, a bit of a rant. A lister here offered to help me by looking directly at my code and resolving my problem. That was 10 days ago. I was patient. I kept in touch with him. He kept saying he'd get to it. He never did. The result is that I am now 10 days further behind on a project I'm now 2.5 months behind on. The moral of the story is that if you're not sincerely going to help, do not offer to help, because you're just creating even more problems. Ok, I tried googling wherever we were on this without success, so I'm starting where I knew the problem was. Here is an abbreviated version of my code: package { import flash.events.Event; import flash.events.MouseEvent; import flash.display.MovieClip; import com.greensock.*; import com.greensock.plugins.*; import com.greensock.easing.*; public class Main extends MovieClip { public var mcHandInstance2:mcHand; public function Main():void { } public function init():void { hatAndFace(); eyeball1(); eyeball2(); myRightHand(); var mcHandInstance2:mcHand = new mcHand(); addChild(mcHandInstance2) mcHandInstance2.addFrameScript(20, myLeftHand) //myLeftHand(); } private function myLeftHand(e:Event=null):void { var mcHandInstance2:mcHand = new mcHand(); addChild(mcHandInstance2); mcHandInstance2.x = 800; mcHandInstance2.y = 200; //if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } } } No errors are thrown. When I step through the code to check for errors I still come up empty handed. myLeftHand doesn't do anything. It doesn't print to the screen. Please advise. TIA, beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Back On Course, Still Problems
and above all, play nice. Well said, Jason! Let me just say that this list is the most valuable asset in my Flash work by far, and I truly appreciate every response I get from it. Jason happens to be more than generous in the amount of questions he responds to and I think many others will attest to that. Only after going through the help, tinkering, and searching this forum and others lead nowhere, then I post. When I post, it's because I'm totally stumped. And I always appreciate responses! Never rely on this list to finish the job for you. If you hit a dead end, go for Plan B. That said, you might want to try an Event.ADDED_TO_STAGE to see if your hand is are even there. - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
Beno, First, a bit of a rant. These people have given you so much, and they have to make progress too. We know it's a struggle but you really must help yourself. Please advise. When I started I read Colin Mook's book from start to finish: http://www.amazon.com/Essential-ActionScript-3-0-Colin-Moock/dp/0596526946 Another book you might find useful: http://www.amazon.com/Learning-ActionScript-3-0-Beginners-Guide/dp/059652787X/ref=sr_1_1?ie=UTF8s=booksqid=1260207561sr=1-1 Invest your time in a book first, before you ask others to invest their time in you. It will be worth it. John ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
On Mon, Dec 7, 2009 at 1:00 PM, Mendelsohn, Michael michael.mendels...@fmglobal.com wrote: and above all, play nice. Well said, Jason! Disagree. If someone tells you, Hey, I'm going to help you. Just give me a couple of days and I'll take a personal look at your code and walk you through it. and you believe him and he strings you along and wastes 10 of your precious days, you mean to tell me that's all good? You mean to tell me you'd be grateful to him doing that? I don't think so... That's abusive, period. If you're not going to fulfill, then keep your mouth shut. Don't offer. This person put me an additional 10 days behind schedule with promises he didn't fulfill. That is not good. Period. Let me just say that this list is the most valuable asset in my Flash work by far, and I truly appreciate every response I get from it. Jason happens to be more than generous in the amount of questions he responds to and I think many others will attest to that. Only after going through the help, tinkering, and searching this forum and others lead nowhere, then I post. When I post, it's because I'm totally stumped. Well, gee, so do I!!! I'm just brand new, that's all. And I always appreciate responses! Never rely on this list to finish the job for you. If you hit a dead end, go for Plan B. And that's exactly what I'm doing. But I figured I'd give this guy enough time to prove if he was honest. He wasn't. What a pity. Thank you all for your code suggestions. I'm working on them now and will respond later. beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Back On Course, Still Problems
Beno wrote: That's abusive, period. Ok, now I'm really motivated to help Beno when I have time. Cordially, Kerry Thompson ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
That person didn't put you in a difficult position, you put yourself in it. What's funny is, you are relying on others to do your work. You should never stop just because one person said they will help. Go find the answer or solution yourself. I think you have received so much help with so much patience, and for you to come back like that? THAT'S abusive. The guy willing to help you is not on your payroll. You need to realize that this is no ones issue but yours and yours alone. You have the attitude you have right now, and it is going to be hard to find more help on this list. Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com -Original Message- From: beno - flashmeb...@gmail.com Date: Mon, 7 Dec 2009 13:48:54 To: Flash Coders Listflashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Back On Course, Still Problems On Mon, Dec 7, 2009 at 1:00 PM, Mendelsohn, Michael michael.mendels...@fmglobal.com wrote: and above all, play nice. Well said, Jason! Disagree. If someone tells you, Hey, I'm going to help you. Just give me a couple of days and I'll take a personal look at your code and walk you through it. and you believe him and he strings you along and wastes 10 of your precious days, you mean to tell me that's all good? You mean to tell me you'd be grateful to him doing that? I don't think so... That's abusive, period. If you're not going to fulfill, then keep your mouth shut. Don't offer. This person put me an additional 10 days behind schedule with promises he didn't fulfill. That is not good. Period. Let me just say that this list is the most valuable asset in my Flash work by far, and I truly appreciate every response I get from it. Jason happens to be more than generous in the amount of questions he responds to and I think many others will attest to that. Only after going through the help, tinkering, and searching this forum and others lead nowhere, then I post. When I post, it's because I'm totally stumped. Well, gee, so do I!!! I'm just brand new, that's all. And I always appreciate responses! Never rely on this list to finish the job for you. If you hit a dead end, go for Plan B. And that's exactly what I'm doing. But I figured I'd give this guy enough time to prove if he was honest. He wasn't. What a pity. Thank you all for your code suggestions. I'm working on them now and will respond later. beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
Jason's suggestion of adding a trace to see if the class is even being activated was excellent, thank you. No, it is not being activated. I tried to comment out the mcHandInstance2 as per Mark's suggestion: public function init():void { hatAndFace(); eyeball1(); eyeball2(); myRightHand(); //var mcHandInstance2:mcHand = new mcHand(); addChild(mcHandInstance2) mcHandInstance2.addFrameScript(20, myLeftHand) //myLeftHand(); } but it threw this error: TypeError: Error #2007: Parameter child must be non-null. at flash.display::DisplayObjectContainer/addChild() at Main/init() at main_fla::MainTimeline/frame1() Mark informs me that I need to name these calls to mcHandInstance2 different things; however, I still am greatly struggling to understand the fundamental logic of what I'm trying to build. Can you help me understand how these various elements work together so that I can properly name them? I, like you, doubt seriously that I want them all to be the same name. I'm sure Michael's suggestion was as good as Jason's, but obviously there was no point for it, at least at this juncture, because the class is not being activated. If you all care to, please suggest google kw for me to research, but please not the general educational information, of which I have studied some and continue to study more. The learning curve is long and steep, par for the course in programming, but frankly (and this is not a complaint!) apparently longer and steeper than the norm with AS3. TIA, beno package { import flash.events.Event; import flash.events.MouseEvent; import flash.display.MovieClip; import com.greensock.*; import com.greensock.plugins.*; import com.greensock.easing.*; public class Main extends MovieClip { public var mcHandInstance2:mcHand; public function Main():void { } public function init():void { hatAndFace(); eyeball1(); eyeball2(); myRightHand(); var mcHandInstance2:mcHand = new mcHand(); addChild(mcHandInstance2) mcHandInstance2.addFrameScript(20, myLeftHand) //myLeftHand(); } public function hatAndFace():void { TweenPlugin.activate([AutoAlphaPlugin]); var mcHatAndFaceInstance:mcHatAndFace = new mcHatAndFace(); addChild(mcHatAndFaceInstance); mcHatAndFaceInstance.x = 350; mcHatAndFaceInstance.y = 100; mcHatAndFaceInstance.alpha = 0; TweenLite.to(mcHatAndFaceInstance, 2, {autoAlpha:1}); } public function eyeball1():void { var mcEyeballInstance1:mcEyeball = new mcEyeball(); addChild(mcEyeballInstance1); mcEyeballInstance1.x = 380; mcEyeballInstance1.y = 115; mcEyeballInstance1.alpha = 0; TweenLite.to(mcEyeballInstance1, 2, {autoAlpha:1}); } public function eyeball2():void { var mcEyeballInstance2:mcEyeball = new mcEyeball(); addChild(mcEyeballInstance2); mcEyeballInstance2.x = 315; mcEyeballInstance2.y = 115; mcEyeballInstance2.alpha = 0; TweenLite.to(mcEyeballInstance2, 2, {autoAlpha:1}); } public function myRightHand():void { var mcHandInstance1:mcHand = new mcHand(); addChild(mcHandInstance1); mcHandInstance1.x = 400; mcHandInstance1.y = 200; } /* public function set totalProgress(value:Number):void { myLeftHand.value = 1; } */ // private function myLeftHand():void private function myLeftHand(e:Event=null):void { if (e.target.currentFrame == 10) { trace(yes) }; var mcHandInstance2:mcHand = new mcHand(); addChild(mcHandInstance2); mcHandInstance2.x = 800; mcHandInstance2.y = 200; //if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } } } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Back On Course, Still Problems
Beno wrote: First, a bit of a rant. Actually, Beno does have a somewhat valid gripe. I was the one who offered to look at the code, and I wasn't able to provide him a solution. I did look through the code, and ran it in the debugger. I also advised him to do the same, and explained how to do it. To his credit, he did run it in the debugger, but wasn't able to find the answer. I got into crunch mode at work--I'm preparing an advertising campaign for our Web site, and I've been working 12-hour days, so I hope Beno will excuse my not having the bandwidth to help him. I did say I would, though, so we shouldn't be too harsh on him for expressing his disappointment. Having said that, Beno, your code really is your responsibility. Even when you gave me a copy, you should continue to try to find the problem yourself. People will promise to help, but they won't write your code for you. Programming is all about understanding cause and effect. To be successful programmers, we all have to be able to create our own logic, and figure out why it's not working when there's a bug. Beno has some things going on in his life that he shared with me. I don't feel comfortable repeating what he said off-line, but his current circumstances make it especially difficult to program effectively. In light of that, I'm unwilling to judge him too harshly. I just wish I was able to help him more. I have to get back to my campaign now, though. It's due in 3 hours. Cordially, Kerry Thompson ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
On Mon, Dec 7, 2009 at 1:41 PM, John McCormack j...@easypeasy.co.uk wrote: Beno, First, a bit of a rant. These people have given you so much, and they have to make progress too. We know it's a struggle but you really must help yourself. Please advise. When I started I read Colin Mook's book from start to finish: http://www.amazon.com/Essential-ActionScript-3-0-Colin-Moock/dp/0596526946 Another book you might find useful: http://www.amazon.com/Learning-ActionScript-3-0-Beginners-Guide/dp/059652787X/ref=sr_1_1?ie=UTF8s=booksqid=1260207561sr=1-1 Invest your time in a book first, before you ask others to invest their time in you. It will be worth it. I know you're right, but to be perfectly honest with you, I barely have money for food right now. beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
On Mon, Dec 7, 2009 at 1:58 PM, Kerry Thompson al...@cyberiantiger.bizwrote: Beno wrote: First, a bit of a rant. Actually, Beno does have a somewhat valid gripe. I was the one who offered to look at the code, and I wasn't able to provide him a solution. S**t happens ;) beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
beno - wrote: Disagree. If someone tells you, Hey, I'm going to help you. Just give me a couple of days and I'll take a personal look at your code and walk you through it. and you believe him and he strings you along and wastes 10 of your precious days, you mean to tell me that's all good? You mean to tell me you'd be grateful to him doing that? I don't think so... That's abusive, period. If you're not going to fulfill, then keep your mouth shut. Don't offer. This person put me an additional 10 days behind schedule with promises he didn't fulfill. That is not good. Period. So you are blaming your schedule issue on someone who doesn't get a buck in return not doing something for free within reasonable time? Bo ho. If you wanted something done within a certain timeframe, you should have made a contract with a punishment clause. That and actually paying for the job. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Back On Course, Still Problems
If someone tells you, Hey, I'm going to help you. Just give me a couple of days and I'll take a personal look at your code and walk you through it. and you believe him and you believe him - that's the root of the problem right there- you need to realize you can't rely on free help - people will try, but life happens. If you're relying on anonymous people you meet on the internet to help you for free with your project, you're both putting your project at great risk, and you're in the wrong profession (or at least going about it the wrong way). If you play that game you're very likely going to lose from time to time, you should know that. Kerry was generous to try and help you, and he owes you nothing. If you feel strung along, that's your fault. This is why spammers are still spamming and making money at - there will always be people who risk too much faith in the unknown. If you were paying him for his help, that's a different story, but you aren't - maybe you should. Sometimes I get the feeling you're trying to crowdsource your Actionscript problems instead of learning the actual mechanics of it. Jason Merrill Bank of America Global Learning Learning Performance Soluions Join the Bank of America Flash Platform Community and visit our Instructional Technology Design Blog (note: these are for Bank of America employees only) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
On Mon, Dec 7, 2009 at 2:06 PM, Nathan Mynarcik nat...@mynarcik.com wrote: That person didn't put you in a difficult position, you put yourself in it. What's funny is, you are relying on others to do your work. You should never stop just because one person said they will help. Go find the answer or solution yourself. I think you have received so much help with so much patience, and for you to come back like that? THAT'S abusive. The guy willing to help you is not on your payroll. You need to realize that this is no ones issue but yours and yours alone. You have the attitude you have right now, and it is going to be hard to find more help on this list. That's not true. Your feelings are a little hurt and this will blow over. The fact of the matter is that, after being in the jungle with hardly any Internet access for 5 years and coming back to the real world broke to start over, signing up accounts to develop Flash and a Python shopping cart, and assuming (the big error) that the outsourcing world worked on an unnamed dot-com site like it did 5 years ago, only to discover that the world had greatly changed, and that the server farm with which I was working had such ancient hardware that even hello, world python scripts failed, I suddenly found myself horribly behind the 8-ball with accounts I am now personally fulfilling. When Kerry offered to help I trusted him and turned immediately to the other (and thankfully last) fire I'm trying to put out; namely, finishing the development of my shopping cart. No, I have not been sucking down martinis at the 19th hole ;) I've been working my a** off. I'll be working on these two areas (Flash and the Python shopping cart) simultaneously until the shopping cart is done, and then I will turn ALL of my attention to Flash until I put out this last fire. I just bet you'd do the exact same thing I'm doing if you were in my shoes...or shoot yourself ;) BTW, any answers to my questions? TIA, beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
I really feel like you are trying to build a ferrari without taking one automotive class. To understand the logic, you need to establish a firm foundation of understand as3. Then build your skill level on that. If you build a house without a good foundation, you are going to have issues during the building process. I think this is partially what you are experiencing now. I know this is a huge growing point for you, but you are only capable of doing what you know how to do and can apply it to your project. Build that house first bro. Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com -Original Message- From: beno - flashmeb...@gmail.com Date: Mon, 7 Dec 2009 14:07:20 To: Flash Coders Listflashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Back On Course, Still Problems Jason's suggestion of adding a trace to see if the class is even being activated was excellent, thank you. No, it is not being activated. I tried to comment out the mcHandInstance2 as per Mark's suggestion: public function init():void { hatAndFace(); eyeball1(); eyeball2(); myRightHand(); //var mcHandInstance2:mcHand = new mcHand(); addChild(mcHandInstance2) mcHandInstance2.addFrameScript(20, myLeftHand) //myLeftHand(); } but it threw this error: TypeError: Error #2007: Parameter child must be non-null. at flash.display::DisplayObjectContainer/addChild() at Main/init() at main_fla::MainTimeline/frame1() Mark informs me that I need to name these calls to mcHandInstance2 different things; however, I still am greatly struggling to understand the fundamental logic of what I'm trying to build. Can you help me understand how these various elements work together so that I can properly name them? I, like you, doubt seriously that I want them all to be the same name. I'm sure Michael's suggestion was as good as Jason's, but obviously there was no point for it, at least at this juncture, because the class is not being activated. If you all care to, please suggest google kw for me to research, but please not the general educational information, of which I have studied some and continue to study more. The learning curve is long and steep, par for the course in programming, but frankly (and this is not a complaint!) apparently longer and steeper than the norm with AS3. TIA, beno package { import flash.events.Event; import flash.events.MouseEvent; import flash.display.MovieClip; import com.greensock.*; import com.greensock.plugins.*; import com.greensock.easing.*; public class Main extends MovieClip { public var mcHandInstance2:mcHand; public function Main():void { } public function init():void { hatAndFace(); eyeball1(); eyeball2(); myRightHand(); var mcHandInstance2:mcHand = new mcHand(); addChild(mcHandInstance2) mcHandInstance2.addFrameScript(20, myLeftHand) //myLeftHand(); } public function hatAndFace():void { TweenPlugin.activate([AutoAlphaPlugin]); var mcHatAndFaceInstance:mcHatAndFace = new mcHatAndFace(); addChild(mcHatAndFaceInstance); mcHatAndFaceInstance.x = 350; mcHatAndFaceInstance.y = 100; mcHatAndFaceInstance.alpha = 0; TweenLite.to(mcHatAndFaceInstance, 2, {autoAlpha:1}); } public function eyeball1():void { var mcEyeballInstance1:mcEyeball = new mcEyeball(); addChild(mcEyeballInstance1); mcEyeballInstance1.x = 380; mcEyeballInstance1.y = 115; mcEyeballInstance1.alpha = 0; TweenLite.to(mcEyeballInstance1, 2, {autoAlpha:1}); } public function eyeball2():void { var mcEyeballInstance2:mcEyeball = new mcEyeball(); addChild(mcEyeballInstance2); mcEyeballInstance2.x = 315; mcEyeballInstance2.y = 115; mcEyeballInstance2.alpha = 0; TweenLite.to(mcEyeballInstance2, 2, {autoAlpha:1}); } public function myRightHand():void { var mcHandInstance1:mcHand = new mcHand(); addChild(mcHandInstance1); mcHandInstance1.x = 400; mcHandInstance1.y = 200; } /* public function set totalProgress(value:Number):void { myLeftHand.value = 1; } */ // private function myLeftHand():void private function myLeftHand(e:Event=null):void { if (e.target.currentFrame == 10) { trace(yes) }; var mcHandInstance2:mcHand = new mcHand(); addChild(mcHandInstance2); mcHandInstance2.x = 800; mcHandInstance2.y = 200; //if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } } } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
Hi Beno What I meant was to start with something like this: public function init():void { hatAndFace(); eyeball1(); eyeball2(); myRightHand(); mcHandInstance2 = new mcHand(); addChild(mcHandInstance2) } What you did would have thrown an error because you hadn't assigned a value ot mcHandInstance2, can't add null to the display list. What you haven't told is whether all the other handlers work, is myRightHand() creating the right hand and placing it on stage? What's different about myRightHand() and myLeftHand()? Does myRightHand() also create an instance of mcHand and put it visibly onstage? Does it use positional code to put in a particular location? I have to admit, not seeing the full code and knowing what works and what doesn't makes it difficult to make any type of prediction. But if hatAndFace() and all the rest worked and only myLeftHand() wasn't and that was the reason for all the extra code in the init() method, I'd go back rip out the code in the init that creates the mcHandInstance2, make the myLeftHand() call directly as you did the rest. I'd double check that myRightHand() matched myLeftHand() with a positional only difference. Then I'd make certain that the position I was placing the left hand in was infact a visible screen location. I'd do like Jason suggested, put in a trace in myLeftHand public function init():void { hatAndFace(); eyeball1(); eyeball2(); myRightHand(); myLeftHand(); } I'd also put a trace after myRightHand() call, just to make sure that the stack didn't quit out execution prior to hitting the myLeftHand() if all the traces worked but no left hand, I'd assign the left hand to a public property and do an inspection on x, y, alpha etc during debug to see what was going on. Be methodical. Change one thing at a time from what is known to work ie. asusming myRightHand() worked, duplicate that as myLeftHand() and change only the x position. See if it works, etc. Sincerely Mark R. Jonkman - Original Message - From: beno - flashmeb...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Monday, December 7, 2009 1:07:20 PM GMT -05:00 US/Canada Eastern Subject: Re: [Flashcoders] Back On Course, Still Problems Jason's suggestion of adding a trace to see if the class is even being activated was excellent, thank you. No, it is not being activated. I tried to comment out the mcHandInstance2 as per Mark's suggestion: public function init():void { hatAndFace(); eyeball1(); eyeball2(); myRightHand(); // var mcHandInstance2:mcHand = new mcHand(); addChild(mcHandInstance2) mcHandInstance2.addFrameScript(20, myLeftHand) // myLeftHand(); } but it threw this error: TypeError: Error #2007: Parameter child must be non-null. at flash.display::DisplayObjectContainer/addChild() at Main/init() at main_fla::MainTimeline/frame1() Mark informs me that I need to name these calls to mcHandInstance2 different things; however, I still am greatly struggling to understand the fundamental logic of what I'm trying to build. Can you help me understand how these various elements work together so that I can properly name them? I, like you, doubt seriously that I want them all to be the same name. I'm sure Michael's suggestion was as good as Jason's, but obviously there was no point for it, at least at this juncture, because the class is not being activated. If you all care to, please suggest google kw for me to research, but please not the general educational information, of which I have studied some and continue to study more. The learning curve is long and steep, par for the course in programming, but frankly (and this is not a complaint!) apparently longer and steeper than the norm with AS3. TIA, beno package { import flash.events.Event; import flash.events.MouseEvent; import flash.display.MovieClip; import com.greensock.*; import com.greensock.plugins.*; import com.greensock.easing.*; public class Main extends MovieClip { public var mcHandInstance2:mcHand; public function Main():void { } public function init():void { hatAndFace(); eyeball1(); eyeball2(); myRightHand(); var mcHandInstance2:mcHand = new mcHand(); addChild(mcHandInstance2) mcHandInstance2.addFrameScript(20, myLeftHand) // myLeftHand(); } public function hatAndFace():void { TweenPlugin.activate([AutoAlphaPlugin]); var mcHatAndFaceInstance:mcHatAndFace = new mcHatAndFace(); addChild(mcHatAndFaceInstance); mcHatAndFaceInstance.x = 350; mcHatAndFaceInstance.y = 100; mcHatAndFaceInstance.alpha = 0; TweenLite.to(mcHatAndFaceInstance, 2, {autoAlpha:1}); } public function eyeball1():void { var mcEyeballInstance1:mcEyeball = new mcEyeball(); addChild(mcEyeballInstance1); mcEyeballInstance1.x = 380; mcEyeballInstance1.y = 115; mcEyeballInstance1.alpha = 0; TweenLite.to(mcEyeballInstance1, 2, {autoAlpha:1}); } public function eyeball2():void { var mcEyeballInstance2:mcEyeball = new
Re: [Flashcoders] Back On Course, Still Problems
beno - wrote: On Mon, Dec 7, 2009 at 2:06 PM, Nathan Mynarcik nat...@mynarcik.com wrote: That person didn't put you in a difficult position, you put yourself in it. What's funny is, you are relying on others to do your work. You should never stop just because one person said they will help. Go find the answer or solution yourself. I think you have received so much help with so much patience, and for you to come back like that? THAT'S abusive. The guy willing to help you is not on your payroll. You need to realize that this is no ones issue but yours and yours alone. You have the attitude you have right now, and it is going to be hard to find more help on this list. That's not true. Your feelings are a little hurt and this will blow over. The fact of the matter is that, after being in the jungle with hardly any Internet access for 5 years and coming back to the real world broke to start over, signing up accounts to develop Flash and a Python shopping cart, and assuming (the big error) that the outsourcing world worked on an unnamed dot-com site like it did 5 years ago, only to discover that the world had greatly changed, and that the server farm with which I was working had such ancient hardware that even hello, world python scripts failed, I suddenly found myself horribly behind the 8-ball with accounts I am now personally fulfilling. When Kerry offered to help I trusted him and turned immediately to the other (and thankfully last) fire I'm trying to put out; namely, finishing the development of my shopping cart. No, I have not been sucking down martinis at the 19th hole ;) I've been working my a** off. I'll be working on these two areas (Flash and the Python shopping cart) simultaneously until the shopping cart is done, and then I will turn ALL of my attention to Flash until I put out this last fire. I just bet you'd do the exact same thing I'm doing if you were in my shoes...or shoot yourself ;) One part of me thinks you were foolish and arrogant to build a commitment to a client on the basis of technology that you have little grasp of. It's not as though it's a natural choice for anyone, despite bad circumstances. Most people head for more mundane solutions. It's good to know that technology solutions are so easy to produce from a level of no expertise. I'm sure many clients share that opinion. The other part of me admires your nerve but not your disrespect for people who at least have good intentions. A bit more humility always helps when asking for the assistance of others. I'm always sympathetic towards people facing difficullt times - I've been there myself - but that's tempered by knowing that you are ready to bite the hand that helps you at any moment. I have a feeling that you will eventually come up roses. BTW, any answers to my questions? TIA, beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
Beno, Jason mentions trace. This one is really essential. You can use trace inside any part for code, it is inside methods or directly in frame code. Add these trace lines to your code and start playing with them: public function Main():void { trace(Who I am ? I must be: + this); trace(The following are my properties... ); for(var k in this) { trace( + k + has value + this[k]); } trace(That's all nice. Perhaps somebody calls now the init() method.); // probably you need to call init() here.. } public function init():void { // if you do not see the following trace text in the output // window, this means the init() method was never called trace(Some part of code called init() and now I entered the the init() method... Let's see what we got here !); hatAndFace(); eyeball1(); eyeball2(); myRightHand(); var mcHandInstance2:mcHand = new mcHand(); trace(We have a new instance of mcHand. Let's see its value, so mcHandInstance2 is + mcHandInstance2); addChild(mcHandInstance2) mcHandInstance2.addFrameScript(20, myLeftHand) // } Now... instead of using the addFrameScript(), try this, step by step: - doubleclick the mcHand (or whatever the hands name is) in the Flash IDE Library. - click right-click on the 20th frame of you hand animation and select - press F9 (- you should see now the actions window for that 20th frame) - write this.stop(); in the frame's code, - go back to your .as code and comment out (//) the addFrameScript... line - add init(); in the scope of Main() function, - save, - compile In free time ... please try to press F1 in Flash IDE and just start reading. Read about the timelines, debugging, and native classes that you will like to use in your work. Try Help examples. Analyze them. Pay particular attention to chapters: 1. Using Flash 2. Programming ActionScript 3.0 3. ActionScript 3.0 Language and Components Reference Most issues you are asking about are described in a detailed way there just in the Flash Help. Google is another really powerful option to get into Flash in general and AS3 in particular. Greg Monday, December 07, 2009 (5:43:37 PM) Jason Merrill wrote: Well gee after that intro, let me jump all over helping you. You should know people here are volunteering their free time and that's the price you pay when someone offers to help for free. For free. Free that is. I saw a LOT of people here trying to help you over the past few weeks, you had some threads that frankly, went on annoyingly long, and several things were Google-able. I don't see any traces in your code, you might start by using the trace feature to see if things like this statement: if (e.target.currentFrame == 40) even runs before bothering the list with your question. Heck, put some traces inside of myLeftHand to see if it runs. I have no idea why you're inserting frame scripts, I don't have any history on what your reasons for that is, so if you're going to re-post and ask questions again, start by clearly explaining your problem, and above all, play nice. Jason Merrill Bank of America Global Learning Learning Performance Soluions Join the Bank of America Flash Platform Community and visit our Instructional Technology Design Blog (note: these are for Bank of America employees only) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of beno - Sent: Monday, December 07, 2009 11:30 AM To: Flash Coders List Subject: [Flashcoders] Back On Course, Still Problems Hi; First, a bit of a rant. A lister here offered to help me by looking directly at my code and resolving my problem. That was 10 days ago. I was patient. I kept in touch with him. He kept saying he'd get to it. He never did. The result is that I am now 10 days further behind on a project I'm now 2.5 months behind on. The moral of the story is that if you're not sincerely going to help, do not offer to help, because you're just creating even more problems. Ok, I tried googling wherever we were on this without success, so I'm starting where I knew the problem was. Here is an abbreviated version of my code: package { import flash.events.Event; import flash.events.MouseEvent; import flash.display.MovieClip; import com.greensock.*; import com.greensock.plugins.*; import com.greensock.easing.*; public class Main extends MovieClip { public var mcHandInstance2:mcHand; public function Main():void { } public function init():void { hatAndFace(); eyeball1(); eyeball2(); myRightHand(); var mcHandInstance2:mcHand = new mcHand(); addChild(mcHandInstance2) mcHandInstance2.addFrameScript(20, myLeftHand) //myLeftHand(); } private function myLeftHand(e:Event=null):void { var mcHandInstance2:mcHand = new mcHand
Re: [Flashcoders] Back On Course, Still Problems
On Mon, Dec 7, 2009 at 2:46 PM, mark.jonk...@comcast.net wrote: Hi Beno What I meant was to start with something like this: public function init():void { hatAndFace(); eyeball1(); eyeball2(); myRightHand(); mcHandInstance2 = new mcHand(); addChild(mcHandInstance2) } Changes tested. Must continue with: var mcHandInstance2 = new mcHand(); or nothing prints to swf. What you haven't told is whether all the other handlers work, is myRightHand() creating the right hand and placing it on stage? What's different about myRightHand() and myLeftHand()? Does myRightHand() also create an instance of mcHand and put it visibly onstage? Does it use positional code to put in a particular location? Everything else works. Here are the differences: public function myRightHand():void { var mcHandInstance1:mcHand = new mcHand(); addChild(mcHandInstance1); mcHandInstance1.x = 400; mcHandInstance1.y = 200; } /* public function set totalProgress(value:Number):void { myLeftHand.value = 1; } */ // private function myLeftHand():void private function myLeftHand(e:Event=null):void { if (e.target.currentFrame == 10) { trace(yes) }; var mcHandInstance2:mcHand = new mcHand(); addChild(mcHandInstance2); mcHandInstance2.x = 800; mcHandInstance2.y = 200; //if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2, {x:200, startAt:{totalProgress:1}}).reverse(); } } } What I am trying to accomplish is to make the left hand start from the end of the general hand instance movie and go backwards. Think of having your two hands at waist height pointing outward, then you point inward, as if you were pointing to your bellybutton. The hands are mirror images, and that is what I'm trying to print. It's that final commented-out line I need to work. Of course, I started out with the same declarations in my init() function for both hands, but that didn't satisfy the tweenMax needs. I have to admit, not seeing the full code and knowing what works and what doesn't makes it difficult to make any type of prediction. But if hatAndFace() and all the rest worked and only myLeftHand() wasn't and that was the reason for all the extra code in the init() method, I'd go back rip out the code in the init that creates the mcHandInstance2, make the myLeftHand() call directly as you did the rest. I'd double check that myRightHand() matched myLeftHand() with a positional only difference. Then I'd make certain that the position I was placing the left hand in was infact a visible screen location. I'd do like Jason suggested, put in a trace in myLeftHand Did it. Didn't trace. I'd also put a trace after myRightHand() call, just to make sure that the stack didn't quit out execution prior to hitting the myLeftHand() if all the traces worked but no left hand, I'd assign the left hand to a public property and do an inspection on x, y, alpha etc during debug to see what was going on. Be methodical. Change one thing at a time from what is known to work ie. asusming myRightHand() worked, duplicate that as myLeftHand() and change only the x position. See if it works, etc. That's a good idea. I changed it to this: public function myRightHand():void { var mcHandInstance1:mcHand = new mcHand(); addChild(mcHandInstance1); mcHandInstance1.x = 400; mcHandInstance1.y = 200; if (e.target.currentFrame == 10) { trace(yes) }; } which naturally threw an error, because there is no declaration of e. At least that seemed to indicate that the code was executing all the way through the class. Then I removed consecutively the e (got same error on target, as I assumed) and the target, and much to my (naive) surprise the command was totally ignored! TIA, beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
On Mon, Dec 7, 2009 at 3:04 PM, Paul Andrews p...@ipauland.com wrote: One part of me thinks you were foolish and arrogant to build a commitment to a client on the basis of technology that you have little grasp of. It's not as though it's a natural choice for anyone, despite bad circumstances. Most people head for more mundane solutions. It's good to know that technology solutions are so easy to produce from a level of no expertise. I'm sure many clients share that opinion. You would be right if I didn't feel I had things totally under control. Before I left for the jungle 5 years ago, I had a programmer fully employed working from Belarus, a graphic artist in Russia, and a Flash designer (par excellence, I might add) in the Ukraine. I simply assumed, with disastrous consequences, that I could as easily outsource today as I did 5 years ago. I was caught off-guard. I don't think you can fault me for that. The other part of me admires your nerve but not your disrespect for people who at least have good intentions. The path to hell is paved with good intentions. My clarion-call is to be responsible. Good intentions without responsibility is malfeasace. A bit more humility always helps when asking for the assistance of others. There is nothing arrogant about pointing out people's errors, especially when you are truly trying to help them become better people. Indeed, it is just the opposite. It's good work :) I'm always sympathetic towards people facing difficullt times - I've been there myself - but that's tempered by knowing that you are ready to bite the hand that helps you at any moment. I have not bitten any hand, nor would I. Are you offended when people point out to you your faults? If so, how can you ever mature? The greatest of the great are known by their eagerness to have their faults *correctly* pointed out to them. It is the foolish that hate that, you know. I have a feeling that you will eventually come up roses. LOL! Of course! And you know why? My attitude is joyous. I always reach out to help others. I am usually misunderstood...but never by myself! So I always come up roses!! TIA, beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
First, a bit of a rant. A lister here offered to help me by looking directly at my code and resolving my problem. That was 10 days ago. I was patient. I kept in touch with him. He kept saying he'd get to it. He never did. The result is that I am now 10 days further behind on a project I'm now 2.5 months behind on. The moral of the story is that if you're not sincerely going to help, do not offer to help, because you're just creating even more problems. Unfortunately, you drew the wrong moral from that story. The moral of the story is, if you absolutely need timely professional help, you will need to pay for it. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
Beno, Persuade a library to buy the books. Without the grounding you will grow into the subject with all sorts of misunderstanding that will bite you later. I really didn't feel ready to code until I had fully digested Mook's book. John ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Back On Course, Still Problems
I have not bitten any hand, nor would I. Are you offended when people point out to you your faults? If so, how can you ever mature? The greatest of the great are known by their eagerness to have their faults *correctly* pointed out to them. It is the foolish that hate that, you know. Man this guy's got cojones. Try doing that in a bar and see how fast you land on the floor, lol. In my twisted mind, I'm actually kinda enjoying watching this thread self-destruct under its own weight. Jason Merrill Bank of America Global Learning Learning Performance Soluions Join the Bank of America Flash Platform Community and visit our Instructional Technology Design Blog (note: these are for Bank of America employees only) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Back On Course, Still Problems
Hi Beno, If i ever get into intolerable difficulties I ; 1. Go back to the books - grow insight. 2. Buy help or 3. Re-think the project from inside current skill-set and from functional/expressive intention. Since you have no time i recommend 2 Cheers Ian On 08/12/2009, at 6:40 AM, flashcoders-requ...@chattyfig.figleaf.com wrote: I really didn't feel ready to code until I had fully digested Mook's book. Ian Hobbs Ian Hobbs Media phone 61+ 02 89874520 mobile 0411032601 skype: ianhobbs aim: ianhobbs11 email: 2la...@ianhobbs.net WEB: http://ianhobbs.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Back On Course, Still Problems
After reading all of the back and forth on this, I'm reminded of Forgetting Sarah Marshall. I was gonna listen to that, but then, um, I just carried on living my life. But I have to agree with Jason. That kind of talk will get you a pool cue across the jaw at our watering hole. _ Bill Jones Interface Developer Backe Digital Brand Marketing 35 Cricket Terrace Center Ardmore, PA 19003 Voice: 610-896-9260 x280 Fax: 610-896-9242 bjo...@backemarketing.com If you want to go forward, click Backe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
let me get this straight: 1. you had some talented offshore web contacts in the Ukraine 5 years ago. 2. you 'went into the jungle' and were off the grid for 5 years. 3. you get back and agree to a flash ecommerce project, not having talked to a flash outsourcer(5 years ago an ecommerce site in flash? we're talking Generator days right?) and for some reason cannot find anyone able to build it(why not? how did you even scope this ecommerce flash project?) 4. rather than keep looking for someone to do it you decide to build it yourself, despite not touching flash for at least 5 years or more. 5. people say to get books, showed you where you could get books used on amazon for like $8, but you're too poor to even eat, let alone spend $8 on the books. 6. your project is two months behind schedule. seems like the problem isn't really a flash problem. my advice would be to a) walk away from the project or b) hire someone to do it then c) go get a job at taco bell or the movieplex so that you have food to eat d) catch up on the web stuff, a lot has changed in the last 5 years(youtube and facebook, they are so crazy check 'em out) e) in a few months when you've saved up your $8 buy the books and try getting into flash more f) THEN start pitching clients Best of luck! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
My suggetion to you bueno is to rewrite your code using the suggestions provided by this list. Keep all variables different. If your attaching multiple instances , use the for loop to assign their names. Trace trace trace. Sometimes rewriting your code line by line (while gruling it can be) will expose it's faults to you. Somtimes our eyes wash over the same thing time and time again. Oh and never ask someone to help you for free and get mad that they don't. Just bite your tongue and move forward on your own. Letting the list know how you had distain for it, just works against you in your search for an answer. Oh and one other thing. I would google they type of project you making and see if it's already done. You may get farther adopting Somone elses code and morphing it into your project, and at the same time, see how it really works. Try this. Google a sentance of what your end goal of this project is. IE: flash and python based shopping page GL Karl Sent from losPhone On Dec 7, 2009, at 4:07 PM, jared stanley jared.stan...@gmail.com wrote: let me get this straight: 1. you had some talented offshore web contacts in the Ukraine 5 years ago. 2. you 'went into the jungle' and were off the grid for 5 years. 3. you get back and agree to a flash ecommerce project, not having talked to a flash outsourcer(5 years ago an ecommerce site in flash? we're talking Generator days right?) and for some reason cannot find anyone able to build it(why not? how did you even scope this ecommerce flash project?) 4. rather than keep looking for someone to do it you decide to build it yourself, despite not touching flash for at least 5 years or more. 5. people say to get books, showed you where you could get books used on amazon for like $8, but you're too poor to even eat, let alone spend $8 on the books. 6. your project is two months behind schedule. seems like the problem isn't really a flash problem. my advice would be to a) walk away from the project or b) hire someone to do it then c) go get a job at taco bell or the movieplex so that you have food to eat d) catch up on the web stuff, a lot has changed in the last 5 years(youtube and facebook, they are so crazy check 'em out) e) in a few months when you've saved up your $8 buy the books and try getting into flash more f) THEN start pitching clients Best of luck! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Back On Course, Still Problems
Bill Jones wrote: I was gonna listen to that, but then, um, I just carried on living my life. Reminds me of my favorite English folk singer, Bill Jones. Cordially, Kerry Thompson ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Back On Course, Still Problems
Ian Hobbs wrote: If i ever get into intolerable difficulties I ; 1. Go back to the books - grow insight. 2. Buy help or 3. Re-think the project from inside current skill-set and from functional/expressive intention. There's a fourth option. I recently got a long-term contract offer I couldn't pass up, but I had another short-term gig. I found another contractor willing to take over the short-term gig. He's happy, I'm happy, and the client loves his work. Cordially, Kerry Thompson ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
That made me snort soda up my nose. Thanks! On Mon, Dec 7, 2009 at 17:07, jared stanley jared.stan...@gmail.com wrote: let me get this straight: 1. you had some talented offshore web contacts in the Ukraine 5 years ago. 2. you 'went into the jungle' and were off the grid for 5 years. 3. you get back and agree to a flash ecommerce project, not having talked to a flash outsourcer(5 years ago an ecommerce site in flash? we're talking Generator days right?) and for some reason cannot find anyone able to build it(why not? how did you even scope this ecommerce flash project?) 4. rather than keep looking for someone to do it you decide to build it yourself, despite not touching flash for at least 5 years or more. 5. people say to get books, showed you where you could get books used on amazon for like $8, but you're too poor to even eat, let alone spend $8 on the books. 6. your project is two months behind schedule. seems like the problem isn't really a flash problem. my advice would be to a) walk away from the project or b) hire someone to do it then c) go get a job at taco bell or the movieplex so that you have food to eat d) catch up on the web stuff, a lot has changed in the last 5 years(youtube and facebook, they are so crazy check 'em out) e) in a few months when you've saved up your $8 buy the books and try getting into flash more f) THEN start pitching clients Best of luck! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
There is nothing arrogant about pointing out people's errors, especially when you are truly trying to help them become better people. Indeed, it is just the opposite. It's good work :) I have not bitten any hand, nor would I. Are you offended when people point out to you your faults? If so, how can you ever mature? The greatest of the great are known by their eagerness to have their faults *correctly* pointed out to them. It is the foolish that hate that, you know. http://en.wikipedia.org/wiki/How_to_Win_Friends_and_Influence_People Dale Carnegie wrote the manifesto on this subject in 1934. Human nature being what it is, what he wrote then is still true today. I recommend that you include Dale Carnegie's book when you purchase Colin Moock's Essential Actionscript 3 book. Here are a few chapter titles. Take a look and see if some of the titles apply to your situation and approach. Begin in a friendly way. Call attention to other people's mistakes indirectly. Show respect for the other person's opinions. Never tell someone they are wrong. Ask questions instead of directly giving orders. Don't criticize. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
If I were in your shoes, I would shoot myself too for being such an idiot. I just bet you'd do the exact same thing I'm doing if you were in my shoes...or shoot yourself ;) BTW, any answers to my questions? TIA, beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Glen Pike 01326 218440 www.glenpike.co.uk http://www.glenpike.co.uk ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
If I were in your shoes, I would shoot myself too for being such an idiot. OK, it's probably a good idea to end this pile-on, enjoyable as it might be. Otherwise, I might be forced to shoot myself. And then I will shoot all of you. And since I'm the list admin, I have all your email addresses, and therefore know where you live. Well, anyway, let's try to stick with technical stuff. Thanks in advance! Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
Nice. Karl On Dec 7, 2009, at 6:14 PM, Steven Sacks wrote: There is nothing arrogant about pointing out people's errors, especially when you are truly trying to help them become better people. Indeed, it is just the opposite. It's good work :) I have not bitten any hand, nor would I. Are you offended when people point out to you your faults? If so, how can you ever mature? The greatest of the great are known by their eagerness to have their faults *correctly* pointed out to them. It is the foolish that hate that, you know. http://en.wikipedia.org/wiki/How_to_Win_Friends_and_Influence_People Dale Carnegie wrote the manifesto on this subject in 1934. Human nature being what it is, what he wrote then is still true today. I recommend that you include Dale Carnegie's book when you purchase Colin Moock's Essential Actionscript 3 book. Here are a few chapter titles. Take a look and see if some of the titles apply to your situation and approach. Begin in a friendly way. Call attention to other people's mistakes indirectly. Show respect for the other person's opinions. Never tell someone they are wrong. Ask questions instead of directly giving orders. Don't criticize. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Back On Course, Still Problems
Beno, New or used? Take your pick. Hell what's your address I'll buy you one for Christmas if it means this thread can end. Pay it forward I always say.. :) http://www.amazon.com/gp/offer-listing/0596526946/ref=rdr_ext_uan Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders