Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Frist time poster, several questions



This makes things a bit tricky. I tried to actually load the images outside the iterator and then place the images into an array or a structure using the Javascript patch. No such luck. Placing and image into a Javascript input changes it into NSNull.

The JavaScript does not support image objects.

Further, for some reason, I can only take one Iterator Variables inside the iterator. If I try running the "Current Index" to more than one patch, it reads as 0 to all other patches.

You're likely doing some incorrect operation as it is definitely possible to have more than one Iterator Variables inside the Iterator macro patch, or connect the output of an Iterator variable patch to several other patches.


So, the simple question is... Is there any way to get multiple numbered images into an iteration macro? Would building the structure in cocoa and then passing it to a published input work?

yes, that is the way to go right now: you should be able to pass an array of NSImages, CGImages, CIImages... to a structure input of a composition.


________________________________________________________
Pierre-Olivier Latour                            email@hidden
Quartz Composer Architect                Graphics & Imaging Team

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden
References: 
 >Frist time poster, several questions (From: Andrei Freeman <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.