Adobe Flex: How to edit KAE to hide certain things.

6 replies [Last post]
Joined: 02/01/2010
Points: 10

I have Flex up and running with KAE and I can successfully compile the project. I have few questions:

1. How to edit the flex code to NOT display upload by youtube metacafe etc ..

2. How to edit the code to NOT display transitions and effects ?

3. How to change the button to "Save and Publish" to "Save"

and more..
We can do CSS and JS but how do we hide these things.

A faster help would be appreciated

Thanks.

Joined: 01/05/2009
Points: 1697

Hi,

  1. This is actually not at all inside the KAE. If you look inside the uiconf xml of the KAE you will find the settings of which instance of KCW to load. the KCW you load is the one responsible for the source from which you can import content or upload/record. To change the instance of the KCW you use, edit the KAE uiConf xml and modify the KCW part (you can find the specification at the KAE release notes, the uiConf spread shit).
  2. Again this is included in the uiConf, mentioning which set of transitions, effects and overlays to load as well as whether to show these tabs at all. Follow the details on the integration docs and release notes.
  3. This one is defined inside the locales you load, so two steps for this one:
    • There's a folder that contains the local properties files, you need to edit the file and modify the text you wish to change. then compile the locale (you can do so by running the ant script included or use the command line mxml way).
      You first need to create a new base locale bundle, here is how:

      1. open command line (or terminal)
      2. cd to \Flex Builder 3\sdks\3.0.0\bin
      3. run the following: copylocale en_US en_US_kaltura
        For more info see: Flex 3: Feature Introductions: Runtime Localization.
    • The second step is to modify the uiConf xml to point to the new locales you compiled (you can find specifc steps in the docs).
    • After you finish testing locally - the last step would be to upload the locale to the Kaltura server so it can be served from the Kaltura server and cached.
Joined: 02/01/2010
Points: 10

Thank you very much ..
All of the above worked.. I have one more problem. What if I want to change the images in the KAE ?

I changed an image buttonclose.png to be of different color and now I compiled the css but the image still shows the same .. any idea on this ?

Does it compile the images along with CSS ? Or is this a flash compiled image system ? Do you have any documentation on that ?

Joined: 02/18/2010
Points: 52

We also modified "with Flex Builder" an existing css, compiling and setting up the new style via the XML.

However the new changes were not updated, new colors were not used.

We let this issue in background, meanwhile we are looking for solutions on other issues.

Joined: 02/01/2010
Points: 10

Well.. changing colors and stuff worked for me. But changing images did not.
I guess what it does is images -> to fla -> to swc ->to compiled css swf

But again, hows to work with it is still a question.

Joined: 01/05/2009
Points: 1697

Hi,

The KAE uses standard compiled Flex css files. these are swf files compiled from the css, images and theme swf linked from the css file.
Did you made sure that you load the new compiled skin file and not the old one?

Joined: 02/01/2010
Points: 10

Yes I did. And how did I verify that ?

I changed the text color to something red and along with that I changed the image. After compiling and loading the new styles.swf in the KAE, I could see the text color RED but the button did not change :(