I think I ve seen the code for moviematerial a while ago and they
cache them as bitmaps.
but it is possible that I am wrong. Just take a look in the
MovieMaterial class and you will know.
Roland
Am 27.04.2009 um 16:42 schrieb farhan:
Thanks for the suggestions guys.
I don't have access to the display list via the class. I have changed
my approach, rather than using my custom scrolling text class I am now
drawing a new textfield into the sprite directly and applying the
material.
Are MovieMaterials converted to cache as bitmaps automatically? The
resulting text is appears pixelated even with font embeding enabled.
On Apr 27, 3:34 pm, Peter Kapelyan <[email protected]> wrote:
Try creating a MC, add it to the stage and set visible to false like
"routine" mentioned (maybe invisible after the draw command I mention
next?).
Then you can draw this MC in to a bitmap, and use that bitmap in a
BitmapMaterial, and update it after the draw like:
mymaterial.bitmap=newBitmap;
Somethings may go wrong, but I am pretty sure you can get this to
work.
Let me know if it makes sense!
-Pete
On Mon, Apr 27, 2009 at 10:16 AM, farhan <[email protected]>
wrote:
Nope, no direct interactions. All the interaction is done with the
Mesh.
On Apr 27, 3:03 pm, Peter Kapelyan <[email protected]> wrote:
Do you need to be able to interact with this MC at all? (Like
button
clicks,
drop downs etc) ?
-Pete
On Mon, Apr 27, 2009 at 9:58 AM, farhan <[email protected]>
wrote:
The reason I ask is because the class the creates the textfield
is not
a display object and therefore does not have access to the stage.
--
___________________
Actionscript 3.0 Flash 3D Graphics Engine
HTTP://AWAY3D.COM
--
___________________
Actionscript 3.0 Flash 3D Graphics Engine
HTTP://AWAY3D.COM