UNSUSCRIBE ---------------------------------------------- Thanks & Regards, Akshay Rathnavas,
(¨`·.·´¨) `·.¸(¨`·.·´¨) Keep (¨`·.·´¨)¸.·´ Smiling!!! `·.¸.·´ ---------------------------------------------- On Sun, Jan 31, 2010 at 7:10 AM, <[email protected]<away3d-dev%[email protected]> > wrote: > Today's Topic Summary > > Group: http://groups.google.com/group/away3d-dev/topics > > - external swf into MovieMaterial <#126844a70f88a2e7_group_thread_0> [5 > Updates] > - PreFab <#126844a70f88a2e7_group_thread_1> [1 Update] > - Minor fix to strange Cube problem. <#126844a70f88a2e7_group_thread_2>[1 > Update] > - List Box, UI Components and Away3d <#126844a70f88a2e7_group_thread_3>[1 > Update] > - match blender camera to away3dlite <#126844a70f88a2e7_group_thread_4>[1 > Update] > > Topic: external swf into > MovieMaterial<http://groups.google.com/group/away3d-dev/t/e9f43ba6599ca9f7> > > metSyS <[email protected]> Jan 30 05:14AM -0800 > ^<#126844a70f88a2e7_digest_top> > > I have a problem. To transform Embeded swf into MovieMaterial we need > to do next : > > [Embed(source="Mxml.swf")] > private var mv:Class; > private var topMaterial:MovieMaterial = new MovieMaterial(new mv(), > {interactive:true, smooth:true}); > > But I need to transform swf into MovieMaterial from external file, so > I thought it must be : > > private var frontMaterial:MovieMaterial; > ... > var loader:Loader = new Loader(); > loader.load(new URLRequest("Mxml.swf")); > frontMaterial=new MovieMaterial(loader); > > But it doesn't work. Need help. Thanks. > > > > > Peter Kapelyan <[email protected]> Jan 30 09:08AM -0500 > ^<#126844a70f88a2e7_digest_top> > > If anything, you would have to wait for your swf to load first. Also > most > likely you would have to use the loaders content instead: > > http://www.iheartactionscript.com/loading-an-external-swf-in-as3/ > > So you would wait for the > > onCompleteHandler > > > to create you movie material. > > Hopefully it works for you. > -Pete > > > > -- > ___________________ > > Actionscript 3.0 Flash 3D Graphics Engine > > HTTP://AWAY3D.COM > > > > > metSyS <[email protected]> Jan 30 06:19AM -0800 > ^<#126844a70f88a2e7_digest_top> > > It's clear, but i can't understand how to transform the loaded swf > into MovieMaterial ... > > > > > > Peter Kapelyan <[email protected]> Jan 30 11:39AM -0500 > ^<#126844a70f88a2e7_digest_top> > > Whoops, I see it is embedded, maybe try > > var loaderAsMovieClip=loader as MovieClip(); > frontMaterial=new MovieMaterial(loaderAsMovieClip); > > Just a guess...sorry I can't try it myself right now > > -Pete > > > > -- > ___________________ > > Actionscript 3.0 Flash 3D Graphics Engine > > HTTP://AWAY3D.COM > > > > > metSyS <[email protected]> Jan 31 03:59AM -0800 > ^<#126844a70f88a2e7_digest_top> > > Nope, doesn't work=( ... any ideas???? > > > > > Topic: PreFab<http://groups.google.com/group/away3d-dev/t/88d17376030eea06> > > colouredfunk <[email protected]> Jan 30 10:29PM -0800 > ^<#126844a70f88a2e7_digest_top> > > Hey Fabrice, Just wondering if you have had a chance to look into why > my model is exporting mutliple maps of the same image? Thanks again!! > > > > > Topic: Minor fix to strange Cube > problem.<http://groups.google.com/group/away3d-dev/t/2f8027c0a9e8cc41> > > Amarnaman <[email protected]> Jan 30 02:31PM -0800 > ^<#126844a70f88a2e7_digest_top> > > I've seen this can of error many times over the years I've been coding > and teaching programming and warn my students to be careful of int/int > calculations due to the truncation of the answer back to an int. You'd > think this sort of thing would get flagged by the compiler but > nope.... > > Yvan. > > > > > Topic: List Box, UI Components and > Away3d<http://groups.google.com/group/away3d-dev/t/4e8e7f2ad9e352cb> > > Amarnaman <[email protected]> Jan 30 02:24PM -0800 > ^<#126844a70f88a2e7_digest_top> > > Hi all, > > I've been playing around with using standard UI components in Away3D > projects (pure as3 no Flex) and I've hit a problem. Buttons and text > boxes are fine but I can't seem to get a list box to appear as a child > member of a sprite. I'm trying the mx.controls.List import route and I > can create what appears to be a functional list box whose data is > populated by an XML document. Tracing through in debug mode appears to > show the list being created with the data and I then add it to a > sprite that acts as my dialog box using the standard addChild method > call. However, the list box is missing from the view. Does anyone know > either what I'm doing wrong or can suggest an alternative method? > > Here's the code (where dialogBox is a sprite initialised earlier): > > var newNode:XML = <test/>; > newNode.name[0] = "1st line"; > newNode.name[1] = "2nd line"; > > myList = new List(); > myList.editable = false; > myList.dataProvider = newNode; > myList.width = 250; > myList.height = 80; > myList.buttonMode = true; > myList.selectable = true; > myList.y = 30; > myList.x = 25; > > dialogBox.addChild(myList); > > Thanks in advance! > > Yvan. > > > > Topic: match blender camera to > away3dlite<http://groups.google.com/group/away3d-dev/t/f16eda6f214274fc> > > George Profenza <[email protected]> Jan 30 09:51AM -0800 > ^<#126844a70f88a2e7_digest_top> > > Hello, > > I've managed to get a closer match from a Blender scene to an Away3d > scene. > > Here is a screenshot of how close I got: > http://i984.photobucket.com/albums/ae330/orgicus/blender2awayCamera.gif > > The white WireframeMaterial cube is from Away3D, the background is a > default render > from Blender. > > I've uploaded a simplified version of my test filed (.as, .fla, .jpg > (for tracing), .blend and .py) > here: > > > http://groups.google.com/group/away3d-dev/web/georgeprofenza_blender2Away3DSetupSimple.zip > > At this point, I'm just using a camera facing forward a cube. I've > played with the z and fov properties > to match the look than used the numbers to change the script. I have > tested the view > with a cube with no rotation at all, and then the view with the cube > rotated by 45 degrees on Y in Away3D > and it matches the Blender look close enough. > > At this point, it is not exact science, I'm just tinkering, but > hopefully I can get this to be useful. > > Rob and Dennis, > Thanks for the input at LFPUG. > > All the best, > George > > > > >
