Astro


Adobe & Astro & Design & Flash23 Oct 2008 05:09 am

Cloth Demo

This demo is a combination of the new drawing API features like drawTriangles combined with an object made from APE (ActionScript Physics Engine). The texture that is mapped across the shape in this demo can be an image, video, pixel bender or simple color.

In the color demo you can see that the cloth has two sides. This is done with the concept of backface culling. When drawing triangles, you can specify if positive or negative triangles should be bypassed in rendering. This means that for a 3D app, you don’t need to double render, but for this far simpler example you can draw the negative triangles with a different texture by doinga second fill process where you don’t draw the positive triangles.

more to come!

Cloth demo detail images

BTW, if you are using APE and want to export to for Flash Player 10, you will need to go through and rename the Vector Class to something else since it will conflict with the new Vector data type.

Adobe & Astro & Flash14 Oct 2008 10:41 pm

This evening, Flash Player 10 went live on Adobe.com. With it comes a new definition of what Rich Internet Applications will look like on the web.

Flash Player 10 introduces creative expression features like 3D Effects, Pixel Bender filters and effects, enhanced drawing API, a new text engine, new sound APIs and color management. While each feature is impressive on its own, it is really the combination of the features with each other and with the existing capabilities in Flash Player that show the range of the Flash platform.

When we add new functionality to Flash Player, we add it in two ways. First, we want to make features easy to use, so people at different levels of technical or design expertise can make use of them. The next step though is to also provide low-level APIs that allow developers the flexibility to create their own functionality. We’ve done this in numerous ways throughout the player.

A good example is 3D where you can use simple ActionScript APIs, Flash CS4 Professional 3D transformation tools, or build a sophisticated 3D library on top of the the new drawing API drawTriangles. No matter what level you come to Flash Player from, you can make great experiences and applications.

On a personal note, I joined the Flash Player team almost two years ago, when we were in the early phases of planning Flash Player 10. In going through the requests from the community, the technology we had access to from Adobe, and the great ideas from the Flash Player team, I was blown away by what an amazing release this would be. Throughout the process as we met with customers in large and small groups, as we sneaked features at conferences and finally unveiled the player in May in public beta, I saw with delight the growing positive reaction that our hard work was worthwhile and that this will be the best release of player to date.

I’ve joked with my co-workers that as much as I’ve loved working on Flash, this Flash Player makes me want to go back out in to the community and get back to making games, advertisements, and wacky UIs. While I’m keeping my day job, I hope you enjoy Flash Player 10 as much I have, and I look forward to seeing what you create!

Adobe & Astro & Flash26 Sep 2008 10:08 am

Adobe Flash 10 Camp is a free event in the “unconference” style, focused on developers creating rich interactive experiences using the new Flash Player 10 features.

This event is inspired by BarCamp, iPhoneDevCamp, and the Adobe Hackathon, to develop inspiring content and applications using an advance copy of the Flash Professional CS4 authoring tool.

Attendees will include Flash and Flex developers, mobile developers, UI designers, and testers, all working together over the weekend. Development projects will include both solo and team efforts. While some attendees will wish to work solo during the event, we encourage attendees to team up, based on expertise, to work in ad-hoc project development teams. All attendees should be prepared to work on a development project during the event.

Participants will be able to:

  • Learn about new Flash Player features
  • Create Flash Player 10 content and applications
  • Test and optimize content and applications for Flash Player 10

Of course, there will be a Contest, featuring some great prizes including — you guessed it — Adobe Creative Suite 4! In addition to the prizes, winners of our Contest will be featured as part of our subsequent CS4 launch.

We are hoping to accommodate about 200 people at Adobe Town Hall in San Francisco. See our Agenda before you register to attend.

Register early! Spaces are limited.

Adobe & Astro & Flash10 Jul 2008 01:41 pm

If you are building SWF10 content and discovered that your SWFs are no longer working with the refresh of Flash Player 10 beta that went live on Adobe Labs last week, you will need to download the latest compiler from the Adobe Open Source site. Build 3.1.0.2148 available on the FlexSDK open source site contains the compiler you will need to do the re-compile.

The reason why the re-compile is necessary is that we are making a change in how we differentiate the APIs for one version of Flash from another. Previously we used namespaces to make that distinction, but we are changing to a system based on metadata. It isn’t something that developers need to be concerned with, I just wanted to provide some insight.

