beautypg.com

Dreamweaver.canupdatesmartobjectfromoriginal(), Dreamweaver.updatesmartobjectfromoriginal() – Adobe Dreamweaver API Reference CS5 User Manual

Page 58

background image

53

DREAMWEAVER API REFERENCE

Photoshop integration

Last updated 8/27/2013

Returns
Absolute local file path.

dreamweaver.canUpdateSmartObjectFromOriginal()

Availability
Dreamweaver CS4.

Description
This function answers the question whether a Smart Object can be updated from its original asset file.

Arguments
Numeric status of Smart Object.

ImageManipulatorSettings:GetSmartObjectStatus()

returns this status.

Returns
A Boolean value:

true

if an update from the original image can be performed according to the status;

false

otherwise.

dreamweaver.updateSmartObjectFromOriginal()

Availability
Dreamweaver CS4.

Description
This function updates a web image based on the current contents of an original asset file.

Arguments
Absolute local URL of a web image.

Returns
None.