You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is only support flash.display.Sprite for create textrue?
I found you wiki say:
For each item in the document's library that is exported for ActionScript and extends flash.display.Sprite or flash.display.BitmapData,
It seem to not support flash.display.BitmapData,
it's give some error like this
Non-symbols mot not be in movie layers..
but I put bitmap to timeline into mc..
The text was updated successfully, but these errors were encountered:
Yeah, the documentation is wrong. If you have a bitmap, you can turn it into a texture with "Convert to Symbol", and typing in flash.display.Sprite for the type. Mark it for "export to actionscript" and then use that symbol in your movies, rather than the bitmap itself.
I actually added the BitmapData thing to make things more convenient on Arcadians, where we're still working with pngs, and mainly using Flump for the texture atlasing.
I didn't know about "Convert to Symbol", if that works well I'll happily revert 4136be8
The problem with allowing BitmapDatas as textures is that you can't tween them. When you drop a bitmap into a MovieClip and move it around on keyframes, Flash creates a new Graphic symbol in its place, and that is what gets animated, which is not what we want.
is only support flash.display.Sprite for create textrue?
I found you wiki say:
For each item in the document's library that is exported for ActionScript and extends flash.display.Sprite or flash.display.BitmapData,
It seem to not support flash.display.BitmapData,
it's give some error like this
Non-symbols mot not be in movie layers..
but I put bitmap to timeline into mc..
The text was updated successfully, but these errors were encountered: