Right now the only way around this I've found is to make another layer in my movieclip with a shape outline with the max width and height of the biggest frame of the movieclip, and set it's alpha to 1%. This way now my whole movie clip shows on the plane (because it is the size of the shape outline) BUT there is a larger area that the user can 'click' on than just my original movieclip. It's a workaround method for now that will have to do.
I would still like to hear if anyone has a proper method to attach a MovieMaterial with varying sizes per frame. I am wondering if I can't centre my registration points and have it update everyframe, changing the plane size to match? Has anyone tried this? On Feb 13, 1:47 pm, dd15taura <[email protected]> wrote: > I am trying to make a scene in AR using FLARManager and Away3D for a > final project at school. I am fairly new to coding so I apologize if > my terminology is a bit off. > > I have attached a movieclip to a plane as MovieMaterial. I have added > and event listener so that when the user clicks on the plane the > movieclip plays. This functionality is working fine but I have another > problem. > > My movieclip has a centre registration because it is constantly > changing shape. Yet when I bring it into Away3D and place it on a > plane as a MovieMaterial I can only see the bottom right quarter of > the movie clip (I'm assuming that's because it is placing it at 0,0 of > the plane). Yet if I change the registration point to 0,0 for the > movieclip AS WELL as each frame in my movieclip (based on the largest > frame so they are all still aligned when it plays) I still can’t see > the whole movieclip – it seems to be ‘cut off’ and I now only see the > top left quarter of the movieclip. > > I thought the plane would default to the size of the movieclip but > this does not seem to be what is happening. Has anyone had similar > problems? > > Any help or suggestions is grealty appreciated.
