# Value from external SWF to dynamic textfield in mainMovie

**URL:** <https://forum.kirupa.com/t/value-from-external-swf-to-dynamic-textfield-in-mainmovie/263986>\
**Category:** flash\
**Created:** [June 21, 2008, 2:31pm UTC](https://forum.kirupa.com/t/value-from-external-swf-to-dynamic-textfield-in-mainmovie/263986 "2008-06-21T14:31:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![charles54](https://avatars.discourse-cdn.com/v4/letter/c/67e7ee/32.png) [@charles54](https://forum.kirupa.com/u/charles54)\
**Post date:** [June 21, 2008, 2:31pm UTC](https://forum.kirupa.com/t/value-from-external-swf-to-dynamic-textfield-in-mainmovie/263986/1 "2008-06-21T14:31:55Z")

</div>

Whith a button I close an external loaded SWF and return to a labeled frame in my main movie. I use the following AS on the timeline of the SWF

```auto
 [LEFT]knop.onRelease = function(){[/LEFT]

 
 
[LEFT] _level0.gotoAndStop("bestS1");

}[/LEFT]

 
 

```

[LEFT]This works as expected perfect.[/LEFT]

[LEFT]In this labeled frame “bestS1” in the Mainmovie is a dynamic textfield with the instancenaam **Scode** and a var. name **Scodetab**.[/LEFT]

[LEFT]After closing the external SWF and returning to my frame in the main Movie I want the productnumber from the item showed in the SWF to appear in the dynamic textfield in the main Movie.[/LEFT]

[LEFT]Annyone a bright idea please??[/LEFT]
