realbasic-plugins
[Top] [All Lists]

Re: Accessing resources within the .rbx?

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: Accessing resources within the .rbx?
From: Jonathan Johnson <jonj at realsoftware dot com>
Date: Wed, 20 Sep 2006 22:33:02 -0500
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <C8D3983D-F1C8-433C-A035-5652958BDEC7 at actualtechnologies dot com>

On Sep 20, 2006, at 9:07 PM, Jonathan Monroe wrote:


Is there any way for a plugin to load a resource from it's fellow .rbx file? For example, is it possible to ship a JPEG inside the plugin's .rbx, and then have the plugin load the JPEG's bytes and do something with them at run time?

No, there is no way to do this currently. However, something you could consider doing, aside from filing a feature request, is embedding it in the plugin as a constant, and loading it from memory.

HTH,
Jon


--
Jonathan Johnson
jonj at realsoftware dot com
REAL Software, Inc.


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>