We can fix that when we combine multiframe resources into a single PNG ;)
-Max
P T Withington wrote:
Ooh. Too bad we have to create an object and an array for each resource.
On 2006-11-14, at 17:51 EST, Henry Minsky wrote:
LzResourceLibrary.lzfocusbracket_topleft_rsrc={frames:["/legals/lps/components/lz/resources/focus/focus_top_lft.png"],width:7.0,height:7.0}
LzResourceLibrary.lzfocusbracket_topleft_shdw_rsrc={frames:["/legals/lps/components/lz/resources/focus/focus_top_lft_shdw.png"],width:9.0,height:9.0}
LzResourceLibrary.lzfocusbracket_topright_rsrc={frames:["/legals/lps/components/lz/resources/focus/focus_top_rt.png"],width:7.0,height:7.0}
LzResourceLibrary.lzfocusbracket_topright_shdw_rsrc={frames:["/legals/lps/components/lz/resources/focus/focus_top_rt_shdw.png"],width:9.0,height:9.0}
LzResourceLibrary.lzfocusbracket_bottomleft_rsrc={frames:["/legals/lps/components/lz/resources/focus/focus_bot_lft.png"],width:7.0,height:7.0}
LzResourceLibrary.lzfocusbracket_bottomleft_shdw_rsrc={frames:["/legals/lps/components/lz/resources/focus/focus_bot_lft_shdw.png"],width:9.0,height:9.0}
LzResourceLibrary.lzfocusbracket_bottomright_rsrc={frames:["/legals/lps/components/lz/resources/focus/focus_bot_rt.png"],width:7.0,height:7.0}
LzResourceLibrary.lzfocusbracket_bottomright_shdw={frames:["/legals/lps/components/lz/resources/focus/focus_bot_rt_shdw.png"],width:9.0,height:9.0}
So how about the server writes out
"lps/components/..." for the resources, then the runtime can add the
"/legals/" if needed.
That's what Max's app root is. I guess we are stuck with it.
Or maybe that would add too much opportunity for
version skew, and we should write the resources out relative to the
current app working dir. This would make the solo deployment be not so
self contained, but maybe the "external" resources could be packed up
in a separate archive that you could deploy optionally.