# Flash to dreamweaver problems

**URL:** https://forum.kirupa.com/t/flash-to-dreamweaver-problems/33934
**Category:** flash
**Created:** [October 25, 2003, 12:41pm UTC](https://forum.kirupa.com/t/flash-to-dreamweaver-problems/33934 "2003-10-25T12:41:28Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![robbie\_star](https://avatars.discourse-cdn.com/v4/letter/r/ee7513/32.png) [@robbie\_star](https://forum.kirupa.com/u/robbie_star)
#### Post date: [October 25, 2003, 12:41pm UTC](https://forum.kirupa.com/t/flash-to-dreamweaver-problems/33934/1 "2003-10-25T12:41:28Z")

</div>

Hi

I realy need some help to sort this out. I have put all the swf files into DW in a fla folder. then i create a main html page and put the main.swf in it.

it works fine but the main.swf has external swf files to make the main.swf complet. it all works fine in flash player but when viewed in DW it only plays the main.swf and will not play any of the external swf WHY???

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 25, 2003, 12:47pm UTC](https://forum.kirupa.com/t/flash-to-dreamweaver-problems/33934/2 "2003-10-25T12:47:45Z")

</div>

how are you loading the external swfs??? i think it a targetting problem can you zip the files so we can look at them?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 25, 2003, 12:57pm UTC](https://forum.kirupa.com/t/flash-to-dreamweaver-problems/33934/3 "2003-10-25T12:57:37Z")

</div>

Hi grimdeath

This what im using to load a music player.  
player1\_mc.loadMovie(“player1.swf”)

It works fine when viewed in flash player but it will not load into the main movie in DW

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 25, 2003, 1:01pm UTC](https://forum.kirupa.com/t/flash-to-dreamweaver-problems/33934/4 "2003-10-25T13:01:14Z")

</div>

And this what im using to load external text swf’s in to the main movie. this AS sits on the buttons in the main swf

b1.onRelease = function() {  
if (\_root.section != “text1.swf”) {  
\_root.section = “text1.swf”;  
\_root.transition.gotoAndPlay(“closing”);  
}  
};  
b2.onRelease = function() {  
if (\_root.section != “text2.swf”) {  
\_root.section = “text2.swf”;  
\_root.transition.gotoAndPlay(“closing”);  
}  
};  
b3.onRelease = function() {  
if (\_root.section != “text3.swf”) {  
\_root.section = “text3.swf”;  
\_root.transition.gotoAndPlay(“closing”);  
}  
};  
function preload(theClip) {  
if (!theClip.doneLoading) {  
if (theClip.getBytesLoaded() == theClip.getBytesTotal()) {  
theClip.doneLoading = true;  
\_root.transition.gotoAndPlay(“opening”);  
}  
percentLoaded = (theClip.getBytesLoaded()/theClip.getBytesTotal());  
\_root.transition.loadBar.\_width = 100\*percentLoaded;  
\_root.transition.loadBarBorder.\_alpha = 100;  
}  
}

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 25, 2003, 1:10pm UTC](https://forum.kirupa.com/t/flash-to-dreamweaver-problems/33934/5 "2003-10-25T13:10:17Z")

</div>

well the problem i think is you have the swf with the html file in one directory and the player1.swf in the fla folder try putting the player1.swf in the same folder as the html file and the main.swf im sure that will take care of your problem

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 25, 2003, 1:21pm UTC](https://forum.kirupa.com/t/flash-to-dreamweaver-problems/33934/6 "2003-10-25T13:21:01Z")

</div>

Hey thanks Grimdeath u are a star it all works. When i read your repley to do this i then rembered that i had the same problem before with some flash buttons that would not play because they where in the fla’s folder and not in the html folder.

Once again thanks

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 25, 2003, 1:25pm UTC](https://forum.kirupa.com/t/flash-to-dreamweaver-problems/33934/7 "2003-10-25T13:25:20Z")

</div>

no problem sometimes simple things drive us nuts 😉
