Viewpoint Forums
Viewpoint Forums
Other Viewpoint Software
Flash buttons/rollover experience|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Junior Member |
Hello,
I have an observation and fix to the problem of buttons not appearing when a scene is published. When I was adding buttons with the Enliven 2d button tool I found that it worked fine with bitmaps but flash buttons would go missing when finally published to html. This occurred first with the flash checkbox example in the cellphone tutorial and again in a scene I am working on. However, when I just added a flash element to the 2d layer it worked fine. What I eventually noticed was that even though Enliven was exporting the actual flash file into the scene assets, it was for some reason leaving out the time elements which call the swf files to be loaded into the scene and applied to the proper texture. Following is a sample of the code which needs to be added to the mtx file for each button: <!-- Button up state --> <MTSTimeElem Name="YourButton" Type="SWFView" Path="YourButton1.swf" > <Target Name="MTSTexture.YourTexture_0" /> </MTSTimeElem> <!-- Button over state --> <MTSTimeElem Name="YourButtonover" Type="SWFView" Path="YourButton2.swf" > <Target Name="MTSTexture.YourTexture_1" /> </MTSTimeElem> <!-- Button down state --> <MTSTimeElem Name="YourButtondown" Type="SWFView" Path="YourButton3.swf" > <Target Name="MTSTexture.YourTexture_2" /> </MTSTimeElem> in that case where you get the target from the LayerData field IE LayerData Texture="MTSTexture.YourTexture_0" I hope this helps if someone else experiences the same problem, Cheers, Jamie |
||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
Viewpoint Forums
Viewpoint Forums
Other Viewpoint Software
Flash buttons/rollover experience
