ActionScript 2.0 :: Cyrillic Encoding With GetURL?

Jan 12, 2010

I am creating a swf for use on a Russian website. I have search box that the customer enters there search term which I then concatenate to the URL string in the getURL method.

When i use western characters this work fine but when i use cyrillic characters it breaks.

Does anyone know a way round this?

Or a way to output the characters using UTF-8?

View 0 Replies


Similar Posts:


Actionscript 3.0 :: Menu In Cyrillic - Dynamic Created Textfields Does Not Display The Cyrillic Font

Mar 29, 2009

I have to make menu that will be used by cms. The problem is that the dynamic created textfields does not dosplay the cyrillic font. Now the menu is something like this: [URL] This is the menu with all the classes and some comments. If you don't want to download it... [URL] this is the class for creating textfield. In the library I got font named bab_font . The font has cyrillic gyphs in it (use Tahoma for example)

[URL] this is the class for the buttons , it is commented (it was in late night, sorry for the bad english) Everything works in english, just doesn't display letters in cyrllic (example) First friend of my suggested to make text on the stage, containg cyrillic letters, but this doesn't work.

View 3 Replies

AS3 :: Flash - How To Perform Encoding Of A Wave File Into Base64 Encoding

Aug 1, 2011

I need to perform encoding of a wav file into base64...

View 2 Replies

ActionScript 3.0 :: Right Usage Of Cyrillic Fonts

Jan 22, 2009

I've many unicode russian (cyrillic) fonts installed on my mac. When i type message like "T" type-tool - they show russian letters. When i embed it in Library like Font class, 50% of my fonts doesn't show russian letters.

View 1 Replies

ActionScript 2.0 :: Cyrillic Fonts Using Flash 8?

Nov 23, 2009

I'm working on a mulitlingual site that has banners loading the text from an external xml file. The file I'm working on uses actionscript 2 and flash player 8. I'm using the font Avant Garde Gothic, which has all the glyphs needed.

I'm creating the text fields in the banners dynamically in as2, and then embed my font to a text format which is applied to the text field. This works great for Polish, Danish, Swedish etc. languages that just contain a few characters beyond the basic latin alphabet. But for Bulgarian, which uses the cyrillic alphabet, no text is displayed. This is my problem.

I've found that when I create my text field manually, using flash's gui, and embed the cyrillic glyphs manually it works fine, which shows that there's nothing wrong with my font. However, I can't use this method for my project. I've found that the only fonts that display cyrillic characters when being embedded through actionscript are fonts that are mainly cyrillic (but also contain a set of latin glyphs and some other basic stuff). It seems to me that flash only embeds a limited number of glyphs when calling the embedFont method and that the cyrillic glyphs are not prioritized here. Is this assumption correct?Is there anyway I can affect which gyphs are embedded using flash 8? I've read that Flex can be used for this but Flex requires flash player 9, doesn't it?

View 0 Replies

ActionScript 2.0 :: Font Embedding With Cyrillic Only?

Jul 5, 2011

I have quite a big issue with regards to bold / italic Verdana fonts in dynamic text boxes in flash with Russian characters.I've tried everything now that I can think of and read various posts but nothing is shouting out at me for what to do next.I have uploaded a tiny flash file for this one..http:[url].....Here's what I have done so far:

- I have embedded the character sets using the "embed" button.

- I have also added the fonts in my library

- I have also edited the linkage in the library to export for actionscript.

This worked perfectly, until translation came into play. Spanish, German, French characters, all work fine.Russian (Cyrillic) however will not work in bold or italic.If you change the Russian text for English it works fine on both.I have attached 2 files one called bold the other called normal.Both exactly the same however one has bold set as true in the actionscript.

View 1 Replies

ActionScript 1/2 :: Flash Doesn't Want To Read Cyrillic From XML?

Apr 4, 2010

I have everything done to load a text from an XML file in my flash movie, but it shows the text only if it is written in EN i want to type the text in the XML file in Cyrillic but flash doesnt want to read it... I tried to change the Embed Characters of my text field but it still doesn't want to read it. I have added this to my XML: <?xml version="1.0" encoding="utf-8"?> and still the same thing.

View 1 Replies

Actionscript 3 :: External Interface In Does Not Pass Cyrillic Correctly?

Apr 16, 2011

I have a flash (flex actionscript project) that has to pass data to javascript in cyrrilic through externalinterface. However, data turns out at the javascript end in ????? instead of real cyrillic letters

