displayobject
actionscript bitmap draw with transform.matrix and rectangle.bounds
I am trying to get a partial bitmap from an object but I am getting different values from: object.transform.matrix.tx and object.transform.matrix.ty[详细]
2023-04-12 02:23 分类:问答How to manage positions of DisplayObjects in actionscript?
I use the following code to set position of a DisplayObject to center. obj.x = (screen_width - obj.width) / 2;[详细]
2023-04-02 02:22 分类:问答UIButton not showing in iOS
Following is a code to display a button to the toolbar. UIButton myButton = [UIButton buttonWithType:UIButtonTypeCustom];[详细]
2023-03-28 21:14 分类:问答Trying to display data fetched from database on a jsp page (I am using Struts 2 with Hibernate)
I am trying to display data from my database to a Jsp page using Hibernate with Struts 2. Although there is no error nothing gets displ开发者_StackOverflow社区ayed.[详细]
2023-03-23 19:16 分类:问答Am I able to hide children display object if the exceed the parent display object height?
Hey I building a plugin for a player, and I create a few sprites. The first spirte is a background, 开发者_运维百科it\'s a black color alpha at .6. Then I add n children to it, depending on what vide[详细]
2023-02-02 00:45 分类:问答Actionscript 3 remove child at point
hi i\'m new to AS3 and i was wondering what is the best way to remove a child at a point. i tried Holder.removeChild(Holder.getObjectsUnderPoint(new Point(exampleX, exampleY))[0]);[详细]
2023-01-30 05:15 分类:问答Is there a way to check if DisplayObject A is a descendant of DisplayObject B?
I would like to be able to quickly check if a given DisplayObject is a descendant (not in the inheritance sense - ie. child, grandchild, great-grandchild, great-great-grandchild, etc.) of another Disp[详细]
2023-01-21 20:02 分类:问答Data Transfer Object (DTO) to DisplayObject (DO) - How to flatten DTO's into a DO collection property
I would like to flatten a collection of DTO\'s into a single DO using LINQ, but my LINQ-fu is weak. My DTO looks like this:[详细]
2023-01-20 04:15 分类:问答Looping DisplayObject animation
I have multiple object doing random开发者_如何学JAVA movement with random speed. i wanted to repeat the animation.[详细]
2023-01-18 11:25 分类:问答Removing Parent in AS3: Does this free the memory used by all the children?
I\'m making a rather large flash project and so I\'m concerned about memory usage. At the end of each section of the application I remove the overarching parent element that holds the content. Althoug[详细]
2023-01-16 07:51 分类:问答