Hello Everyone, Finally I got it working. It has to do with java heap space flash cs4 had to use to compile. I guess since it was too big, cs4 did not compile it full and just show blank swf without any error. I installed flash cs4 update 10.0.2 and the problem got solved.
Thanks, Rohit On Wed, Mar 31, 2010 at 11:17 AM, Rohit Sharma <[email protected]>wrote: > Its still not working. > > > On Tue, Mar 30, 2010 at 7:19 PM, Jim Lafser <[email protected]> wrote: > >> Sounds like you might need to do a "clean" build. Delete the ASO files and >> then build your SWF. >> >> >> >> >> ________________________________ >> From: Rohit Sharma <[email protected]> >> To: Flash Coders List <[email protected]> >> Sent: Tue, March 30, 2010 9:04:14 AM >> Subject: [Flashcoders] Re: Strange Problem >> >> Also, when I am trying to debug the swf or decompile the swf using HP >> swfscan, I am getting this info that the swf contains no actionscript >> code. >> >> On Tue, Mar 30, 2010 at 6:03 PM, Rohit Sharma <[email protected] >> >wrote: >> >> > Hello everyone, >> > >> > I am trying to put my application on facebook. For that I am using >> the >> > AS3 API. >> > I created a class to handle all the FB related stuff and what I found >> was >> > that my swf compilation was taking huge time >> > and nothing was getting added to stage and compiler was reporting no >> > errors. >> > When I started debugging the cause what I found was that as soon as I >> > declare a private var, this error happens. >> > >> > Everything works fine in this case :- >> > >> > package teenpattiBase >> > { >> > import com.facebook.utils.FacebookSessionUtil; >> > >> > public class Fb_test1 >> > { >> > //private var session:FacebookSessionUtil; >> > >> > public function Fb_test1() >> > { >> > trace("the argument is getting called"); >> > } >> > } >> > } >> > >> > as soon as I remove the comments from the variable declaration the >> > compilation is taking too much time and nothing is getting added on >> stage. >> > >> > package teenpattiBase >> > { >> > import com.facebook.utils.FacebookSessionUtil; >> > >> > public class Fb_test1 >> > { >> > private var session:FacebookSessionUtil; >> > >> > public function Fb_test1() >> > { >> > trace("the argument is getting called"); >> > } >> > } >> > } >> > >> > I tried to debug it but am getting nowhere. >> > Please help. >> > >> > Thanks, >> > Rohit >> > >> _______________________________________________ >> Flashcoders mailing list >> [email protected] >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> >> >> >> _______________________________________________ >> Flashcoders mailing list >> [email protected] >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

