Forums
This topic is locked
Dynamic Image Variable Update
Posted 02 Jan 2004 23:07:45
1
has voted
02 Jan 2004 23:07:45 Jason Holm posted:
Ok, I know about the Data-Driven Graphic Wizard in Fireworks, but I'd like to be able to do that through Dreamweaver itself.What I'm trying to do is this:
<img src="www.geocities.com/mrkodytoon/image1.jpg" border=0>www.geocities.com/mrkodytoon/image1.jpg I make an image (a png with layers) with a text variable in Fireworks.
<img src="www.geocities.com/mrkodytoon/image2.jpg" border=0>www.geocities.com/mrkodytoon/image2.jpg I open the page where I want to insert the customized image in Dreamweaver.
<img src="www.geocities.com/mrkodytoon/image3.jpg" border=0>www.geocities.com/mrkodytoon/image3.jpg I click on a custom-made Dreamweaver object, which asks for a string that will become a variable.
<img src="www.geocities.com/mrkodytoon/image4.jpg" border=0>www.geocities.com/mrkodytoon/image4.jpg The object magically transfers the variable into Fireworks, where it opens the png image and puts the variable in just the right spot.
<img src="www.geocities.com/mrkodytoon/image5.jpg" border=0>www.geocities.com/mrkodytoon/image5.jpg Saving a copy of the png as a transparent gif in a predetermined folder, we hop back to dreamweaver to see the customized gif sitting right where it belongs.
Now, I already have objects which search for a file, see if it exists, append to them, and plop down a premade image, complete with rollovers, javascript for popups and all that jazz. But for all my searching, I just CANNOT seem to find a way to send the variables I define in a Dreamweaver object to Fireworks so it can generate the image on the fly. I found FWLaunch.execJsInFireworks() but haven't figured out how to implement it, even if it is the right thing to be using.
Any thoughts? I bet I'm making this way too complicated, but somehow, it just keeps eluding me.
EDIT: I apparently can't post images in here properly, either. Links for now.
Edited by - Jaleho on 02 Jan 2004 23:09:25