how can this be fixed so it shows up as cyrillic?

[Code]...

View 2 Replies

ActionScript 3.0 :: Get A Flex Text Control To Display Cyrillic Characters?

Feb 22, 2009

Does anyone know what I need to do to get a flex text control to display cyrillic characters for example. [wvxvw? hebrew?] In addtion to the main .swf (.mxml) file there are font libraries loaded that are also in a seperate .swf The text control is subclassed from Flex.Text and in a seperated .AS file. Then to top it, the actual text in cyrillic is coming from an .xml file.I've tried "<?xml version="1.0" encoding='UTF-8' " in the main .mxml file and the xml file. I believe I've put Byte Order Marks (BOM's) for utf-8 in the .AS file and maybe some of the other files. I've compiled everything with specifying the utf-8 encoding as well. I get nothing where the characters are supposed to be.

View 0 Replies

ActionScript 2.0 :: Create A Text Converter That Would Convert Japanese Hiragana / Katakana Into Romaji And Cyrillic

Dec 21, 2010

For educational purposes I want to create a text converter that would convert Japanese hiragana/katakana into Romaji and Cyrillic (for e.g.:ya>я), but I can't find any similar functioning application or script on the web to start working from...

View 0 Replies

Javascript :: Agile Uploader (resizes Image Before Upload On The Server): Doesn't Work If Image Name Has Cyrillic Letters

Jan 31, 2012

I'm using Agile Uploader in my project to resize image before upload on client side.And it works fine except one thing: if image name contains cyrillic letters it fails with server error 500.

How to avoid this or if needed how to rename file with english letters "on fly" (possibly with javascript).

View 1 Replies

Encoding Flash From Wmv Crashing

Apr 23, 2008

I've been using Flash Video Encoder for quite a while now and never had a problem encoding flash from wmv. But in the last week suddenly encoding crashes on ever attempt. At first I thought it was a change in the format of the video that was being introduced, but then I tired videos that I know that I've converted previously. They crash too. I've also tried on 3 different computers, that have all had success in the past.

View 6 Replies

Xml :: Character Encoding In Flash?

Mar 31, 2011

I have some German content which contains an umlaut (ü). This content is being built into an XML file. I then have a flash file which uses the xml to build a coverflow. My problem is that the 'ü' character is not being displayed in the coverflow. I've made sure the xml is encoded correctly, as you can see from the snippet below:

<?xml version="1.0" encoding="UTF-8"?>
<artworkinfo>
<albuminfo>

[code]....

As you can see, the umlaut is in the albumName element, but when that text displays it simply misses out the 'ü'. I've added a bunch of encoding groups to the text element in the coverflow file, as well as specifically adding the 'ü' in the 'Include these characters' element. I'm stuck for how to get this to display.

View 1 Replies

ActionScript 3.0 :: JPG/PNG Encoding And Vectors?

Dec 4, 2010

So I have recently created a Tshirt design application where a user can draw on a tshirt / add text / upload images. Though I am having a few problems. Problem #1: Using the pen tool I can only allow users to draw and reset the drawing using the graphics class, no idea how to create an eraser tool

Q1 - Is there any way to create the eraser? Problem #2: Once a user saves the shirt it is later encoded into a JPG or PNG With no way of editing the shirt in the future.

Q2 - I thought of saving the locations of the shapes / items they uploaded onto the shirt and colors and later re-creating the shirt once loaded. But ran into one problem that is I cannot save the drawing they did using the pen tool, only the location of the objects (MC's) is there any better way to creating this?

View 5 Replies

ActionScript 2.0 :: Encoding Strings For PHP/SQL?

Jun 3, 2002

which characters need to be encoded for PHP and SQL, and how to do it?

View 2 Replies

Flex :: What Encoding Unescape() Function Uses

Aug 24, 2010

what encoding unescape() function uses? I have problem that URL param has utf8 foreign chars, that flash fails to read.

View 1 Replies

Flex :: Encoding For RTF Text - Does One Exist

Nov 2, 2011

I'm wondering if there is an encoding like UTF8/16 that can account for characters that are bold, italic, underlined, and super/sub-scripted? If not, is it under consideration by the powers that be? Reason for the question is that I have a large excel file where many cells contain rtf text such as italics, bold, superscript; and I need to access the information on a row-by-row basis. I know I can save the file in html or xml, but I would like to import the data into MySQL - keeping the formatting - and then being able to access the data a row at a time.

I've considered using Markdown or Textile, but that means a whole lot of time changing each cell - we're talking about 5,000 records. Also, I want to continue to use Flex and I'm not sure if Flex can display html formatted text in their text controls because of their their text engine...

View 1 Replies

ActionScript 3.0 :: Encoding Bitmap (bitmapdata) To JPG

Aug 27, 2010

i'm writing simple image editor. I want to allow user to change contrast, brightness ect and save file as jpg. I got 2 problems.

1. I apply filters to bitmap and when I save it, it saves only original image without filters.

ActionScript Code:
var bitmapData:BitmapData = Bitmap(source_image.content).bitmapData;
var bmp:Bitmap = new Bitmap(bitmapData);
bmp.filters = combineFilters();
combineFilters function gives a set of ColorMatrixFilters to change contrast and other stuff.

2. When I encode a JPG with a as3corelibrary it makes it very slow (over 20 sec for img) and freezes app. Is there any way to aviod this?

View 0 Replies

Video Encoding For Alpha Channel

Jan 20, 2010

I am experimenting with video using the alpha channel capability of the FlashCS3. I followed the tutorial on the gotoandlearn website on how to create chroma keyed video. I exported an avi video file having removed the background. Ive used Flash video encoder for VP6 and flash player 8 with encode alpha channel ticked. However my swf is not showing the video, just a white blank where it should be. It puts out the audio only.

This is the log file.
FILE SUCCESSFULLY ENCODED
- Source file: C:downloadsflash greenscreenvideoscreentestalpha.avi
- Output file: C:downloadsflash greenscreenvideoscreentestalpha2.flv
- Video codec: On2 VP6
- Alpha channel encoded: yes
- Deinterlace: no
- Frame rate: 25 fps
- Key frame interval: 50 frames
- Video data rate: 40 kbps
- Width: 720 pixels
- Height: 576 pixels
- Audio codec: MPEG Layer III (MP3)
- Audio data rate: 16 kbps (mono)
- FLV duration: 00:00:10
- Encoding time: 00:01:00

View 1 Replies

Actionscript 3.0 :: URLLoader Encoding With PHP & MySQL

May 30, 2010

I'm stuck with a stupid problem of encoding. My problem is that all my accentuated characters are displayed as weird iso characters.

[Code]....

View 1 Replies

ActionScript 3.0 :: AIR Async Encoding In A Loop: Png Vs Jpg

Apr 17, 2012

in a AIR mobile project I've done an initial loop that call a class that save images listed in an xml file to the applicationStorageDirectory of the device (iPad/android). With png files I have no problems since I got a jpg file. All files are correctly saved into the directory, but when a jpg occours it stops the save process (so the jpg is the last file saved and the loop on the list is incomplete, no others pngs are saved).

Some code: my class

Code:
package com.fabiogarzoli
{
import flash.events.Event;
import flash.events.IOErrorEvent;

[Code].....

View 5 Replies

ActionScript 3.0 :: URL Encoding Within Flash And Passing Variable

Oct 14, 2010

I am trying to send a twitter update when I press a button in flash. I get the twitter page to open from the flash file but when it passes the variables, it is passing it as the following into the browser address bar [URL] and on the twitter page text box it shows [URL]. The browser is rendering the percent sign and the number 20 as actual text and not as the space that I need it to.

Here is my code
function onTwitterButtonClick(evt:MouseEvent):void{
trace("Twitter button clicked");
var twitterShareURLPart1:String = "[URL]"
var shareUrl:String = "[URL]"+youtubeVidID;
var twitterShareURLPart2:String = "&text="
var escapedText1:String = encodeURIComponent("Check out this latest video from Me");
var gotoURL:URLRequest = new URLRequest (twitterShareURLPart1 + shareUrl + twitterShareURLPart2+escapedText1);
navigateToURL(gotoURL,"_blank");
trace(twitterShareURLPart1 + shareUrl + twitterShareURLPart2 + escapedText1);
}

View 1 Replies

ActionScript 3.0 :: Encoding Bitmaps And Byte Arrays

Jul 2, 2009

I am making a program which will ask the user to select an image, then encode it to a binary string and store in an XML file. It will then be able to 'decode' the fil and reconstruct it.

I've followed a few guides online, but I can't seem to get anything to work. My understanding is that I need to break the Bitmap into it's BitmapData components, convert that to a 'byteArray' which is saved, (or optionally encoded) then that same byteArray data is retrieved and made into a movie clip onto the stage. However, no matter what I do, I can't get it to properly recreate the bitmap once i've grabbed the data... It always throws a "end of file

In order to get the basics, i've cut my code down to the bare minimum - which is just to load the image from the local filesystem, grab it's bitmapdata, clone it and place it into a new Bitmap which is added to the stage. However, I only ever get returned a "End of file encountered" error message - which seems to indicate to me it's not properly populating the byteArray. (It certainly looks much too short when traced)

[Code]....

View 5 Replies

Preview Live Video Encoding Settings

Oct 13, 2009

I am working with an AS2 application that was put together a while back. The app is used to publish a live video stream to FMS. I am using the Camera class to connect to a local camera (Camera.get()) and to setup the encoding specs for the stream that is to be published to FMS. To preview the camera signal, I am using Video.attachVideo() to attach that camera output to a Video instance on the stage. This is all working greta for me. But here's the thing. The video stream that is being pumped to the Video instance is the direct signal from the camera. Nice and clean. I seem to remember that there is a way to view the video signal with the encoding settings applied to it. It's just one little line of code, if I remember correctly. However, I can't seem to find the code that will do that.

Can anyone quickly share the code that will allow me to preview the encoded video stream?

View 1 Replies

Media Server :: How To Secure Live Encoding On FMS

Dec 17, 2009

After installing FMS 3.5.1, anybody can use my server for live enconding. How can I configure the server to authorise live encoding only from subdomain 1234.4567 or by a password?

View 3 Replies

Media Server :: How To Secure Live Encoding

Jan 26, 2010

We just found out someone is bouncing a pirated feed off our FMIS 3.5.2 server. after months of not having to look at this thing (and not remembering crap about parts of the setup), I'm trying to discover a few things.

First is, how do we tell FMIS which vhost allows live encoding? Second, as I look at the logs and logger.xml, I'm trying to tell how to force it to show the ip's of inbound/outbound traffic. Think I'm doing the right things to the file, but the log for the application/entry point the pirate is using doesn't show what I believe I configured to be the fields that should show up in the log. Finally, trying to figure out how to force authentication of media encoders talking to the server. I'm scanning the online help docs, etc. trying to remember all this stuff.... but if anyone can say "look at this page in the pdf, and this page in the online" to affect what I need to do to lock this up quick,

View 3 Replies

Professional :: Encoding For FLV Results In 10x Larger File CS5 Vs CS4

Oct 1, 2010

I've recently upgraded to CS5 and the Media Encoder creates incredibly HUGE files compared to the CS4 media encoder.

For example, I can convert a 15MB mpg file to a 12 MB flv file in CS4 using the preset "FLV same as source"

I do not find a matching preset in CS5, but tried "FLV - match source atributes (medium quality)" Encoding the same file in CS5 with this preset results in 170MB file.

I've tried adjusting the settings, comparing the options in both versions, and I still can't get a reasonably sized file out of the CS5 media encoder.

This seems really broken to me. A 170 MB file is not useful in any way. Do I have bad presets?

Adobe Media Encoder version is 5.0.1.0 (32-bit)

View 4 Replies

Professional :: Encoding Video At A Larger Size?

Feb 11, 2011

Given:I encode video at 600kbpsI set the video to display by default at 448x336 (4:3)Users can set the video to display at full screen (let's say full screen = 1280x960)I can only provide one video resolution to cover all scenarios.Is there any logic to encoding the video for the larger size of 1280x960? Am I wrong in thinking:

Video encoded at 1280x960 and displayed at this size will look better than video encoded at 448x336 and enlarged to 1280x960; andThere will be minimal difference between video encoded at 1280x960 (and shrunk to 448x336) and video encoded at 448x336.

View 10 Replies

Media Server :: H.264 Encoding Not Displayed Properly

Jun 23, 2011

We have a webcam/chat application that is having bad issues with the video display of a live stream. The application is a bit old (Flex 3.2 recompiled to FB 4.5) and uses FMS 4 which gets it`s encoded streams from FMLE 3.2. The problem is that when a stream is sent using H.264, the playback in Flash is quite bad. Visually, it basically looks like Flash does not always display the "in between keyframes information" properly. Big square pixels from the last keyframe appear instead.

View 3 Replies

Media Server :: Publish To FP11 With H.264 Encoding?

Nov 16, 2011

I want to build an application to stream h.264 video from the browser, how can I be able to do this? I can't seem to find the playerglobal.swc anywhere, I have Flash CS5.5

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved