Re: Coexistence of namespaces royale/basic and mx/spark

2020-01-09 Thread Takeshita Shoichiro
Harbs and Carlos, thanks for the good news.

I will try to mix these namespaces to get a desired output.

On Thu, Jan 9, 2020 at 8:35 PM Carlos Rovira 
wrote:

> To complement to Harbs's response, just let you know that namespaces are
> just for that, to ensure we can use code from a library and similar code
> from another one.
> other thing are class names and styling that can collide, depending on
> strategies, but that's another topic.
>
> El jue., 9 ene. 2020 a las 9:53, Harbs () escribió:
>
>> Typo there. Should have been:
>>
>> xmlns:js = "library://ns.apache.org/r 
>> oyale/basic”
>>
>> On Jan 9, 2020, at 10:53 AM, Harbs  wrote:
>>
>> xmlns:mx = "library://ns.apache.org/r 
>> oyale/basic”
>>
>>
>>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>

-- 
Shoichiro Takeshita
武下 祥一郎


Re: Coexistence of namespaces royale/basic and mx/spark

2020-01-09 Thread Harbs
Typo there. Should have been:

xmlns:js = "library://ns.apache.org/r oyale/basic”

> On Jan 9, 2020, at 10:53 AM, Harbs  wrote:
> 
> xmlns:mx = "library://ns.apache.org/r 
> oyale/basic”



Re: Coexistence of namespaces royale/basic and mx/spark

2020-01-09 Thread Harbs
You can use both basic and mx. There is some issues with using some components 
with the same class names and styling, but that should not efffect the use of 
 just include xmlns:mx = "library://ns.apache.org/r 
oyale/basic” and you should be good to go.

> On Jan 9, 2020, at 9:31 AM, Takeshita Shoichiro  wrote:
> 
> I think "basic" cannot coexist with "mx/spark". Is my understanding correct?
> 
> The reason why I'm asking this is to use  component in the 
> mx/spark namespaces.
> I tried it but failed.
> 
> The following markup is a simplified version of our mxml. It displays A4-size 
> scanned image on the left side.
> There are two scanned images and these are switched by clicking tab.
> The application uses iFrame to dislay jpg files.
> 
> Because iFrame is not supported by Royale, I'll try to use ; 
> would like to know whether it is possible or not.
> 
> Appreciate your advice.
> 
> === Current MXML (simplied) ===
> 
>   
> http://ns.adobe.com/mxml/2009 
> "
>xmlns:mx = "library://ns.apache.org/flex/mx 
> "
>xmlns:s  = "library://ns.apache.org/flex/spark 
> "
>xmlns:flex_iframe = "com.google.code.flexiframe.*">
> 
> 
> 
>   
> 
> 
> 
> 
>  click="tabnavigator1_clickHandler(event)">
>  label="Application Form 1">
>  height="1057">
> 
>  source="appform_1.jpg" width="763" height="1057" x="0" y="-10" />
> 
> 
> 
>  label="Application Form 2">
>  height="1057">
> 
>  source="appform_2.jpg" width="763" height="1057" x="0" y="-10" />
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ===  for trial ===
> 
> 
> http://ns.adobe.com/mxml/2009 
> "
> initialize="onInit"
> xmlns:js="library://ns.apache.org/royale/basic 
> " >
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  y="9" width="800" height="1057"/>
>  y="9" width="800" height="1057"/>
> 
> 
> 
> 
> 
> 
> Shoichiro Takeshita