Actionscript 3 :: Flex : Unable To Open 'locale/en_US'

Jun 22, 2009

Using Flex Builder : I have created a new Actionscript Project. I want to use mx.controls.Button class in it, so I did the following :

Added '-locale=en_US -source-path=locale/{locale}' to the Actionscript compiler arguments Added 'framework.swc' to the library path

But now I get this error: unable to open 'locale/en_US' I looked up and I do have the following directory inside my Flex Builder 3 installation:

./sdks/3.0.0/frameworks/locale/en_US

View 4 Replies


Similar Posts:


Flex :: Error: Unable To Resolve Resource Bundle "data" For Locale "en_US"

Apr 14, 2011

I get the following error when running my ANT script:

Error: Unable to resolve resource bundle "data" for locale "en_US"

I have tried to implement all the answers I've found about this question (and there were a lot); forcing to compile to flash player 10, including all libraries, etc.. but nothing is working.

Here is my code:

<mxmlc
file="${PALM_SRC_DIR}/PALM.mxml"
output="${SHELL_DIR}/PALM.swf"

[Code].....

what could I possibly be missing? Aren't I including all libs that I need?

I've removed the last 2 compiler.library-path options and replaced it with this: It's still not working but I feel like I'm coding it correctly because it's looking for the framework SWC as run-time shared library, which it really is.

View 1 Replies

Flex :: Skinning - Unable To Resolve Resource Bundle "*" For Locale "en_US"

Jun 24, 2010

since I'm using custom skin classes in Flex I'm getting an error, when trying to open the design view in Flash Builder:

Description Resource Path Location Type

Unable to resolve resource bundle "components" for locale "en_US".
Unable to resolve resource bundle "core" for locale "en_US".
Unable to resolve resource bundle "effects" for locale "en_US".
Unable to resolve resource bundle "layout" for locale "en_US".

[Code]...

View 1 Replies

ActionScript 3.0 :: Unable To Open Error Flex Builder3

Jul 15, 2009

I have an actionscript 3 project in FB importing flash.display.Sprite; and com.companyName.MyCustomClass; I've set up the project properties pointing FB at the com folder which is in projectRoot/src/com.[code]

View 1 Replies

Flex :: Imported Flash Builder Project Unable To Open Swc?

Sep 27, 2011

I wanted to import an older FB project into the flash builder on my new pc, but I only have the filestructure. So I used 'import>existing projects into workspace'.The files seem to be intact still, but the project now gives me an error regarding an swc in the bin folder:

'unable to open 'something'in'something'.swc

View 1 Replies

Flex :: Install A New Locale In SDK?

Jul 12, 2010

I have a flex application being developed in Spanish, and I'd like to build it using a Spanish locale. However, the only locales installed in my SDK are en_US and ja_JP. Is there a site or resource where I can get other sets of locale files?

View 2 Replies

Get Os Locale From Flex 4 Application?

Nov 15, 2011

Does anyone know how I can get operating system locale name from my flex 4 application? I'm just interested in any information about locale.Is it possible?

View 2 Replies

Android :: "unable To Open The Database File" Error In Flex

Nov 1, 2011

Using Flex 4.5 for Android development, this is the script that should create the database:

