en en en en en en en en en en en en en en en en fa en en fr hbs_lat en en en es en en en de en en fr en en ca en en en en en en en en en en de en en en en en en en en en fa en en en en en en fi hbs_lat en en en en en en en en en de es en en en en en en en en en en en en en en en en en en en en en en en en en en en en en es en fr en en en nl en de en de en en en en en en en en en en en en en fr cv es tr es en en en en ms en en en en en en fr en hbs_lat en en en en en en en fr cv es tr es en en en en de en en en ca en en en en en
Hi Jack, Back again! Thanks again for your help last time around! Just a random bit of curiosity - is there a way to exclude a child of an existing TransformManager instance's targetObject from bounds calculations and selection UI? For example, let's say I've called addItem on a MovieClip that has two Sprites as children. I want one of the sprites to be visible all the time, and be accounted for in the TransformManager's selection bounds, etc. I'd like the other sprite to be hidden by default, and when I set it's visibility to true, not to be counted toward the overall bounds of the selection. Both children should be scaled and moved by TransformManager, the second would Ideally just being invisible in bounds calculations. I had hoped to use addIgnoredObject, but saw in the documentation that the supplied targetObject cannot be a child of a targetObject. I'm thinking that there's no real way to go about this other than to take the second sprite out of the original target Object, tie its scale and position to the targetObject, and leave it out of TransformManager's hands, but if you have an alternate suggestion, I'd be glad to hear it! Thanks Kindly, Chris
Bug: Blitmask and Air in Flash Professional CS5 [SOLVED]
ICOM Productions replied to ICOM Productions's topic in GSAP (Flash)
ICOM Productions replied to ICOM Productions's topic in GSAP (Flash)
Further information - upon commenting all references to Blitmask out of the app, no further errors were present, so I'm guessing something isn't playing nice between AIR framework and the way I'm using blitmask. That said, I really like Blitmask's performance and functionality - it's pretty central to the pan/zoom functionality of the app, so I'll continue to develop for flash player until I find the trouble. Still have had no luck reproducing in a test fla, but I'll keep at it. I am using FlashBuilder to manage the classes and project overall, and my AS is in classes rather than in the swf. Going to try this approach again -> maybe it was something I did or didn't do in converting to AIR export settings. Thanks again Jack, Chris
Bug: Blitmask and Air in Flash Professional CS5 [SOLVED]
ICOM Productions posted a topic in GSAP (Flash)
Hi Jack and fellow greensock-ers, First of all, Jack, it's been an absolute dream to work with your code. Very easy to understand, implement, and modify where needed (Don't worry! I haven't mangled anything too terribly yet!). I've learned a LOT from poking around in your code, and now use your setDefault technique in just about all of my own work as well. That's only a small part of the learning you've afforded me through working with your code - thank you very much for your hard work and dedication to the community. That said, I've run into a bit of an odd snag and haven't been able to get to the bottom of it myself. I'm attempting to use your work in an air application that I'm publishing from within Flash Professional CS5. (Note that I've removed some info from file paths in the error text) Error: ArgumentError: Error #2015: Invalid BitmapData. at flash.display::BitmapData/ctor() at flash.display::BitmapData() at com.greensock::BlitMask/_captureTargetBitmap()[...\GreenSock\bonus-all-v11\AS3\com\greensock\BlitMask.as:218] at com.greensock::BlitMask/update()[...\GreenSock\bonus-all-v11\AS3\com\greensock\BlitMask.as:266] This error is occurring in a rather large application I'm building for my company, which unfortunately I can't send directly, so I'm trying to replicate the issue in a test fla at the moment, but can't seem to do in a stripped down fashion. Any general pointers on what might be causing this while I try to replicate? I have a feeling that somehow I've caused BlitMask to try and fire an update before it has masked any content, although I can't determine where I might be doing this. The other option is that because this app was built originally as a Flash Professional SWF project (and only in the last week and a half of the build did our client request functionality that was previously dismissed that only air or a c# wrapper would provide...), I've got something horribly backwards in regard to AIR (this is my first time working in AIR without working in mxml) but can't seem to determine what the issue is. I'll keep digging, but any thoughts you have on this would be greatly appreciated. Thanks again for your hard work and excellent code, Chris
“With the incredible functionality, and the mind-blowing customer service, the price of Club GreenSock admission is well worth it!”
“GreenSock is the best thing that happened to SVG animations since SVG animations.”
“Aside from GreenSock’s laser-focused attention to detail, GSAP is fast, reliable, flexible, exceptional value (read: free in most cases) and, very importantly, supported.”
“I think I love GreenSock as much as bacon.”
“@greensock it’s a great library that many people love, and I know you care deeply about performance :)”
“This stuff is so incredibly amazing I can't believe it. The level of details and options put into these things and the natural instinct GreenSock has for solving everyday problems is impressive.”
“The GreenSock animation platform is one of the most useful sets of tools in existence when it comes to web animation.”
“Really quite impressed with @GreenSock JS - even the small things.”
“GreenSock has encouraged me to play with the code, to dream up new and exciting things to do.”
Sign Up For Our Newsletter
Get the latest updates on GreenSock products, exclusive offers, and more right in your inbox.
Your information will always be kept confidential.
Thanks for signing up!
Now you'll begin receiving the latest GreenSock updates, exclusive offers, and more right in your inbox. Welcome aboard.