Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 5:49 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Reflection effect
PostPosted: February 20th, 2013, 1:30 am 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
dan1 wrote:
Actually - I was very groggy this morning and not thinking things through properly. Each video object will actually be part of a clone, so I would need to refer to the video file dynamically through an array. You don't seem to be able to replace the variable with an array element anyway, so I didn't even think about the dynamic situation. Need a SetVideo, methinks (or just the gif images to work in SetImage).
I did a little testing and experimenting with this. Dan, you stated the problem correctly earlier specifically for .GIF filetypes.-- "SetImage after browsing for an image works fine from within Opus, but doesn't work once published"

In case DW wants to pick-up on this, SetImage itself can work for .gif files when a set of image files are added in advance to the Pub's Additional Resources... but I think you need to use a simple String for the filename by assigning an Alias. object01.SetImage( Aliasname01 ) does in fact work in the published Pub. However, SetImage() does not seem to operate on a string or variable holding a path/filename for the .gif --- whether assigned in opusscript to a variable, or (as per the OP) it is a result of the file-browse action.
BTW, for those others who may be reading --- there is no problem displaying GIF images in the published Pub (for example, in an image object, or as an image property on a vector object). The problem arises when you want the user to select/use a gif image file from their disk.
HTH ( Win Vista 32, OpusPro v7 )

_________________
_good things come to those who wait(0)_


For this message Lar_123 has been thanked by : mackavi


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 23 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