Panning Images
Wednesday, October 22nd, 2008 | Author: dehash
Category: Code Examples, Flash | Comments off
Wednesday, October 22nd, 2008 | Author: dehash
Category: Code Examples, Flash | Comments off
Thursday, September 04th, 2008 | Author: dehash
Interested to see this appear yesterday at everydayflash.com and made a quick start on a sandbox for it to get ideas on how to use it with Papervision.
A first example of AS3DMod which is a sandbox to experiment with can be found here.
Updates: Some usage tips noted for the initial version of the library using pv3d
* Seems to work fine with current SVN build of PV3D
* in com.as3dmod.modifiers.Noise.as comment out line 9:
import alternativa.types.Matrix3D; (the import is not used but will error if you only have pv3d library)
* Grab com.carlcalderon.arthropod.Debug.as from here and put it in your path as it is used in several of the files.
* Added simplfied usage code to the example here
* Added examples below using svn build.
Noise – sandpaper to mountain range: AS3DModNoise.as
Taper- rip and shrink: AS3DModTaper.as
Category: Code Examples, Flash, Papervision 3D | 4 Comments
Wednesday, August 06th, 2008 | Author: dehash
Added some more Papervision 3D examples with source code.
All examples use current Papervision3D GreatWhite from SVN and so far all use BasicView also. **Update:** added four more examples to the top of the list to make 18 in total:
![]()
A clickable Plane with a swapped material that rotates using Tweener
Setting the layer order of objects to try to control which is on top
Spheres contained in a Cube
Shows three rotation axes
Using BitmapFileMaterial to load a jpg and provide texture for a Plane
Extended DisplayObject3D to create a Plane with Wireframe one side and MovieMaterial on the other
Displaying a flv on the inside walls of a Cube
Using VideoStreamMaterial to provide a texture for a Plane
Using BitmapMaterial to display a jpg on a Sphere
Loading a Collada DAE file exported from Blender
Simple example using the newly integrated Effects branch
Using an external class to create curved lines
Using the built in Line3D class to create straight lines
Simple ParticleField example
Basic BitmapMaterial example using an embedded jpg
Cylinder with FlatShadeMaterial
Cube with FlatShadeMaterial
Simplest Wireframe Plane
Category: Code Examples, Flash, Papervision 3D | 29 Comments
Monday, June 30th, 2008 | Author: dehash
Added a Comments viewer, and a related movies tab using the as3-youtube-data-api
Loading the comments is almost identical to loading the feeds – just use these classes :
import ca.newcommerce.youtube.data.CommentData;
import ca.newcommerce.youtube.feeds.CommentFeed;
import ca.newcommerce.youtube.events.CommentFeedEvent;
The rest is the same.
Previous version with source code here
Category: Flash, YouTube API | 3 Comments
Wednesday, June 18th, 2008 | Author: dehash
Flex YouTube API feed + search display. download source code here
Uses library @ as3-youtube-data-api
Nice player example @ on_the_other_hand
author of as3-youtube-data-api has a blog @ blog.martinlegris.com
update: added in a simple player to view the movies.
.
Update 2: Added source code download for the feed display
We are making a Cairngorm version of this but here is a simple component version to test.
The source code for the feed display component (not the player) is here
It is a FlashDevelop3 Beta7 project file and uses the Flex3 SDK to compile. To build the project requires the as3-youtube-data-api library Just download youtube-google-0.95.zip and add it to the project path and compile, that is it.
All of the hard work is done by SimpleFeedGrabberExample.as which uses the excellent as3-youtube-data-api library to load feeds from YouTube and parses them into an ArrayCollection which is the Bindable datasource for the display. This is a simple version that will likely change a lot when it is in our Cairngorm project but works fine for now.
as3-youtube-data-api notes: in strict mode you get a few warnings of variables declared without datatypes in the as3-youtube-data-api library but these are easy to fix. Also YouTubeClient has been removed in the library version released yesterday but we substituted YouTubeFeedClient in its place and that seems to work ok.
—
Once the above is complete to integrate with into the otoh player grab the source code from here:
* copy the src directory into this project src folder
* make YouTubeTest.mxml the target file + make 3 edits to it:
* put xmlns:ytfeeds=”ytfeeds.*” in the Application tag at the top
* put <ytfeeds:YTFeedComponent top=”325″ /> just before </mx:Application>
* insert your YouTube Developer key into YouTubeTest.mxml and compile.
Now when you click on a movie in the display it can be played in the otoh player because video.text is set to the selected movie ID.
Update:
Added a Comments viewer, and a related movies tab using the as3-youtube-data-api
Category: Code Examples, Flash, YouTube API | 15 Comments
Sunday, April 20th, 2008 | Author: dehash
An alternative to excessive typing or copy + paste that is worth consideration is a Cairngorm code generator like The Cairngen Project
Project now moved to GoogleCode
Category: Flash | Comments off
Sunday, April 06th, 2008 | Author: dehash
Category: Flash | Comments off
Monday, March 31st, 2008 | Author: dehash
flex builder 3 now free for students Flex Builder 3 is now free for students and faculty of eligible educational institutions
Category: Flash | Comments off
Monday, December 10th, 2007 | Author: dehash
Category: Code Examples, Flash, Flickr API | 2 Comments
Sunday, June 24th, 2007 | Author: dehash
[EDIT] For a more up to date post click here http://www.dehash.com/?p=152
![]()
Below is an example using Papervision3D AS3 engine using Flex2 SDK and FlashDevelop3 Beta 2. Look here for a fantastic Shark Demo
more…
Category: Code Examples, Flash, Papervision 3D | Comments off
Wednesday, June 20th, 2007 | Author: dehash
Category: Flash | Comments off