Thanks for the help. I was able to move the texture using the scroll() method. But it happened when only one material was there. I need to have a default material and then add multiple images to it and move each individually over the model. Do I need to add multiple materials? If yes, then how as I was not able to find any method for that. It is there in the previous version of Away 3d but not in version 4.
On Mar 14, 3:54 pm, Michael Iv <[email protected]> wrote: > Look, the usage of scroll() has nothing to do with 3D .it moves the bitmap > of the texture.This is pure ActionScript3.0 feature which you can find how > to use in the various ActionScript blogs and forums and of course in the > Adobe ActionScript3.0 documentation . Here we usually deal with the topics > related to 3D and away3D issues. You don't have to be hard core 3d > programmer to use Away but you do need to have some ActionScript 3.0 OOP > experience .Also I recall there is an example in the away3D trunk with > Ferrari moving on a plain which has got an animated texture.take a look at > it . > > PS: > scroll () method expects to get X and Y coordinates to scroll to..You can > experiment bu passing mouseX and mouseY properties to see how it works > > On Mon, Mar 14, 2011 at 12:46 PM, rahulj.softprodigy < > > > > [email protected]> wrote: > > Thanks for the reply. Not sure how to use the UV co-ordinates as I am > > very new to 3D. Also I am not much sure how to use the scroll() > > function. I am unclear on things like: how do I add the image and > > where do I add it on the model. I have added a Bitmap texture to it > > but not sure how to add another image which can be moved over it. You > > have any reference link? > > > On Mar 14, 3:04 pm, Michael Iv <[email protected]> wrote: > > > You can move the UV coordinates but much simpler is to use BitmapData > > > scroll() function > > > On Mon, Mar 14, 2011 at 11:46 AM, rahulj.softprodigy < > > > > [email protected]> wrote: > > > > I need to add an image dynamically over my 3d model in away 3d. After > > > > adding it, I want that it can be moved over the model by mouse > > > > dragging. How can I do this? > > > > -- > > > Michael Ivanov ,Programmer > > > Neurotech Solutions Ltd. > > > Flex|Air |3D|Unity|www.neurotechresearch.comhttp://blog.alladvanced.net > > > Tel:054-4962254 > > > [email protected] > > > [email protected] > > -- > Michael Ivanov ,Programmer > Neurotech Solutions Ltd. > Flex|Air |3D|Unity|www.neurotechresearch.comhttp://blog.alladvanced.net > Tel:054-4962254 > [email protected] > [email protected]
