Skip to main content
Participant
June 23, 2010
Question

How to modify and compile SDK 4 frameworks file in Flash Builder 4

  • June 23, 2010
  • 1 reply
  • 898 views

Hi,

I would like to modify \Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\projects\framework\src\mx\core\ScrollControlBase.as file for testing of my application. How do I get FlashBuilder 4 to compile that file and include it into my build.

Thanks

Jerry

This topic has been closed for replies.

1 reply

Inspiring
June 23, 2010

You can actually just take the source for that file and put it in your project in the correct package. So create the mx/core/ folders inside the src folder. and then create a new ScrollControlBase.as file with the contents you wish to run.

This is often called monkey patching because the files in your project folder have higher precedence over the ones in the sdk. Allowing you to override them.

Simeon Bateman

Principal Instigator

PNW Rain LLC

simeon@pnwrain.com

503-616-4405

jdtealeafAuthor
Participant
June 23, 2010

Hi Simeon,

Thank you for such a quick reply. I will try what you suggested.

Thanks

Jerry

Jerry Dietrich | RIA Consultant | jdietrich@tealeaf.com | ph: 602-412-3783

Tealeaf Customers

Tealeaf Testimonials

Tealeaf Press Coverage