
January 5th, 2004, 03:06 PM
|
|
Registered User
|
|
Join Date: Dec 2003
Location: Olathe, KS
Posts: 13
Time spent in forums: 1 m 18 sec
Reputation Power: 0
|
|
|
Dynamic Fireworks Selection
Probably a noob question...
Been doing a lot of Dreamweaver extensions, and one of them sends info to Fireworks to generate a new image dynamically (based on user selectedvariables).
I figured out how to get the code through the History window and now I can use
FWLaunch.execJsInFireworks('fw.getDocumentDOM().moveSelectionBy({x:10,y:10}, false, false);')
Which works great - assuming I have something selected. How do I select an element dynamically via dreamweaver?
Say I have a Text Box labeled "TextBox1", how can I tell it to do this (with the right syntax):
FWLaunch.execJsInFireworks('fw.getDocumentDOM().selectElement(TextBox1);');
(Since selectElement isn't a valid funtion)
|