On May 22, 2006, at 9:05 PM, jeremy lu wrote:

>
> how about this ? (adding a slash)
>
> <mx:Script source="/Assets/Models/touchPlans.as"/>

Tried that. Note that all other references to assets are relative, 
though root works as well. Not being adept in AS, I'm wondering if 
the AS file is malformed?  Here again is the AS code, straight from 
the included file:

// ActionScript file

[Bindable]
public var touchPlanDP:Array = [
         {Thumb:'Assets/Images/cardPlan.png',
         Name:'Welcome Card'},

         {Thumb:'Assets/Images/eCardPlan.png',
         Name:'E-Card'},

         {Thumb:'Assets/Images/multiCardPlan.png',
         Name:'Multi-Card'},
];





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to