AS3 Talking Avatar library for Starling icon

AS3 Talking Avatar library for Starling

Hot or Not
AS3 Talking Avatar library for Starling

Description

Supported devices:

on any Android or iOS devices that supports Air apps plus Starling desktop apps

Files Included:

  • .as3proj (FlashDevelop AIR sample project)
  • .as (source codes)
  • Five sample vector avatars
  • asDoc type Documentation

check out the none-starling version here

Sample Android App

with using this little but cool library, you will be able to initialize a talking avatar in your Starling Air mobile projects. You will be able to choose from current available avatars in your “bin” folder and insert your own voice .mp3 file and then addChild the Avatar class anywhere in your project and you’re done.

     import com.doitflash.utils.avatar.StarlingAvatar;
     import com.doitflash.utils.avatar.AvatarEvent;

     // set Class variable
     var _avatar:StarlingAvatar;

     // initialize a _holder. avatar will be addchilded in _holder.
     // _holder must have a specific width and height so we create a new Shape() in the _holder
     var _holder:Sprite = new Sprite();
     var rect:Shape = new Shape();
     rect.graphics.beginFill(0xf64a5f, 1);
     rect.graphics.drawRect(0, 0, 400, 600);
     _holder.addChild(rect);
     _holder.x = 100;
     _holder.y = 100;
     this.addChild(_holder);

     // initialize the StarlingAvatar
     _avatar = new StarlingAvatar();

     // add a listener to be notified when the avatar is loaded
     _avatar.addEventListener(AvatarEvent.LOADED_AVATAR, onLoadedAvatar);

     // add a listener to be notified when the mp3 file is loaded
     _avatar.addEventListener(AvatarEvent.LOADED_VOICE, onLoadedVoice);

     _avatar.holder = _holder;
     _avatar.avatarUrl = "WomanAvatar.swf"; // set the address to the avatar graphic you'd like to use
     _avatar.voiceUrl = "test.MP3"; // set the address to the mp3 file which you like to use for lip-syncing

     // call this method and load the avatar graphic begins
     _avatar.loadAvatar();

     private function onLoadedAvatar(e:AvatarEvent):void
     {
             // call this method and load the mp3 file begins
             _avatar.loadVoice();
     }

     private function onLoadedVoice(e:AvatarEvent):void
     {
             trace("sound length: ", e.param); // mp3 length is based on miliseconds

             // use this listener to be notified when the mp3 playback is finished.
             _avatar.addEventListener(AvatarEvent.SOUND_PLAY_FINISHED, onPlayComplete);

             // call this method and the mp3 file starts playing
             _avatar.play();
     }

     private function onPlayComplete(e:AvatarEvent):void
     {
             trace("onPlayComplete");
     }

     // call this method to pause the mp3 file while playing and it returns the millisecond position of the sound.
     // you can use this position to play the mp3 again and start from where it was paused.
     // var position:Number = _avatar.pause();
     // _avatar.play(position);
     //
     // call this method to stop the sound.
     // _avatar.stop();

     // When you're done with this class, call this method to clean up the memory.
     // _avatar.dispose();

we used the DMT library for dynamically generating textures to be used in Starling:

External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.

EmbedMail - Responsive E-mail Template icon

EmbedMail - Responsive E-mail Template

Hot or Not
EmbedMail - Responsive E-mail Template

Description

KEY FEATURE

  • EmbedMail – Responsive Email Template ( view demo )
  • 36 different modules
  • 62 HTML Ready to use
  • Compatible with MailBuild Builder, MailChimp and CampaignMonitor , Freshmail
  • MailBuild Builder Access ( New Template Builder v2.0 )
  • Unlimited Layouts
  • Unlimited Drag & Drop modular.
  • Add & Delete modules
  • Save your created template to Dashboard and edit later as long as you want.
  • Export to Desktop as Responsive HTML, MailChimp , CampaignMonitor
  • Send a Template Directly to your MailChimp Account
  • Editable text content with WYSIWYG editor
  • Unlimited Pick Colour scheme and changes on the real time.
  • Replace , Delete , Insert image URL or Upload your image to your images library ( keep your images on cloud ) and access your image in every working on Builder
  • Customize radius , add , delete , show / hide button
  • Change , Delete or Add Background Image on modules
  • Works on every major email clients.
  • Browser Compatible
  • Clean Design and Comment Code
  • Premium Template
  • CSS inline style
  • Well Document
  • include PSD , and Unicode Character entities

Template Builder and compatibility

MailBuilds allows you create email templates easily and can also create templates that are compatible with MailChimp , CampaignMonitor , Freshmail and more…..

Download Font : Roboto

This template is a newsletter template for work on every major email clients. It work well with any kind of email service provider ( iContact, Benchmark Email, MailChimp, Campaign Monitor or Constant Contact) . Make your campaign mail and email marketing memorable with good design and colorful. This would be good for your marketing strategies and This will help you to promote your online business worldwide.

If you like this template you may also like

Multimail | Responsive Email Template Set

Ferio | Responsive Email Template

Necessary capabilities for you

With capabilities repeatable , drag and drop. make more flexibility to use. you can easily make newsletter to match your needs. with easy layout editable , it helps you work faster and easier. all these work well with MailChimp and Campaignmonitor. you can import this template to MailChimp , Campaingmonitor and change all images and text without HTML edit.

  • Android
  • AOL Mail
  • Apple Mail
  • Eudora
  • Foxmail
  • GMail
  • Hotmail
  • IncrediMail
  • iPad
  • iPhone 1, 2, 3, 4 and 5
  • KMail
  • Lotus Notus 8
  • Lotus Notus 8.5
  • Mozilla Thunderbird
  • Opera Mail
  • Outlook 2002
  • Outlook 2003
  • Outlook 2007
  • Outlook 2010
  • Outlook 2011
  • Outlook 2013
  • Sparrow
  • Spicebird
  • Yahoo Mail
  • Window Phone

Browser Compatible:

Need help!

External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.