paulswansea
unread,Jul 23, 2008, 7:16:07 AM7/23/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SWFObject
I'm looking for a way to dynamically change variables within a flash
file for loading images based on what javascript sends to it,
currently i'm testing by using the following in a loop triggered at a
specific time :
var flashvars = {
imagename: imagelist[curImage].smlsrc,
imagemsg: imagetext[curImage]
};
var params = {};
var attributes = {};
swfobject.embedSWF("flash/header.swf", "topbarimage", "900", "150",
"8.0.0", "swfobject/expressInstall.swf", flashvars, params,
attributes);
it consists of the image location, and some text to go with that
image, but because i'm embedding a new object every time, the whole
flash object flickers as it's reloaded, which i dont want, i'd just
like to pass it a new image name, and image message when needed, but
without embedding a new swf every time, just passing variables to the
current one, can you help please!?