[Flash CS4][Dimension Change]

Dear All,
Just now I started System Events scripting and I am not well versed with it. With the below code I am able to change height of the flash document what needs to done for changing the width as well.


set SavePath to "Macintosh:SO_Cache:FlashCS4:Testing:Testing.fla" as string
tell application "Adobe Flash CS4"
	activate
end tell
tell application "System Events"
	tell process "Adobe Flash CS4"
		tell menu bar 1
			tell menu bar item "Modify"
				tell menu "Modify"
					click menu item "Document..."
					keystroke "600 px"
					keystroke return
				end tell
			end tell
		end tell
	end tell
end tell

Please let me know if some one can help me out.

Regards,
Poo

We are here to help you out. Here you go…


set SavePath to "Macintosh:SO_Cache:FlashCS4:Testing:Testing.fla" as string
tell application "Adobe Flash CS4"
	activate
end tell
tell application "System Events"
	tell process "Adobe Flash CS4"
		tell menu bar 1
			tell menu bar item "Modify"
				tell menu "Modify"
					click menu item "Document..."
					keystroke "600 px"
					keystroke tab
					keystroke "500 px"
					keystroke return
				end tell
			end tell
		end tell
	end tell
end tell

Regards,
Rajeev