Skip to main content
April 14, 2011
Answered

Adobe AS3 SDK for Facebook are in SWC: what happens if I need to customise?

  • April 14, 2011
  • 1 reply
  • 1029 views

Hiya

As the Adobe AS3 SDK for Facebook are supplied in precompiled class libraries, in .SWC files, they are closed.

What happens if I need to make changes to the classes, extend them etc? I've noticed that you can also download the Source from:

http://code.google.com/p/facebook-actionscript-api/downloads/list

Is it possible to use the uncompiled source isntead of the .SWC?And if yes how would I go about doing it?

Just asking as the SWC also has some graphic compiled into it, which isnt present in the Source folder.

This topic has been closed for replies.
Correct answer Kenneth Kawamoto

Facebook Graph API is just a bunch of AS class files and you should be able to use either as a SWC or as source files the same way.

1 reply

Kenneth Kawamoto
Community Expert
Kenneth KawamotoCommunity ExpertCorrect answer
Community Expert
April 14, 2011

Facebook Graph API is just a bunch of AS class files and you should be able to use either as a SWC or as source files the same way.

April 14, 2011

You know what, this isnt working.

If i just simply include the classes from the Source, then i get the following error:

AbstractWindow.as:241: 1046: Type was not found or was not a compile-time constant: NativeWindowBoundsEvent.

any ideas?

Kenneth Kawamoto
Community Expert
Community Expert
April 14, 2011

Do you mean you don't get the error if you use the SWC? NativeWindowBoundsEvent is an AIR class - are you using the AIR compiler?