How to set the compiler so that there is no compiled ResourceBundles at all?

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

How to set the compiler so that there is no compiled ResourceBundles at all?

Ramazan Ergüder Bekrek
Greetings again!

I would like to know if there is a way to bypass the Resource Compilation of a module or an Application in Flex.
I realized that duplicates are in every SWF and I don't need them. In the RSL loader that is loading the Apache Flex SWFs
 from my app all the Resources are already there and loaded once. I don't want that to happen in my sub modules or sub applications because they are redundant
and takes up RAM resources in the VM.

Is this possible?

Ergü
Reply | Threaded
Open this post in threaded view
|

Re: How to set the compiler so that there is no compiled ResourceBundles at all?

Alex Harui-2
Don't know for sure.  Try setting:

  -locales=

IOW, specify an empty list of locales.  The compiler looks like it will not attempt to add resource bundles if there are no locales.

HTH,
-Alex

On 10/30/19, 7:45 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:

    Greetings again!
   
    I would like to know if there is a way to bypass the Resource Compilation of a module or an Application in Flex.
    I realized that duplicates are in every SWF and I don't need them. In the RSL loader that is loading the Apache Flex SWFs
     from my app all the Resources are already there and loaded once. I don't want that to happen in my sub modules or sub applications because they are redundant
    and takes up RAM resources in the VM.
   
    Is this possible?
   
    Ergü
   

Reply | Threaded
Open this post in threaded view
|

Re: How to set the compiler so that there is no compiled ResourceBundles at all?

Ramazan Ergüder Bekrek
This is the right compiler option and it works!

Thank you M. Flex Wisdom!

Best Regards

Ergü

30.10.2019, 17:01, "Alex Harui" <[hidden email]>:

> Don't know for sure. Try setting:
>
>   -locales=
>
> IOW, specify an empty list of locales. The compiler looks like it will not attempt to add resource bundles if there are no locales.
>
> HTH,
> -Alex
>
> On 10/30/19, 7:45 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
>
>     Greetings again!
>
>     I would like to know if there is a way to bypass the Resource Compilation of a module or an Application in Flex.
>     I realized that duplicates are in every SWF and I don't need them. In the RSL loader that is loading the Apache Flex SWFs
>      from my app all the Resources are already there and loaded once. I don't want that to happen in my sub modules or sub applications because they are redundant
>     and takes up RAM resources in the VM.
>
>     Is this possible?
>
>     Ergü
Reply | Threaded
Open this post in threaded view
|

Re: How to set the compiler so that there is no compiled ResourceBundles at all?

Ramazan Ergüder Bekrek
In reply to this post by Alex Harui-2
Is there also any other way to remove the generation of the _Module_Styles class which is always compiled by default?

30.10.2019, 17:01, "Alex Harui" <[hidden email]>:

> Don't know for sure. Try setting:
>
>   -locales=
>
> IOW, specify an empty list of locales. The compiler looks like it will not attempt to add resource bundles if there are no locales.
>
> HTH,
> -Alex
>
> On 10/30/19, 7:45 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
>
>     Greetings again!
>
>     I would like to know if there is a way to bypass the Resource Compilation of a module or an Application in Flex.
>     I realized that duplicates are in every SWF and I don't need them. In the RSL loader that is loading the Apache Flex SWFs
>      from my app all the Resources are already there and loaded once. I don't want that to happen in my sub modules or sub applications because they are redundant
>     and takes up RAM resources in the VM.
>
>     Is this possible?
>
>     Ergü
Reply | Threaded
Open this post in threaded view
|

Re: How to set the compiler so that there is no compiled ResourceBundles at all?

Alex Harui-2
Don't know for sure.  There is some logic that won't generate that class if there are no CSS style definitions to output.  You might be able to control what CSS the compiler sees by setting the compiler.defaults-css-files option and/or messing around with the .css files in the SWCs.

HTH,
-Alex

On 10/30/19, 1:46 PM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:

    Is there also any other way to remove the generation of the _Module_Styles class which is always compiled by default?
   
    30.10.2019, 17:01, "Alex Harui" <[hidden email]>:
    > Don't know for sure. Try setting:
    >
    >   -locales=
    >
    > IOW, specify an empty list of locales. The compiler looks like it will not attempt to add resource bundles if there are no locales.
    >
    > HTH,
    > -Alex
    >
    > On 10/30/19, 7:45 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
    >
    >     Greetings again!
    >
    >     I would like to know if there is a way to bypass the Resource Compilation of a module or an Application in Flex.
    >     I realized that duplicates are in every SWF and I don't need them. In the RSL loader that is loading the Apache Flex SWFs
    >      from my app all the Resources are already there and loaded once. I don't want that to happen in my sub modules or sub applications because they are redundant
    >     and takes up RAM resources in the VM.
    >
    >     Is this possible?
    >
    >     Ergü
   

