archive-com.com » COM » D » DRAWLOGIC.COM

Total: 771

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • *drawlogic » SNIPPETS - web, mobile, game + interactive development » SNIPPETS » SNIPPETS
    appendText Value flushed to disk n break output appendText n private function clearValue event MouseEvent void output appendText Cleared saved value Reload SWF and the value should be undefined n n delete mySo data savedValue private function onFlushStatus event NetStatusEvent void output appendText User closed permission dialog n switch event info code case SharedObject Flush Success output appendText User granted permission value saved n break case SharedObject Flush Failed output appendText User denied permission value not saved n break output appendText n mySo removeEventListener NetStatusEvent NET STATUS onFlushStatus UI elements private var inputLbl TextField private var input TextField private var output TextField private var saveBtn Sprite private var clearBtn Sprite private function buildUI void input label inputLbl new TextField addChild inputLbl inputLbl x 10 inputLbl y 10 inputLbl text Value to save input TextField input new TextField addChild input input x 80 input y 10 input width 100 input height 20 input border true input background true input type TextFieldType INPUT output TextField output new TextField addChild output output x 10 output y 35 output width 250 output height 250 output multiline true output wordWrap true output border true output background true Save button saveBtn new Sprite addChild saveBtn saveBtn x 190 saveBtn y 10 saveBtn useHandCursor true saveBtn graphics lineStyle 1 saveBtn graphics beginFill 0xcccccc saveBtn graphics drawRoundRect 0 0 30 20 5 5 var saveLbl TextField new TextField saveBtn addChild saveLbl saveLbl text Save saveLbl selectable false Clear button clearBtn new Sprite addChild clearBtn clearBtn x 230 clearBtn y 10 clearBtn useHandCursor true clearBtn graphics lineStyle 1 clearBtn graphics beginFill 0xcccccc clearBtn graphics drawRoundRect 0 0 30 20 5 5 var clearLbl TextField new TextField clearBtn addChild clearLbl clearLbl text Clear clearLbl selectable false Posted in NET ACTIONSCRIPT ACTIONSCRIPT3 AMF APPLICATIONS ARCHITECT C CODE DATA GAMEDEV GAMES HOWTO OPEN SOURCE PROGRAMMING SNIPPETS STATE TECHNOLOGY TUTORIAL 7 Comments Uploading Multiple Selectable Files with Flash9 and AS3 Thursday August 2nd 2007 Uploading on the internet is pretty arcane Either you have to individually select each file with the browse file input install some activex control or use java to select multiple files It always ends up being a tedious action But Flash is the new champ in file upload for the web as with video Flash just makes it simple The FileReferenceList class and its browse method pop up the multiple file select box where the user can hold CTRL or SHIFT to select multiple files and watch them all drop in rather than having to painstakingly select them one by one and not having to install an unknown activex or java applet Here s script to upload multiple files or get the multiple file select box var fileRefList FileReferenceList new FileReferenceList fileRefList addEventListener Event SELECT selectHandler fileRefList browse function selectHandler event Event void var request URLRequest new URLRequest http www yourdomain com upload var file FileReference var files FileReferenceList FileReferenceList event target var selectedFileArray Array files fileList for var i uint 0 i source SWFUpload is based on this

    Original URL path: http://drawlogic.com/category/snippets/ (2016-02-09)
    Open archived version from archive


  • *drawlogic » TUTORIAL - web, mobile, game + interactive development » TUTORIAL » TUTORIAL
    you can stuff the context menu with items You can clear out all but Settings and About from the menu and stuff in other items that may pertain to a selected movieclip or the entire app you are building This can be good when adding multiple functions into applications and for extra functions that you want to make available from a quick location such as full screen selecting an item etc To enable a context menu for full screen capabilities take this example 1 Make your document class of your AS3 Flash CS3 file to the class below package import flash display import flash errors import flash events import flash filters import flash geom import flash net import flash media import flash ui import flash utils import flash xml public class FullScreenTest extends MovieClip public function FullScreenTest create the context menu remove the built in items and add our custom items var fullscreenCM ContextMenu new ContextMenu fullscreenCM addEventListener ContextMenuEvent MENU SELECT onContextMenuHandler fullscreenCM hideBuiltInItems var fs ContextMenuItem new ContextMenuItem Show Full Screen fs addEventListener ContextMenuEvent MENU ITEM SELECT onShowFullScreen fullscreenCM customItems push fs var xfs ContextMenuItem new ContextMenuItem Exit Full Screen xfs addEventListener ContextMenuEvent MENU ITEM SELECT onShowNormalScreen fullscreenCM customItems push xfs THIS ASSUMES YOU HAVE A MOVIECLIP IN THE LIBRARY THAT IS SET TO A CLASS NAMED mc that inherits from MovieClip var m MovieClip new mc m contextMenu fullscreenCM addChild m functions to enter and leave full screen mode function onShowFullScreen event ContextMenuEvent void stage displayState StageDisplayState FULL SCREEN function onShowNormalScreen event ContextMenuEvent void stage displayState StageDisplayState NORMAL function to enable and disable the context menu items based on what mode we are in function onContextMenuHandler event ContextMenuEvent void if stage displayState StageDisplayState NORMAL event target customItems 0 enabled true show full screen button event target customItems 1 enabled false hide normal screen button else event target customItems 0 enabled false hide full screen button event target customItems 1 enabled true shoe normal screen button 2 Now Export to HTML and be sure to change the exported parameters in the HTML file to allowFullScreen true for the fullscreen effect and menu true for the ability to add in context menu items to whatever library you use for embedding flash menu true allowFullScreen true OR if using HTML parameters param name allowFullScreen value true param name menu value true You can view a sample here right click on the movie clip and show full screen then hide full screen You can download a sample FlashCS3 AS3 version here If you want more information on fullscreen check here and here downloadable sample and component Posted in ACTIONSCRIPT APPLICATIONS ARCHITECT AS3 CODE FLASH FLEX HOWTO INTERFACE PROGRAMMING TUTORIAL 15 Comments HOWTO Setup Orthographic Camera in Maya Sunday May 6th 2007 We recently had a tutorial on making isometric assets for 3dsmax but this is the same tutorial for Maya Orthographic cameras are again an isometric rendering that has no correct perspective all edges are parallel there is no vanishing point This is great for gaming or maps where you need the items at the bottom of the screen to be the same size as the items in the distance Many popular RTS or strategy games use this technique What it does is make it possible to create assets that can be exported and placed all over the game without the need to render at different distances Here s the HOWTO to make Maya orthographic views for isometric gaming assets Open your file in Maya here is a great free one from turboquid com You will usually be in persp or perspective view If not go to Panels Perspective persp Create a new camera by going to Create Cameras Create Camera and Aim this creates a target camera rather than a free camera Position the camera not the camera aim by using the move tool on the camera to get it at a 45 degree angle at the corner Then make sure the camera aim is at the base of the object if you places it at 0 0 0 then it should be all set Select the Camera Now go to Panels Cameras View through Selected You are now viewing through the camera Usually you have to adjust it a bit here so get it so that the camera is pointed at the corner of the building with the move tools on the selected camera Since this is a camera with aim you only have to move the camera and not worry about rotation and aim I have my aim set to the bottom of the building After you get the view right you can manually set the angle at 45 degrees up and to the side or aim it manually jump into the camera by selecting it with the list then clicking Panels View though Selected To make it orthographic in the properties select the Orthographic panel then check Orthographic At this point it will proabably zoom in so you need to move the view by zooming in our out to make it fit Now your model is in orthographic or isometric view so you can export it out to your game The ideal solution is to create a maya scene and import all your buildings cars or other game assets in individually and then export them individually with the same light and direction angle so you can piece it together in the game and take advantage of reuse and loading only areas being shown Posted in 3d GAMEDEV HOWTO MAYA TUTORIAL Comments Off AS3 Random Number Generator Monday April 30th 2007 Polygonal Labs has an excellent random number generator There is an AS2 and AS3 version and it has much better random numbers tools such as seeds and ranges When developing games you often need a PRNG that once initialized with a seed value produces always the same sequence of random numbers after it The Math rand function in Flash is a PRNG but it doesn t let you

    Original URL path: http://drawlogic.com/category/tutorial/ (2016-02-09)
    Open archived version from archive

  • *drawlogic » XHTML - web, mobile, game + interactive development » XHTML » XHTML
    Unity3D Tags ACTIONSCRIPT AJAX AS3 browser communication externalinterface FLASH FLEX html integrate JAVASCRIPT page scripting SILVERLIGHT unity unity3d XHTML Posted in ACTIONSCRIPT ACTIONSCRIPT3 AJAX APPLICATIONS AS3 DEVELOPMENT FLASH FLEX GAMEDEV GAMES INTERACTIVE INTERFACE JAVASCRIPT LIBRARIES OPEN SOURCE PROGRAMMING SILVERLIGHT SNIPPETS TECHNOLOGY TOOLS TUTORIAL unity3d XHTML 3 Comments What was SWFObject and UFO is now one SWFfix for Embedding Flash in XHTML HTML Monday June 4th 2007 In case you haven t heard the SWFObject creator Geoff Stearns and the UFO creator have teamed up to create a new Flash Embed kit for HTML XHTML called SWFFix that is more DOM compliant yet works Its always been a battle on this front of DOM standards vs Javascript when it comes to Flash embedding This teamwork to make a common kit will help to consolidate all issues with this and hopefully provide a really solid platform for embedding flash that takes into account all browser and satisfies standards but also works all the time Making it harder to vote against when it comes time to decide what technology to use Of course there have been libraries like SWFAddress for deep linking in flash and back button support easily that have been built on top of SWFObject that will have to be switched over that have large user bases and following Check out SWFfix of course this project has been very quiet and is not public since Feb 6 7th hrm Posted in ACTIONSCRIPT ANIMATION ARCHITECT FLASH INTERFACE JAVASCRIPT LIBRARIES STANDARDS TOOLS XHTML Comments Off Recent Posts Unity 5 WebGL and the Plugin pocalypse Lime OpenFL Haxe Cross Platform Development Breakouts Comparison of JavaScript Game Engines via Breakout Snap svg SVG Vector Javascript Library Unity 4 2 Includes New Platforms Features Windows Phone New Micro Game Consoles TV Apps Games Controlled with Phones Tablets and Handhelds Unity 4 1 Apple TV AirPlay and the New Consoles Unity 4 Live Unity 4 Public Beta Cocos2d x C Port of Cocos2d for iOS Android Desktop Unity 3 5 Available Awesome Flash Export NaCL Export Needed Pipeline Improvements Unity 3 5 Preview Available Includes Unity to Flash Stage3D Export HTML5 Market Ready A Gift to html5 Web Developers and Web Users from Microsoft Silent Automatic IE Updates Onward Unreal Engine 3 Exporting to Flash 11 Stage3D Unity Exporting to Flash 3D Molehill now called Stage3D Preview Hardware Acceleration on the Web The Next Interactive Web is Materializing Microsoft s Answer to WebGL Silverlight 5 3D Hardware Acceleration XNA RageSpline for Unity 2D Spline Vector Tool cocos2d Now 1 0 and New Project cocos3d WebGL Spec 1 0 Now Final From Khronos Adobe AIR and Flash 3D API Molehill Preview Released Unity Building In Flash 3D Molehill Export Support Cocos2D Javascript Javascript Port of Cocos2D Game Engine Firefox 4 WebGL enabled Hardware Acceleration Faster Javascript WebConsole Adobe Flash Vs Unity The Near Future Of Hardware Accelerated Web Games EaselJS html5 Flash like Javascript Library by Grant Skinner WebGL Will Be Part of Chrome 9 Regular Releases WebSockets

    Original URL path: http://drawlogic.com/category/xhtml/ (2016-02-09)
    Open archived version from archive

  • *drawlogic » JAVASCRIPT - web, mobile, game + interactive development » JAVASCRIPT » JAVASCRIPT
    3d pipeline and methods Tags 3d browser formats google hardware JAVASCRIPT o3d RENDERING sketchup Posted in 3d 3D ENGINES APPLICATIONS ENGINE GAMEDEV GAMES JAVASCRIPT OPEN SOURCE PROGRAMMING RENDERING STANDARDS TECHNOLOGY 2 Comments JavaScript Standard ECMAScript Fifth Edition ES5 Published Thursday April 9th 2009 Well it appears ES4 path is dead officially and a new standard has been published replacing it the ECMAScript Fifth Edition announced in Geneva Switzerland and will be in place as fully tested and approved by all involved by the end of 2009 ES5 was previously known as ECMAScript 3 1 or an iteration of the ES3 standard that is what most JavaScript is based on in all browsers and was previously competing with the ES4 newer standard that changed Javascript quite a bit but in many areas much better in some areas it was bloated This revision of ECMA 262 will be known as ECMAScript Fifth Edition It was previously developed under the working name ECMAScript 3 1 which will no longer be used ECMAScript is the scripting language that is used to create web pages with dynamic behavior ECMAScript which is more commonly known by the name JavaScript is an essential component of every web browser and the ECMAScript standard is one of the core standards that enable the existence of interoperable web applications on the World Wide Web ECMAScript Fifth Edition ES5 was strongly guided by Crockford and Microsoft which is different than the push for ES4 which is what ActionScript 3 is based on and was supported by Adobe and Mozilla However it seems everyone is happy and everyone is supporting this version to get things moving if you go by the ECMA Org quotes Industry Reaction Brendan Eich Mozilla CTO and creator of the JavaScript language said The Fifth Edition of ECMAScript makes real improvements based on browser innovation and collaboration in Ecma which provides a solid foundation for further work in future editions Microsoft s ECMAScript architect Allen Wirfs Brock commented We expect the Fifth Edition to benefit all web developers by helping improve browser interoperability and making enhanced scripting features broadly available Peace I still have to read further into the ECMAScript 5 specification which was published but there are some new interesting things One nice feature is the JSON object Right now you have to eval to use JSON in javascript in a browser but they now have JSON parse object and JSON stringify object which is standard and conveniently already wired into IE8 this way This is based on the JSON2 js library by Douglas Crockford of Yahoo var jsObjString memberNull null memberNum 3 memberStr StringJSON memberBool true memberObj mnum 1 mbool false memberX memberArray 33 StringTst null var jsObjStringParsed JSON parse jsObjString var jsObjStringBack JSON stringify jsObjStringParsed Another feature is DOM prototypes which are useful and cool which allow you to extend dom objects Document Object Model Prototypes Part 1 Introduction Document Object Model Prototypes Part 2 Accessor getter setter Support If you use javascript or are an actionscripter not sure if Adobe will have ActionScript 4 go this way or if Alchemy has changed the flash player into a multi language VM now It will be fun to watch things progress but also if you are into javascript it seems this standard ES5 will be it by the end of the year And probably since IE8 already supports it in all new browser by then as well It will probably take 1 2 years before browser saturation makes this usable but if you are using standards that mimic this then there will be no change then such as the JSON2 js library Tags ECMAScript Edition es4 es5 Fifth JAVASCRIPT standard STANDARDS Posted in ACTIONSCRIPT ACTIONSCRIPT3 ADOBE ARCHITECT AS3 CODE FLASH JAVASCRIPT JAVASCRIPT2 JSON MICROSOFT NEWS PROGRAMMING TECHNOLOGY 13 Comments UnityDevelop Port of the Best Flash IDE FlashDevelop for Unity Scripts Javascript Thursday February 19th 2009 The guys over at Flashbang Studios a web game development studio in phoenix az and some of the most visible developers in the Unity3d space with Blurst released something that may interest both FlashDevelop users and Unity3d developers UnityDevelop was released by Flashbang Studios recently and it is a modded version of FlashDevelop originally from SharpDevelop a really nice open source NET and mono IDE and it supports intellisense for Javascript or Unity3d s use of Javascript which is called UnityScript much like ActionScript UnityScript can be a little more strict and has access to all of Unity3d s API calls just like C and Boo in the mono based virtual machine that Unity3d uses FlashDevelop is by far the best Flash Flex haXe IDE in my opinion so it is really great to release this for Unity I hope one day I or someone has the time to port to Mono so it can be used on Macs even with the 140 pinvokes it would be a good spread mechanism for mono With Unity3d coming to windows soon UnityDevelop could be a good go to IDE for unity if you aren t using solely C with VS NET Currently this is based on FlashDevelop2 source code Video Overview of UnityDevelop UnityDevelop Walkthrough from Flashbang Studios on Vimeo Downloads Download UnityDevelop 2 9 MB Source Code Thanks flashbang Tags autocomplete blurst editor flashbang flashdevelop IDE intellisense JAVASCRIPT unity unity3d unityscript Posted in NET 3d APPLICATIONS ARCHITECT C CODE DESKTOP DEVELOPMENT GAMEDEV GAMES JAVASCRIPT OPEN SOURCE PROGRAMMING TECHNOLOGY TOOLS 1 Comment Mini Javascript Version of Papervision3D like Engine with Canvas Pseudo 3d with 2d Wednesday February 18th 2009 Looks like it is a javascript day here at drawlogic Here is an interesting example with some demos of a javascript and canvas based pseudo 3d engine Anything this cool you know it has to be from Japan Also of note it has been rumored that Silverlight 3 will have fully hardware accelerated 3d and canvas and javascript engines are getting much faster with great demos like this Adobe needs to leap into hardware

    Original URL path: http://drawlogic.com/tag/javascript/page/2/ (2016-02-09)
    Open archived version from archive

  • *drawlogic » Interesting JITB Flash Player - web, mobile, game + interactive development » Interesting JITB Flash Player » Interesting JITB Flash Player
    OpenGL ES 1 1 OpenGL 1 5 and lower fixed function Android iOS devices 3rd gen and lessx OpenGL ES 2 0 OpenGL 2 current version 4 1 shader capable iPhone 3GS or later iPod Touch 3rd generation and later and iPad Android 2 2 WebGL OpenGL Windows OSX Linux There is still a clear open field for an open source player to match something like Moonlight for Silverlight or hardware rendered canvas WebGL would be great to have in time if it gets support but it is also nice to have a compiled language in the content that works in the player faster than scripting but with the ease of scripting Plugins are still very relevant if they can address that Tags FLASH JAVA JAVASCRIPT jitb open OPENGL opengl es player source This entry was posted on Saturday August 21st 2010 at 9 23 pm and is filed under 3d ACTIONSCRIPT ACTIONSCRIPT3 AS3 FLASH PROGRAMMING RENDERING TECHNOLOGY You can follow any responses to this entry through the RSS 2 0 feed Both comments and pings are currently closed http www facebook com profile php id 852595503 Vic Cekvenich wow Recent Posts Unity 5 WebGL and the Plugin pocalypse Lime OpenFL Haxe Cross Platform Development Breakouts Comparison of JavaScript Game Engines via Breakout Snap svg SVG Vector Javascript Library Unity 4 2 Includes New Platforms Features Windows Phone New Micro Game Consoles TV Apps Games Controlled with Phones Tablets and Handhelds Unity 4 1 Apple TV AirPlay and the New Consoles Unity 4 Live Unity 4 Public Beta Cocos2d x C Port of Cocos2d for iOS Android Desktop Unity 3 5 Available Awesome Flash Export NaCL Export Needed Pipeline Improvements Unity 3 5 Preview Available Includes Unity to Flash Stage3D Export HTML5 Market Ready A Gift to html5 Web Developers and Web Users from Microsoft Silent Automatic IE Updates Onward Unreal Engine 3 Exporting to Flash 11 Stage3D Unity Exporting to Flash 3D Molehill now called Stage3D Preview Hardware Acceleration on the Web The Next Interactive Web is Materializing Microsoft s Answer to WebGL Silverlight 5 3D Hardware Acceleration XNA RageSpline for Unity 2D Spline Vector Tool cocos2d Now 1 0 and New Project cocos3d WebGL Spec 1 0 Now Final From Khronos Adobe AIR and Flash 3D API Molehill Preview Released Unity Building In Flash 3D Molehill Export Support Cocos2D Javascript Javascript Port of Cocos2D Game Engine Firefox 4 WebGL enabled Hardware Acceleration Faster Javascript WebConsole Adobe Flash Vs Unity The Near Future Of Hardware Accelerated Web Games EaselJS html5 Flash like Javascript Library by Grant Skinner WebGL Will Be Part of Chrome 9 Regular Releases WebSockets Now Available Across iOS Devices with 4 2 Update Adobe Illustrator AI to Canvas Exporter for html5 Adobe Demos Flash to HTML5 Conversion Tool Is Silverlight Done Microsoft Shift in Strategy to html5 Adobe Finally Hardware Accelerating Flash for 3D Impact Javascript Game Engine Demo for iOS Archives March 2014 2 December 2013 1 November 2013 1 July 2013 1 June 2013

    Original URL path: http://drawlogic.com/2010/08/21/interesting-jitb-flash-player/ (2016-02-09)
    Open archived version from archive

  • *drawlogic » JAVA - web, mobile, game + interactive development » JAVA » JAVA
    based formats such as XML or SOAP Previously available only as part of Adobe LiveCycle Data Services ES Adobe is contributing the proven BlazeDS technologies to the community under the LGPL v3 BlazeDS gives the rapidly growing Adobe developer community free access to the powerful remoting and messaging technologies developed by Adobe The odd thing about all this is both Red5 and BlazeDS are Java based The AMF integration with Java is pretty solid with two major push capable servers using that again with sockets behind the scenes but highly optmized with AMF AMF3 and in multiuser case with remote shared objects red5 Push mechanisms are needed more and more and having this capabilty right into flash with AMF format remoting data proves to be very easy to integrate and if the backend is java then a pretty robust back end as well I use PyAMF for Python and Flourine for NET as well as the usual AMFPHP but the need to push and have more optimization than a basic object socket connection might be in order Tags ACTIONSCRIPT AMF AS3 blazeds comet FLASH JAVA push remote remoting Posted in ACTIONSCRIPT ACTIONSCRIPT3 ARCHITECT AS3 DEVELOPMENT FLASH FLEX GAMEDEV PROGRAMMING TECHNOLOGY 7 Comments Andre Michelle Brings It with Audiotools and Re Makes Rebirth Alive and Better with AS3 Flash and Java Sunday June 15th 2008 If you ever were a fan of Rebirth and Rebirth 2 this was a music kit that had two 303s a 909 and an 808 kick drum beastie says mmmmmm m m drop Well Andre Michelle has re ignited that awesomeness and upped it with the Audio Tools from hobnox This not only has the famed 808 909 and 303 conveniently covered with stickers of love but also sorts of channel mixers pedals and sweet interface that mimics the inputs and outputs as well as customization on nearly every aspect of the audio creation with these tools Use your mouse to move things around connect ins and outs and move the whole setup around This setup on about 80 bpm and a little tinkering is groovy I think I just found my new batcave evil genius code monkey theme music Andre Michelle s Blog English version of hobnox Audio Tools Direct link Rebirth nostalgia Audiotools blog Apparently Andre and Joa made some noise and now you can too Also I noticed that some of it is in java for the sound output I wonder if Adobe missed an opportunity here in audio with flash which will change probably in Flash 10 due to the Make Some Noise Adobe campaign and Tinic Uro for listening But for now have some fun It is hard to find something that doesn t sound good in the 80 90 bpm range Tags 303 909 andre AS3 AUDIO FLASH JAVA michelle mixer mod music roland Posted in ACTIONSCRIPT ACTIONSCRIPT3 APPLICATIONS ARCHITECT AS3 AUDIO BEST OF DEVELOPMENT FLASH FLEX GAMEDEV INTERFACE PROGRAMMING TECHNOLOGY 5 Comments Recent Posts Unity 5 WebGL and the

    Original URL path: http://drawlogic.com/tag/java/ (2016-02-09)
    Open archived version from archive

  • *drawlogic » jitb - web, mobile, game + interactive development » jitb » jitb
    support but it is also nice to have a compiled language in the content that works in the player faster than scripting but with the ease of scripting Plugins are still very relevant if they can address that Tags FLASH JAVA JAVASCRIPT jitb open OPENGL opengl es player source Posted in 3d ACTIONSCRIPT ACTIONSCRIPT3 AS3 FLASH PROGRAMMING RENDERING TECHNOLOGY 1 Comment Recent Posts Unity 5 WebGL and the Plugin pocalypse Lime OpenFL Haxe Cross Platform Development Breakouts Comparison of JavaScript Game Engines via Breakout Snap svg SVG Vector Javascript Library Unity 4 2 Includes New Platforms Features Windows Phone New Micro Game Consoles TV Apps Games Controlled with Phones Tablets and Handhelds Unity 4 1 Apple TV AirPlay and the New Consoles Unity 4 Live Unity 4 Public Beta Cocos2d x C Port of Cocos2d for iOS Android Desktop Unity 3 5 Available Awesome Flash Export NaCL Export Needed Pipeline Improvements Unity 3 5 Preview Available Includes Unity to Flash Stage3D Export HTML5 Market Ready A Gift to html5 Web Developers and Web Users from Microsoft Silent Automatic IE Updates Onward Unreal Engine 3 Exporting to Flash 11 Stage3D Unity Exporting to Flash 3D Molehill now called Stage3D Preview Hardware Acceleration on the Web The Next Interactive Web is Materializing Microsoft s Answer to WebGL Silverlight 5 3D Hardware Acceleration XNA RageSpline for Unity 2D Spline Vector Tool cocos2d Now 1 0 and New Project cocos3d WebGL Spec 1 0 Now Final From Khronos Adobe AIR and Flash 3D API Molehill Preview Released Unity Building In Flash 3D Molehill Export Support Cocos2D Javascript Javascript Port of Cocos2D Game Engine Firefox 4 WebGL enabled Hardware Acceleration Faster Javascript WebConsole Adobe Flash Vs Unity The Near Future Of Hardware Accelerated Web Games EaselJS html5 Flash like Javascript Library by Grant Skinner WebGL

    Original URL path: http://drawlogic.com/tag/jitb/ (2016-02-09)
    Open archived version from archive

  • *drawlogic » player - web, mobile, game + interactive development » player » player
    Paul Irish Tags canvas FLASH JAVASCRIPT player runtime svg Posted in Uncategorized 10 Comments AS3 YouTube Chromeless Player in Flash Flex Saturday November 8th 2008 The YouTube Chromeless Player works with AS3 ActionScript 3 The demo shows great examples of the player with just the window canvas chromeless from both javascript and inside of flash The project is hosted on Google Code youtubechromelesswrapper as3 Looks like they maybe had a contribution for this so do it where you can This is something we ve been wanting to provide for a while and the YouTube API team greatly appreciates the work of developer Matthew Richmond of The Chopping Block for making it happen Thanks Matthew Links Demo Google Code youtubechromelesswrapper as3 Article about the library Download the source get from google code recommended Javascript Player Reference Capabilities API Public Methods player loadVideoById id String startSeconds Number 0 void Loads and plays video based on specified id player cueNewVideo id String startSeconds Number 0 void Loads but does not automatically play video based on specified id player clearVideo void Clears currently cued loaded video player setSize w Number h Number void Sets the size of YouTubePlayer instance player play void Plays the currently cued loaded video player pause void Pauses the currently cued loaded video player stop void Stops the currently cued loaded video player seekTo seconds Number void Seeks to specified time within the currently cued loaded video player getPlayerState String Returns the current state of the currently cued loaded video player getBytesLoaded Number Returns the value of current bytes loaded of the currently cued loaded video player getBytesTotal Number Returns the value of total bytes loaded of the currently cued loaded video player getCurrentTime Number Returns the current position in time of the currently cued loaded video player getDuration Number Returns the current duration of the currently cued loaded video player getStartBytes Number Returns the start bytes of the currently cued loaded video player setVolume newVolume Number void Sets the volume of the currently cued loaded video player getVolume Number Returns the current volume of the currently cued loaded video player mute void Stores the current volume and changes the volume of the currently cued loaded video to 0 player unmute void Returns the volume of the currently cued loaded video to the last stored value when muted player getEmbedCode String Returns the current YouTube embed code of the currently cued loaded video player getVideoUrl String Returns the current YouTube video url of the currently cued loaded video Events YouTubeLoaderEvent LOADED Fired once the Chromeless Player has successfully completed loading and is ready to accept operations calls YouTubeLoaderEvent STATE CHANGE Fired whenever the player s state changes The YouTubeLoader class translates the JavaScript API numbers to their related string values the YouTubeLoaderEvent class stores the current event in a variable called state Possible values are unstarted ended playing paused buffering video cued When the SWF is first loaded it will broadcast an unstarted event When the video is cued and

    Original URL path: http://drawlogic.com/tag/player/ (2016-02-09)
    Open archived version from archive



  •