Skip to main content
tspame
Participant
Oct 3, 2014 1:42 PM UTC
Question

Why createVideoTexture() can return null?

Hello everyone! Why createVideoTexture() can return null.

code:

            var nc:NetConnection;

            var ns:NetStream;

            nc = new NetConnection();

            nc.connect(null);

            ns = new NetStream(nc);

            ns.play("red_galaxy.mp4");

            var context3D:Context3D = Starling.context;

            var texture:VideoTexture;

            texture = context3D.createVideoTexture(); //null

I read the guide, but it did not help.

This topic is closed to new replies. Start a new post to keep the conversation going.

4 replies

itlancer
Inspiring
Oct 21, 2014 8:03 AM UTC

Try last beta release: Download Adobe AIR 15 Beta - Adobe Labs

It should be fixed.

Translate
Astraport2012
Known Participant
Oct 21, 2014 9:23 AM UTC

Yes, it fixed now.

When will support video textures on Android and IOS?

And what the best way to loop video in video textures?

Translate
Astraport2012
Known Participant
Oct 21, 2014 5:28 AM UTC

The same(((

Translate
Participating Frequently
Oct 10, 2014 6:36 AM UTC

yeah I'm having the same issue

Translate