protecting images in standalone?

Robert Mann robmann at gp-racing.com
Thu May 10 22:22:30 EDT 2007


 Sounds Like I should try and put the pictures into customproperties I
created a customproperty for the stack 
ctgfork1 
now how to I put the picture into it, if I open the property inspector I
only can add text to it? I have looked at the manual for customproperties it
shows some code to add the picture to the property but can not get it to
work
tried this

set the itemdelimiter to slash
    put the effective filename of this stack into dbPath
    delete the last item of dbPath
    put "/ctgfork01.PNG" after dbPath	# 
    set the ctgfork1 of stack "specs" to URL "binfile:dbPath"

did not work?

Thanks
Rob


-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Howard
Bornstein
Sent: Thursday, May 10, 2007 3:24 PM
To: How to use Revolution
Subject: Re: protecting images in standalone?

On 5/10/07, Scott Rossi <scott at tactilemedia.com> wrote:
>
> As far as I know, this is the usual method.
>
> However, Trevor Devore once explained that it is possible import a video
> file as a videoClip and play it directly on the card.  You can position
> the
> the movie by declaring a point location, and once playback is done the
> videoClip is closed.
> play videoClip 1 at loc of grc 1
>
> The docs say a videoClip can be QuickTime, AVI or MPEG formats.  And the
> syntax for controlling a videoClip is a little wonky.
> play pause videoClip "myCoolClip.mov"
>

Thanks Scott,

I think I'll stick to the more modern player object. It's only a couple of
extra lines of code to write the file and it works fine!

-- 
Regards,

Howard Bornstein
-----------------------
www.designeq.com
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list