<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY
style="WORD-WRAP: break-word; khtml-nbsp-mode: space; khtml-line-break: after-white-space">
<DIV dir=ltr align=left><SPAN class=044272419-04052006><FONT face=Arial
size=2>Yes it works fine in a regular embed. Here's the .AS script.
The movieclip bar_mc loads but doesn't show any progression. clip_mc
doesn't seem to load at all.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=044272419-04052006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=044272419-04052006><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Sam
Basile</SPAN><BR><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">Technical
Director<BR>Trekk Cross Media Communications<BR>134 North Main
Street<BR>Rockford, IL 61101<BR>Phone: 866.799.2879 ext. 705<BR>Fax:
815.962.2189<BR><A href="http://www.trekk.com/" target=_blank>Visit our web
site.</A></SPAN> </SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=044272419-04052006></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=044272419-04052006><FONT face=Arial
size=2>~~~~~</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=044272419-04052006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=044272419-04052006><FONT face=Arial
size=2>#include "com.qlod.LoaderClass.as"</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN class=044272419-04052006><FONT face=Arial
size=2>function init() {<BR> Stage.showMenu =
false;<BR> Stage.scaleMode = "noScale";<BR> Stage.align =
"TL";</FONT></SPAN></DIV>
<DIV><SPAN class=044272419-04052006><FONT face=Arial
size=2> <BR> _global.loader = new
com.qlod.LoaderClass();<BR> _global.loader.setTimeoutMs(3000);<BR> _global.loader.setMinSteps(5);<BR> if
(assetPath == undefined) {<BR> assetPath =
"";<BR> }<BR> clips = new
Array();<BR> clips.push({clip:"quickSearch.swf", x:0, y:0, w: 215, h: 416,
col: 0xBEC09D});<BR> clips.push({clip:"mapSearch.swf", x:218, y:273, w:
354, h: 143, col: 0xF8CE87});<BR> clips.push({clip:"smallAd.swf",
x:578, y:273, w: 192, h: 143, col:
0x833626});<BR> clips.push({clip:"homeMovie.swf", x:218, y:0, w: 552, h:
270, col: 0xcccccc});<BR> <BR> for (var i = 0; i <
clips.length; i++) {<BR> // position the holder<BR> var o
= this.createEmptyMovieClip("holder" + i + "_mc", i);<BR> o._x =
clips[i].x;<BR> o._y = clips[i].y;<BR> // draw a
background for the movieclip<BR> o.lineStyle(0, clips[i].col,
0);<BR> o.beginFill(clips[i].col, 100);<BR> o.lineTo(0,
clips[i].h);<BR> o.lineTo(clips[i].w,
clips[i].h);<BR> o.lineTo(clips[i].w, 0);<BR> o.lineTo(0,
0);<BR> o.endFill();<BR> // position the
bar<BR> var q = o.attachMovie("bar_mc", "bar_mc",
1);<BR> q._x = (clips[i].w - q._width)/2<BR> q._y =
(clips[i].h - q._height)/2<BR> // create the holding clip
mc<BR> var r = o.createEmptyMovieClip("clip_mc",
0);<BR> r._visible = false;<BR> var p =
r.createEmptyMovieClip("clip_mc", 0);<BR> <BR> o.id =
i;<BR> o.clip = assetPath + clips[i].clip;<BR> // create
the listening functions<BR> o.loadStart = function ()
{<BR> _global.loader.load(this.clip_mc.clip_mc, this.clip,
this);<BR> }<BR> <BR> o.onLoadStart =
function(loaderObj) {<BR> //trace("Loading of " +
loaderObj.getTarget() + " has
started");<BR> };<BR> o.onLoadProgress =
function(loaderObj) {<BR> var percent =
parseInt(loaderObj.getPercent());<BR>
this.bar_mc.animation_mc.gotoAndStop(percent);<BR> };<BR> o.onTimeout
= function(success, loaderObj) {<BR> //trace("Loading of " +
loaderObj.getTarget() + " has timed
out");<BR> };<BR> o.onLoadComplete = function(success,
loaderObj) {<BR> this.bar_mc._visible =
false;<BR> this.clear();<BR> this.clip_mc._visible
=
true;<BR> this._parent.loadNext(this.id);<BR> };<BR> }<BR> loadNext(-1);<BR>}<BR>function
loadNext (id) {<BR> var i = ((id + 1) >= clips.length) ? -1 : id +
1;<BR> if (i != -1){<BR> var o = this["holder" + i +
"_mc"];<BR> o.loadStart();<BR> }<BR>}</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN class=044272419-04052006><FONT face=Arial
size=2>init();</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> swfobject-bounces@lists.deconcept.com
[mailto:swfobject-bounces@lists.deconcept.com] <B>On Behalf Of </B>Geoff
Stearns<BR><B>Sent:</B> Thursday, May 04, 2006 2:07 PM<BR><B>To:</B>
swfobject@lists.deconcept.com<BR><B>Subject:</B> Re: [SWFObject] SWFObject and
External Movies<BR></FONT><BR></DIV>
<DIV></DIV>i've used swf files for preloading on projects without any issues -
have you tested it with a 'normal' embed vs. the swfobject, and made sure that
you have all the same parameters and variables the same?
<DIV><BR class=khtml-block-placeholder>
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV><BR>
<DIV>
<DIV>On May 4, 2006, at 3:02 PM, Sam Basile wrote:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
<DIV><FONT face=Arial size=2><SPAN
class=477515518-04052006>Hello:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=477515518-04052006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=477515518-04052006>I am working with
your SWFObject and am very pleased with it in most applications. However
I am having difficult time implementing the object with on Flash movie in
particular. This movie is really a container object that calls and
loads, through a preloader, four external SWF's. When used with
SWFObject, the container movie loads; the preloader images appear but
don't run through their onLoadProgress cycles; and the external movies never
load. Any ideas on how to solve this issue?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=477515518-04052006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=477515518-04052006>Regards,</SPAN></FONT></DIV>
<DIV> </DIV><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Sam
Basile</SPAN><BR><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">Technical
Director<BR>Trekk Cross Media Communications<BR>134 North Main
Street<BR>Rockford, IL 61101<BR>Phone: 866.799.2879 ext. 705<BR>Fax:
815.962.2189<BR><A href="http://www.trekk.com/" target=_blank>Visit our web
site.</A></SPAN> <BR>
<DIV style="MARGIN: 0px">_______________________________________________</DIV>
<DIV style="MARGIN: 0px">SWFObject mailing list</DIV>
<DIV style="MARGIN: 0px"><A
href="mailto:SWFObject@lists.deconcept.com">SWFObject@lists.deconcept.com</A></DIV>
<DIV style="MARGIN: 0px"><A
href="http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com">http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com</A></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV></BODY></HTML>