PDA

View Full Version : "window" component, accessing loaded content


Paul Ferrie
12-13-2005, 11:41 AM
Hi,

can someone tell me how i am supposed to access loaded content into the "window" component?
I have a form that is loaded into the "window" component. Now once the form as been submitted i want to clear all fields. I know i code do this from within the loaded content but i would like to clear the fields when i use the close button to close the window.
I did try

on(click){
this.contentPath.mc.textField1.text=""
this.contentPath.mc.gotoAndStop(1)
}

Anyone any ideas???

FormerSwinger
12-13-2005, 12:06 PM
maybe content instead of contentPath