Error #1107: The ABC data is corrupt, attempt to read out of bounds

0 votes

When I try to call in AS3 App42API.initialize("",""); I get a crash in flashBuilder: Error #1107: The ABC data is corrupt, attempt to read out of bounds. How can I fix this?

asked Apr 24, 2016 in Flash by tapventuresdk (10 points)
recategorized Apr 25, 2016 by shepAdmin

1 Answer

0 votes
Hi Tap,

 

Is it possible that you can share your sample project which replicates this issue? It will help us to provide better support to you.

 

Regards,

Himanshu Sharma
answered Apr 25, 2016 by hs00105 (2,005 points)
Hello

- I updated compiler again
- Changed link type of swc to external

Now I get this error:
ReferenceError: Error #1065: Variable com.shephertz.app42.paas.sdk.as3::App42API is not defined.

This is the start of my document class:

package
{
    import com.shephertz.app42.paas.sdk.as3.App42API;
    import com.shephertz.app42.paas.sdk.as3.App42Response;
    import com.shephertz.app42.paas.sdk.as3.App42Exception;
    import com.shephertz.app42.paas.sdk.as3.App42BadParameterException;
    import com.shephertz.app42.paas.sdk.as3.App42NotFoundException;
    import com.shephertz.app42.paas.sdk.as3.user.Profile;
    import com.shephertz.app42.paas.sdk.as3.user.UserGender;
    import com.shephertz.app42.paas.sdk.as3.user.User;
    import com.shephertz.app42.paas.sdk.as3.user.UserService;  
   
    import flash.display.Sprite;
    import flash.geom.Rectangle;
    import flash.system.Capabilities;
   
    import starling.core.Starling;
   

    // import flash.display.StageAlign;
    // import flash.display.StageScaleMode;
   
    [SWF(frameRate="60", width="640", height="960", backgroundColor="0x333344")]
   
    public class Speedwordx extends Sprite
    {
        public var myStarling:starling.core.Starling;
       
       
        public function Speedwordx()
        {
            super();
       
            App42API.initialize("secret","anothersecret");


etc...

I don't know how I can share my Flash Builder project with you without giving you everything, which I don't want to.
Hi Tap,

Is it possible that you can create one sample project which replicates this issue? It will help us to provide better support to you.

Regards,
Himanshu Sharma
Hello

After rebuilding Flash Builder Workspace I got it to work.
I have no idea what was corrupted.
No worry Tap, It's great to know that you are able to resolve the issue. Let us know if you need help from our  side.  We are happy to assist you!!!

Regards,
Himanshu Sharma
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...