#1 (permalink)  
Old 07-29-2008, 11:39 AM
Junior Member
 
Join Date: Jul 2008
Posts: 2
Default Stop video

Hi, i have load the gallery in a empty movie clip, as a section of my website, now, if I play a video and I change the section, without stop the video, the video continue to play cause i hear the sound, i think i have found in the oxylus/flv/FLVPlayback.as the right public function to call, but i don't know how to call it..can you help my, i just need to resolve this for publish the website, and my client is waiting for it. Tnx, a lot, the gallery is very cool!

Last edited by deepsoul.it; 07-29-2008 at 11:45 AM.
Reply With Quote
  #2 (permalink)  
Old 07-31-2008, 10:16 AM
Super Moderator
 
Join Date: May 2008
Posts: 519
Send a message via Skype™ to Adrian
Default

Try this:

- Open Viewer.as file located in oxylus/TGallery and at line 82 make that method public:

Code:
public function clearAll()...
- Then in the second frame of the gallery.fla file, layer "AS" create a global function like:
Code:
_global.stopVideoPlayer = function(){
         Viewer_mc.clearAll();
}
Now call this function to reset the player and stop playback:

Code:
_global.stopVideoPlayer();
It is global so you can call it from everywhere. Let me know if it works.
Reply With Quote
  #3 (permalink)  
Old 07-31-2008, 10:45 AM
Junior Member
 
Join Date: Jul 2008
Posts: 2
Default Tnx

Hi man! Tnx it is working perfect! YO!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.