Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

FlashRockStar

Members
  • Posts

    10
  • Joined

  • Last visited

FlashRockStar's Achievements

0

Reputation

  1. Hello, right now i have another quetion It is possible to scale a transform item in aspect ratio, but is it possible to set a limited scale size like double the original size of the object? Thank You!
  2. Hi, thanks for your help so is it maybe possible to turn that scaling off in the method fitInsideBounds() ? And when yes do you now how ? Thank You!
  3. Hello, i found the solution itemTransformManager.getItem(itemTransformManager.selectedTargetObjects[0]).fitInsideBounds(); But there is still one thing,the MovieClip scales still down, is there a way to turn that off? Thank You!
  4. Hi, thanks for your help! I have it like this now: itemTransformManager.selectedTargetObjects[0].fitInsideBounds(); But this doesent work, can you please tell me what i am doing wrong? And another thing is, i read that this forcing it to stay within the bounds by scaling it down, but i dont want that it scale down! I just want that it stays inside the bounds Is there also a solution for that ? Thank You for your fast Support!!!
  5. Hello, and thank you very much for your great support! But right now i have another Problem. I have a MovieClip with 2 Movieclips inside. I can change the distance between these 2 Mocieclips with a Slider that i made. When i select this movieClip with the 2 movieClips inside i can change the distance and the selection box size get updated with the updateSelection() function. This works great until here But here is my Problem, when the movieclip with the 2 Movieclips inside is to near the left, top or bottom or top border the these 2 movieclips goes over the bounds. I mean i have set a bound, so that the dragable Movieclip with the 2 Movieclips inside can only be draged in a area i have set. This works fine if i not use the slider to change the distance, than the movieclips goes over the bounding box that i dont want. i mentioned that when i click on the movieclip again after 1 of that movieclips goes over the bounding box the whole movieclip jumps directly inside the bounding box back. So my idea is now that while i change the distance between the movieclips the selection box is getting updated, but the event what checks the bounding box not! It would be great if there is a function that i can set in the slider who updated also the bounds!!! Thank You !!!
  6. Hello, thank you really much that helped great But i have another question, is there an event that get fired only when you select an item(Like MOUSE_CLICK) and when you release it with the mouse(LIKE MOUSE_RELEASE)? Thank You!
  7. Hello, i am trying to get the instancename of the selected item. I tryed this: itemTransformManager.addEventListener(TransformEvent.SELECTION_CHANGE, testItemTransform); and this: function testItemTransform(evt:TransformEvent):void { var item:TransformItem = itemTransformManager.getItem(evt.target as DisplayObject); outputdata.text = String(item); }; to get the instance name of the selected transform item. But this doesent work Can you please tell me how i get this to work, thank you!!!
  8. Hello, i found a way to update the selection box size When i insert this in my EnterFrame Method: updateSelection(); Than the selection box updates automaticaly, but there is one more problem! The Boundaries are getting still ignored. Is there a way to update the boundarys the same as the selection box size? I mentioned that when i unselect the item and select it again while the item in over the boundaries that the item goes back in the boundaries very fast, i think that everytime someone clicks the item that in the boundaries funktion the new size is set and that the funktion detects that the item is not inside the boundaries and jumps back inside, but i can be wrong I only need to find a solution that this can not be happen anymore, thank you!
  9. Hello, first i would like t say that i am really happy with this great class! But right now i have a big problem to solve. Of course i use your Transformmanager for my project. I load an external SWF file with 2 Movieclips inside in my main SWF File. I can select the SWF that i loaded in my main SWF and i can Scale, Rotate and change the size, everything works fine until here But here comes the Problem, as i told you in the SWF that i transform are 2 different MovieClips with 2 different instance names. Now i must change the distance between these 2 MoVieclips, and that works fine with a scrollbar that i made for that. this works fine, but when i change the distance the selection box from your Transformmangager does not update, the size of the selection box stay the same. And even the Movieclips can go over the bounds that i have set. It would be really nice if someone could help me to solve this problem!!! Maybe there is a way to update the selection box size even if i use my own slider? Thank You!!!
×