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 <mx:Style> question is related to, but for Royale you should use <fx:Style> On Thu, Jul 2, 2020 at 7:42 AM Anil Guntur - [email protected] < [email protected]> wrote: > 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 <mx:Style>.. should I use Jewel implementation for > this > > > > Thanks again > > Anil >
