Audio of a video won’t stop when marker is removed

Software: Away3D 3.x

MaiNubes, Newbie
Posted: 01 November 2012 07:14 PM   Total Posts: 2

Hi everyone! I’m coding a very simple AR application using Flarmanager and Away3D 3.6 which plays a video (flv) when a marker is detected.

The problem is that when the marker is removed, the video is no longer visible (the function video.isPlaying throws false, actually) but the audio keeps playing!

I’ve been debugging the app for a while and I can’t figure where the problem is. I’ve got the same code in Papervision and it works correctly.

Could anyone help me please?

Thank you guys! smile


P.S.: I’ll attach my code, just in case.

 

File Attachments
ARVideo.as  (File Size: 4KB - Downloads: 315)
VideoTest.as  (File Size: 3KB - Downloads: 298)
   

MaiNubes, Newbie
Posted: 02 November 2012 05:35 PM   Total Posts: 2   [ # 1 ]

Never mind, I’ve finally got it working. I had to change the MovieMaterial variable for a VideoMaterial one (and use the method pause, since it doesn’t have a stop function)

   
   
‹‹ 3D Circle?

X

Away3D Forum

Member Login

Username

Password

Remember_me



X