|
Prev: Pan zoom in and out with sprites
Next: Quiz Project
From: jclegs on 7 May 2008 08:13 Thanks for the quick reply. Can I change that line of code you give me so director will open a new "open" dialog window like the code I quoted earlier?
From: Mike Blaustein on 7 May 2008 08:17 I suspect so. Give it a shot and find out. You;ll need to chaneg the FileIO box to look for images instead of text files... I don;t use FileIO, so I can;t help you with that part. Then the bits about the reading and setting of the text can be removed and replaced with what I posted a minute ago.
From: jclegs on 7 May 2008 09:41 put theFile into field "myField" when I change this to put theFile into #bitmap "myImage" it says expected end of statement. Don't know what I'm doing wrong. Any ideas? Thanks
From: UdoGre on 7 May 2008 09:54 Hi, just use what Mike told you: member("myImage").filename=filename That should do. And maybe use another name for filename, since it's also a reserved property name.
From: Andrew Morton on 7 May 2008 10:22
UdoGre wrote: > just use what Mike told you: > > member("myImage").filename=filename > > That should do. And maybe use another name for filename, since it's > also a reserved property name. Also, it will change the member's name during authoring, so it's neater to do m=member("myImage") savedName=m.name m.filename=newFilename m.name=savedName Andrew |