3 Replies Latest reply on Nov 16, 2011 9:40 AM by Flex harUI

    SWFLoader and fscommand() :'(


      Hi all,


      I'm a newbie here and to Flex development. I've been trying to develop an application which will load external swf files. I'm using SWFLoader to load the external SWFs and I am happy till the swf is loaded.


      The problem starts when I've to use the click property and the associated method in the flash file. Its simply not working. ie., I'm using fscommand(fullscreen,"true") to make the swf run in fullscreen and when I'm running this swf in flashplayer, external to the flex app, its working as its supposed to be. But after its loaded into the swf loader in the AIR app, the swf wont go fullscreen.


      Also I cant get the "click" or "mousedown" property of the SWFLoader.


      I'm using Flex 4.5.1 SDK, Flash CS5 and Flash Builder 4.5. If anybody could give me some pointers here?! Thanks in advance.