Well I am using the flash 9 alpha version here is a example of what I am trying to follow, creating assets in flash and using them in flex using flash 9 alpha
http://www.jessewarden.com/flex/flash_flex/captivate/ I thought this would be a Flash9 problem so I created a new Flash document in Flash created a movieclip gave it linkage id StarSymbol and then in the same directory as the fla I added the class package { import flash.display.MovieClip; public class StarSymbol extends MovieClip { public function StarSymbol(){ } } } still get error **Warning** The linkage identifier 'StarSymbol' was already assigned to the symbol 'StarSymbol', and cannot be assigned to the symbol 'StarSymbol', since linkage identifiers must be unique. cheers firdosh On 13 Mar 2007 02:44:12 -0700, Alex Harui <[EMAIL PROTECTED]> wrote:
Flash 9 assets need to be converted to SWCs and used as classes instead of the Embed mechanism. That should mean that the class should not be in the source-path for your project. ------------------------------ *From:* [email protected] [mailto:flexcompone [EMAIL PROTECTED] *On Behalf Of *Firdosh Tangri *Sent:* Monday, March 12, 2007 8:58 PM *To:* [email protected] *Subject:* [flexcomponents] Embedding Flash 9 Assets I am trying to embed a flash 9 movieclip in flex 2 I create a symbol called StarSymbol give it this linkage id com.halo2.components.star.StarSymbol and here is my class in the appropriate directory structure package com.halo2.components.star{ import flash.display.MovieClip; public class StarSymbol extends MovieClip{ public function StarSymbol(){ super(); } } } when I publish i keep getting this error ***Warning** The linkage identifier 'com.halo2.components.star.StarSymbol' was already assigned to the symbol 'StarSymbol', and cannot be assigned to the symbol 'StarSymbol', since linkage identifiers must be unique. * cheers firdosh
