flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Trying to compile runtime resource modules
Date Mon, 02 Jan 2017 06:07:41 GMT
You mentioned in another thread that PostCodeValidator is looking in a
different bundle.  Which bundle did you put your custom error messages in?


On 1/1/17, 1:33 PM, "kamcknig" <kamcknig@gmail.com> wrote:

>I also found out that if I create an instance of hte PostCodeValidator
>right after I set the resourceManager's locale chain and use it then it
>works. It's only when the PostCodeValidator is instantiated at a later
>Kyle McKnight
>Senior UI Engineer - Accesso
>602.515.1444 (M)
>On Sun, Jan 1, 2017 at 3:55 PM, kamcknig [via Apache Flex Users] <
>ml-node+s2333346n14395h99@n4.nabble.com> wrote:
>> I've done some more investigating, it seems that actually my SWFs might
>> OK. I used the debugger and put a break point when the resource module
>> is loaded and a used the getString() method to pull out the string I
>> wanted. The first two pictures show ID of the resource manager and the
>> value of the string I retrieved from the loaded module.
>> Later on when the PostCodeValidator is used you can see where the
>> are called to set the error messages. The first screenshot shows the ID
>> the resourceManager and it's the same as the ID from previously. So it's
>> the same instance. Yet the second screenshot shows that the value is
>> when it's retrieved. BUNDLENAME = "apache" (like it is when I'm
>> it when it works, but this is part of the framework so they used the
>> constant.
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>> http://apache-flex-users.2333346.n4.nabble.com/Trying-
>> to-compile-runtime-resource-modules-tp14391p14395.html
>> To unsubscribe from Trying to compile runtime resource modules, click
>> .
>View this message in context:
>Sent from the Apache Flex Users mailing list archive at Nabble.com.

View raw message