Jump to content
Search Community

Error #1006: attachNetStream is not a function

ilhan test
Moderator Tag

Recommended Posts

Hi there,

 

I am trying out LoaderMax and get this dreadful message when using VideoLoader:

TypeError: Error #1006: attachNetStream is not a function.

at com.greensock.loading::VideoLoader()

 

Any hints?

 

My code:

import com.greensock.*;
import com.greensock.loading.*;
import com.greensock.easing.*;
import com.greensock.events.LoaderEvent;
import com.greensock.loading.display.*;

var loader:VideoLoader = new VideoLoader("video/intro.flv", {name:"myIntro"});
loader.load(loader);

 

Thanks,

Link to comment
Share on other sites

Ummm....really? You are publishing to AS3, Flash Player 9 or later, right? Can you please post a super-simple FLA that demonstrates the issue? VideoLoader works perfectly for me and nobody else has reported any such errors (I know many folks have been using VideoLoader) so I wonder if it's either a problem with your Flash install or your publish settings. Tough to troubleshoot blind, though. :(

Link to comment
Share on other sites

Ok, sorry for wasting your time.

 

Tried on another computer and found that there is something wrong with my installation or something,

have not had issues importing TweenMax etc and other classes but the world of Flash can be mysterious sometimes if you aren't an expert.

Setting class paths didnt help in my case.

 

Time to reinstall....

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.
×
×
  • Create New...