# Compatibility of AS1.0 function in AS2.0

**URL:** https://forum.kirupa.com/t/compatibility-of-as1-0-function-in-as2-0/258463
**Category:** flash
**Created:** [April 24, 2008, 6:18am UTC](https://forum.kirupa.com/t/compatibility-of-as1-0-function-in-as2-0/258463 "2008-04-24T06:18:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![prabakaranz](https://avatars.discourse-cdn.com/v4/letter/p/bc8723/32.png) [@prabakaranz](https://forum.kirupa.com/u/prabakaranz)
#### Post date: [April 24, 2008, 6:18am UTC](https://forum.kirupa.com/t/compatibility-of-as1-0-function-in-as2-0/258463/1 "2008-04-24T06:18:25Z")

</div>

Hi All,  
Can anyone let me know, if a function written in AS1.0 can be invoked from an actionscript written in AS2.0.

The question arises because, iam injecting a AS1.0 function into the existing SWF file. The method invocation works perfectly when i tried to redirect a getURL call to my own function. This is where i get a doubt. Will i be able to invoke the method which i injected from the code written in AS 2.0.

Thanks in advance,  
Prabakaran Srinivasan.
