<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*"
layout="vertical"
creationComplete = "initApp()">
<mx:Script> ****** error is here *******
<![CDATA[ //ActionScript statements
public function initApp():void
{
mainTxt.text="hello world";
}
]]>
</mx:Script>
<mx:Label id="title"
fontSize="24"
fontStyle="bold"
text="Hello World Example" />
<mx:Label id="subtitle"
fontSize="12"
text="From Programming ActionScript 3.0, Chapter 2:
Getting Started" />
<mx:TextArea id = "mainTxt" width="400"/>
<mx:SWFLoader width="208" height="160"/>
</mx:Application>
--- In [email protected], "Dimitrios Gianninas"
<[EMAIL PROTECTED]> wrote:
>
> Also try to post a portion of your app so we can see what you are
doing, just in case in ain't the error Brian mentions.
>
> Dimitrios Gianninas
> Developer
> Optimal Payments Inc.
>
>
> ________________________________
>
> From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Sterling, Brian
> Sent: Tuesday, May 22, 2007 8:51 PM
> To: [email protected]
> Subject: RE: [flexcoders] Flex beginner cannot run <mx:Script> ....
</mx: Script>
>
>
>
> Make sure you have the right xml namespace attribute on your
application like so:
>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml
<http://www.adobe.com/2006/mxml> " ...
>
> -Brian
>
> ________________________________________
> From: [email protected] <mailto:flexcoders%
40yahoogroups.com> [mailto:[email protected]
<mailto:flexcoders%40yahoogroups.com> ] On Behalf Of henryaydin
> Sent: Tuesday, May 22, 2007 3:01 PM
> To: [email protected] <mailto:flexcoders%
40yahoogroups.com>
> Subject: [flexcoders] Flex beginner cannot run <mx:Script> ....
</mx: Script>
>
> When I try to run my first actionscript application in flex, I get
an
> error:
>
> Could not resolve <mx:Script> to a component implementation
>
> message. I've been trying many ways to pass this error but I
couldn't
> success yet. Pls help me who knows this error. Thanks
>
>
>
>
>
> --
> WARNING
> -------
> This electronic message and its attachments may contain
confidential, proprietary or legally privileged information, which is
solely for the use of the intended recipient. No privilege or other
rights are waived by any unintended transmission or unauthorized
retransmission of this message. If you are not the intended
recipient of this message, or if you have received it in error, you
should immediately stop reading this message and delete it and all
attachments from your system. The reading, distribution, copying or
other use of this message or its attachments by unintended recipients
is unauthorized and may be unlawful. If you have received this e-
mail in error, please notify the sender.
>
> AVIS IMPORTANT
> --------------
> Ce message électronique et ses pièces jointes peuvent contenir des
renseignements confidentiels, exclusifs ou légalement privilégiés
destinés au seul usage du destinataire visé. L'expéditeur original
ne renonce à aucun privilège ou à aucun autre droit si le présent
message a été transmis involontairement ou s'il est retransmis sans
son autorisation. Si vous n'êtes pas le destinataire visé du présent
message ou si vous l'avez reçu par erreur, veuillez cesser
immédiatement de le lire et le supprimer, ainsi que toutes ses pièces
jointes, de votre système. La lecture, la distribution, la copie ou
tout autre usage du présent message ou de ses pièces jointes par des
personnes autres que le destinataire visé ne sont pas autorisés et
pourraient être illégaux. Si vous avez reçu ce courrier électronique
par erreur, veuillez en aviser l'expéditeur.
>