Re: [flexcoders] Simple game question with Flex

2007-12-12 Thread slangeberg
You can embed either an entire swf, or linked assets from its library:

[Embed( '/assets/icon_lib_f9.swf#arrow_rt_wt' )]
public static var arrow_rt_wt : Class;

Where '#arrow...' is a linked asset with the file.swf.

-Scott

On Dec 8, 2007 4:23 AM, pirzadaz_ali [EMAIL PROTECTED] wrote:

   Hi,

 I have board and pieces in PNG format (images) set in Flash 8
 (downloaded trial version of Flash CS3 pro) . Now instead of using
 flash I want to use Flex (as developer in other languages) to code AS
 files to move my pieces etc.

 So basically I want to use Flash to set up my board with images and
 Flex to code the behavior of game somehow calling the pieces etc from
 Flash SWF file which has board and pieces?

 any suggestion will be helpful

 Thanks

  



[flexcoders] Simple game question with Flex

2007-12-08 Thread pirzadaz_ali
Hi,

I have board and pieces in PNG format (images) set in Flash 8 
(downloaded trial version of Flash CS3 pro) . Now instead of using 
flash I want to use Flex (as developer in other languages) to code AS 
files to move my pieces etc. 

So basically I want to use Flash to set up my board with images and 
Flex to code the behavior of game somehow calling the pieces etc from 
Flash SWF file which has board and pieces?

any suggestion will be helpful

Thanks