Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is that only support flash.display.Sprite for create textrue? #9

Closed
sonygod opened this issue Jun 20, 2012 · 3 comments
Closed

is that only support flash.display.Sprite for create textrue? #9

sonygod opened this issue Jun 20, 2012 · 3 comments

Comments

@sonygod
Copy link

sonygod commented Jun 20, 2012

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..

@tconkling
Copy link
Owner

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.

@aduros
Copy link
Contributor

aduros commented Jun 20, 2012

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

@aduros aduros closed this as completed Jun 20, 2012
@tconkling
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants