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 ja en en en en en en en fr 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 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 en en en en en en en en en en en en de en en en pl en hu en es en en en de 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
Richard Ryu posted a topic in TransformManager (Flash)
Hi, I'm wondering If I add an image to transformManager, Is there any possible to reduce a quality of an image? I've tested two cases, the result is interesting for me. Once I call an image from file browser, Common Action : bitmap.smoothing = true; The size of an image : 600px X 600px (width:height). Background color : white. First Case : Nothing to do with an image, then print the image. The quality of an image is not bad. Second Case : Add a child into transformManager, then just moving an image. Do not resize then print document as well. The quality of an image is too bad. (pixelation) So I'd like to know is there any methode prevent this kinds of thing?
What's the name of event when selection boundary box's released.
Thank you very much Finally I know how it works properly
How to get movie clip from transformItem
Oh my godness, I understand perfectly. Thank you very much. From now, I can make it sense
Richard Ryu posted a topic in TransformManager (Flash)
I read transformManager document a few times, and I don't understand either one. I want to get movie clip from transformItem. I understand how to get movie clip under the event method like below : function onSelectClip(event:TransformEvent):void { var mc:MovieClip = event.items[0].targetObject as MovieClip; } But I want to get movie clip from transformManager(var manager:TransformManager) directly. So I try, var mc:MovieClip = manager.getItem(); Could you give me an advice?
What's the name of event when selection boundary box's released.
Richard Ryu replied to Richard Ryu's topic in TransformManager (Flash)
No I'm not meaning of "event.target.name" if I click another item or background so that leave(release) my selection boundary cursor from manager.selectItem action, Then How can I catch the event? When I finish moving job, I can call event listener "FINISH_INTERATIVE_MOVE". However I finish nothing after selecting item, I cannot get event listener. So I mean I want to know the name event like "FINISH_INTERACTIVE_MOVE, SELECTION_CHANGE"
flipSelectionHorizontal does not work.
Richard Ryu posted a topic in TransformManager (Flash)
Hi there. I'm trying to transform horizontally flip in my TransformManager. fliph_btn_m.addEventListener(MouseEvent.CLICK, clickFlipHorizontalHandler); function clickFlipHorizontalHandler(event:Event):void { manager.flipSelectionHorizontal(); } Am I missing something? On selecting transformItem, the flipSelectionHorizontal method does not work at all. [Partial Solved] When I declare the selected item(manager.selectItem), it works fine. I mean there are no problem. BTW is there any chance to resolve it without adding manager.selectItem?
What's the name of event when selection boundary box's released.
Richard Ryu posted a topic in TransformManager (Flash)
I'd like to know the name of event when I deselect transformItem. I mean that I've finished resize or rotations jobs, I want to get event listener name. Oh one more thing, Can I customize the icon on my select boundary box? I want to add "delete" icon in there. Thank you.
Judge whether item exist or not?
Richard Ryu posted a topic in TransformManager (Flash)
I had a big problem with TransformManager. I just want to do select TransformItem that I've loaded in the stage. If then I have to check existing in the stage too. Question 1. How can I access the transformItem? I've marked the color of text, Is this a good way? var manager:TransformManager = new TransformManager({allowDelete:true, autoDeselect:true}); // ref is an index number; function clickHandler(e:MouseEvent):void { if(manager.selectedTargetObjects[ref] == null){ // No item in the transformanager } else { // here is the item's existed manager.selectItem(manager.selectedTargetObjects[ref]); } } Question 2. How can I select transformItem if it is still in the stage. Once I added the transformItem I can transform size properly. However I try to select transformItem again, It has disappeared and New item add in the stage. All I have to do is that I want to select transformItem again that I made once. I mean I want to show selection boundary display again. I think it is related to below code but I cannot figure out at all. manager.selectItem(manager.selectedTargetObjects[ref]); or getSelectionBoundsWithHandles
Image backgroundColor does not apply
Richard Ryu posted a topic in GSAP
Hi, I'm wondering why my image does not change background color with "rgba"? -- html --   -- script -- TweenLite.to(".subpageBack", 1, {backgroundColor:"rgba(0,0,0,0.65)", ease:Cubic.easeOut}); I'm just changing background color when the button has clicked.
To add allowDelete:true option after a TransformManager has been created?
Richard Ryu posted a topic in TransformManager (Flash)
I usually create my transform manager like below : var manager:TransformManager = new TransformManager(); var mc1Item:TransformItem = manager.addItem(mc1); var mc2Item:TransformItem = manager.addItem(mc2); Question 1 : I'd like to add an option "allowDelete:true" in the transformManager. How can I resolve my trouble? Question 2 : And there are one more thing. I'm planning to make a button that is used in purpose for removing TransformItem. If then which action do I declare? I'm currently using backspace key for removing item
Do I have to destroy always when the TransformItem has removed?
Richard Ryu posted a topic in TransformManager (Flash)
Hi there. I'm wondering, the transformitem how to remove child item? Do I need to destroy() method declaring always if I try to removeChild from my stage? If I use bitmap in transform item, Should I run dispose() function at every removeChild action For the memory? I've read the document for this one, However I could not find my answer
Can I detect event when I finish transform manager job?
Richard Ryu posted a topic in TransformManager (Flash)
I'd like to detect the event when I release or finish transform manager. e.g. finish move or finish scale or finish rotate.. If I finish doing job such as moving, rotation, scaling at a time, I want to get event handler so that apply mask job. mc0Item.addEventListener(TransformEvent.FINISH_INTERACTIVE_MOVE, onFinishClip); if then, How can I find the name of movie clip in onFinishClip method? function onFinishClip(event:TransformEvent):void{ var mc:MovieClip = event.currentTarget as MovieClip // error occurred } 2nd Mouse pointer's disappeared when I finish to move the movie clip with transform manager. I don't know why this problem occurred but After moving or rotating the movie clip, mouse pointer had disappeared for a while. How can I resolve it?
“There is no doubt that GreenSock is currently the best available tool for creating astonishing interactive websites and animation effects.”
“Really quite impressed with @GreenSock JS - even the small things.”
“GSAP is just miles and miles ahead of any animation library out there. Great work!”
“Spent today converting an animation to pure CSS, and then into GSAP. GreenSock was an order of magnitude easier. Love it.”
“I’ve long felt like GSAP is the best kept secret in JavaScript.”
“If every library were as robust and reliable as GreenSock’s, the world would be a much better place for software engineers and their clients. I can't think of a better designed or better performing tool, and as a bonus, it's fun as heck to play with.”
“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.”
“I am more and more amazed every day, and very glad that I decided to get a business license.”
“The GreenSock animation platform is one of the most useful sets of tools in existence when it comes to web animation.”
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.