Viewpoint Forums
Viewpoint Forums
Viewpoint Tips, Tricks & Hacks
question in flash texture|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
Helloooo there,
I put a pic to demonstrate what I want to do. After I applied a flash .swf file (which contain buttons) as texturemap to the "moni" object. I can not click the swf file to trigger actionscript eg. gotoAndStop. Thx in advance. q1.jpg (17 KB, 22 downloads) image |
||
|
|
Member |
Here is the MTX code.
Can anyone help me finding out the problem? Very very thanks!!!! ====================================== <?xml version="1.0"?> <MTSScene Version="313" > <MTSTextureMap Name="tu" x="600" y="334"/> <MTSTimeElem Name="flashMenu" Type="SWFView" On="1" Path="panel.swf"> <Target Name="MTSTexture.tu"/> </MTSTimeElem> <MTSAction Name="swapCoords"> <MTSCopyProperty Src="MTSEvent.TxtCoords.x" Dest="MTSEvent.ucrd"/> <MTSCopyProperty Src="MTSEvent.TxtCoords.y" Dest="MTSEvent.vcrd"/> <flashMenu/> </MTSAction> <MTSSceneParms RenderMode="LightTexture" BlendShadow="1" EdgeBias="1" > <Transform> <Scale x="0.32" y="0.32" z="0.32" /> <Position x="0" y="0.02" z="0.02" /> </Transform> </MTSSceneParms> <MTSCamera OrbitDist="4" > <Rotate x="69.37353" y="-107.71606" z="0" /> <ViewLocation x="0" y="0" z="4" /> </MTSCamera> <MTSInstance Name="000" > <Transform> <Scale x="-1" y="-1" z="-1" /> <Shear xy="0" yz="0" xz="0" /> <Rotate x="90.00003" y="-180" z="-0.00003" /> </Transform> <MTSInstance Name="moni" > <Transform> <Scale/> <Rotate x="-90" y="0" z="0" /> <Position x="0" y="-0.0625" z="-0.0625" /> </Transform> <MTSGeometry Name="moni_GEOM" MultiUV="0" BackFaceDir="-1" /> <MTSMaterial Name="panel" ID="0" RenderMode="LightTexture" > <MTSTextureMap Type="Diffuse" Name="tu" x="600" y="334" /> <MTSTextureMap Type="Light" Name="0 ck nolight_ELight" x="256" y="256" /> </MTSMaterial> <MTSHandle Event="MouseMove" Action="swapCoords"/> <MTSHandle Event="MouseLeftDown" Action="swapCoords"/> <MTSHandle Event="MouseLeftUp" Action="swapCoords"/> </MTSInstance> <MTSInstance Name="body" > <Transform> <Scale/> <Rotate x="-90" y="0" z="0" /> <Position x="0" y="-0.0625" z="-0.0625" /> </Transform> <MTSGeometry Name="body_GEOM" MultiUV="0" BackFaceDir="-1" /> </MTSInstance> </MTSInstance> <MTSTimeElem Type="MTSStream" Name="000" Path="000.mts" > <Target Name="MTSInstance.000" /> </MTSTimeElem> </MTSScene> |
|||
|
|
Member |
|
|||
|
|
Member |
Hi CG,
I've been looking over this. I think you're running into a bug. I haven't nailed down what the bug might be yet. Stay tuned. |
|||
|
|
Member |
Hi Admin,
Thanks for your response. I modeled this simple box in lightwave, then I exported as a 3ds file. I imported it in 3dsmax and applied UVmap, then exported it into ase file before I imported it into Scenebuilder. I put the 3ds file for your reference. really realy need your help 3d_file.rar (20 KB, 10 downloads) 3d file |
|||
|
|
Member |
There's something it doesn't like about your 3D objects, but I can't pin down exactly what. When I use other 3d objects but keep the rest of the code the same, it works just fine
|
|||
|
|
Member |
Hi Admin,
Thanks for your help. I am designing a new kind of microwave oven with large LCD monitor for my assignment. (I am a postgraduate student from Monash Uni, my major is Master of Multimedia) I want to use SWF as texturemap and user can interactive with that monitor.(I attach a pic for your reference) basics steps shoun below: 1) model in Lightwave 2) export as a 3ds file 3) inport 3ds into max 4) apply UVMap coord 5) apply a pic instead of SWF 6) export ase file 7) import ase into SceneBuilder (I prefer using SceneBuilder.) (8) publish (9)open mtx file and save as another version (10)use publisher generate another html ------------------------------ Could you do me a favour? I send you my models and a basic SWF. Could you help me applying that SWF and making it could be clicked? ------------------------------ BTW, I still use the old version of SceneBuilder and Publisher. Could that cause the bug problem. Could you email me those two softwares with the latest version? my email address: kai_cheng_design@hotmail.com Many many thanks to you, my friend ref.jpg (79 KB, 19 downloads) reference |
|||
|
|
Member |
Dear Admin,
I send you two rar files which are source files of my design. one is a still object and other includes animation (0-30 door open, 30-60 door close) I created a basic scene with SceneBuilder for your reference. I also attach a jpg for your reference. Could you help me applying the swf file_menu.swf and set the scene with 900*600? thaks again. ref_2.jpg (106 KB, 16 downloads) ref 2 |
|||
|
|
Member |
Dear Admin,
As I can not send files more than 900k. Could you give me ur email so that I can send you my source files? my email address: kai_cheng_design@hotmail.com I send you some basic file now Thanks Copy_of_02_with_animation.rar (361 KB, 6 downloads) file |
|||
|
|
Member |
can you send the original .fla for panel.swf?
|
|||
|
|
Member |
|
|||
|
|
Member |
Hi Admin,
I have an sample posted on the forum several years ago which is called "flash_menu_texture". I replace the swf file with my file, it still works fine. unfortunately, I can not figure out the difference between the sample MTX and my MTX file. I attch a pic and sample for your reference. Thanks a lot, my friend ref_2.jpg (96 KB, 20 downloads) ref2 |
|||
|
|
Member |
|
|||
|
|
Member |
Dear Admin,
I did some tests on the sample files and met a problem: (1)I replaced the swf file with my file, I can interactive with the flash texturemap on each side of the cube. (2)I used Media Publisher to recreate a new html with different size. The cube still works fine. (3)I used SceneBuilder to open the sample MTX file and save as a new file with a new name, eg. "text.mtx" (4)I used Media Publisher to open the new mtx file and published a new html file. (5)When I open the new html file, problem appealed, flash texturemap can not be clicked. BTW, my Scene Builder version (Build 3.0.11.131) Media Publisher 3.0.11.85 |
|||
|
|
Member |
Hi CG,
I'm sorry but I can't figure out why it won't work. But if you use an MTSPlane primitive instead of the mini object plane you are creating yourself it will work. Unfortunately, I am really tied up at the moment and can't look into this further. I have attached the project using an MTSPlane instead for your reference. You will still have to scale/rotate/transform the plane primitive into the right place, but you will see it is working. When I have more time, I'll see if a bug should be logged for this. Regards ask.zip (24 KB, 8 downloads) |
|||
|
|
Member |
Thanks my friend
|
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
Viewpoint Forums
Viewpoint Forums
Viewpoint Tips, Tricks & Hacks
question in flash texture
