Viewpoint Forums
Viewpoint Forums
Viewpoint ZoomView & Flash Authoring
Loading bar|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
Hi guys!
How I should make a loading bar, e.g. as in http://www.rich3d.com/site_v3/index_main.html Sharing->gallery I need some picture, something like "LOADING...", to appear at scene loading, and fade out when the scene is completely loaded. |
||
|
|
EnIgMaTiCScOrPioN Member |
Hi!!
You need to add a Flash file (SWF) as a Postanimator which will Stop playing when the scene is loaded. Also you need to have an event collector to check the scene loading status. Once the scene has been loaded, you can stop the Postanimor flash. Hope this helps. Cheers, Anup |
|||
|
|
Member |
How can i check the scene loading status? I mean i need the scene full load with all textures and meshes.
|
|||
|
|
Member |
And one more
Sorry, maybe it is a very simple question, but i need this... How i can stop SWF after the scene load Here is my code below <MTSAction Name="flashOff"> <MTSSetProperty Target="VectorAnim::Path" Value="blank.swf"/> </MTSAction> <MTSTimeElem Name="VectorAnim" Type="SWFView" Path="940.swf" On="1" PostAnimator="1" /> <MTSInteractor Name="Interactor_01" > <MTSHandle Event="MTSLoadDone" Action="flashOff" /> </MTSInteractor> I try to change path to blank.swf, but it does not work |
|||
|
|
EnIgMaTiCScOrPioN Member |
Hey!!
Here is the corrected code:
<MTSAction Name="flashOff">
<MTSAssignProperty Target="MTSTimeElem.VectorAnim::Stop" Value="1"/>
</MTSAction>
Cheers, Anup |
|||
|
|
Member |
It works now with ::runs options
<MTSAssignProperty Target="VectorAnim::runs" Value="0" /> |
|||
|
|
Member |
Hi oleg,
Please find attached an example of a progress bar. Regards progress_bar.zip (18 KB, 15 downloads) |
|||
|
|
Member |
Cool, thanks!
But i still have problem. In your example after the progress bar has disappeared the scene still is being loaded.The textures are being loaded. Just in my case there are too many textures and loading of the scene does not look especially attractive. It wouldn't be good to show this to the user.Of course I can set the value of Delay higher, but no one knows how long the scene will be loaded on different computers. Maybe somehow I will be able to find out for sure about the full loading of the scene? my_progress_bar.zip (60 KB, 8 downloads) |
|||
|
|
EnIgMaTiCScOrPioN Member |
Hey !!
I have attached the modified file. You can look at the event collector and add more MTSLoadDone events as per your requirements. Hope this helps. Cheers, Anup updated_bar.zip (57 KB, 14 downloads) |
|||
|
|
Member |
That`s what i need! Great thanks!
|
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|

