Using Library on FLEX

Posted by takomat 
Using Library on FLEX
August 18, 2008 04:48PM
Hi,
we are using the flex builder to build our AS-Classes.
(see tutorial on http://adobe.edgeboss.net/download/adobe/adobetv/gotoandlearn/Flex4Flash.mov )
how can i implement flashEff to flex.

thanx.
Re: Using Library on FLEX
August 20, 2008 06:39AM
Our components were created using Flash and have never been tested with Flex.

However, you could probably use them in your Flex projects if you import the .swc files corresponding to the FlashEff component and the FlashEff patterns you would like to use.

Also, if you would only like to use Flex builder to write the AS3 classes for your Flash projects, you can definitely do that. You can instantiate the FlashEff component and FlashEff patterns just as you would inside the frames of your .fla file. The rest is AS3... Don't forget that you have to place the FlashEff component and FlashEff pattern you use, in the Library of your Flash project.
Re: Using Library on FLEX
August 20, 2008 07:43AM
yes, i used flex / fdt to write the as3 classes for my flash file.
and iam not able to add the com.jumpey packages to my source folder.
so, i didnt get any codehinding ... an everywhere i used:
var myVar:FlashEff = new FlashEff()
or something like this
public function setTextEffect(TxtEff:FlashEff){
			TEXT = TxtEff;
}

the flex compiler throw's some errors:

Severity and Description Path Resource Location Creation Time Id
1046: Typ wurde nicht gefunden oder war keine Kompilierungszeit-Konstante: FlashEff. NBT_Messestand_08/[source path] as/com/takomat/projects/presenter effectControll.as line 41 1219217951783 4100

so perhaps there's a solution in the future ;)
Sorry, you do not have permission to post/reply in this forum.