Keep in mind as you do your re-compile that this is a beta, and some of the APIs have changed since the first beta post of Player on labs. A new version of the documentation also was posted last week, so make sure to download that as well.

Also note: There may be a prob or two doing Export Release in Builder with build 3.1.0.2148. the Flex team is looking into it and if needed will make updates in later SDK builds.

Astro & Flash29 May 2008 12:43 pm

I’ve seen some blog posts about the Mac uninstaller for Flash Player that is currently on Adobe Labs. Yep, it was BIIIIG (almost 40MB). There was a technical explanation for it, but let’s just say its been worked around and the mac uninstaller is now much smaller (1.3MB).

The reason I am blogging about this at all is because I was surprised by some other comments related to it. There were some fears that we might require an uninstaller when we ship the release version of Flash Player 10. I want to make sure people know that this would not be the case.

The reason for having the uninstaller, and asking that users uninstall Flash Player 9 before installing Flash Player 10 beta is that it is pre-release software. We want to make sure that the beta player installs properly.

When I was at Yahoo! engineers always talked about the approach to security as “belt and suspenders.” By having both keeping your pants up, you feel more assured that your pants are going to stay in their full upright and locked position. Our normal installer is the belt, the uninstaller is the suspenders. By the time we finish our testing process, we are comfortable with just the normal belt. :)

For these and other geek fashion tips, I hope you will join me for the next installment, “How Adobe Pixel Bender is like your favorite calculator wrist watch (if your watch had a multi-core Intel CPU in it)” ;)

Astro & Flash23 May 2008 04:46 pm

There has been a lot of great excitement around RTMFP (Real Time Media Flow Protocol), especially because of the peer to peer (P2P) communication that is enabled in Flash Player 10 beta. This is a natural time to speculate about what cool applications you will build with new technology, so I’d like to give you some more information for you to work with.

Since I have been frequently been asked about details on this, a frequently asked questions format somehow seemed appropriate ;). For those that want to start working with RTMFP, make sure to read to the end, there is a goody for you!

Does Flash Player 10 beta support Peer to Peer (P2P) communication?
Flash Player 10 beta has new methods on the NetConnection and NetStream objects that allow communication through peer connections that are managed by a future Adobe server technology. The server will maintain a list of potential peers that can be connected to. If the NetConnection to the server is lost or closed, any peer connection that was initiated through the same NetConnection will also be closed.

How will I make a P2P connection through Flash Player 10 beta?
Connections from a SWF through a future Adobe server release will be assigned a temporary unique ID that is infeasible to guess or forge. Other SWFs connected to the same server can subscribe to the streams and events from that ID once the broadcasting SWF agrees to the connection.

On the server level, these IDs can be mapped to application-specific information such as presence. For a chat application, the ID can be linked to the nickname the user gave when connecting to the application. While the end-user may select the person that they want to chat with, Flash Player will use the ID to establish the connection with that user.

What can I send through the P2P connection?
In a similar way that you would stream local microphone and webcam media up to a server, you will also be able to stream it directly to another Flash Player client that has connected as a peer.

Through NetStream.send you can also send data which is useful for shared experiences in real-time applications. Any data format can be sent through this method though there are size limitations to the packet which may make certain data types less useful.

How does the peer connection work?
RTMFP UDP packets are sent directly from one Flash Player to another. The server translates the peer IDs to network addresses, and also assists in setting up the connection if one or both ends is behind a Network Address Translation (NAT) device. If UDP is blocked by a firewall or if RTMFP is blocked through a configuration of mms.cfg, the peer connection will not go through.

Can I choose between UDP and TCP?

No, RTMFP is a UDP-based protocol while RTMP is a TCP-based protocol. You will automatically use UDP by calling the methods that work over RTMFP.

Will RTMFP enable massive file-sharing applications through Flash Player 10 beta?
No. Large-scale file-sharing network applications rely on the ability to read from and write to the hard drive constantly to only load parts of files into memory when needed. In Flash Player 10 beta you can load files from the desktop to the Flash Player runtime, but the file would need to be loaded manually by the end-user and remain in memory for the entire time the file would be needed. The drain on system resources would make this style of application impractical.

Can I get started with RTMFP now?
While the support for RTMFP is built in to Flash Player 10 beta, there is no publicly available server technology to manage the connection process. If you would like to be considered for access to private beta programs around RTMFP, please send an email to fmsprerelease@adobe.com