[Laszlo-user] Dynamic resources?

Michael Gregor mgregor at laszlosystems.com
Thu Mar 16 13:28:26 EST 2006


a <resource> needs a src attribute to compile...




On Thu, Mar 16, 2006 at 10:09 AM, P T Withington wrote:

> does foo.setAttribute('src', ...) not work?
>
> On 2006-03-16 08:24 PST, Michael Gregor wrote:
>
>>
>> How would one load resources based on information in a dataset?
>>
>> or in other words.
>>
>> I have a set of 6 jpegs which are specified in an XML document.  I 
>> want
>> to have those jpegs included as resources in my app at compile time.
>> I want the src attribute of a <resource> tag to be programatically
>> specified.  Is this possible? If not, what is the best way to 
>> 'preload'
>> these jpegs so that the app has access to them on the client upon
>> startup?
>>
>> thanks,
>>
>> MG
>>
>> _______________________________________________
>> Laszlo-user mailing list
>> Laszlo-user at openlaszlo.org
>> http://www.openlaszlo.org/mailman/listinfo/laszlo-user
>



More information about the Laszlo-user mailing list