Ah, I'd totally forgotten to do that, which is annoying as it was
about the first thing I learned with the javascript patch.

I'm now able to access images in various ways by setting the input to
__virtual, but I'm still stuck when it comes to modifying the object.

Is there a way to determine the properties of an object in javascript,
or can anyone explain the workings of CIImages in javascript?

Thanks

Chris


On 10/04/2008, Troy Koelling <[EMAIL PROTECTED]> wrote:
> Are you checking whether the __structure != null? A common problem that
> people face is that the script will run once with all inputs null and fail
> if you try to do anything with them. It may not be the values inside the
> structure, but the structure itself which is null.
>
> After the first run (compilation run) the structure will have a value and
> you can access elements inside it.
>
> Troy
>
>
> On Apr 9, 2008, at 4:29 PM, Markus Hamburger wrote:
>
> sorry for bothering with trivial stuff like this but i just cant get it
> right :)
> i am creating a structure in a JS-patch just by putting out a array of
> booleans on the out-port. when i try to access this structure in another
>  JS-patch i get TypeError: Null Value compiler fault in the JS-patch..
> In all examples i've seen people are just using __structure on the in-port
> as a normal array.. what is the trick? :)
>
> here is the patch and the structure i am trying to access:
> http://skitch.com/m4rkus/jg1r/wii-sequencer-editor
>
> (first i thought JS failed to convert "1" into a boolean, but i get this
> error regardless of how i access the struct,
> i tried " var tmpvar = sequence[0]; with TypeError as result as well)
>
>
>
> --
> markus hamburger
> www.uprough.net
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Quartzcomposer-dev mailing list
> ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/quartzcomposer-dev/tkoelling%40apple.com
>
> This email sent to [EMAIL PROTECTED]
>
>  _______________________________________________
>  Do not post admin requests to the list. They will be ignored.
>  Quartzcomposer-dev mailing list
> ([email protected])
>  Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/quartzcomposer-dev/psonice%40gmail.com
>
>  This email sent to [EMAIL PROTECTED]
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to