AFTC - Away3D 4 VideoMaterial code based tutorial

Software: Away3D 4.x

Avatar
Darcey, Moderator
Posted: 03 November 2011 02:15 AM   Total Posts: 209

And last one for the night… I’m starting to see double lol…
Here is a code based tutorial of Away3D 4s VideoMaterial which as always includes full source and visual demo.

http://www.allforthecode.co.uk/aftc/forum/user/modules/forum/article.php?index=5&subindex=5&aid=310

Happy coding

D

   

chesiq.com, Newbie
Posted: 07 January 2012 10:29 AM   Total Posts: 1   [ # 1 ]

Hello. I’ve really enjoyed this engine =)

So I picked it for study.

Now, I really don’t get it how i can change volume or even pause video material from this example

allforthecode.co.uk/aftc/forum/user/modules/forum/article.php?index=5&subindex=5&aid=310

// Video material 1
 
  videoMaterial1 = newVideoMaterial(“assets/video1.flv”,512,true,true);
  videoMaterial1.smooth = true;
  videoMaterial1.bothSides = true;
_____________________________________________
  videoMaterial1.mute();
                gives me error that video material is static
i know it loads a player and ive seen the code but does this mean i need to declare a new player so i would get it controlls?
                videomat1.volume = 0; - also gives error that there is no such volume property.

_______________________________________________________
allforthecode.co.uk/aftc/forum/user/modules/forum/article.php?index=4&subindex=4&aid=250

here the volume is just declared like this videomat1.volume = 0;
but i cant get it to work in away3d 4 example.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X