Jump to content
GreenSock

Asteroids

have a problem when compiler on AIR 3.5 for iOS

Recommended Posts

I got an error when compiler on AIR 3.5 for iOS

 

video loader have a problem please help me

 

it's say

 

TypeError: Error #1009: Cannot access a property or method of a null object reference.

at com.greensock.loading::VideoLoader/_closeStream()[D:\_Flash\_AS3\src\com\greensock\loading\VideoLoader.as:991]

at com.greensock.loading::VideoLoader/_auditHandler()[D:\_Flash\_AS3\src\com\greensock\loading\VideoLoader.as:978]

at flash.net::NetStream/invokeWithArgsArray()

at flash.net::NetStream/call()

at flash.net::NetStream/pause()

 

thanks you and sorry for my bad english

Link to comment
Share on other sites

Are you using the latest version of LoaderMax/VideoLoader?

 

Can you post a very simple example FLA that we can publish to see the issue first-hand? That would be really helpful. You don't need to post your production files - just create a very simple separate FLA with only the necessary code to reproduce the problem, and zip it before posting here.

Link to comment
Share on other sites

this is simple my class Intro

 

when i use this class on Air 3.5 for iOS

 

 

import com.Intro;

 

var intro:Intro = new Intro("videos/IntroIPAD.mp4",stage,stage.stageWidth,stage.stageHeight);

 

get some error

Intro.as.zip

Link to comment
Share on other sites

What version of LoaderMax are you using?

 

By the way, you don't have to put the VideoLoader into a LoaderMax queue - since you're only using one video, you can just load() the VideoLoader directly. And if it's an AIR app, you probably don't need file size auditing either, so you can set LoaderMax.defaultAuditSize = false.

Link to comment
Share on other sites

No, I mean the specific version number. Either crack open the LoaderMax.as file and look at the very first line or do trace(LoaderMax.version). Have you tried downloading the latest version that's available online and republishing?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×