Reply | Threaded
Open this post in threaded view
|

Re: How to set the compiler so that there is no compiled ResourceBundles at all?

Ramazan Ergüder Bekrek
I tried these compiler settings:

-defaults-css-url=styles.css -defaults-css-files=styles.css -theme=styles.css

I've created a dummy CSS file with:

/* CSS file */
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";

.fontButton {
        fontSize: 16;
        fontWeight: bold;
}

s|List{
        skinClass: null;
}

But nothing changes as the MyModule_Styles class is still generated.

30.10.2019, 21:59, "Alex Harui" <[hidden email]>:

> Don't know for sure. There is some logic that won't generate that class if there are no CSS style definitions to output. You might be able to control what CSS the compiler sees by setting the compiler.defaults-css-files option and/or messing around with the .css files in the SWCs.
>
> HTH,
> -Alex
>
> On 10/30/19, 1:46 PM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
>
>     Is there also any other way to remove the generation of the _Module_Styles class which is always compiled by default?
>
>     30.10.2019, 17:01, "Alex Harui" <[hidden email]>:
>     > Don't know for sure. Try setting:
>     >
>     > -locales=
>     >
>     > IOW, specify an empty list of locales. The compiler looks like it will not attempt to add resource bundles if there are no locales.
>     >
>     > HTH,
>     > -Alex
>     >
>     > On 10/30/19, 7:45 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
>     >
>     > Greetings again!
>     >
>     > I would like to know if there is a way to bypass the Resource Compilation of a module or an Application in Flex.
>     > I realized that duplicates are in every SWF and I don't need them. In the RSL loader that is loading the Apache Flex SWFs
>     > from my app all the Resources are already there and loaded once. I don't want that to happen in my sub modules or sub applications because they are redundant
>     > and takes up RAM resources in the VM.
>     >
>     > Is this possible?
>     >
>     > Ergü
Reply | Threaded
Open this post in threaded view
|

Re: How to set the compiler so that there is no compiled ResourceBundles at all?

Alex Harui-2
What is in your MyMOdule_Styles class?  That should give you a clue as to where the CSS is coming from.  I think if there are no selectors at all then it won't generate the class so you have to get rid of all of the selectors in that class.  Some may be coming from SWCs.

-Alex

On 10/31/19, 6:17 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:

    I tried these compiler settings:
   
    -defaults-css-url=styles.css -defaults-css-files=styles.css -theme=styles.css
   
    I've created a dummy CSS file with:
   
    /* CSS file */
    @namespace s "library://ns.adobe.com/flex/spark";
    @namespace mx "library://ns.adobe.com/flex/mx";
   
    .fontButton {
    fontSize: 16;
    fontWeight: bold;
    }
   
    s|List{
    skinClass: null;
    }
   
    But nothing changes as the MyModule_Styles class is still generated.
   
    30.10.2019, 21:59, "Alex Harui" <[hidden email]>:
    > Don't know for sure. There is some logic that won't generate that class if there are no CSS style definitions to output. You might be able to control what CSS the compiler sees by setting the compiler.defaults-css-files option and/or messing around with the .css files in the SWCs.
    >
    > HTH,
    > -Alex
    >
    > On 10/30/19, 1:46 PM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
    >
    >     Is there also any other way to remove the generation of the _Module_Styles class which is always compiled by default?
    >
    >     30.10.2019, 17:01, "Alex Harui" <[hidden email]>:
    >     > Don't know for sure. Try setting:
    >     >
    >     > -locales=
    >     >
    >     > IOW, specify an empty list of locales. The compiler looks like it will not attempt to add resource bundles if there are no locales.
    >     >
    >     > HTH,
    >     > -Alex
    >     >
    >     > On 10/30/19, 7:45 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
    >     >
    >     > Greetings again!
    >     >
    >     > I would like to know if there is a way to bypass the Resource Compilation of a module or an Application in Flex.
    >     > I realized that duplicates are in every SWF and I don't need them. In the RSL loader that is loading the Apache Flex SWFs
    >     > from my app all the Resources are already there and loaded once. I don't want that to happen in my sub modules or sub applications because they are redundant
    >     > and takes up RAM resources in the VM.
    >     >
    >     > Is this possible?
    >     >
    >     > Ergü
   

