# Flex and fcs3 not playing well together

**URL:** https://forum.kirupa.com/t/flex-and-fcs3-not-playing-well-together/245455
**Category:** Uncategorized
**Created:** [November 29, 2007, 8:52pm UTC](https://forum.kirupa.com/t/flex-and-fcs3-not-playing-well-together/245455 "2007-11-29T20:52:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![pi3rc3](https://avatars.discourse-cdn.com/v4/letter/p/dfb087/32.png) [@pi3rc3](https://forum.kirupa.com/u/pi3rc3)
#### Post date: [November 29, 2007, 8:52pm UTC](https://forum.kirupa.com/t/flex-and-fcs3-not-playing-well-together/245455/1 "2007-11-29T20:52:40Z")

</div>

i havent woked on any as3 projects in a few months but now am getting back at it with a new project although now fcs3 and flex dont want to play well together like they used to.

first problem is when i have a movieclip in fcs3 linked to a AS3 class and put another movieclip inside it (in fcs3) and give it a variable name and try to declare it in the AS3 class

```auto
public class Puzzle1 extends MovieClip{
		public var myImg:MovieClip;

```

it gives me this error: **1151: A conflict exists with definition myImg in namespace internal.**

my second problem is when i try to pass tat same Puzzle1 class to another class it wont let me

```auto
public var pGrid:PGrid = new PGrid(this);

```

it gives me this error: **1067: Implicit coercion of a value of type Class to an unrelated type game.p1:Puzzle1.**  
but if i pass it in as a MovieClip it works fine, this i know can not be right.

any ideas on what the problem could be?
