473,508 Members | 2,168 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Trouble with custom namespace flex 2 (Could not resolve component implementation)

6 New Member
I feel like this must be addressed somewhere, but I cannot seem to find a good explanation, so a link somewhere (or an explanation) would be much appreciated.

Using Adobe Flex Builder 2.0.1.

I created a custom component based on Canvas. Added a few items and a little script logic.

I saved the component in projectFolder/data_access/DataSelector.mxml and its actionscript in projectFolder/data_access/DataSelector.as.

When I returned to the main application "DataSelector" was listed as a custom component. I dragged one onto the stage, where it showed up.

However, when a try to compile, I keep getting the error: "Could not resolve <ns1:DataSelector> to a component implementation.".

Looking at the code of the main file I see:

Expand|Select|Wrap|Line Numbers
  1. <mx:Application xmlns:ns1="*" xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" initialize="onInit();">
  2. . . .
  3. <ns1:DataSelector x="48" y="10">
  4. </ns1:DataSelector>
My question is two fold:

1) How do I make this compile (any method)
2) How do I assign a custom namespace to my component (i.e. com.mydomain.*) if this is possible.

~ Christopher

Edit: I should probably note that I have tried changing the ns1 line to xmlns:ns1="data_access.*", xmlns:ns1="data_access.DataSelector", and xmlns:ns1="cal_reader.data_access.*" (where cal_reader is the name of both my application and the folder it is in.
Aug 13 '07 #1
0 4855

Sign in to post your reply or Sign up for a free account.

Similar topics

2
2470
by: Stanimir Stamenkov | last post by:
I'm trying to find out if it is permissible to include a schema document with absent target namespace to a schema with specified target namespace, and if it is, what are the rules to resolve the...
6
3397
by: ryan.d.rembaum | last post by:
Hello, I have code that I wish to use in many web applications. Basically sort of stand utility stuff. So from Visual Studio Project I select add a component and chose Component Class. Lets...
2
2419
by: AMDRIT | last post by:
Hello everyone, I have created a custom component and one of its properties is a class object with it's own properties. During runtime, I can assign values to the class object properties just...
3
7144
by: weston | last post by:
I'm making a foray into trying to create custom vertical scrollbars and sliders, and thought I had a basic idea how to do it, but seem to be having some trouble with the implementation. My...
2
1330
by: Techno_Dex | last post by:
I have a custom object that I have written which is serializable. I have put this object in it's own dll which is referenced by both the WebService and the Application using it. My problem is the...
0
1114
by: Henry Jan | last post by:
Hi All, In VS2005, when I use compilation directive for namespace that contains a control Control1 class, e.g.: #if _Version_A_ namespace Component.Windows.ASuite #elif _Version_B_ ...
1
4761
by: rn5a | last post by:
I have created a custom control button which when clicked displays a message in the JavaScript alert dialog. I could successfully compile the VB class file into a DLL & also could add it to the...
1
4365
by: asharda | last post by:
I have a custom property grid. I am using custom property grid as I do not want the error messages that the propertygrid shows when abphabets are entered in interger fields. The custom property...
5
13304
matheussousuke
by: matheussousuke | last post by:
Hello, I'm using tiny MCE plugin on my oscommerce and it is inserting my website URL when I use insert image function in the emails. The goal is: Make it send the email with the URL...
0
7127
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7391
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7501
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5056
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4713
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3204
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3188
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1564
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
424
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.