Reply | Threaded
Open this post in threaded view
|

Re: How to set the compiler so that there is no compiled ResourceBundles at all?

Ramazan Ergüder Bekrek
This is what is automatically generated by the mxmlc compiler:

https://pastebin.com/H2uRka78

31.10.2019, 16:46, "Alex Harui" <[hidden email]>:

> What is in your MyMOdule_Styles class? That should give you a clue as to where the CSS is coming from. I think if there are no selectors at all then it won't generate the class so you have to get rid of all of the selectors in that class. Some may be coming from SWCs.
>
> -Alex
>
> On 10/31/19, 6:17 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
>
>     I tried these compiler settings:
>
>     -defaults-css-url=styles.css -defaults-css-files=styles.css -theme=styles.css
>
>     I've created a dummy CSS file with:
>
>     /* CSS file */
>     @namespace s "library://ns.adobe.com/flex/spark";
>     @namespace mx "library://ns.adobe.com/flex/mx";
>
>     .fontButton {
>             fontSize: 16;
>             fontWeight: bold;
>     }
>
>     s|List{
>             skinClass: null;
>     }
>
>     But nothing changes as the MyModule_Styles class is still generated.
>
>     30.10.2019, 21:59, "Alex Harui" <[hidden email]>:
>     > Don't know for sure. There is some logic that won't generate that class if there are no CSS style definitions to output. You might be able to control what CSS the compiler sees by setting the compiler.defaults-css-files option and/or messing around with the .css files in the SWCs.
>     >
>     > HTH,
>     > -Alex
>     >
>     > On 10/30/19, 1:46 PM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
>     >
>     > Is there also any other way to remove the generation of the _Module_Styles class which is always compiled by default?
>     >
>     > 30.10.2019, 17:01, "Alex Harui" <[hidden email]>:
>     > > Don't know for sure. Try setting:
>     > >
>     > > -locales=
>     > >
>     > > IOW, specify an empty list of locales. The compiler looks like it will not attempt to add resource bundles if there are no locales.
>     > >
>     > > HTH,
>     > > -Alex
>     > >
>     > > On 10/30/19, 7:45 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
>     > >
>     > > Greetings again!
>     > >
>     > > I would like to know if there is a way to bypass the Resource Compilation of a module or an Application in Flex.
>     > > I realized that duplicates are in every SWF and I don't need them. In the RSL loader that is loading the Apache Flex SWFs
>     > > from my app all the Resources are already there and loaded once. I don't want that to happen in my sub modules or sub applications because they are redundant
>     > > and takes up RAM resources in the VM.
>     > >
>     > > Is this possible?
>     > >
>     > > Ergü
Reply | Threaded
Open this post in threaded view
|

Re: How to set the compiler so that there is no compiled ResourceBundles at all?

Ramazan Ergüder Bekrek
As I said those classes are all inside of the main bootstrapper which loads all the RSLs. All the type selectors are handled in the bootstrapper one time with -keep-all-type-selectors. All other <s:Module> should not have them because of the redundency.

31.10.2019, 17:44, "Ramazan Ergüder Bekrek" <[hidden email]>:

