Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling the "distort" function in actionscript (Flash MX)

Status
Not open for further replies.

Foetalvoid

Programmer
Jun 21, 2002
2
BE
Hi all,

Call me nuts 'n freaky, but I'm making a Flash 3D engine :) (think "doom like" hehe :)

I got everything working fine in wireframe and solid rendering, that is with the "lineTo" command and stuff... everything's coded in actionscript.

The only thing I would like to put in is texturing, I came up with a good way it *could* do the job, but I need to be able to call the new "distort" function straight from actionscript. (I take a bitmap, trace it, and then I should be able to distort it on my "walls" (which are solid fills for now)

Does anyone have a clue how to call the distort function from actionscript? Or another way to scale a bitmap out of actionscript that I can use it as a texture on a cube?

Thanks alot in advance!
FoetalVoid.
 
Thanks alot for replying! I'll certainly check it out... Flash MX is hard to get alot of info on as of yet.

Greetz,
FV
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top