MAXSTEELTURBOGO / facebook-actionscript-api

Automatically exported from code.google.com/p/facebook-actionscript-api
0 stars 0 forks source link

1046: Type was not found or was not a compile-time constant: FacebookEvent. #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Open the web cam example
2.Add in the Facebook package "com.facebook"
3.publish

What is the expected output? What do you see instead?

  The output is flickering with the Compiler error reporting:

  1046: Type was not found or was not a compile-time constant: FacebookEvent.

  FDT is able to find the proper classes so there is no errors there, but
when I compile the FLA, it gives that error on each method of the
WebCamUploader.as file at lines 98, 102, 110, 136, 161, 240

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by jeff.f...@gmail.com on 31 Mar 2009 at 3:52

GoogleCodeExporter commented 9 years ago
ahh, crap.  Turns out I was using the wrong FLA...  :(

I opened up the folder that I had added the facebook package too and it 
magically
started working...  Sorry for the false report.

Original comment by jeff.f...@gmail.com on 31 Mar 2009 at 3:57

GoogleCodeExporter commented 9 years ago
I have still same error coming.
Please help me 

session.addEventListener(FacebookEvent.CONNECT, onConnect);

private function onConnect(e:FacebookEvent):void
        {
                    trace("API key is connected");

        }
only here i stuck and I am not able to go further..
it is urgent..
thanks harpal

Original comment by soulfull...@gmail.com on 14 May 2009 at 12:47

GoogleCodeExporter commented 9 years ago
Does anybody have a more detailed explanation/solution on this one. The comment 
from
jeff is kind of cryptic.

Original comment by apostolos1975 on 18 Aug 2009 at 7:31

GoogleCodeExporter commented 9 years ago
here is what i read on another google code resource - worked for me
================================================================================
=====
Comment 1 by rick.t.williams, Jul 30, 2009
Make sure you've dragged an instance of the FacebookConnect API component onto 
the 
stage.

You can delete it, but you must ensure that it's in your library before you 
test ;o)

Original comment by nasirali...@gmail.com on 26 Dec 2009 at 5:01

GoogleCodeExporter commented 9 years ago
New release based of Facebook's Graph API is coming soon.  SDK which this issue 
depends on is no longer supported by Facebook.

Original comment by alan...@gmail.com on 29 Sep 2010 at 7:49