header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
mark
Points:0
Posts:0

3/31/2011 3:53:11 PM

Title: flex 4: arraycollections


i just installed flex4 and i 'm getting this problem:

if i use : xmlns:mx="library://ns.adobe.com/flex/halo" - then i can create an arraycollection without any code errors - like [Bindable]private var myArrayCollection:ArrayCollection;
- but i cant create an <mx: datagrid /> mxml tag because it's looking for me to use xmlns:mx="library://ns.adobe.com/flex/mx".

and the opposite is obviously the case : if i use xmlns:mx="library://ns.adobe.com/flex/mx" i cant create arraycollections but can create datagrid mxml tags.

what's going on? pulling my hair out.
mark




1
Harry Crist
Points: 0
Posts:0
4/1/2011 12:01:29 AM



I used following in my application and did not get any such conflict


<?xml version="1.0" encoding="utf-8"?>
<s:Application  xmlns:fx="http://ns.adobe.com/mxml/2009" 
			   xmlns:s="library://ns.adobe.com/flex/spark" 
			   xmlns:mx="library://ns.adobe.com/flex/halo" minWidth="1024" minHeight="768">
	<fx:Declarations>
		<!-- Place non-visual elements (e.g., services, value objects) here -->
	</fx:Declarations>
	
	<mx:DataGrid>
		
	</mx:DataGrid>
</s:Application>



Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 4+4 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions