Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
Loso #1
Problems running custom components with Flex
Hi,
I'm trying to follow the tutorial in this PDF document (Chapter 2:Creating
Basic Components in Flash MX 2004):
[url]http://download.macromedia.com/pub/documentation/en/flex/15/flex_components_them[/url]
es.pdf
I'm using Flex 1.5 and Flash 8 IDE
For some reason and although I followed the authors instructions Flex fails
recognizing my new component:
The following code:
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns="*">
<greensquare/>
</mx:Application>
Returns:
1 Error found.
Error /main.mxml:3
Don't know how to parse element "*:greensquare". It is not a known type or a
property of mx.core.Application.
I followed the author's troubleshooting comments regarding this error message:
This means that the compiler could not find the SWC file, or the contents of
the SWC file did not list the component. The MXML tag must match the symbolName
for the component. Also, ensure that the SWC file is in a directory that Flex
searches, and ensure that your xmlns property is pointing to the right place.
Try moving the SWC file to the same directory as the MXML file and setting the
namespace to "*" as the following example shows: <mx:Application
xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns="*">
Checked and rechecked but could not find the problem.
Any ideas?
Thanks in advance,
Loso.
Loso Guest
-
running 32bit dcom components on x64
I'm running windows 2008 x64, and have currently a 32 bit component called: ACBPdf. It's used in creation of PDF documents from data pulled from... -
How to load Flex 2.0 components on Flex 1.5 application
Hello, I am currently working on an Flex 1.5 application and my client wants to import 2.0 components into it. Can we achieve that? if so how is... -
Organizing Flex Custom components
This may sound dumb, but for me unorganized projects is one of my biggest pet peves. I have a project that I am working on that uses alot of... -
can custom-made flash components use flex drag-and-drop?
hello, I am making a visual component in the flash IDE that I want to then incorporate into a flex application. If possible, I would like to have... -
Cannot find Flex server when running app in Flex Builder1.5
:confused; After installing Flex and FlexBuilder 1.5 and setting up the "Sites" as described in the tutorials when running a flex ap in Flex... -
Loso #2
Re: Problems running custom components with Flex
I found the problem; I'd like to post it here because I think other developers
might equator this?
The first tutorial in this article did not work for me (F8 and Flex1.5), the
sample did work when I placed the component class in a package.
Loso Guest
-
rajupchn #3
While running flex application for nearly 2 weeks continuously. What will happen?
Get me and share the experience.
rajupchn Guest



Reply With Quote

