Re: [Flashcoders] Copying an embedded sprite

2007-08-05 Thread Ron Wheeler
You might show a small example of the code with the error. That 
sometimes gets a bit more interest than a description.


Ron

{reduxdj} wrote:
I am working on *all* actionscript project and i need help from an 
"actionscript code - api sleuth".  I have a little difficulty with the 
some of the api.  I approached turning an embedded graphic asset as a 
sprite into a bitmapData object.  I hit a roadblock on copying a a 
sprite with this embedded asset into another sprite.   I tried 
casting... I tried a bunch of different ways, but got an error - 
illegal bitmapData object etc..


If you don't mind, and you can help, PLEASE post an example of how to 
do this.   I really would appreciate it.   I don't know if I missed 
something but there is no example of this scenario.  Of course, 
examples are the key for me to learn these concepts.


Thanks,
Patrick

P.S.  I am able to copy loaded content fine  - it's embedded assets 
that are the biggest challenge.


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Copying an embedded sprite

2007-08-04 Thread {reduxdj}
I am working on *all* actionscript project and i need help from an 
"actionscript code - api sleuth".  I have a little difficulty with the 
some of the api.  I approached turning an embedded graphic asset as a 
sprite into a bitmapData object.  I hit a roadblock on copying a a 
sprite with this embedded asset into another sprite.   I tried 
casting... I tried a bunch of different ways, but got an error - illegal 
bitmapData object etc..


If you don't mind, and you can help, PLEASE post an example of how to do 
this.   I really would appreciate it.   I don't know if I missed 
something but there is no example of this scenario.  Of course, examples 
are the key for me to learn these concepts.


Thanks,
Patrick

P.S.  I am able to copy loaded content fine  - it's embedded assets that 
are the biggest challenge.


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com