Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 23rd, 2024, 3:09 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Importing Images into Clones
PostPosted: October 28th, 2010, 3:48 am 
Offline

Joined: July 12th, 2009, 10:33 am
Posts: 124
Hi

Has anyone tried allowing the user to import difference images into cloned objects? The crux is that I want a different image in each clone, else it is straightforward. I have tried using 'this' in the filename to refer to an object set on the clone ie:

Set...
var CloneImage1 = Clone[i].GetChild(0)
CloneImage1.ImportImage = "D:\\test1.jpg"

Then placing the following in the image object filename box...
<this.ImportImage>

The idea being that the chosen image location is then updated on the ImportImage object when the user selects an image using the browser.

Fiddled a bit, but can't get it to work.

I have found one solution which should work, which is to have a number of placeholders in the clone, each linked to a variable. The user images can then be imported into each of the placeholders and they can cycle through until they find the image they want to use. I would prefer something which avoids the cycling through if possible though.

Thanks if you can help.
Cheers
Dan

_________________
V9.6. Windows 10. Testing on PC, Mac, iPad.


For this message dan1 has been thanked by : mackavi


Last edited by dan1 on October 28th, 2010, 4:48 am, edited 3 times in total.

Top
 Profile Visit website  
 
 Post subject: Re: Importing Images into Clones
PostPosted: October 28th, 2010, 4:18 am 
Offline

Joined: July 12th, 2009, 10:33 am
Posts: 124
Actually, forget this. I think I just need SetImage.
The wonders of caffeine.
:)

_________________
V9.6. Windows 10. Testing on PC, Mac, iPad.


For this message dan1 has been thanked by : mackavi


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 59 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group