List Info

Thread: Flex Issue




Flex Issue
country flaguser name
United States
2007-02-28 14:16:42
I am getting an error on this line:

<mx:Image source="Embed('assets/MyImage.jpg')"
scaleContent="true"
mouseOver="this.currentState='expanded'"
mouseOut="this.currentState''"/>

The error is:

1084: Syntax error: expecting rightbrace before .

Why are they saying that it is looking for a rightbrace? I
am hard coding
the image, not data binding it.

Thanks,


-- 
Bruce Sorge

"I'm a mawg: half man, half dog. I'm my own best
friend!"


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http:
//www.adobe.com/products/coldfusion/flex2/

Archive: http://www.houseoffusion.com/groups
/CF-Community/message.cfm/messageid:229150
Subscription: http://www.houseoffusion.com/groups/CF-Community/s
ubscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/un
subscribe.cfm?user=22184.15789.5

Re: Flex Issue
country flaguser name
United States
2007-02-28 14:38:14
mouseOut="this.currentState''"

should be

mouseOut="this.currentState=''"
or mouseOut="this.currentState=null"

On 2/28/07, Bruce Sorge <sorgebgmail.com> wrote:
>
> I am getting an error on this line:
>
> <mx:Image source="Embed('assets/MyImage.jpg')"
scaleContent="true"
> mouseOver="this.currentState='expanded'"
mouseOut="this.currentState''"/>
>
> The error is:
>
> 1084: Syntax error: expecting rightbrace before .
>
> Why are they saying that it is looking for a
rightbrace? I am hard coding
> the image, not data binding it.
>
> Thanks,
>
>
> --
> Bruce Sorge
>
> "I'm a mawg: half man, half dog. I'm my own best
friend!"
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more
productivity.
http://www.a
dobe.com/products/coldfusion

Archive: http://www.houseoffusion.com/groups
/CF-Community/message.cfm/messageid:229154
Subscription: http://www.houseoffusion.com/groups/CF-Community/s
ubscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/un
subscribe.cfm?user=22184.15789.5

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )