RE: Embedded image class implementation

2020-07-01 Thread Anil Guntur - agun...@us.ibm.com
Thanks Greg, I will try that on the Embed image part On the Custom styles question I did try changing to Button { fontFamily: Arial; fontWeight: normal; fontSize: 9px; paddingLeft: 2; paddingRight: 0; } PopUpButt

Re: Embedded image class implementation

2020-07-01 Thread Greg Dove
Whenever I have ported embedded image data like this in the past, I always swapped the Class type to String type and used that value as an external runtime source for the image (i.e. it loads the image source via url instead of as embedded data). I am not sure what your question is related to, bu

Embedded image class implementation

2020-07-01 Thread Anil Guntur - agun...@us.ibm.com
In the Flex code I have the embedded image class [Embed("tpan_cursor.png")] private var cursorPan:Class; When I compile with config=”flex” and in the resulting JS I get it as this.Main_cursorPan = ; this is causing to fail on the load. Any suggestions? Also have a question on .. should I u

RE: Know if a class implements a certain interface

2020-07-01 Thread Maria Jose Esteve
Right, thanks Yishay Hiedra. De: Yishay Weiss Enviado el: miércoles, 1 de julio de 2020 20:01 Para: users@royale.apache.org Asunto: RE: Know if a class implements a certain interface It depends on what you want to check for. If you want to check that a component/strand has a certain bead, then

RE: Know if a class implements a certain interface

2020-07-01 Thread Yishay Weiss
It depends on what you want to check for. If you want to check that a component/strand has a certain bead, then yes, use getBeadByType(). If you want to check if myObj implements IMyInterface, then check If (myObj is IMyInterface) Hope that’s clear. From: Maria Jose Esteve

RE: Know if a class implements a certain interface

2020-07-01 Thread Maria Jose Esteve
Sorry, my head is gone .. getBeadByType 😝 De: Maria Jose Esteve Enviado el: miércoles, 1 de julio de 2020 19:44 Para: users@royale.apache.org Asunto: Know if a class implements a certain interface Hi, How to know if a class implements a certain interface? Do you know any direct method? Thx. Hi

Know if a class implements a certain interface

2020-07-01 Thread Maria Jose Esteve
Hi, How to know if a class implements a certain interface? Do you know any direct method? Thx. Hiedra.