
This week's contest topic is Flash Player API related to Graphics or Interactivity, so just post any ideas related to this topic ![]()
The contest will end next wednesday (04/29/09).
Last week contest winner is
Thank you guys for all the nice stuff you submitted last week.
Update : The winner of this contest is Lalex, Lalex please send me your infos
Comments (20)
multitouch technology supporting (maybe gestures or multiple mouses)
a mouse that is not limited by the bounds of the screen, like in fps games (Unity does it)
And no default context menu on the right click, it’s already in AIR so why not in the flash player…
Flash Player 10 can now access the graphic card for more processing power. It would be great if the same could be done for the Sound Card, and allow us to see other software accessing it. For example, this would allow to develop a Visualizer with the Sound.computeSpectrum class, but interracting with the sound player though the computer and not in flash (itunes, youtube, etc).
P.S. Dmitry, for multitouch, NUI have built a nice open source library that allow you to track multi touch and send it to flash. (http://nuigroup.com/) I did the example in the forums with a webcam and shoes box used for multitouch screen and it worked well.
A method for precalculating the maxWidth and MaxHeight of a resulting bitmap before applying a transformation on it and copyng in another bitmap. Something like precalculateNewBoundsAfterTransformation()
If im not wrong Colin Moock writed about this in his latest book.
-example Bitmap A 100×100
-create Bitmap B for the exactly new Bitmap A size after transform
-drawing on Bitmap B , Bitmap A transformed rotation 45°
—
another one:
Extracting audio data from the mic or from a ns on fp10
Mousewheel scrolling on _all_ supported operating systems.
Cross platform support may be the biggest strength of the Flash Player, so this one should be a no-brainer!
It would be funny if we can navigate through a website or play games with voices command.
So an API for Voice Recognition in AS3
A simple way to have a DisplayObject bounds with current applied filters: maybe a boolean in the getBounds() method, or a getBitmapBounds() method?
Thibault, I can’t even find it at Amazon.ca? Is this book available in NA?
If you can put in the word: Flash Player 64bit on Windows / Mac.
Otherwise, I am wondering if there is an api for gamepads on AIR?
For graphics: adding a child to multiple parents, so we can have two viewports of an object without duplicating them.
Something like:
mainViewport.addChild(world);
rearMirror.scaleX = -0.5;
rearMirror.scaleY = 0.5;
rearMirror.scrollRect = new Rectangle(200, 100, 200, 50);
rearMirror.addChild(world)
// then world will be visible in two views
For interactivity: ability to detect right-click event and suppress the menu. Imagine a flash game with 2 button mouse operations.
A class to draw quadratic curves from one function like
drawCurve(a:1,b:1,c:1)
Simply, a clone method..
It’s not only to Graphics and Interfactivity, but when i’ve started to learn API Flash, I was really surprised about the un-presence of DisplayObject.clone () and MovieClip.clone ()…
But It can be apply to all of Flash Class.
Hi David,
I don’t know if the book is available in NA, that is a good question.
Maybe you can order it from amazon.fr ?
http://www.amazon.fr/Pratique-dActionscript-3-Thibault-Imbert/dp/2744023035/ref=sr_1_1?ie=UTF8&s=books&qid=1239031437&sr=8-1
Unfortunately, there is no API for gamepads in AIR. I hope it will come one day
best,
Thibault
Having direct access to the graphics card so we can run our own code on the GPU, will probably need threading before this can be done though.
The biggest bug bear I have with Flash is the restriction of the right mouse button, I would Love to be able to just handle right clicks like I handle left clicks, we would be able to make our games, sites and applications so much more interactive. RTS games suffer heavily from lack of a right mouse button.
Darn, and I was in France last week!
new:
MouseEvent.WHEEL_CLICK
come back:
MouseEvent.RELEASE_OUTSIDE
MouseEvent.DRAG_OVER
MouseEvent.DRAG_OUT
The curveTo method draw Quadratic Bezier:
public curveTo(controlX:Number, controlY:Number, anchorX:Number, anchorY:Number)
A new method to draw Cubic Bezier:
public cubicTo(control1X:Number, control1Y:Number, control2X:Number, control2Y:Number, anchorX:Number, anchorY:Number)
Add a new built-in *Stroke Filter* similar to the Photshop stroke layer style:
http://tinyurl.com/c8npsb
When designers apply this style (in example on TextFields with dynamic text) you can’t reproduce it in Flash. You need to convert it to a Glow Filter with high strengh, and the result is not good.
Built-in layout framework. Similar to the Flex layout (HBox, VBox, Grid, …):
http://tinyurl.com/ct58ra
Or other implementation (Java inspired):
http://tinyurl.com/cqqa4d
scale9Grid for Bitmaps.
Like:
bmp.scale9Grid = new Rectangle(20, 20, 60, 60);
I know there is ScaleBitmap:
http://tinyurl.com/cyz2h9
But CSS3/FireFox 3.1 have this as built-in functionnality:
http://tinyurl.com/5a3569
I would love that Flash be easier than HTML for this.
ca serait bien un systéme de débuguage comme http://demonsterdebugger.com/, directement intégré dans l’api cs4.
et qui permette de débuguer aussi quand le swf tourne en dehors de l’api, et qui donne des infos sur la quantité de mémoire utilisé, le fps …