private var db:File = File.userDirectory.resolvePath("events.db");
private var conn:SQLConnection;
public function MyDB() {
conn = new SQLConnection();

[Code]...

View 1 Replies

Flex :: Locale Does Not Get Change In TitleWindow?

Mar 17, 2011

I have some labels in a title window in my application. When i change locale it gets changed but labels in the titleWindow do not change. When I check the locale chain using resourceManager.localeChain it returns the array of locales and newly selected locale is on the zero index of it

View 1 Replies

Flex :: Set Conditional Locale Strings

Oct 21, 2011

I'm trying to localize my Flex app, I have been able to setup the locale specifics and all the stuff inside MXML tags, that works pretty well, my question is, what about if I have for example:

[Code]....

How can I change with ActionScript those two strings to an other locale?

View 1 Replies

Flex :: Locale Nl_NL In My Compiler Options?

Nov 15, 2009

I have to change the "Yes" and "No" buttons in an Alert.show(..), to another language (Dutch, for instance).
Is there a (easy) way to do that?

I forgot to mention - I have a -locale nl_NL in my compiler options, but it is still Yes/No

View 1 Replies

Flex :: Automatically Format Dates According To Locale In 4?

Sep 30, 2010

I understand that one can use local-specific ResourceBundles in combination with DateFormatters to format dates according to locale. However this is a manual process - is there an automatic way to do this or to set a default for the application?

In Java for example, all your dates will automatically appear in dd/mm/yy or mm/dd/yy format simply by setting the locale. In Flex, a default date output will always be in US format unless manually formatted otherwise. I'm looking for a way to get closer to the Java functionality.

View 3 Replies

Flex :: New Locale In Flash Builder (czech)?

Apr 18, 2011

is any site where can i get sdk locale files for flash builder? i need czech locale

View 1 Replies

Flex :: ArrayCollection Sort By Czech Locale

Apr 29, 2011

how can i sort String field in ArrayCollection by czech locale... a á b c č d ď e é ě f g h ch i í .....

alike as Collator("cs-CZ", CollatorMode.MATCHING); for Array

View 1 Replies

Actionscript 3 :: Getting User's Locale In Adobe Flex?

Aug 6, 2011

I am working on an AIR desktop application, and am trying to get the user's locale string. I basically need to know whether the user's locale is English or French. Capabilities.language doesn't seem to work for me, as it only displays the OS's UI language.

How can I get the user's current locale?

Once determined, I intend to set it to resourceManager.localeChain, so that the appropriate 'properties' files are used to display my UI literals.

View 2 Replies

Flex :: AIR Application Not Finding Locale Properties File?

Feb 11, 2011

I have the problem that when I use a component from an existing Flex Library in my AIR project, the values that should be loaded from the appropriate locale .properties file are not loaded. The values are always null.

I am using Eclipse and have created an AIR project that refers to the existing Flex Library (of which I have the source code). When I use a component from that library it calls the following code:

var _resourceManager:IResourceManager = ResourceManager.getInstance();
var res:String = resourceManager.getString('resources', str, params);

"str" and "params" have valid values but res is always null.The properties file is located within the assets directory of the Flex library. I am deducing that the properties file is not being loaded (for some reason). This Flex library works for other Flex projects so it has to be something about the way my project is set up.

I have my compiler settings set to: -locale en_US Is there something special that AIR projects need to do to ensure that they can refer to properties files?

View 1 Replies

Flex :: Force A ComboBox's LabelFunction To Be Called For The Selected Item When Locale Changes?

Sep 3, 2009

I have a ComboBox with a label function like this one:

private function fieldLabelFunction(item:Object):String {
return resourceManager.getString('dashboard',"SS." + item);
}

When I change locales, the labels display correctly in the ComboBox's dropdown list, or if I change a selection. However, the currently selected item's label doesn't refresh at first. Is there a way to force the labelFunction to get called again?

View 1 Replies

CS3 :: Unable To Open Fla File Using It

Oct 23, 2009

I am having issues opening up fla files using Adobe cs3.

Scenario: The company I work for recently attained a client that has a website with flash programming on it. The client recently asked to have improvements made to their site. Part of the improvement deals with modifying the flash program. The client was able to hand over to the company I work for the source for their site which includes the adobe files for the flash program.

When I attempt to access the main fla program of the client's website, i receive the following message:"an error occurred opening the file."

what options are available for me to attempt to read the fla file?

View 1 Replies

Professional :: Unable To Open Image?

Oct 18, 2010

Have had a flash site created for a disc that works perfectly. Every component of the site works just as it is expected to.

But when I upload the site to a server on the Internet, one component does not work. When you click on the link an image should open in a popup window. The popup window opens but the image does not appear.

Unfortunately, we have not been able to figure out why it works on the disc and not on the server.

View 3 Replies

ActionScript 2.0 :: Unable To Open File In Browser?

Jan 12, 2010

i am loading some pages/images from some folder whose path is specified in the Xml used like this:

<page src="user/_IMAGES_//image_0002.png" />

I am using Chinese /Japanese text in this Now the problem is that when i run it in the flash it loads those pages and when i load it in the browser then that file doesn't load anything.

View 3 Replies

ActionScript 2.0 :: Unable To Have A Button Open A New Window Specifically Sized

Nov 9, 2007

how do I translate this html code:

<a href="ch.mov" onClick="MyWindow=window.open('ch.mov','MyWindow', 'toolbar=no,location=no,directories=no,status=no,m enubar=no,scrollbars=no,resizable=no,width=360,hei ght=250'); return false;">

I want to be able to have a button open a new window specifically sized and without scroll bars or extraneous browser crap.

View 1 Replies

ActionScript 3.0 :: When Game Window Open After That User Don't Need To Click On Flash Stage Area For Unable Keydown Event

Dec 21, 2011

I have create a game and added keydown event on Stage but but problem is user need to click on stage then it start capturing keydown event. I want that when game window open after that user don't need to click on flash stage area for unable keydown event..

View 1 Replies

Professional :: Program Unable To Be Open After "agree" On License Agreement

May 30, 2010

I click to open the Adobe Flash Cs4. It open a license agreement that i press agree on. After that, the whole program shuts down. It even shows that it shut down in task manager. It ran before, but it froze and the program shut down by itself.

View 6 Replies

Professional :: Locale Strings In Buttons?

Nov 14, 2010

im trying to apply a language using AS3,all other textfields are changed except the buttons. Is it becuz the buttons have more than 1 frame?

View 1 Replies

ActionScript 3.0 :: Locale - How To Change Multiple Times

May 10, 2010

I have the following code:

Code:
Locale.autoReplace = true;
et.addEventListener(MouseEvent.CLICK,function(){Locale.loadLanguageXML("et")});
en.addEventListener(MouseEvent.CLICK,function(){Locale.loadLanguageXML("en")});
ru.addEventListener(MouseEvent.CLICK,function(){Locale.loadLanguageXML("ru")});

This works only the first time each button is pressed.What command do I have to use to change displayed language to that one that is allready loaded? Or how to unload existing xml from memory to force the autoReplace work again?

View 0 Replies

ActionScript 3.0 :: File Loading Dependent On Locale

Jul 21, 2011

how i can develop my AS3 code from a previous project, here is the code: -

ActionScript Code:
stop();
import flash.events.MouseEvent;
import flash.filters.GlowFilter;

[Code].....

What i would like to do is load a file depending on the locale, for example if the locale is 'en' load ENGdoc1.exe or if it is 'fr' load FRAdoc1.exe.

View 0 Replies

ActionScript 2.0 :: XML Language Selector Using Locale Flash Var?

Apr 28, 2007

I'm creating an XML driven language selector which places the current language's flag (depending on the user's locale which is passed through a Flash Var parameter) at the top of the list. I've got all this working so far BUT i'm having trouble with the results. I want to be able to add onRollOver and onRelease functions to the newly created movieclips but it just ain't happening! The onRollOver function would be a bit of movement for each flag and the onRelease would call getURL using the url for that language which is contained in the XML file.

Code:
sideFeather.swapDepths(10000);
var x = new XML();

[code]....

View 1 Replies

Actionscript 3 :: Setup Binding Between Locale Class And UI Component?

Oct 5, 2011

how to properly setup binding between my Locale class and an mxml file.

My main mxml file contains:

<mx:Button id="TMP" label="{Locale.getLocaleString('title'}"/>

I would like to display an empty string in the button's label until the locale file loads. Once the locale file loads I would like to display what is returned by getLocaleString('title').

I think that this is what Binding is intended for however I think that I am approaching it wrong.

I know that I am not allowed to bind on a function. So do I need to allow access (using a get function) to my _dictionary property? What is the standard way to setup Binding for something like this?

This is my current Locale class.

public class Locale {
private static var _dictionary:Dictionary = new Dictionary();
public static function loadResources():void {...}

[Code].....

View 1 Replies

ActionScript 3.0 :: Retrieving The Windows Locale (Not Flash Player Language)?

Sep 10, 2009

I have been trying to experiment with Flash's support for multilanguage documents. However, whatever locale I set in Regional and Language Options on Windows XP the swf file always assumes an "en" locale. I simplified the document down to:import flash.system.Capabilities;trace(flash.system.Capabilities.language);And this also always gives "en".I read somewhere (not in Adobe's documentation!) that Capabilities.language gives the language of the Flash player. Is this correct? If so, is there anyway of retrieving the locale that is set in Regional and Language Options?

View 4 Replies

Flex :: Unable To Set Font Family Style To Spark Button In Flex 4.6?

Feb 28, 2012

I have created a style in which i am defining a font family.When i apply this style to label it reflects the font were as there is no change when it is applied to a spark button.I Tried various way to Apply font style but it doesn't work.Other properties work fine except font family. Even i tried creating skin class and set the font family style of label in it. While previewing the skin i can see the changes but when i apply it to buttonApproach 1

@font-face{
src:url("HARNGTON.TTF");
fontFamily: MyF;

[code].......

View 2 Replies







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