> This is what is automatically generated by the mxmlc compiler:
>
> https://pastebin.com/H2uRka78
>
> 31.10.2019, 16:46, "Alex Harui" <[hidden email]>:
>>  What is in your MyMOdule_Styles class? That should give you a clue as to where the CSS is coming from. I think if there are no selectors at all then it won't generate the class so you have to get rid of all of the selectors in that class. Some may be coming from SWCs.
>>
>>  -Alex
>>
>>  On 10/31/19, 6:17 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
>>
>>      I tried these compiler settings:
>>
>>      -defaults-css-url=styles.css -defaults-css-files=styles.css -theme=styles.css
>>
>>      I've created a dummy CSS file with:
>>
>>      /* CSS file */
>>      @namespace s "library://ns.adobe.com/flex/spark";
>>      @namespace mx "library://ns.adobe.com/flex/mx";
>>
>>      .fontButton {
>>              fontSize: 16;
>>              fontWeight: bold;
>>      }
>>
>>      s|List{
>>              skinClass: null;
>>      }
>>
>>      But nothing changes as the MyModule_Styles class is still generated.
>>
>>      30.10.2019, 21:59, "Alex Harui" <[hidden email]>:
>>      > Don't know for sure. There is some logic that won't generate that class if there are no CSS style definitions to output. You might be able to control what CSS the compiler sees by setting the compiler.defaults-css-files option and/or messing around with the .css files in the SWCs.
>>      >
>>      > HTH,
>>      > -Alex
>>      >
>>      > On 10/30/19, 1:46 PM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
>>      >
>>      > Is there also any other way to remove the generation of the _Module_Styles class which is always compiled by default?
>>      >
>>      > 30.10.2019, 17:01, "Alex Harui" <[hidden email]>:
>>      > > Don't know for sure. Try setting:
>>      > >
>>      > > -locales=
>>      > >
>>      > > IOW, specify an empty list of locales. The compiler looks like it will not attempt to add resource bundles if there are no locales.
>>      > >
>>      > > HTH,
>>      > > -Alex
>>      > >
>>      > > On 10/30/19, 7:45 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
>>      > >
>>      > > Greetings again!
>>      > >
>>      > > I would like to know if there is a way to bypass the Resource Compilation of a module or an Application in Flex.
>>      > > I realized that duplicates are in every SWF and I don't need them. In the RSL loader that is loading the Apache Flex SWFs
>>      > > from my app all the Resources are already there and loaded once. I don't want that to happen in my sub modules or sub applications because they are redundant
>>      > > and takes up RAM resources in the VM.
>>      > >
>>      > > Is this possible?
>>      > >
>>      > > Ergü
Reply | Threaded
Open this post in threaded view
|

Re: How to set the compiler so that there is no compiled ResourceBundles at all?

Alex Harui-2
In reply to this post by Ramazan Ergüder Bekrek
I didn't look through all of it, but I can see some of it is coming from the defaults.css files in the Flex SWCs.  A SWC is a zip file so you could replace the defaults.css with an empty one and see what happens.

-Alex

On 10/31/19, 9:44 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:

    This is what is automatically generated by the mxmlc compiler:
   
    https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpastebin.com%2FH2uRka78&amp;data=02%7C01%7Caharui%40adobe.com%7Cf7e23d864cb9466aff5b08d75e219e36%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637081370789580865&amp;sdata=tORXumpH4sZuMuCvqq1uSQTV0jZ6RZe5KiaSQcMfL90%3D&amp;reserved=0
   
    31.10.2019, 16:46, "Alex Harui" <[hidden email]>:
    > What is in your MyMOdule_Styles class? That should give you a clue as to where the CSS is coming from. I think if there are no selectors at all then it won't generate the class so you have to get rid of all of the selectors in that class. Some may be coming from SWCs.
    >
    > -Alex
    >
    > On 10/31/19, 6:17 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
    >
    >     I tried these compiler settings:
    >
    >     -defaults-css-url=styles.css -defaults-css-files=styles.css -theme=styles.css
    >
    >     I've created a dummy CSS file with:
    >
    >     /* CSS file */
    >     @namespace s "library://ns.adobe.com/flex/spark";
    >     @namespace mx "library://ns.adobe.com/flex/mx";
    >
    >     .fontButton {
    >             fontSize: 16;
    >             fontWeight: bold;
    >     }
    >
    >     s|List{
    >             skinClass: null;
    >     }
    >
    >     But nothing changes as the MyModule_Styles class is still generated.
    >
    >     30.10.2019, 21:59, "Alex Harui" <[hidden email]>:
    >     > Don't know for sure. There is some logic that won't generate that class if there are no CSS style definitions to output. You might be able to control what CSS the compiler sees by setting the compiler.defaults-css-files option and/or messing around with the .css files in the SWCs.
    >     >
    >     > HTH,
    >     > -Alex
    >     >
    >     > On 10/30/19, 1:46 PM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
    >     >
    >     > Is there also any other way to remove the generation of the _Module_Styles class which is always compiled by default?
    >     >
    >     > 30.10.2019, 17:01, "Alex Harui" <[hidden email]>:
    >     > > Don't know for sure. Try setting:
    >     > >
    >     > > -locales=
    >     > >
    >     > > IOW, specify an empty list of locales. The compiler looks like it will not attempt to add resource bundles if there are no locales.
    >     > >
    >     > > HTH,
    >     > > -Alex
    >     > >
    >     > > On 10/30/19, 7:45 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
    >     > >
    >     > > Greetings again!
    >     > >
    >     > > I would like to know if there is a way to bypass the Resource Compilation of a module or an Application in Flex.
    >     > > I realized that duplicates are in every SWF and I don't need them. In the RSL loader that is loading the Apache Flex SWFs
    >     > > from my app all the Resources are already there and loaded once. I don't want that to happen in my sub modules or sub applications because they are redundant
    >     > > and takes up RAM resources in the VM.
    >     > >
    >     > > Is this possible?
    >     > >
    >     > > Ergü
   

