Re: [Flashcoders] change the origin of rotation for a movieclip?
What I don't understand is that someone takes the time to write an elaborate answer and you have the nerve to reply with how about a real answer, some attitude dude. Although noone seems to take offense, it's a one way trip to my ignore list. On Mon, Jan 12, 2009 at 9:24 PM, Anthony Pace anthony.p...@utoronto.cawrote: How about a real answer? Jack Doyle wrote: There's a new plugin for TweenLite/Max that'll cause transformation (rotation/scale) tweens to occur around any point, so it'll be as easy as: TweenLite.to(mc, 2, {transformAroundPoint:{point:new Point(100, 100), rotation:85}}); Or if you want to use the center of the object as its origin, you could simply do: TweenLite.to(mc, 2, {transformAroundCenter:{rotation:80}}); It works for the scale too, like: TweenLite.to(mc, 2, {transformAroundCenter:{scaleX:1.5, scaleY:2, rotation:-70}}); NOTE: The plugin is a membership benefit of Club GreenSock. You can see an interactive demo at http://blog.greensock.com/sneak-peek/ (scroll all the way down in the list of plugins - they're at the bottom - click example). For those of you who are wondering what's this 'plugin' talk with TweenLite - I didn't know there were any plugins!, it's a new feature that's part of a big update I'm rolling out soon. It adds lots of flexibility. Read more at the site. Jack PS There's also TransformMatrixProxy which has been around for a while and it'll do something similar and also let you skew things. http://blog.greensock.com/transformmatrixproxy/ It's not quite as convenient as a plugin for TweenLite/Max, though. -Original Message- From: Anthony Pace [mailto:anthony.p...@utoronto.ca] Sent: Saturday, January 10, 2009 6:12 PM To: Flash Coders List Subject: [Flashcoders] change the origin of rotation for a movieclip? How do you change the origin of rotation dynamically? can it be done? or will it always be 0,0 I was hoping that with the new features of as3 that this I would be able to indicate where I wanted the origin; yet, I am starting to think that I was hoping for too much. ___ 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] change the origin of rotation for a movieclip?
i thought it was so rude that you were being sarcastic On Tue, Jan 13, 2009 at 9:17 AM, Hans Wichman j.c.wich...@objectpainters.com wrote: What I don't understand is that someone takes the time to write an elaborate answer and you have the nerve to reply with how about a real answer, some attitude dude. Although noone seems to take offense, it's a one way trip to my ignore list. On Mon, Jan 12, 2009 at 9:24 PM, Anthony Pace anthony.p...@utoronto.ca wrote: How about a real answer? Jack Doyle wrote: There's a new plugin for TweenLite/Max that'll cause transformation (rotation/scale) tweens to occur around any point, so it'll be as easy as: TweenLite.to(mc, 2, {transformAroundPoint:{point:new Point(100, 100), rotation:85}}); Or if you want to use the center of the object as its origin, you could simply do: TweenLite.to(mc, 2, {transformAroundCenter:{rotation:80}}); It works for the scale too, like: TweenLite.to(mc, 2, {transformAroundCenter:{scaleX:1.5, scaleY:2, rotation:-70}}); NOTE: The plugin is a membership benefit of Club GreenSock. You can see an interactive demo at http://blog.greensock.com/sneak-peek/ (scroll all the way down in the list of plugins - they're at the bottom - click example). For those of you who are wondering what's this 'plugin' talk with TweenLite - I didn't know there were any plugins!, it's a new feature that's part of a big update I'm rolling out soon. It adds lots of flexibility. Read more at the site. Jack PS There's also TransformMatrixProxy which has been around for a while and it'll do something similar and also let you skew things. http://blog.greensock.com/transformmatrixproxy/ It's not quite as convenient as a plugin for TweenLite/Max, though. -Original Message- From: Anthony Pace [mailto:anthony.p...@utoronto.ca] Sent: Saturday, January 10, 2009 6:12 PM To: Flash Coders List Subject: [Flashcoders] change the origin of rotation for a movieclip? How do you change the origin of rotation dynamically? can it be done? or will it always be 0,0 I was hoping that with the new features of as3 that this I would be able to indicate where I wanted the origin; yet, I am starting to think that I was hoping for too much. ___ 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] change the origin of rotation for a movieclip?
Telling someone to purchase a membership is not a real answer. His second post was. Hans Wichman wrote: What I don't understand is that someone takes the time to write an elaborate answer and you have the nerve to reply with how about a real answer, some attitude dude. Although noone seems to take offense, it's a one way trip to my ignore list. On Mon, Jan 12, 2009 at 9:24 PM, Anthony Pace anthony.p...@utoronto.cawrote: How about a real answer? Jack Doyle wrote: There's a new plugin for TweenLite/Max that'll cause transformation (rotation/scale) tweens to occur around any point, so it'll be as easy as: TweenLite.to(mc, 2, {transformAroundPoint:{point:new Point(100, 100), rotation:85}}); Or if you want to use the center of the object as its origin, you could simply do: TweenLite.to(mc, 2, {transformAroundCenter:{rotation:80}}); It works for the scale too, like: TweenLite.to(mc, 2, {transformAroundCenter:{scaleX:1.5, scaleY:2, rotation:-70}}); NOTE: The plugin is a membership benefit of Club GreenSock. You can see an interactive demo at http://blog.greensock.com/sneak-peek/ (scroll all the way down in the list of plugins - they're at the bottom - click example). For those of you who are wondering what's this 'plugin' talk with TweenLite - I didn't know there were any plugins!, it's a new feature that's part of a big update I'm rolling out soon. It adds lots of flexibility. Read more at the site. Jack PS There's also TransformMatrixProxy which has been around for a while and it'll do something similar and also let you skew things. http://blog.greensock.com/transformmatrixproxy/ It's not quite as convenient as a plugin for TweenLite/Max, though. -Original Message- From: Anthony Pace [mailto:anthony.p...@utoronto.ca] Sent: Saturday, January 10, 2009 6:12 PM To: Flash Coders List Subject: [Flashcoders] change the origin of rotation for a movieclip? How do you change the origin of rotation dynamically? can it be done? or will it always be 0,0 I was hoping that with the new features of as3 that this I would be able to indicate where I wanted the origin; yet, I am starting to think that I was hoping for too much. ___ 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] change the origin of rotation for a movieclip?
When someone is telling you to buy their product or a purchase a membership to their club, it is not a real answer. As I said, I appreciated his second answer, where he actually gave information about how to accomplish it on my own. allandt bik-elliott (thefieldcomic.com) wrote: i thought it was so rude that you were being sarcastic On Tue, Jan 13, 2009 at 9:17 AM, Hans Wichman j.c.wich...@objectpainters.com wrote: What I don't understand is that someone takes the time to write an elaborate answer and you have the nerve to reply with how about a real answer, some attitude dude. Although noone seems to take offense, it's a one way trip to my ignore list. On Mon, Jan 12, 2009 at 9:24 PM, Anthony Pace anthony.p...@utoronto.ca wrote: How about a real answer? Jack Doyle wrote: There's a new plugin for TweenLite/Max that'll cause transformation (rotation/scale) tweens to occur around any point, so it'll be as easy as: TweenLite.to(mc, 2, {transformAroundPoint:{point:new Point(100, 100), rotation:85}}); Or if you want to use the center of the object as its origin, you could simply do: TweenLite.to(mc, 2, {transformAroundCenter:{rotation:80}}); It works for the scale too, like: TweenLite.to(mc, 2, {transformAroundCenter:{scaleX:1.5, scaleY:2, rotation:-70}}); NOTE: The plugin is a membership benefit of Club GreenSock. You can see an interactive demo at http://blog.greensock.com/sneak-peek/ (scroll all the way down in the list of plugins - they're at the bottom - click example). For those of you who are wondering what's this 'plugin' talk with TweenLite - I didn't know there were any plugins!, it's a new feature that's part of a big update I'm rolling out soon. It adds lots of flexibility. Read more at the site. Jack PS There's also TransformMatrixProxy which has been around for a while and it'll do something similar and also let you skew things. http://blog.greensock.com/transformmatrixproxy/ It's not quite as convenient as a plugin for TweenLite/Max, though. -Original Message- From: Anthony Pace [mailto:anthony.p...@utoronto.ca] Sent: Saturday, January 10, 2009 6:12 PM To: Flash Coders List Subject: [Flashcoders] change the origin of rotation for a movieclip? How do you change the origin of rotation dynamically? can it be done? or will it always be 0,0 I was hoping that with the new features of as3 that this I would be able to indicate where I wanted the origin; yet, I am starting to think that I was hoping for too much. ___ 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] change the origin of rotation for a movieclip?
Load of bull period. Hi I have a problem I need solved Hi I have a product that solves it, I invested thousands of hours in it WHAT I CANT GET IT FOR FREE, HOW DARE YOU??? He was telling you exactly how to solve it, it involved a good product. That's not telling you you should buy it, he's giving you an option. Was Thanks Jack for your elaborate answer, but I'd appreciate some clues how to solve this myself too much trouble? I'm amazed he even took the time to write a second answer instead of 'screw you' so cheers to Jack, who has to read you 'appreciate his answer' only through a post where you get told off for being rude in the first place since you couldn't take the time to thank him normally? Anywayz this is not about sticking up for Jack I'm sure he is quite capable of that himself, it's about list etiquette, that no matter what someone answers, he/she is investing time at that moment to help you solve your problem, and in my opinion that always deserves some respect/gratitude instead of some shitty reply. On Tue, Jan 13, 2009 at 7:06 PM, Anthony Pace anthony.p...@utoronto.cawrote: When someone is telling you to buy their product or a purchase a membership to their club, it is not a real answer. As I said, I appreciated his second answer, where he actually gave information about how to accomplish it on my own. allandt bik-elliott (thefieldcomic.com) wrote: i thought it was so rude that you were being sarcastic On Tue, Jan 13, 2009 at 9:17 AM, Hans Wichman j.c.wich...@objectpainters.com wrote: What I don't understand is that someone takes the time to write an elaborate answer and you have the nerve to reply with how about a real answer, some attitude dude. Although noone seems to take offense, it's a one way trip to my ignore list. On Mon, Jan 12, 2009 at 9:24 PM, Anthony Pace anthony.p...@utoronto.ca wrote: How about a real answer? Jack Doyle wrote: There's a new plugin for TweenLite/Max that'll cause transformation (rotation/scale) tweens to occur around any point, so it'll be as easy as: TweenLite.to(mc, 2, {transformAroundPoint:{point:new Point(100, 100), rotation:85}}); Or if you want to use the center of the object as its origin, you could simply do: TweenLite.to(mc, 2, {transformAroundCenter:{rotation:80}}); It works for the scale too, like: TweenLite.to(mc, 2, {transformAroundCenter:{scaleX:1.5, scaleY:2, rotation:-70}}); NOTE: The plugin is a membership benefit of Club GreenSock. You can see an interactive demo at http://blog.greensock.com/sneak-peek/ (scroll all the way down in the list of plugins - they're at the bottom - click example). For those of you who are wondering what's this 'plugin' talk with TweenLite - I didn't know there were any plugins!, it's a new feature that's part of a big update I'm rolling out soon. It adds lots of flexibility. Read more at the site. Jack PS There's also TransformMatrixProxy which has been around for a while and it'll do something similar and also let you skew things. http://blog.greensock.com/transformmatrixproxy/ It's not quite as convenient as a plugin for TweenLite/Max, though. -Original Message- From: Anthony Pace [mailto:anthony.p...@utoronto.ca] Sent: Saturday, January 10, 2009 6:12 PM To: Flash Coders List Subject: [Flashcoders] change the origin of rotation for a movieclip? How do you change the origin of rotation dynamically? can it be done? or will it always be 0,0 I was hoping that with the new features of as3 that this I would be able to indicate where I wanted the origin; yet, I am starting to think that I was hoping for too much. ___ 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 ___ 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] change the origin of rotation for a movieclip?
It a coder forum... not a pitch my product forum. People like you need to relax. Hans Wichman wrote: Load of bull period. Hi I have a problem I need solved Hi I have a product that solves it, I invested thousands of hours in it WHAT I CANT GET IT FOR FREE, HOW DARE YOU??? He was telling you exactly how to solve it, it involved a good product. That's not telling you you should buy it, he's giving you an option. Was Thanks Jack for your elaborate answer, but I'd appreciate some clues how to solve this myself too much trouble? I'm amazed he even took the time to write a second answer instead of 'screw you' so cheers to Jack, who has to read you 'appreciate his answer' only through a post where you get told off for being rude in the first place since you couldn't take the time to thank him normally? Anywayz this is not about sticking up for Jack I'm sure he is quite capable of that himself, it's about list etiquette, that no matter what someone answers, he/she is investing time at that moment to help you solve your problem, and in my opinion that always deserves some respect/gratitude instead of some shitty reply. On Tue, Jan 13, 2009 at 7:06 PM, Anthony Pace anthony.p...@utoronto.cawrote: When someone is telling you to buy their product or a purchase a membership to their club, it is not a real answer. As I said, I appreciated his second answer, where he actually gave information about how to accomplish it on my own. allandt bik-elliott (thefieldcomic.com) wrote: i thought it was so rude that you were being sarcastic On Tue, Jan 13, 2009 at 9:17 AM, Hans Wichman j.c.wich...@objectpainters.com wrote: What I don't understand is that someone takes the time to write an elaborate answer and you have the nerve to reply with how about a real answer, some attitude dude. Although noone seems to take offense, it's a one way trip to my ignore list. On Mon, Jan 12, 2009 at 9:24 PM, Anthony Pace anthony.p...@utoronto.ca wrote: How about a real answer? Jack Doyle wrote: There's a new plugin for TweenLite/Max that'll cause transformation (rotation/scale) tweens to occur around any point, so it'll be as easy as: TweenLite.to(mc, 2, {transformAroundPoint:{point:new Point(100, 100), rotation:85}}); Or if you want to use the center of the object as its origin, you could simply do: TweenLite.to(mc, 2, {transformAroundCenter:{rotation:80}}); It works for the scale too, like: TweenLite.to(mc, 2, {transformAroundCenter:{scaleX:1.5, scaleY:2, rotation:-70}}); NOTE: The plugin is a membership benefit of Club GreenSock. You can see an interactive demo at http://blog.greensock.com/sneak-peek/ (scroll all the way down in the list of plugins - they're at the bottom - click example). For those of you who are wondering what's this 'plugin' talk with TweenLite - I didn't know there were any plugins!, it's a new feature that's part of a big update I'm rolling out soon. It adds lots of flexibility. Read more at the site. Jack PS There's also TransformMatrixProxy which has been around for a while and it'll do something similar and also let you skew things. http://blog.greensock.com/transformmatrixproxy/ It's not quite as convenient as a plugin for TweenLite/Max, though. -Original Message- From: Anthony Pace [mailto:anthony.p...@utoronto.ca] Sent: Saturday, January 10, 2009 6:12 PM To: Flash Coders List Subject: [Flashcoders] change the origin of rotation for a movieclip? How do you change the origin of rotation dynamically? can it be done? or will it always be 0,0 I was hoping that with the new features of as3 that this I would be able to indicate where I wanted the origin; yet, I am starting to think that I was hoping for too much. ___ 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com
Re: [Flashcoders] change the origin of rotation for a movieclip?
How would you like it if you asked a question about code and someone told you to buy a product? Although your answer will probably be in line with what you have said in the past, I truly believe you might be a bit perturbed; considering you are apparently easily perturbed. Answering a question with a sales pitch is not an answer. We only ever advance and grow mentally in life, as a society, if concepts and knowledge remain open to the public to consume. Where would calculus be if Leibniz hadn't published and disseminated his information freely? Newton said he stood on the shoulders of giants, so why do you take offence to my wanting to learn? Working at triMM I would figure that you would have an open philosophy; yet, perhaps I am wrong. Anthony Pace wrote: It a coder forum... not a pitch my product forum. People like you need to relax. Hans Wichman wrote: Load of bull period. Hi I have a problem I need solved Hi I have a product that solves it, I invested thousands of hours in it WHAT I CANT GET IT FOR FREE, HOW DARE YOU??? He was telling you exactly how to solve it, it involved a good product. That's not telling you you should buy it, he's giving you an option. Was Thanks Jack for your elaborate answer, but I'd appreciate some clues how to solve this myself too much trouble? I'm amazed he even took the time to write a second answer instead of 'screw you' so cheers to Jack, who has to read you 'appreciate his answer' only through a post where you get told off for being rude in the first place since you couldn't take the time to thank him normally? Anywayz this is not about sticking up for Jack I'm sure he is quite capable of that himself, it's about list etiquette, that no matter what someone answers, he/she is investing time at that moment to help you solve your problem, and in my opinion that always deserves some respect/gratitude instead of some shitty reply. On Tue, Jan 13, 2009 at 7:06 PM, Anthony Pace anthony.p...@utoronto.cawrote: When someone is telling you to buy their product or a purchase a membership to their club, it is not a real answer. As I said, I appreciated his second answer, where he actually gave information about how to accomplish it on my own. allandt bik-elliott (thefieldcomic.com) wrote: i thought it was so rude that you were being sarcastic On Tue, Jan 13, 2009 at 9:17 AM, Hans Wichman j.c.wich...@objectpainters.com wrote: What I don't understand is that someone takes the time to write an elaborate answer and you have the nerve to reply with how about a real answer, some attitude dude. Although noone seems to take offense, it's a one way trip to my ignore list. On Mon, Jan 12, 2009 at 9:24 PM, Anthony Pace anthony.p...@utoronto.ca wrote: How about a real answer? Jack Doyle wrote: There's a new plugin for TweenLite/Max that'll cause transformation (rotation/scale) tweens to occur around any point, so it'll be as easy as: TweenLite.to(mc, 2, {transformAroundPoint:{point:new Point(100, 100), rotation:85}}); Or if you want to use the center of the object as its origin, you could simply do: TweenLite.to(mc, 2, {transformAroundCenter:{rotation:80}}); It works for the scale too, like: TweenLite.to(mc, 2, {transformAroundCenter:{scaleX:1.5, scaleY:2, rotation:-70}}); NOTE: The plugin is a membership benefit of Club GreenSock. You can see an interactive demo at http://blog.greensock.com/sneak-peek/ (scroll all the way down in the list of plugins - they're at the bottom - click example). For those of you who are wondering what's this 'plugin' talk with TweenLite - I didn't know there were any plugins!, it's a new feature that's part of a big update I'm rolling out soon. It adds lots of flexibility. Read more at the site. Jack PS There's also TransformMatrixProxy which has been around for a while and it'll do something similar and also let you skew things. http://blog.greensock.com/transformmatrixproxy/ It's not quite as convenient as a plugin for TweenLite/Max, though. -Original Message- From: Anthony Pace [mailto:anthony.p...@utoronto.ca] Sent: Saturday, January 10, 2009 6:12 PM To: Flash Coders List Subject: [Flashcoders] change the origin of rotation for a movieclip? How do you change the origin of rotation dynamically? can it be done? or will it always be 0,0 I was hoping that with the new features of as3 that this I would be able to indicate where I wanted the origin; yet, I am starting to think that I was hoping for too much.
Re: [Flashcoders] change the origin of rotation for a movieclip?
It a coder forum... not a pitch my product forum. People like you need to relax. Regardless of what kind of forum it is, there's no need to be rude. Rudeness is always a violation of list etiquette. And on that note, I'd like everyone to drop the topic. Thanks! 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] change the origin of rotation for a movieclip?
You could have stated, you wanted to learn how to do it yourself and weren't interested ina 'turn-key' type solution that he originally provided. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Anthony Pace Sent: Tuesday, January 13, 2009 1:56 PM To: Flash Coders List Subject: Re: [Flashcoders] change the origin of rotation for a movieclip? How would you like it if you asked a question about code and someone told you to buy a product? Although your answer will probably be in line with what you have said in the past, I truly believe you might be a bit perturbed; considering you are apparently easily perturbed. Answering a question with a sales pitch is not an answer. We only ever advance and grow mentally in life, as a society, if concepts and knowledge remain open to the public to consume. Where would calculus be if Leibniz hadn't published and disseminated his information freely? Newton said he stood on the shoulders of giants, so why do you take offence to my wanting to learn? Working at triMM I would figure that you would have an open philosophy; yet, perhaps I am wrong. Anthony Pace wrote: It a coder forum... not a pitch my product forum. People like you need to relax. Hans Wichman wrote: Load of bull period. Hi I have a problem I need solved Hi I have a product that solves it, I invested thousands of hours in it WHAT I CANT GET IT FOR FREE, HOW DARE YOU??? He was telling you exactly how to solve it, it involved a good product. That's not telling you you should buy it, he's giving you an option. Was Thanks Jack for your elaborate answer, but I'd appreciate some clues how to solve this myself too much trouble? I'm amazed he even took the time to write a second answer instead of 'screw you' so cheers to Jack, who has to read you 'appreciate his answer' only through a post where you get told off for being rude in the first place since you couldn't take the time to thank him normally? Anywayz this is not about sticking up for Jack I'm sure he is quite capable of that himself, it's about list etiquette, that no matter what someone answers, he/she is investing time at that moment to help you solve your problem, and in my opinion that always deserves some respect/gratitude instead of some shitty reply. On Tue, Jan 13, 2009 at 7:06 PM, Anthony Pace anthony.p...@utoronto.cawrote: When someone is telling you to buy their product or a purchase a membership to their club, it is not a real answer. As I said, I appreciated his second answer, where he actually gave information about how to accomplish it on my own. allandt bik-elliott (thefieldcomic.com) wrote: i thought it was so rude that you were being sarcastic On Tue, Jan 13, 2009 at 9:17 AM, Hans Wichman j.c.wich...@objectpainters.com wrote: What I don't understand is that someone takes the time to write an elaborate answer and you have the nerve to reply with how about a real answer, some attitude dude. Although noone seems to take offense, it's a one way trip to my ignore list. On Mon, Jan 12, 2009 at 9:24 PM, Anthony Pace anthony.p...@utoronto.ca wrote: How about a real answer? Jack Doyle wrote: There's a new plugin for TweenLite/Max that'll cause transformation (rotation/scale) tweens to occur around any point, so it'll be as easy as: TweenLite.to(mc, 2, {transformAroundPoint:{point:new Point(100, 100), rotation:85}}); Or if you want to use the center of the object as its origin, you could simply do: TweenLite.to(mc, 2, {transformAroundCenter:{rotation:80}}); It works for the scale too, like: TweenLite.to(mc, 2, {transformAroundCenter:{scaleX:1.5, scaleY:2, rotation:-70}}); NOTE: The plugin is a membership benefit of Club GreenSock. You can see an interactive demo at http://blog.greensock.com/sneak-peek/ (scroll all the way down in the list of plugins - they're at the bottom - click example). For those of you who are wondering what's this 'plugin' talk with TweenLite - I didn't know there were any plugins!, it's a new feature that's part of a big update I'm rolling out soon. It adds lots of flexibility. Read more at the site. Jack PS There's also TransformMatrixProxy which has been around for a while and it'll do something similar and also let you skew things. http://blog.greensock.com/transformmatrixproxy/ It's not quite as convenient as a plugin for TweenLite/Max, though. -Original Message- From: Anthony Pace [mailto:anthony.p...@utoronto.ca] Sent: Saturday, January
Re: [Flashcoders] change the origin of rotation for a movieclip?
You got it; yet, I already sent a message out. Dave Watts wrote: It a coder forum... not a pitch my product forum. People like you need to relax. Regardless of what kind of forum it is, there's no need to be rude. Rudeness is always a violation of list etiquette. And on that note, I'd like everyone to drop the topic. Thanks! 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] change the origin of rotation for a movieclip?
You were right and I let my frustration get the better of me. I apologize. whispers wrote: You could have stated, you wanted to learn how to do it yourself and weren't interested ina 'turn-key' type solution that he originally provided. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Anthony Pace Sent: Tuesday, January 13, 2009 1:56 PM To: Flash Coders List Subject: Re: [Flashcoders] change the origin of rotation for a movieclip? How would you like it if you asked a question about code and someone told you to buy a product? Although your answer will probably be in line with what you have said in the past, I truly believe you might be a bit perturbed; considering you are apparently easily perturbed. Answering a question with a sales pitch is not an answer. We only ever advance and grow mentally in life, as a society, if concepts and knowledge remain open to the public to consume. Where would calculus be if Leibniz hadn't published and disseminated his information freely? Newton said he stood on the shoulders of giants, so why do you take offence to my wanting to learn? Working at triMM I would figure that you would have an open philosophy; yet, perhaps I am wrong. Anthony Pace wrote: It a coder forum... not a pitch my product forum. People like you need to relax. Hans Wichman wrote: Load of bull period. Hi I have a problem I need solved Hi I have a product that solves it, I invested thousands of hours in it WHAT I CANT GET IT FOR FREE, HOW DARE YOU??? He was telling you exactly how to solve it, it involved a good product. That's not telling you you should buy it, he's giving you an option. Was Thanks Jack for your elaborate answer, but I'd appreciate some clues how to solve this myself too much trouble? I'm amazed he even took the time to write a second answer instead of 'screw you' so cheers to Jack, who has to read you 'appreciate his answer' only through a post where you get told off for being rude in the first place since you couldn't take the time to thank him normally? Anywayz this is not about sticking up for Jack I'm sure he is quite capable of that himself, it's about list etiquette, that no matter what someone answers, he/she is investing time at that moment to help you solve your problem, and in my opinion that always deserves some respect/gratitude instead of some shitty reply. On Tue, Jan 13, 2009 at 7:06 PM, Anthony Pace anthony.p...@utoronto.cawrote: When someone is telling you to buy their product or a purchase a membership to their club, it is not a real answer. As I said, I appreciated his second answer, where he actually gave information about how to accomplish it on my own. allandt bik-elliott (thefieldcomic.com) wrote: i thought it was so rude that you were being sarcastic On Tue, Jan 13, 2009 at 9:17 AM, Hans Wichman j.c.wich...@objectpainters.com wrote: What I don't understand is that someone takes the time to write an elaborate answer and you have the nerve to reply with how about a real answer, some attitude dude. Although noone seems to take offense, it's a one way trip to my ignore list. On Mon, Jan 12, 2009 at 9:24 PM, Anthony Pace anthony.p...@utoronto.ca wrote: How about a real answer? Jack Doyle wrote: There's a new plugin for TweenLite/Max that'll cause transformation (rotation/scale) tweens to occur around any point, so it'll be as easy as: TweenLite.to(mc, 2, {transformAroundPoint:{point:new Point(100, 100), rotation:85}}); Or if you want to use the center of the object as its origin, you could simply do: TweenLite.to(mc, 2, {transformAroundCenter:{rotation:80}}); It works for the scale too, like: TweenLite.to(mc, 2, {transformAroundCenter:{scaleX:1.5, scaleY:2, rotation:-70}}); NOTE: The plugin is a membership benefit of Club GreenSock. You can see an interactive demo at http://blog.greensock.com/sneak-peek/ (scroll all the way down in the list of plugins - they're at the bottom - click example). For those of you who are wondering what's this 'plugin' talk with TweenLite - I didn't know there were any plugins!, it's a new feature that's part of a big update I'm rolling out soon. It adds lots of flexibility. Read more at the site.
RE: [Flashcoders] change the origin of rotation for a movieclip?
Well I think you have accepted a level of responsibility and have conducted yourslef in a very mature and classy manner, after the fact.. If it makes any difference.. Many would have just fought tooth nail...and let the communication degrade. Take care.. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Anthony Pace Sent: Tuesday, January 13, 2009 2:16 PM To: Flash Coders List Subject: Re: [Flashcoders] change the origin of rotation for a movieclip? You were right and I let my frustration get the better of me. I apologize. whispers wrote: You could have stated, you wanted to learn how to do it yourself and weren't interested ina 'turn-key' type solution that he originally provided. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Anthony Pace Sent: Tuesday, January 13, 2009 1:56 PM To: Flash Coders List Subject: Re: [Flashcoders] change the origin of rotation for a movieclip? How would you like it if you asked a question about code and someone told you to buy a product? Although your answer will probably be in line with what you have said in the past, I truly believe you might be a bit perturbed; considering you are apparently easily perturbed. Answering a question with a sales pitch is not an answer. We only ever advance and grow mentally in life, as a society, if concepts and knowledge remain open to the public to consume. Where would calculus be if Leibniz hadn't published and disseminated his information freely? Newton said he stood on the shoulders of giants, so why do you take offence to my wanting to learn? Working at triMM I would figure that you would have an open philosophy; yet, perhaps I am wrong. Anthony Pace wrote: It a coder forum... not a pitch my product forum. People like you need to relax. Hans Wichman wrote: Load of bull period. Hi I have a problem I need solved Hi I have a product that solves it, I invested thousands of hours in it WHAT I CANT GET IT FOR FREE, HOW DARE YOU??? He was telling you exactly how to solve it, it involved a good product. That's not telling you you should buy it, he's giving you an option. Was Thanks Jack for your elaborate answer, but I'd appreciate some clues how to solve this myself too much trouble? I'm amazed he even took the time to write a second answer instead of 'screw you' so cheers to Jack, who has to read you 'appreciate his answer' only through a post where you get told off for being rude in the first place since you couldn't take the time to thank him normally? Anywayz this is not about sticking up for Jack I'm sure he is quite capable of that himself, it's about list etiquette, that no matter what someone answers, he/she is investing time at that moment to help you solve your problem, and in my opinion that always deserves some respect/gratitude instead of some shitty reply. On Tue, Jan 13, 2009 at 7:06 PM, Anthony Pace anthony.p...@utoronto.cawrote: When someone is telling you to buy their product or a purchase a membership to their club, it is not a real answer. As I said, I appreciated his second answer, where he actually gave information about how to accomplish it on my own. allandt bik-elliott (thefieldcomic.com) wrote: i thought it was so rude that you were being sarcastic On Tue, Jan 13, 2009 at 9:17 AM, Hans Wichman j.c.wich...@objectpainters.com wrote: What I don't understand is that someone takes the time to write an elaborate answer and you have the nerve to reply with how about a real answer, some attitude dude. Although noone seems to take offense, it's a one way trip to my ignore list. On Mon, Jan 12, 2009 at 9:24 PM, Anthony Pace anthony.p...@utoronto.ca wrote: How about a real answer? Jack Doyle wrote: There's a new plugin for TweenLite/Max that'll cause transformation (rotation/scale) tweens to occur around any point, so it'll be as easy as: TweenLite.to(mc, 2, {transformAroundPoint:{point:new Point(100, 100), rotation:85}}); Or if you want to use the center of the object as its origin, you could simply do: TweenLite.to(mc, 2, {transformAroundCenter:{rotation:80}}); It works for the scale too, like: TweenLite.to(mc, 2, {transformAroundCenter:{scaleX:1.5, scaleY:2, rotation:-70}}); NOTE: The plugin is a membership benefit of Club GreenSock. You can see an interactive demo at http://blog.greensock.com/sneak-peek/ (scroll all the way down
Re: [Flashcoders] change the origin of rotation for a movieclip?
Well I think you have accepted a level of responsibility and have conducted yourself in a very mature and classy manner, after the fact.. If it makes any difference.. Many would have just fought tooth nail...and let the communication degrade. I agree, and am happy that this came to a satisfactory conclusion. 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] change the origin of rotation for a movieclip?
Sweet - he updated Darron Schall's class for AS3 - nice. Jason Merrill Bank of America Instructional Technology Media · GCIB Staff Support LLD Interested in Flash Platform technologies? Join the Bank of America Flash Platform Developer Community Interested in innovative ideas in Learning? Check out the Innovative Learning Blog and subscribe. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt Muller Sent: Tuesday, January 13, 2009 4:23 PM To: Flash Coders List Subject: Re: [Flashcoders] change the origin of rotation for a movieclip? http://www.oscartrelles.com/archives/dynamic_movieclip_registration_with_as3// change reg point and a new super fast free tween engine http://www.lostinactionscript.com/blog/index.php/2009/01/05/tweensy-goes-public/ cheers, MaTT On Tue, Jan 13, 2009 at 6:02 PM, Anthony Pace anthony.p...@utoronto.cawrote: Telling someone to purchase a membership is not a real answer. His second post was. Hans Wichman wrote: What I don't understand is that someone takes the time to write an elaborate answer and you have the nerve to reply with how about a real answer, some attitude dude. Although noone seems to take offense, it's a one way trip to my ignore list. On Mon, Jan 12, 2009 at 9:24 PM, Anthony Pace anthony.p...@utoronto.ca wrote: How about a real answer? Jack Doyle wrote: There's a new plugin for TweenLite/Max that'll cause transformation (rotation/scale) tweens to occur around any point, so it'll be as easy as: TweenLite.to(mc, 2, {transformAroundPoint:{point:new Point(100, 100), rotation:85}}); Or if you want to use the center of the object as its origin, you could simply do: TweenLite.to(mc, 2, {transformAroundCenter:{rotation:80}}); It works for the scale too, like: TweenLite.to(mc, 2, {transformAroundCenter:{scaleX:1.5, scaleY:2, rotation:-70}}); NOTE: The plugin is a membership benefit of Club GreenSock. You can see an interactive demo at http://blog.greensock.com/sneak-peek/ (scroll all the way down in the list of plugins - they're at the bottom - click example). For those of you who are wondering what's this 'plugin' talk with TweenLite - I didn't know there were any plugins!, it's a new feature that's part of a big update I'm rolling out soon. It adds lots of flexibility. Read more at the site. Jack PS There's also TransformMatrixProxy which has been around for a while and it'll do something similar and also let you skew things. http://blog.greensock.com/transformmatrixproxy/ It's not quite as convenient as a plugin for TweenLite/Max, though. -Original Message- From: Anthony Pace [mailto:anthony.p...@utoronto.ca] Sent: Saturday, January 10, 2009 6:12 PM To: Flash Coders List Subject: [Flashcoders] change the origin of rotation for a movieclip? How do you change the origin of rotation dynamically? can it be done? or will it always be 0,0 I was hoping that with the new features of as3 that this I would be able to indicate where I wanted the origin; yet, I am starting to think that I was hoping for too much. ___ 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 ___ 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] change the origin of rotation for a movieclip?
http://www.oscartrelles.com/archives/dynamic_movieclip_registration_with_as3// change reg point and a new super fast free tween engine http://www.lostinactionscript.com/blog/index.php/2009/01/05/tweensy-goes-public/ cheers, MaTT On Tue, Jan 13, 2009 at 6:02 PM, Anthony Pace anthony.p...@utoronto.cawrote: Telling someone to purchase a membership is not a real answer. His second post was. Hans Wichman wrote: What I don't understand is that someone takes the time to write an elaborate answer and you have the nerve to reply with how about a real answer, some attitude dude. Although noone seems to take offense, it's a one way trip to my ignore list. On Mon, Jan 12, 2009 at 9:24 PM, Anthony Pace anthony.p...@utoronto.ca wrote: How about a real answer? Jack Doyle wrote: There's a new plugin for TweenLite/Max that'll cause transformation (rotation/scale) tweens to occur around any point, so it'll be as easy as: TweenLite.to(mc, 2, {transformAroundPoint:{point:new Point(100, 100), rotation:85}}); Or if you want to use the center of the object as its origin, you could simply do: TweenLite.to(mc, 2, {transformAroundCenter:{rotation:80}}); It works for the scale too, like: TweenLite.to(mc, 2, {transformAroundCenter:{scaleX:1.5, scaleY:2, rotation:-70}}); NOTE: The plugin is a membership benefit of Club GreenSock. You can see an interactive demo at http://blog.greensock.com/sneak-peek/ (scroll all the way down in the list of plugins - they're at the bottom - click example). For those of you who are wondering what's this 'plugin' talk with TweenLite - I didn't know there were any plugins!, it's a new feature that's part of a big update I'm rolling out soon. It adds lots of flexibility. Read more at the site. Jack PS There's also TransformMatrixProxy which has been around for a while and it'll do something similar and also let you skew things. http://blog.greensock.com/transformmatrixproxy/ It's not quite as convenient as a plugin for TweenLite/Max, though. -Original Message- From: Anthony Pace [mailto:anthony.p...@utoronto.ca] Sent: Saturday, January 10, 2009 6:12 PM To: Flash Coders List Subject: [Flashcoders] change the origin of rotation for a movieclip? How do you change the origin of rotation dynamically? can it be done? or will it always be 0,0 I was hoping that with the new features of as3 that this I would be able to indicate where I wanted the origin; yet, I am starting to think that I was hoping for too much. ___ 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] change the origin of rotation for a movieclip?
How about a real answer? Jack Doyle wrote: There's a new plugin for TweenLite/Max that'll cause transformation (rotation/scale) tweens to occur around any point, so it'll be as easy as: TweenLite.to(mc, 2, {transformAroundPoint:{point:new Point(100, 100), rotation:85}}); Or if you want to use the center of the object as its origin, you could simply do: TweenLite.to(mc, 2, {transformAroundCenter:{rotation:80}}); It works for the scale too, like: TweenLite.to(mc, 2, {transformAroundCenter:{scaleX:1.5, scaleY:2, rotation:-70}}); NOTE: The plugin is a membership benefit of Club GreenSock. You can see an interactive demo at http://blog.greensock.com/sneak-peek/ (scroll all the way down in the list of plugins - they're at the bottom - click example). For those of you who are wondering what's this 'plugin' talk with TweenLite - I didn't know there were any plugins!, it's a new feature that's part of a big update I'm rolling out soon. It adds lots of flexibility. Read more at the site. Jack PS There's also TransformMatrixProxy which has been around for a while and it'll do something similar and also let you skew things. http://blog.greensock.com/transformmatrixproxy/ It's not quite as convenient as a plugin for TweenLite/Max, though. -Original Message- From: Anthony Pace [mailto:anthony.p...@utoronto.ca] Sent: Saturday, January 10, 2009 6:12 PM To: Flash Coders List Subject: [Flashcoders] change the origin of rotation for a movieclip? How do you change the origin of rotation dynamically? can it be done? or will it always be 0,0 I was hoping that with the new features of as3 that this I would be able to indicate where I wanted the origin; yet, I am starting to think that I was hoping for too much. ___ 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] change the origin of rotation for a movieclip?
How about a real answer? I wonder if you could deconstruct the way it was done in AS2 and make an AS3 version out of this: http://www.darronschall.com/weblog/2003/09/dynamic-movieclip-registration-with-as2.cfm Just a thought. Jason Merrill Bank of America Instructional Technology Media · GCIB Staff Support LLD Interested in Flash Platform technologies? Join the Bank of America Flash Platform Developer Community Interested in innovative ideas in Learning? Check out the Innovative Learning Blog and subscribe. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Anthony Pace Sent: Monday, January 12, 2009 3:24 PM To: Flash Coders List Subject: Re: [Flashcoders] change the origin of rotation for a movieclip? How about a real answer? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] change the origin of rotation for a movieclip?
Hey Anthony have you checked out the MatrixTransformer class its got a handy function, rotateAroundInternalPoint(), which will serve you well. Rob On 12-Jan-09, at 3:24 PM, Anthony Pace wrote: -Original Message- From: Anthony Pace [mailto:anthony.p...@utoronto.ca] Sent: Saturday, January 10, 2009 6:12 PM To: Flash Coders List Subject: [Flashcoders] change the origin of rotation for a movieclip? How do you change the origin of rotation dynamically? can it be done? or will it always be 0,0 I was hoping that with the new features of as3 that this I would be able to indicate where I wanted the origin; yet, I am starting to think that I was hoping for too much. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] change the origin of rotation for a movieclip?
That shouldn't be the case. You will have to offset the original mc's x and y by half the width and height of the original; but the rotation of the wrapping mc should always take place around that mc's origin. e.g. var wrapper:Sprite=new Sprite(); wrapper.addChild(original); original.x=-original.width/2; original.y=-original.height/2; addChild(wrapper); wrapper.rotation=45; ... or whatever. If you're really getting erroneous results from that sort of setup, I'd love to see the source code. Ian On Sun, Jan 11, 2009 at 2:00 AM, Anthony Pace anthony.p...@utoronto.ca wrote: I have actually tried that yet, it seems that when I move the mc in the wrapper, the origin of the wrapper changes to be that of mc upper left most point. Leandro Ferreira wrote: The easiest way is to wrap it arount another object, move its position and rotate the wraper. Leandro Ferreira On Sat, Jan 10, 2009 at 10:11 PM, Anthony Pace anthony.p...@utoronto.cawrote: How do you change the origin of rotation dynamically? can it be done? or will it always be 0,0 I was hoping that with the new features of as3 that this I would be able to indicate where I wanted the origin; yet, I am starting to think that I was hoping for too much. ___ 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] change the origin of rotation for a movieclip?
Oh yeah this definitely works. I was having trouble because I needed to delete ASO files(thought things had changed in the fp10 upgrade and I was going nuts until I figured it out); yet, I am still looking for a better way. I am looking into the matrix transformer class right now. Ian Thomas wrote: That shouldn't be the case. You will have to offset the original mc's x and y by half the width and height of the original; but the rotation of the wrapping mc should always take place around that mc's origin. e.g. var wrapper:Sprite=new Sprite(); wrapper.addChild(original); original.x=-original.width/2; original.y=-original.height/2; addChild(wrapper); wrapper.rotation=45; ... or whatever. If you're really getting erroneous results from that sort of setup, I'd love to see the source code. Ian On Sun, Jan 11, 2009 at 2:00 AM, Anthony Pace anthony.p...@utoronto.ca wrote: I have actually tried that yet, it seems that when I move the mc in the wrapper, the origin of the wrapper changes to be that of mc upper left most point. Leandro Ferreira wrote: The easiest way is to wrap it arount another object, move its position and rotate the wraper. Leandro Ferreira On Sat, Jan 10, 2009 at 10:11 PM, Anthony Pace anthony.p...@utoronto.cawrote: How do you change the origin of rotation dynamically? can it be done? or will it always be 0,0 I was hoping that with the new features of as3 that this I would be able to indicate where I wanted the origin; yet, I am starting to think that I was hoping for too much. ___ 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] change the origin of rotation for a movieclip?
Scale rotate around an arbitrary centre | Web 2.1http://web.2point1.com/2008/04/13/scale-rotate-around-an-arbitrary-centre/ first result on google. 2009/1/13 Anthony Pace anthony.p...@utoronto.ca Oh yeah this definitely works. I was having trouble because I needed to delete ASO files(thought things had changed in the fp10 upgrade and I was going nuts until I figured it out); yet, I am still looking for a better way. I am looking into the matrix transformer class right now. Ian Thomas wrote: That shouldn't be the case. You will have to offset the original mc's x and y by half the width and height of the original; but the rotation of the wrapping mc should always take place around that mc's origin. e.g. var wrapper:Sprite=new Sprite(); wrapper.addChild(original); original.x=-original.width/2; original.y=-original.height/2; addChild(wrapper); wrapper.rotation=45; ... or whatever. If you're really getting erroneous results from that sort of setup, I'd love to see the source code. Ian On Sun, Jan 11, 2009 at 2:00 AM, Anthony Pace anthony.p...@utoronto.ca wrote: I have actually tried that yet, it seems that when I move the mc in the wrapper, the origin of the wrapper changes to be that of mc upper left most point. Leandro Ferreira wrote: The easiest way is to wrap it arount another object, move its position and rotate the wraper. Leandro Ferreira On Sat, Jan 10, 2009 at 10:11 PM, Anthony Pace anthony.p...@utoronto.cawrote: How do you change the origin of rotation dynamically? can it be done? or will it always be 0,0 I was hoping that with the new features of as3 that this I would be able to indicate where I wanted the origin; yet, I am starting to think that I was hoping for too much. ___ 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- The Random Lines My online portfolio www.therandomlines.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] change the origin of rotation for a movieclip?
Wow. Sorry. I thought that might be helpful. Obviously it wasn't. I should have given a more thorough answer - after all, this list is for more advanced developers who don't need things simplified. There are 3 ways I know of to do something like that (some have already been covered): 1) Wrap it in another DisplayObject/MovieClip, offset it however much you need so that the new parent's registration point is where you need it on your object. Then rotate the parent. Upside: it's easy. Down side: You're screwing with the display list which fires off events like ADDED_TO_STAGE. It feels like a hack. 2) Use matrix transformations like MatrixTransformer class's rotateAroundInternalPoint() method. Cleaner in some ways, but in my experience, it doesn't always give accurate results over time. 3) Determine where the point is internally around which you want to rotate (according to your DisplayObject's local coordinates). Rotate and then use localToGlobal() and globalToLocal() to figure out how much it was offset and move the x/y coordinates to compensate. Hope that was more helpful. Jack -Original Message- From: Anthony Pace [mailto:anthony.p...@utoronto.ca] Sent: Monday, January 12, 2009 2:24 PM To: Flash Coders List Subject: Re: [Flashcoders] change the origin of rotation for a movieclip? How about a real answer? Jack Doyle wrote: There's a new plugin for TweenLite/Max that'll cause transformation (rotation/scale) tweens to occur around any point, so it'll be as easy as: TweenLite.to(mc, 2, {transformAroundPoint:{point:new Point(100, 100), rotation:85}}); Or if you want to use the center of the object as its origin, you could simply do: TweenLite.to(mc, 2, {transformAroundCenter:{rotation:80}}); It works for the scale too, like: TweenLite.to(mc, 2, {transformAroundCenter:{scaleX:1.5, scaleY:2, rotation:-70}}); NOTE: The plugin is a membership benefit of Club GreenSock. You can see an interactive demo at http://blog.greensock.com/sneak-peek/ (scroll all the way down in the list of plugins - they're at the bottom - click example). For those of you who are wondering what's this 'plugin' talk with TweenLite - I didn't know there were any plugins!, it's a new feature that's part of a big update I'm rolling out soon. It adds lots of flexibility. Read more at the site. Jack PS There's also TransformMatrixProxy which has been around for a while and it'll do something similar and also let you skew things. http://blog.greensock.com/transformmatrixproxy/ It's not quite as convenient as a plugin for TweenLite/Max, though. -Original Message- From: Anthony Pace [mailto:anthony.p...@utoronto.ca] Sent: Saturday, January 10, 2009 6:12 PM To: Flash Coders List Subject: [Flashcoders] change the origin of rotation for a movieclip? How do you change the origin of rotation dynamically? can it be done? or will it always be 0,0 I was hoping that with the new features of as3 that this I would be able to indicate where I wanted the origin; yet, I am starting to think that I was hoping for too much. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] change the origin of rotation for a movieclip?
For what its worth Jack.. I dig the classes you offer... maybe they were looking for a solution they didn't have to pay for.. (being a code sharing 'forum/group') so to speak... - Original Message - From: Jack Doyle To: 'Flash Coders List' Sent: Monday, January 12, 2009 4:59 PM Subject: RE: [Flashcoders] change the origin of rotation for a movieclip? Wow. Sorry. I thought that might be helpful. Obviously it wasn't. I should have given a more thorough answer - after all, this list is for more advanced developers who don't need things simplified. There are 3 ways I know of to do something like that (some have already been covered): 1) Wrap it in another DisplayObject/MovieClip, offset it however much you need so that the new parent's registration point is where you need it on your object. Then rotate the parent. Upside: it's easy. Down side: You're screwing with the display list which fires off events like ADDED_TO_STAGE. It feels like a hack. 2) Use matrix transformations like MatrixTransformer class's rotateAroundInternalPoint() method. Cleaner in some ways, but in my experience, it doesn't always give accurate results over time. 3) Determine where the point is internally around which you want to rotate (according to your DisplayObject's local coordinates). Rotate and then use localToGlobal() and globalToLocal() to figure out how much it was offset and move the x/y coordinates to compensate. Hope that was more helpful. Jack -Original Message- From: Anthony Pace [mailto:anthony.p...@utoronto.ca] Sent: Monday, January 12, 2009 2:24 PM To: Flash Coders List Subject: Re: [Flashcoders] change the origin of rotation for a movieclip? How about a real answer? Jack Doyle wrote: There's a new plugin for TweenLite/Max that'll cause transformation (rotation/scale) tweens to occur around any point, so it'll be as easy as: TweenLite.to(mc, 2, {transformAroundPoint:{point:new Point(100, 100), rotation:85}}); Or if you want to use the center of the object as its origin, you could simply do: TweenLite.to(mc, 2, {transformAroundCenter:{rotation:80}}); It works for the scale too, like: TweenLite.to(mc, 2, {transformAroundCenter:{scaleX:1.5, scaleY:2, rotation:-70}}); NOTE: The plugin is a membership benefit of Club GreenSock. You can see an interactive demo at http://blog.greensock.com/sneak-peek/ (scroll all the way down in the list of plugins - they're at the bottom - click example). For those of you who are wondering what's this 'plugin' talk with TweenLite - I didn't know there were any plugins!, it's a new feature that's part of a big update I'm rolling out soon. It adds lots of flexibility. Read more at the site. Jack PS There's also TransformMatrixProxy which has been around for a while and it'll do something similar and also let you skew things. http://blog.greensock.com/transformmatrixproxy/ It's not quite as convenient as a plugin for TweenLite/Max, though. -Original Message- From: Anthony Pace [mailto:anthony.p...@utoronto.ca] Sent: Saturday, January 10, 2009 6:12 PM To: Flash Coders List Subject: [Flashcoders] change the origin of rotation for a movieclip? How do you change the origin of rotation dynamically? can it be done? or will it always be 0,0 I was hoping that with the new features of as3 that this I would be able to indicate where I wanted the origin; yet, I am starting to think that I was hoping for too much. ___ 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] change the origin of rotation for a movieclip?
I took a look at the demo and I instantly knew what he was doing, because the origin marker kept moving... easy enough to correct. I figured out something similar too by changing the x and y rotation values to match the point on the outer circles locus, based on the amount of steps wanted, although useful, is still not good enough for me. Ashim D'Silva wrote: Scale rotate around an arbitrary centre | Web 2.1http://web.2point1.com/2008/04/13/scale-rotate-around-an-arbitrary-centre/ first result on google. 2009/1/13 Anthony Pace anthony.p...@utoronto.ca Oh yeah this definitely works. I was having trouble because I needed to delete ASO files(thought things had changed in the fp10 upgrade and I was going nuts until I figured it out); yet, I am still looking for a better way. I am looking into the matrix transformer class right now. Ian Thomas wrote: That shouldn't be the case. You will have to offset the original mc's x and y by half the width and height of the original; but the rotation of the wrapping mc should always take place around that mc's origin. e.g. var wrapper:Sprite=new Sprite(); wrapper.addChild(original); original.x=-original.width/2; original.y=-original.height/2; addChild(wrapper); wrapper.rotation=45; ... or whatever. If you're really getting erroneous results from that sort of setup, I'd love to see the source code. Ian On Sun, Jan 11, 2009 at 2:00 AM, Anthony Pace anthony.p...@utoronto.ca wrote: I have actually tried that yet, it seems that when I move the mc in the wrapper, the origin of the wrapper changes to be that of mc upper left most point. Leandro Ferreira wrote: The easiest way is to wrap it arount another object, move its position and rotate the wraper. Leandro Ferreira On Sat, Jan 10, 2009 at 10:11 PM, Anthony Pace anthony.p...@utoronto.cawrote: How do you change the origin of rotation dynamically? can it be done? or will it always be 0,0 I was hoping that with the new features of as3 that this I would be able to indicate where I wanted the origin; yet, I am starting to think that I was hoping for too much. ___ 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 ___ 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] change the origin of rotation for a movieclip?
There's a new plugin for TweenLite/Max that'll cause transformation (rotation/scale) tweens to occur around any point, so it'll be as easy as: TweenLite.to(mc, 2, {transformAroundPoint:{point:new Point(100, 100), rotation:85}}); Or if you want to use the center of the object as its origin, you could simply do: TweenLite.to(mc, 2, {transformAroundCenter:{rotation:80}}); It works for the scale too, like: TweenLite.to(mc, 2, {transformAroundCenter:{scaleX:1.5, scaleY:2, rotation:-70}}); NOTE: The plugin is a membership benefit of Club GreenSock. You can see an interactive demo at http://blog.greensock.com/sneak-peek/ (scroll all the way down in the list of plugins - they're at the bottom - click example). For those of you who are wondering what's this 'plugin' talk with TweenLite - I didn't know there were any plugins!, it's a new feature that's part of a big update I'm rolling out soon. It adds lots of flexibility. Read more at the site. Jack PS There's also TransformMatrixProxy which has been around for a while and it'll do something similar and also let you skew things. http://blog.greensock.com/transformmatrixproxy/ It's not quite as convenient as a plugin for TweenLite/Max, though. -Original Message- From: Anthony Pace [mailto:anthony.p...@utoronto.ca] Sent: Saturday, January 10, 2009 6:12 PM To: Flash Coders List Subject: [Flashcoders] change the origin of rotation for a movieclip? How do you change the origin of rotation dynamically? can it be done? or will it always be 0,0 I was hoping that with the new features of as3 that this I would be able to indicate where I wanted the origin; yet, I am starting to think that I was hoping for too much. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] change the origin of rotation for a movieclip?
The easiest way is to wrap it arount another object, move its position and rotate the wraper. Leandro Ferreira On Sat, Jan 10, 2009 at 10:11 PM, Anthony Pace anthony.p...@utoronto.cawrote: How do you change the origin of rotation dynamically? can it be done? or will it always be 0,0 I was hoping that with the new features of as3 that this I would be able to indicate where I wanted the origin; yet, I am starting to think that I was hoping for too much. ___ 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] change the origin of rotation for a movieclip?
I have actually tried that yet, it seems that when I move the mc in the wrapper, the origin of the wrapper changes to be that of mc upper left most point. Leandro Ferreira wrote: The easiest way is to wrap it arount another object, move its position and rotate the wraper. Leandro Ferreira On Sat, Jan 10, 2009 at 10:11 PM, Anthony Pace anthony.p...@utoronto.cawrote: How do you change the origin of rotation dynamically? can it be done? or will it always be 0,0 I was hoping that with the new features of as3 that this I would be able to indicate where I wanted the origin; yet, I am starting to think that I was hoping for too much. ___ 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