Search:
Type: Posts; User: PJjerry
Search:
Search took 0.03 seconds.
-
Thanks guys... will give them a try :D
-
Say I have two rectangular sprites B(bigger) and S(smaller) overlapped, with S (the smaller one) on top.
They are both listening to the MouseEvent.MOUSE_MOVE event.
But when mouse-overing...
-
ya, in the same level events can't be shared among instances. :(
-
*bump* anyone?
Or at least how can I debug to confirm that the inactive objects are indeed listening to the custom event dispatched from the active object?
-
I didn't use the array as suggested but did setup a custom event for listening, however it didn't work as expected.
The code should be good, just not sure what goes wrong. Any hints?
Currently...
-
thanks neznein9. I will work on the way you suggested and see what happens :D
-
The scene is a movable tree with lots of fruits on it. When moving one of the fruit and if it touches any of the others the collided fruit will fall down to the ground.
Actually all I need is the...
-
thanks...will check them out.
-
In Flash CS3, does there exist a similar class to Flex's Canvas Class, which supports default behaviors like infinite boundary, panning and zooming?
I really don't wanna implement it myself...
-
There is a bunch of classes extended from Loader. Check them out.
-
geeks! This works!!
I am using the default flash.display.SimpleButton class as the shape.
-
When creating a Sprite, adding two children - a SimpleButton & a TextField served as the label,
When mouseovering this sprite if the mouse pointer is on the top of the TextField instance area,
the...
-
Seems that the only way to get it work is changing the component source.
-
Is it possible? 'cuz the palette always shows up at random position, and I wanna lock it to a certain place.
I am using Flash CS3.
-
Ya your code works great....!!
In my case Trunk and Branch are drawn in Flash (MovieClips), and that might be the problem? but shouldn't be.
I will double check and see why mine isn't working....
-
My intension is to deploy the Tree Class as a .swc, but the "tree components"(Branch & Trunk) should be encapsulated so only the Tree class is exposed to the user. Since AS3 doesn't have a private or...
-
interesting. will give it a try~
-
Say if I have the all R,G,B individual values in float how do I convert them to the Hex color value?
Is there any built-in flash class doing the work?
r:Number = 0.18495837
g:Number =...
-
thanks will take a look at it :D
-
maybe the setFocus will work? make one of the buttons in B focused then the mouse will automatically be placed there?
-
How can I move the mouse's position?
say there is a sprite A with a button child, when clicking on this button another sprite B containing a bunch of buttons will show up. B is in the same...
-
I am totally dumb.
Instead of
var vector:Point = new Point(-ep_x, -ep_y);
it should be
-
thanks for the quick replay but I am trying to make drawing an arrow easier by giving the start and end points and bomb! the arrow generates :D
since we need tons of arrows and they are all pointing...
-
I tried to use pure actionscript 3 code to draw a very simple arrow, but got some weird result... maybe something here may help me out.
So please take a look at this picture:...
-
Wow thanks for the thorough reply, that really helps :D
Time to do some homework~
|
Click Here to Expand Forum to Full Width
|