Reply | Threaded
Open this post in threaded view
|

Re: How to set the compiler so that there is no compiled ResourceBundles at all?

Alex Harui-2
In reply to this post by Ramazan Ergüder Bekrek
That may be true for you, but not necessarily for everyone.  You can specify additional CSS in your application/modules, so I think that's why the compiler generates CSS by default.

-Alex

On 10/31/19, 9:48 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:

    As I said those classes are all inside of the main bootstrapper which loads all the RSLs. All the type selectors are handled in the bootstrapper one time with -keep-all-type-selectors. All other <s:Module> should not have them because of the redundency.
   
    31.10.2019, 17:44, "Ramazan Ergüder Bekrek" <[hidden email]>:
    > This is what is automatically generated by the mxmlc compiler:
    >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpastebin.com%2FH2uRka78&amp;data=02%7C01%7Caharui%40adobe.com%7C13780dc2068b4426e0c908d75e22158d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637081372795998017&amp;sdata=Z4%2Fqz10sSyopq490V%2F4GliQubATN80dYF1SMV%2Fu5jBU%3D&amp;reserved=0
    >
    > 31.10.2019, 16:46, "Alex Harui" <[hidden email]>:
    >>  What is in your MyMOdule_Styles class? That should give you a clue as to where the CSS is coming from. I think if there are no selectors at all then it won't generate the class so you have to get rid of all of the selectors in that class. Some may be coming from SWCs.
    >>
    >>  -Alex
    >>
    >>  On 10/31/19, 6:17 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
    >>
    >>      I tried these compiler settings:
    >>
    >>      -defaults-css-url=styles.css -defaults-css-files=styles.css -theme=styles.css
    >>
    >>      I've created a dummy CSS file with:
    >>
    >>      /* CSS file */
    >>      @namespace s "library://ns.adobe.com/flex/spark";
    >>      @namespace mx "library://ns.adobe.com/flex/mx";
    >>
    >>      .fontButton {
    >>              fontSize: 16;
    >>              fontWeight: bold;
    >>      }
    >>
    >>      s|List{
    >>              skinClass: null;
    >>      }
    >>
    >>      But nothing changes as the MyModule_Styles class is still generated.
    >>
    >>      30.10.2019, 21:59, "Alex Harui" <[hidden email]>:
    >>      > Don't know for sure. There is some logic that won't generate that class if there are no CSS style definitions to output. You might be able to control what CSS the compiler sees by setting the compiler.defaults-css-files option and/or messing around with the .css files in the SWCs.
    >>      >
    >>      > HTH,
    >>      > -Alex
    >>      >
    >>      > On 10/30/19, 1:46 PM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
    >>      >
    >>      > Is there also any other way to remove the generation of the _Module_Styles class which is always compiled by default?
    >>      >
    >>      > 30.10.2019, 17:01, "Alex Harui" <[hidden email]>:
    >>      > > Don't know for sure. Try setting:
    >>      > >
    >>      > > -locales=
    >>      > >
    >>      > > IOW, specify an empty list of locales. The compiler looks like it will not attempt to add resource bundles if there are no locales.
    >>      > >
    >>      > > HTH,
    >>      > > -Alex
    >>      > >
    >>      > > On 10/30/19, 7:45 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
    >>      > >
    >>      > > Greetings again!
    >>      > >
    >>      > > I would like to know if there is a way to bypass the Resource Compilation of a module or an Application in Flex.
    >>      > > I realized that duplicates are in every SWF and I don't need them. In the RSL loader that is loading the Apache Flex SWFs
    >>      > > from my app all the Resources are already there and loaded once. I don't want that to happen in my sub modules or sub applications because they are redundant
    >>      > > and takes up RAM resources in the VM.
    >>      > >
    >>      > > Is this possible?
    >>      > >
    >>      > > Ergü
   

Reply | Threaded
Open this post in threaded view
|

Re: How to set the compiler so that there is no compiled ResourceBundles at all?

Darrell Loverin-2
Starting with Flex4 each module can override the default styles in the main
application. Styles that are different for a module are being setup in the
generated code. If you are using a model where all modules use the same
styles as the main application, then try compiling with
"-isolate-styles=false". This was the behavior in Flex3. Flex4 with skins
typically needs "-isolate-styles=true" to function correctly.


