flash as3 unicode support - actionscript-3

Can i load my own language as text in as3 textarea or labels from xml or from database. I want to display tamil in flash swf or in AIR APP. how can i do it?

Flash uses unicode by default, and I see no reasons to change that. If your text doesn't displays correctly, you need a font with such letters. Embed it into swf, use it in your textareas/labels and enjoy.

Related

Flash to HTML5 Loss of interactivity

I have Some sample fla Content which I am not able to convert into HTML5 with interactions
What I tried is
Google Swiffy --> Gives interactions [not full] but no sound. Issue is it works for content less than 1 MB
Toolkit for CreateJs --> Initially I got jsx errors but I cleared them by removing Special Characters in element names. But non of the case I got interactivity [Means I was not able to use my Mouse events or clicks
HTML5 Canvas in Flash Pro CC --> even here I got same above result.
Did I am missing something ??
You didn't really miss anything. Flash's HTML conversions do not convert AS3 to JS (that would be nice if it did). In this case you have to write the interaction using JS.
Sounds like you're using Google's online SWF-to-Swiffy converter, which has a 1MB limit. There's a better way, if you have Flash Pro CS5 or CS6 and the original FLA files. Try this:
download Google's swiffy generator and instal it in your Flash Pro (read instructions carefully)
open your FLAs and find the sounds that don't play in the swiffy file - most likely they are set as streaming sound (streaming audio is not supported by Swiffy), so change them to event sound
BUT, looped event sounds exported to Swiffy only play once (they don't loop), so if you need them, export the sound from the FLA (as .wav), and copy and paste it as many times as necessary in a new .wav file and re-import
All done? Now export from Flash Pro using Command -> Export as HTML5 (swiffy)
NB: Google's Swiffy extension for Flash Pro won't work with Creative Cloud, and on mobiles there'll be NO AUDIO whatever you do - sound only seems to work on desktop PCs, owing to mobile restrictions on unsolicited big-file preloads.

Convert Xaml to html5

Is it possible to convert WPF XAML (containing content such as image, video, animation etc) to HTML5 so that it can be rendered using html player on any device? Is there any readymade component/tool available to accomplish it?
If you want to use your code on the web, it would be best to use silverlight in my opinion.

£ and other symbols not showing up

I'm using Mariad Pro as the font. It does support the symbol '£'. I've tried putting it in the textfield using it's ASCII (String.fromCharCode()) and I've tried embedding it directly. Inside flash it works fine. But when I run it , I see the rest of the text but the symbol.
Any ideas?
It seems this symbol isn't embedded. To be sure it's embedded add it to the "Also include this characters:" in the Flash IDE Font Embedding window:
here the working example for flash cs6

how to hide text behind embedded Flash SWF object in HTML

I am trying display customized text behind my embedded Flash swf file on HTML. I embed using SWFObject.
The purpose is to show the custom text whenever Flash player is not installed.
This might also help with the flash illiterate web-crawlers.
thanks!
SWFObject already gives you the option to show alternative content when Flash is not installed.
http://code.google.com/p/swfobject/wiki/documentation
Look for the section "STEP 1: Embed both Flash content and alternative content using standards compliant markup"

How do I add playback controls to a SWF file embeded in HTML?

What am I missing here because my video doesn't have any controls? Is there a special parameter I need or do I need to encode the SWF file in a special way? I just used a MPEG to SWF converter provided by Blaze Media Pro.
Wow. I was thinking this was much easier than it is. In order to get playback controls, you needs to either use some boilerplate Flash code to wrap your Flash movie or you need to script it out in ActionScript. Basially, there is no toggle or anything to just turn controls on for a SWF movie. You'll want to look into some sort of the Flash editor/IDE to build controls into a .fla file.
Try FlowPlayer.
Flowplayer is an Open Source video player for your website.
For site owners, developers, hobbyists, businesses and programmers.