topical media & game development

talk show tell print

sample-Photo.ax

sample-Photo.ax (swf ) [ flash ]


  

/////////////////////////////////////////////////////////////////////////


// // Copyright (C) 2003-2006 Adobe Macromedia Software LLC and its licensors. // All Rights Reserved. // The following is Sample Code and is subject to all restrictions on such code // as contained in the End User License Agreement accompanying this product. // If you have received this file from a source other than Adobe, // then your use, modification, or distribution of it requires // the prior written permission of Adobe. //

/////////////////////////////////////////////////////////////////////////


package { [Bindable] public class sample-Photo { public var name:String; public var description:String; public var source:String; public function sample-Photo(photo:Object=null) { if (photo != null) { fill(photo); } } public function fill(photo:Object):void { this.name = photo.name; this.description = photo.description; this.source = photo.source; } } }


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.