Log inSkip to content

May 16th, 2008

Flash Player 10 Class Browser

Since there is no public documentation for the new Flash Player 10 API I have created a small Flex application which makes easier to discover the properties and methods of the new classes. I also extracted the list of classes defined in the Flash 10’s playerglobal.swc (it is accessible in the latest build of Flex SDK) and placed into the class browser. So, now you can pick a class name from this list or enter a class name of your choice, click on the Describe button and see the result.

The class browser is on-line here.

Maybe I will post the results of my (and other’s) discoveries later with examples :-) Some keywords till then (beyond the features mentioned on Adobe’s site):

  • run-time sound generation
  • accessing local files through FileReference without uploading to a server
  • new Vector class with generics
  • etc.

[Update]
Some people reported that the class browser doesn’t worksand the version detection script prevents it from running (claiming a new player installation). I don’t know what does cause the problem, yet, but I provide here a direct link to the SWF itself until I solve the issue:
http://tengerstudio.com/public/flash10/class_browser/ClassBrowser.swf

[Update 2]
I made a minor addition, and the class browser now displays also the class’ constructor among the methods.

7 comments

  1. Tim H Says:

    Sounds good - keeps telling me I need to install flash player 9 though?

    (Tried with 9 & 10.)

  2. tenegri Says:

    I think the version detection script and express install cannot download the beta player (since it is not available from the normal source) so you have to install it manually. I tested it under IE 7 and FP10 beta and works here.

  3. tenegri Says:

    I have changed embedding to SwfObject 2, I hope it helps.

  4. Nick2win Says:

    Nice job!

  5. senocular Says:

    FYI, there’s a bug in the beta player throwing an error for describeType with the Graphics class. Be sure to try..catch your call to describeType to handle that (and possibly any other) errors.

    I’ve outlined the new methods of the Graphics class here:
    http://www.senocular.com/flash/tutorials/flash10drawingapi/

  6. tenegri Says:

    You’re right, I didn’t care about exceptions thrown by describeType() (since there is no public debug player it fails silently and visitors will not see anything special), so I eliminated this deficiency. Thanks for reminding me :-)

  7. flash player 10偷跑 , 谈了了 Says:

    […] http://blog.tengerstudio.com/2008/05/16/flash-player-10-class-browser/ […]

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



Calendar

May 2008
S M T W T F S
« Apr   Jun »
 123
45678910
11121314151617
18192021222324
25262728293031

Categories

Monthly Archives