On Thu, Oct 31, 2019 at 12:56 PM Alex Harui <[hidden email]>
wrote:

> That may be true for you, but not necessarily for everyone.  You can
> specify additional CSS in your application/modules, so I think that's why
> the compiler generates CSS by default.
>
> -Alex
>
> On 10/31/19, 9:48 AM, "Ramazan Ergüder Bekrek" <[hidden email]>
> wrote:
>
>     As I said those classes are all inside of the main bootstrapper which
> loads all the RSLs. All the type selectors are handled in the bootstrapper
> one time with -keep-all-type-selectors. All other <s:Module> should not
> have them because of the redundency.
>
>     31.10.2019, 17:44, "Ramazan Ergüder Bekrek" <[hidden email]>:
>     > This is what is automatically generated by the mxmlc compiler:
>     >
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpastebin.com%2FH2uRka78&amp;data=02%7C01%7Caharui%40adobe.com%7C13780dc2068b4426e0c908d75e22158d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637081372795998017&amp;sdata=Z4%2Fqz10sSyopq490V%2F4GliQubATN80dYF1SMV%2Fu5jBU%3D&amp;reserved=0
>     >
>     > 31.10.2019, 16:46, "Alex Harui" <[hidden email]>:
>     >>  What is in your MyMOdule_Styles class? That should give you a clue
> as to where the CSS is coming from. I think if there are no selectors at
> all then it won't generate the class so you have to get rid of all of the
> selectors in that class. Some may be coming from SWCs.
>     >>
>     >>  -Alex
>     >>
>     >>  On 10/31/19, 6:17 AM, "Ramazan Ergüder Bekrek" <
> [hidden email]> wrote:
>     >>
>     >>      I tried these compiler settings:
>     >>
>     >>      -defaults-css-url=styles.css -defaults-css-files=styles.css
> -theme=styles.css
>     >>
>     >>      I've created a dummy CSS file with:
>     >>
>     >>      /* CSS file */
>     >>      @namespace s "library://ns.adobe.com/flex/spark";
>     >>      @namespace mx "library://ns.adobe.com/flex/mx";
>     >>
>     >>      .fontButton {
>     >>              fontSize: 16;
>     >>              fontWeight: bold;
>     >>      }
>     >>
>     >>      s|List{
>     >>              skinClass: null;
>     >>      }
>     >>
>     >>      But nothing changes as the MyModule_Styles class is still
> generated.
>     >>
>     >>      30.10.2019, 21:59, "Alex Harui" <[hidden email]>:
>     >>      > Don't know for sure. There is some logic that won't generate
> that class if there are no CSS style definitions to output. You might be
> able to control what CSS the compiler sees by setting the
> compiler.defaults-css-files option and/or messing around with the .css
> files in the SWCs.
>     >>      >
>     >>      > HTH,
>     >>      > -Alex
>     >>      >
>     >>      > On 10/30/19, 1:46 PM, "Ramazan Ergüder Bekrek" <
> [hidden email]> wrote:
>     >>      >
>     >>      > Is there also any other way to remove the generation of the
> _Module_Styles class which is always compiled by default?
>     >>      >
>     >>      > 30.10.2019, 17:01, "Alex Harui" <[hidden email]>:
>     >>      > > Don't know for sure. Try setting:
>     >>      > >
>     >>      > > -locales=
>     >>      > >
>     >>      > > IOW, specify an empty list of locales. The compiler looks
> like it will not attempt to add resource bundles if there are no locales.
>     >>      > >
>     >>      > > HTH,
>     >>      > > -Alex
>     >>      > >
>     >>      > > On 10/30/19, 7:45 AM, "Ramazan Ergüder Bekrek" <
> [hidden email]> wrote:
>     >>      > >
>     >>      > > Greetings again!
>     >>      > >
>     >>      > > I would like to know if there is a way to bypass the
> Resource Compilation of a module or an Application in Flex.
>     >>      > > I realized that duplicates are in every SWF and I don't
> need them. In the RSL loader that is loading the Apache Flex SWFs
>     >>      > > from my app all the Resources are already there and loaded
> once. I don't want that to happen in my sub modules or sub applications
> because they are redundant
>     >>      > > and takes up RAM resources in the VM.
>     >>      > >
>     >>      > > Is this possible?
>     >>      > >
>     >>      > > Ergü
>
>
>