Viewpoint Forums
Viewpoint Forums
Viewpoint Media Player Support
Another FireFox 1.5 BUG!|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
Hey,
I found another BUG for the firefox 1.5 plugin. I'm trying to create a viewpoint loader. The idea is simple: 1. When I call the function to load a model it hides the viewpoint layer and show the loader layer (just a feedback for the user that them model is loading). 2. When MTSLoadDone it calls a function to hide the loader layer and shows the viewpoint layer. Inside the loader layer there is a flash animation. It workes perfectly when I use IE. Using FireFox 1.5 it doesn't work. I call to show the loader layer, but it seems to not load the viewpoint when there is a layer over the viewpoint layer (a layer where the content is flash). Here are the functions:
=========== javascript inside the HTML =========
// Hide viewpoint layer
function FL_HideCarLoader(){
document.getElementById('vmpLayer').style.visibility="visible";
document.getElementById('loaderLayer').style.visibility="hidden";
}
// Show viewpoint layer
function FL_ShowCarLoader(){
document.getElementById('loaderLayer').style.visibility="visible";
document.getElementById('vmpLayer').style.visibility="hidden";
}
=========== MTX code =====================
<MTSInteractor Name="Loader" IgnoreError="1" IgnoreHandled="1" >
<Target Name="MTSInstance.Car" />
<MTSHandle Target="FL_HideCarLoader()" Event="MTSLoadDone" Action="MTSJavaScript" />
</MTSInteractor>
I could create the loader inside the viewpoint, but I decided to not do it because I would need to do it for 800 models. The weird thing is: using Firefox 1.5 if I don't put a layer over viewpoint the viewpoint calls FL_HideCarLoader(). I.e. If I just ask to hide the viewpoint layer while it loading and show it when the load is done it works, but if I hide the viewpoint layer and make a layer (which content is flash) over the viewpoint, the viewpoint model doesn't call the FL_HideCarLoader(). What do you guys suggest? Could you please fix this bug? Thanks, Marcelo Muniz |
||
|
|
EnIgMaTiCScOrPioN Member |
Hi Marcelo !!
First confirm that you have assigned different names to the VMP object and LOADER object. For example: var vmp; var loader; If yes try this.... =========== javascript inside the HTML ========= // Hide viewpoint layer function FL_HideCarLoader(){ document.getElementById('loaderLayer').style.visibility="hidden"; document.getElementById('vmpLayer').style.visibility="visible"; loader.SetProperty('MTSScene', 'nerd', "1", 'mts_int'); } // Show viewpoint layer function FL_ShowCarLoader(){ document.getElementById('vmpLayer').style.visibility="hidden"; document.getElementById('loaderLayer').style.visibility="visible"; vmp.SetProperty('MTSScene', 'nerd', "1", 'mts_int'); } =========== MTX code ===================== <MTSInteractor Name="Loader" IgnoreError="1" IgnoreHandled="1" > <Target Name="MTSInstance.Car" /> <MTSHandle Event="MTSLoadDone" Action="MTSJavaScript" Func="FL_HideCarLoader()" /> </MTSInteractor> I just swapped the "hidden" and "visible" lines and added a "nerd" to the VET Scene in the Javascript function. Also I changed the attribute "Target" to "Func" in the Interactor. Let me know if this works. Cheers, Anup |
|||
|
|
Member |
hey Anup!
I figured out the problem. It's for sure a BUG in the viewpoint PLUGIN for Firefox 1.5. If you have a layer over viewpoint and it completely covers the viewpoint layer, viewpoint doesn't load the model and will not fire the MTSLoadDone event. I had to reduce the layer size over viewpoint in one pixel, so it works in Firefox 1.5. It's a dirty solution, as the plug in works fine for IE. I hope that the viewpoint develepors fix it as soon as possible. Thanks, Marcelo Muniz |
|||
|
|
Member |
Greetings all,
I am happy to announce that we have released an updated installer for the VMP to better support the Firefox web browser. This Executable, along with an enhanced MTS3Interface, will improve the user experience when installing VMP while using Firefox. This release will fix known Firefox problems with current instillations of the VMP, new installations of the VMP, and a few issues discovered when running in non-English language operating systems, such as French. To read more about it or see it in action, go to http://developer.viewpoint.com/ and look at the headlines on the right side. Next up is a revamped MTS3Interface with more installation options to better support the various client needs for IE, Firefox (Mozilla) and a ZIP file delivery for MAC OSX. Stay tuned for updates. |
|||
|
|
Member |
Congratulations for fixing this bug!!
|
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
Viewpoint Forums
Viewpoint Forums
Viewpoint Media Player Support
Another FireFox 1.5 BUG!
