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

Reply via email to