Talk:ActionScript 3:resources:apis:libraries
From Adobe Labs
| Table of contents |
Typo on page
Under the Youtube heading, there is a typo:
"The Odeo ActionScript 3 Library is now hosted on Google code at:" should read "The Youtube ActionScript 3 Library is now hosted on Google code at:" (replace Odeo with Youtube)
This mistake shows up on Google when you search for "AS3 youtube"
FlexUnit documentation
There are still quite a few "tbd"s in the documentation for the FlexUnit app. It looks like it is a derivative of the FlexUnit open source project that Iteration::Two put together for Flex 1.5. You might want to check out their documentation to get an idea of how it is supposed to work.
--AnoPres 16:25, 1 Mar 2006 (PST)
--The Astorian 08:57, 3 Mar 2006 (PST) Is there documentation available about how to use FlexUnit? I read Darron Schall's article about it, which seems fine for ultra simple classes, but how do I build out tests which are based on user events and other Asynchrous operations? I see that Testcase has a addAsynch() method, but a few examples of how this works would be great
-- MikeChambers
Check out the other APIs for FlexUnit examples. They all have complete tests for the APIs.
For async tests, check out the Mappr API tests.
Instruction Articles for ActionScript Libraries
Hello,
I was wondering if there is a way an article could be done in a similar way to how Darron Schall explained how to use the Flexunit. I was up and running in minutes after reading his information. Any help for the newbies would be cool.
Edited version
I have figured it out:
1: Download and extract the .zip file to your harddrive. I'm using C:\Development\Flex as the extract location, which creates a directory C:\Development\Flex\youTube containing the files.
2: Make a Folder in the C:\Development\Flex\ named myTube and copy the com folder into it. From the C:\Development\Flex\youtube\src\trunk\src\actionscript3 folder. Then copy the TestRunner.mxml file to the C:\Development\Flex\ myTube directory from the C:\Development\Flex\youtube\src\trunk\tests folder.
3:Open up FlexBuilder 2.0 Beta and create a new Flex project by selecting File -> New -> Flex Project.
A) Select "No" when asked about Flex Enterprise Services and press the "Next" button.
B) Give the project a name, I'm using example:"myTube" and creating the project in "C:\Development\Flex\myTube" with "TestRunner.mxml" as the main application file. Click the "Next" button.
C) Select the "Libraries" tab and press the "Add SWC" button.
D) Browse for the "flexunit.swc" file that was extracted from the original flexunit.zip. The location for me is "C:\Development\Flex\flexunit\bin\flexunit.swc". Press "OK".
You might not have to do this:
E) Browse for the "youTube.swc" file that was extracted from the original youTube.zip. The location for me is "C:\Development\Flex\youTube\bin\youTube.swc". Press "OK".
F) Click the "Finish" button.
Everything should work fine as far as running the TestRunner, Now try to build something.
Hope this helps,
Rich
Production Version of FlexUnit
When does Adobe plan to release a production version of FlexUnit?
--Gary Flack
Broken as3flexunitlib link
The link for as3flexunitlib is incorrectly linked to the as3corelib google code project. Just an FYI.
Thanks, Kevin N.
