# Scrollbar in embedded SWF

**URL:** https://forum.kirupa.com/t/scrollbar-in-embedded-swf/186323
**Category:** flash
**Created:** [April 20, 2006, 3:10pm UTC](https://forum.kirupa.com/t/scrollbar-in-embedded-swf/186323 "2006-04-20T15:10:24Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![fournstar](https://avatars.discourse-cdn.com/v4/letter/f/b3f665/32.png) [@fournstar](https://forum.kirupa.com/u/fournstar)
#### Post date: [April 20, 2006, 3:10pm UTC](https://forum.kirupa.com/t/scrollbar-in-embedded-swf/186323/1 "2006-04-20T15:10:24Z")

</div>

[LEFT]We’re embedding an SWF in another flash file that will be exported out as an EXE… When the file is played just as the SWF, the scrollbars are fine… BUT when played from the flash EXE file, non of the scroll bars work properly! We are trying to scroll using the TEXT AREA COMPONENT that is pulling in XML.

Any help will be greatly appreciated!!!  
[/LEFT]

---

<div class="post-metadata">

### Author: ![JoshuaJonah](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joshuajonah/32/1775_2.png) [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)
#### Post date: [April 20, 2006, 3:13pm UTC](https://forum.kirupa.com/t/scrollbar-in-embedded-swf/186323/2 "2006-04-20T15:13:45Z")

</div>

post your code and describe the structure better.

> When the file is played just as the SWF, the scrollbars are fine…

Do you mean your playing the mother clip? or the embedded clip by itself?  
If it’s the embedded clip, it’s probably either a \_root issue or a component embedding issue.

---

<div class="post-metadata">

### Author: ![lunatic](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@lunatic](https://forum.kirupa.com/u/lunatic)
#### Post date: [April 20, 2006, 3:46pm UTC](https://forum.kirupa.com/t/scrollbar-in-embedded-swf/186323/3 "2006-04-20T15:46:43Z")

</div>

Yep, sounds like a path issue to me. 🙂

---

<div class="post-metadata">

### Author: ![fournstar](https://avatars.discourse-cdn.com/v4/letter/f/b3f665/32.png) [@fournstar](https://forum.kirupa.com/u/fournstar)
#### Post date: [April 20, 2006, 3:50pm UTC](https://forum.kirupa.com/t/scrollbar-in-embedded-swf/186323/4 "2006-04-20T15:50:15Z")

</div>

> [@lunatic](#):
>
> Yep, sounds like a path issue to me. 🙂

We did have path issues and we had to change everything to \_parent, but where’s the path issue in the scroll component, cause our text is coming in fine, just not scrolling right… when you scroll it, it just selects all the text and wont let you scroll back up.

---

<div class="post-metadata">

### Author: ![lunatic](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@lunatic](https://forum.kirupa.com/u/lunatic)
#### Post date: [April 20, 2006, 3:52pm UTC](https://forum.kirupa.com/t/scrollbar-in-embedded-swf/186323/5 "2006-04-20T15:52:47Z")

</div>

post your code or post your files - hard to tell what is going on from your description 🙂

---

<div class="post-metadata">

### Author: ![JoshuaJonah](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joshuajonah/32/1775_2.png) [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)
#### Post date: [April 20, 2006, 3:53pm UTC](https://forum.kirupa.com/t/scrollbar-in-embedded-swf/186323/6 "2006-04-20T15:53:13Z")

</div>

maybe you should post the FLA and code if possible

Edit: too slow:)

---

<div class="post-metadata">

### Author: ![fournstar](https://avatars.discourse-cdn.com/v4/letter/f/b3f665/32.png) [@fournstar](https://forum.kirupa.com/u/fournstar)
#### Post date: [April 20, 2006, 4:13pm UTC](https://forum.kirupa.com/t/scrollbar-in-embedded-swf/186323/7 "2006-04-20T16:13:41Z")

</div>

ok…  
Here’s the FLA… just a test… try scrolling w/ the arrows…

Test2.SWF is the mother movie… it loads in test.SWF

[csminteractive.com/sean/Test.zip](http://csminteractive.com/sean/Test.zip)

Thanks for the help

---

<div class="post-metadata">

### Author: ![lunatic](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@lunatic](https://forum.kirupa.com/u/lunatic)
#### Post date: [April 20, 2006, 4:35pm UTC](https://forum.kirupa.com/t/scrollbar-in-embedded-swf/186323/8 "2006-04-20T16:35:56Z")

</div>

I see what you mean and that is very odd . . .

---

<div class="post-metadata">

### Author: ![fournstar](https://avatars.discourse-cdn.com/v4/letter/f/b3f665/32.png) [@fournstar](https://forum.kirupa.com/u/fournstar)
#### Post date: [April 20, 2006, 5:20pm UTC](https://forum.kirupa.com/t/scrollbar-in-embedded-swf/186323/9 "2006-04-20T17:20:29Z")

</div>

> [@lunatic](#):
>
> I see what you mean and that is very odd . . .

Thank u all for the help! We fixed it

instead of loading the 2nd SWF into a movie clip “loadMovie”, we changed it to “loadMovieNum”… and everything seems to be working fine…

Thanks again

---

<div class="post-metadata">

### Author: ![lunatic](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@lunatic](https://forum.kirupa.com/u/lunatic)
#### Post date: [April 20, 2006, 5:29pm UTC](https://forum.kirupa.com/t/scrollbar-in-embedded-swf/186323/10 "2006-04-20T17:29:16Z")

</div>

That’s really odd. The first thing I did when I opened your file was remove the level0 you had in the loadMovie code so it simply loaded into the movieclip and it still had the same problem. Strange that simply loading into a level with loadMovieNum worked better?

---

<div class="post-metadata">

### Author: ![JoshuaJonah](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joshuajonah/32/1775_2.png) [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)
#### Post date: [April 20, 2006, 5:38pm UTC](https://forum.kirupa.com/t/scrollbar-in-embedded-swf/186323/11 "2006-04-20T17:38:11Z")

</div>

And you wonder why there’s so many Flash noobs:D Sometimes flash can just be a pain in the a\*\* for no reason:)

---

<div class="post-metadata">

### Author: ![lunatic](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@lunatic](https://forum.kirupa.com/u/lunatic)
#### Post date: [April 20, 2006, 6:06pm UTC](https://forum.kirupa.com/t/scrollbar-in-embedded-swf/186323/12 "2006-04-20T18:06:07Z")

</div>

lol, include me in that flash noob comment 😛
