[SWFObject] Express Install

Geoff Stearns geoff at deconcept.com
Fri May 5 13:26:00 PDT 2006


of you look at the example fla, there is a commented out part that  
shows how to do this.



On May 5, 2006, at 4:02 PM, Kelly Baker wrote:

> So when using express install, does SWFObject use the Flash plug-in's
> built in "Do you want to upgrade" interface? It doesn't seem so. If
> not how can I use this interface instead of having to design my own.
>
> KB
>
>
> On May 4, 2006, at 6:02 PM, swfobject-request at lists.deconcept.com  
> wrote:
>
>> Send SWFObject mailing list submissions to
>> 	swfobject at lists.deconcept.com
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> 	http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>> or, via email, send a message with subject or body 'help' to
>> 	swfobject-request at lists.deconcept.com
>>
>> You can reach the person managing the list at
>> 	swfobject-owner at lists.deconcept.com
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of SWFObject digest..."
>>
>>
>> Today's Topics:
>>
>>    1. Re: suggestedFeature (DL)
>>    2. Re: suggestedFeature (Geoff Stearns)
>>    3. Re: suggestedFeature (DL)
>>    4. Re: suggestedFeature (DL)
>>    5. Re: suggestedFeature (DL)
>>    6. Re: SWFObject and External Movies (Sam Basile)
>>
>>
>> --------------------------------------------------------------------- 
>> -
>>
>> Message: 1
>> Date: Thu, 04 May 2006 21:48:13 +0100
>> From: "DL" <dl.lists at ntlworld.com>
>> Subject: Re: [SWFObject] suggestedFeature
>> To: "Steve Norris" <snorris at norrisoft.com>,
>> 	swfobject at lists.deconcept.com
>> Message-ID: <445A769D.2623.1F80D57 at dl.lists.ntlworld.com>
>> Content-Type: text/plain; charset="us-ascii"
>>
>> On 4 May 2006 at 16:05, Steve Norris wrote:
>>
>>> BTW, DL, should:
>>>
>>> var so = new SWFObject(src, movie_id, w, h, v, bgcolor)
>>> be
>>> var so = new SWFObject(div_id, src, movie_id, w, h, v,
>>> bgcolor)?
>>
>> No .. because each unique div_id has to be passed into the last
>> line in the function ..
>> thus ..
>>
>>  so.write(div_id);
>>
>> In an earlier thread it was emphasised that each div container
>> written by SWFObject
>> must have a unique id.
>>
>> e.g. I have SWFObjects as skin components in the multiple div id's ..
>>
>> top_swf
>> left_swf
>> centre_swf, centre_html, centre_svg
>> right_swf
>> bottom_swf
>>
>> and in centre div .. I can switch between showing an HTMLobject,
>> SVGobject and
>> SWFObject by targetting div classes.
>>
>> This CSS test site I found to be useful in understanding div
>> management .... javascript
>> functions in addition to SWFObject.js
>>
>> http://www.aglasshalffull.org/css-resources/
>> stylechangeswithw3cdom.html
>>
>> ...
>>
>> DL
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: /pipermail/swfobject-deconcept.com/attachments/20060504/
>> dd92c4d4/attachment.html
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Thu, 4 May 2006 17:09:45 -0400
>> From: Geoff Stearns <geoff at deconcept.com>
>> Subject: Re: [SWFObject] suggestedFeature
>> To: swfobject at lists.deconcept.com
>> Message-ID: <9229568B-D216-4895-9E7C-B4AE51737A99 at deconcept.com>
>> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>>
>> once you call write() the html is written to the page, so you can't
>> change the parameters.
>>
>> if you wanted to, you could update them and call write() again, but
>> it will probably restart the swf, and in some browsers they don't
>> unload the old plugin properly, resulting in a memory leak or ghosted
>> audio sometimes, so i don't recommend it.
>>
>>
>> On May 4, 2006, at 4:05 PM, Steve Norris wrote:
>>
>>> Right On DL!
>>>
>>> Geoff, so once a flash is embedded using the so.write, one
>>> can't dynamically change its wmode, for instance?
>>>
>>> DL, it sounds as if your method allows this?
>>>
>>> Either way, Geoff, it seems like on your swfObject site,
>>> swfObject Examples section you may want to show a standard
>>> way to load multiple swfs along the lines of DL's method.
>>>
>>> BTW, DL, should:
>>>
>>> var so = new SWFObject(src, movie_id, w, h, v, bgcolor)
>>> be
>>> var so = new SWFObject(div_id, src, movie_id, w, h, v,
>>> bgcolor)?
>>>
>>> Steve
>>>
>>>
>>>
>>>
>>>
>>> On Thu, 04 May 2006 12:37:11 -0700
>>> swfobject-request at lists.deconcept.com wrote:
>>>
>>>> Send SWFObject mailing list submissions to
>>>> 	swfobject at lists.deconcept.com
>>>>
>>>> To subscribe or unsubscribe via the World Wide Web,
>>>> visit
>>>> 	http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>>>> or, via email, send a message with subject or body
>>>> 'help' to
>>>> 	swfobject-request at lists.deconcept.com
>>>>
>>>> You can reach the person managing the list at
>>>> 	swfobject-owner at lists.deconcept.com
>>>>
>>>> When replying, please edit your Subject line so it is
>>>> more specific
>>>> than "Re: Contents of SWFObject digest..."
>>>>
>>>>
>>>> Today's Topics:
>>>>
>>>>   1. Re: suggested feature (DL)
>>>>   2. Re: SWFObject and External Movies (Sam Basile)
>>>>   3.  Use fo.write multiple times (Jens Loeffler)
>>>>
>>>>
>>>> ------------------------------------------------------------------- 
>>>> -
>>>> -
>>>> -
>>>>
>>>> Message: 1
>>>> Date: Thu, 04 May 2006 20:17:19 +0100
>>>> From: "DL" <dl.lists at ntlworld.com>
>>>> Subject: Re: [SWFObject] suggested feature
>>>> To: "Steve Norris" <snorris at norrisoft.com>,
>>>> 	swfobject at lists.deconcept.com
>>>> Message-ID:
>>>> <445A614F.14178.1A4D5DB at dl.lists.ntlworld.com>
>>>> Content-Type: text/plain; charset="us-ascii"
>>>>
>>>> On 4 May 2006 at 14:14, Steve Norris wrote:
>>>>
>>>>> It is critical, to the
>>>>> success of a software application that I am writing,
>>>>> that
>>>>> there be a standardized way to access the swfObjects in
>>>>> an
>>>>> existing .html page.
>>>>
>>>> I'm doing something similar .. for placing multiple
>>>> SWFObjects
>>>> .. all different id's .. in HTML wrapper page ..
>>>> I place SWFObject code in a function ..
>>>>
>>>> e.g. to load one SWFObject instance ..
>>>>
>>>> loadSWFObject("top", "test.swf", "test", "100", "100",
>>>> "8.0.22", "#ffffff");
>>>>
>>>> then ..
>>>>
>>>> function loadSWFObject(div_id, src, movie_id, w, h, v,
>>>> bgcolor) {
>>>>
>>>> var so = new SWFObject(src, movie_id, w, h, v, bgcolor);
>>>>             so.addParam("quality", "high");
>>>>             so.addParam("scale", "exactfit");
>>>>             so.addParam("salign", "LT");
>>>>             so.addParam("menu", "false");
>>>>             so.addParam("swLiveConnect", "true");
>>>>             so.addParam("name", movie_id);
>>>>             so.addParam("allowScriptAccess",
>>>> "sameDomain");
>>>>             so.write(div_id);
>>>> }
>>>>
>>>> The div properties (in classes) are then all defined in
>>>> CSS stylesheet.
>>>>
>>>> e.g.
>>>>
>>>> <div class="so_top" id="top">
>>>> <p>This is replaced by the Flash content.</p>
>>>> </div>
>>>>
>>>>
>>>> This layout allows SWFObject div attributes to be
>>>> targetted ..
>>>> e.g. to move / resize SWFObjects or make them
>>>> visible/hidden.
>>>>
>>>> DL
>>>> -------------- next part --------------
>>>> An HTML attachment was scrubbed...
>>>> URL:
>>>> /pipermail/swfobject-deconcept.com/attachments/20060504/2831ce92/
>>>> attachment.htm
>>>>
>>>> ------------------------------
>>>>
>>>> Message: 2
>>>> Date: Thu, 4 May 2006 14:32:54 -0500
>>>> From: "Sam Basile" <sbasile at trekk.com>
>>>> Subject: Re: [SWFObject] SWFObject and External Movies
>>>> To: <swfobject at lists.deconcept.com>
>>>> Message-ID:
>>>> 	<884487EBBADCF441AA88A46F52C1157E265DD1 at exchg1.hq.trekk.local>
>>>> Content-Type: text/plain; charset="us-ascii"
>>>>
>>>> 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.
>>>>
>>>> Sam Basile
>>>> Technical Director
>>>> Trekk Cross Media Communications
>>>> 134 North Main Street
>>>> Rockford, IL 61101
>>>> Phone: 866.799.2879 ext. 705
>>>> Fax: 815.962.2189
>>>> Visit our web site. <http://www.trekk.com/>
>>>>
>>>> ~~~~~
>>>>
>>>> #include "com.qlod.LoaderClass.as"
>>>>
>>>> function init() {
>>>> Stage.showMenu = false;
>>>> Stage.scaleMode = "noScale";
>>>> Stage.align = "TL";
>>>>
>>>> _global.loader = new com.qlod.LoaderClass();
>>>> _global.loader.setTimeoutMs(3000);
>>>> _global.loader.setMinSteps(5);
>>>> if (assetPath == undefined) {
>>>>  assetPath = "";
>>>> }
>>>> clips = new Array();
>>>> clips.push({clip:"quickSearch.swf", x:0, y:0, w: 215, h:
>>>> 416, col:
>>>> 0xBEC09D});
>>>> clips.push({clip:"mapSearch.swf", x:218, y:273, w: 354,
>>>> h: 143,  col:
>>>> 0xF8CE87});
>>>> clips.push({clip:"smallAd.swf", x:578, y:273, w: 192, h:
>>>> 143,  col:
>>>> 0x833626});
>>>> clips.push({clip:"homeMovie.swf", x:218, y:0, w: 552, h:
>>>> 270,  col:
>>>> 0xcccccc});
>>>>
>>>> for (var i = 0; i < clips.length; i++) {
>>>>  // position the holder
>>>>  var o = this.createEmptyMovieClip("holder" + i + "_mc",
>>>> i);
>>>>  o._x = clips[i].x;
>>>>  o._y = clips[i].y;
>>>>  // draw a background for the movieclip
>>>>  o.lineStyle(0, clips[i].col, 0);
>>>>  o.beginFill(clips[i].col, 100);
>>>>  o.lineTo(0, clips[i].h);
>>>>  o.lineTo(clips[i].w, clips[i].h);
>>>>  o.lineTo(clips[i].w, 0);
>>>>  o.lineTo(0, 0);
>>>>  o.endFill();
>>>>  // position the bar
>>>>  var q = o.attachMovie("bar_mc", "bar_mc", 1);
>>>>  q._x = (clips[i].w - q._width)/2
>>>>  q._y = (clips[i].h - q._height)/2
>>>>  // create the holding clip mc
>>>>  var r = o.createEmptyMovieClip("clip_mc", 0);
>>>>  r._visible = false;
>>>>  var p = r.createEmptyMovieClip("clip_mc", 0);
>>>>
>>>>  o.id = i;
>>>>  o.clip = assetPath + clips[i].clip;
>>>>  // create the listening functions
>>>>  o.loadStart = function () {
>>>>   _global.loader.load(this.clip_mc.clip_mc, this.clip,
>>>> this);
>>>>  }
>>>>
>>>>  o.onLoadStart = function(loaderObj) {
>>>>   //trace("Loading of " + loaderObj.getTarget() + " has
>>>> started");
>>>>  };
>>>>  o.onLoadProgress = function(loaderObj) {
>>>>     var percent = parseInt(loaderObj.getPercent());
>>>>     this.bar_mc.animation_mc.gotoAndStop(percent);
>>>>  };
>>>>  o.onTimeout = function(success, loaderObj) {
>>>>   //trace("Loading of " + loaderObj.getTarget() + " has
>>>> timed out");
>>>>  };
>>>>  o.onLoadComplete = function(success, loaderObj) {
>>>>   this.bar_mc._visible = false;
>>>>   this.clear();
>>>>   this.clip_mc._visible = true;
>>>>   this._parent.loadNext(this.id);
>>>>  };
>>>> }
>>>> loadNext(-1);
>>>> }
>>>> function loadNext (id) {
>>>> var i = ((id + 1) >= clips.length) ? -1 : id + 1;
>>>> if (i != -1){
>>>>  var o = this["holder" + i + "_mc"];
>>>>  o.loadStart();
>>>> }
>>>> }
>>>>
>>>> init();
>>>>
>>>> ________________________________
>>>>
>>>> From: swfobject-bounces at lists.deconcept.com
>>>> [mailto:swfobject-bounces at lists.deconcept.com] On Behalf
>>>> Of Geoff
>>>> Stearns
>>>> Sent: Thursday, May 04, 2006 2:07 PM
>>>> To: swfobject at lists.deconcept.com
>>>> Subject: Re: [SWFObject] SWFObject and External Movies
>>>>
>>>>
>>>> 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?
>>>>
>>>>
>>>>
>>>>
>>>> On May 4, 2006, at 3:02 PM, Sam Basile wrote:
>>>>
>>>>
>>>> 	Hello:
>>>> 	
>>>> 	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?
>>>> 	
>>>> 	Regards,
>>>> 	
>>>> 	Sam Basile
>>>> 	Technical Director
>>>> 	Trekk Cross Media Communications
>>>> 	134 North Main Street
>>>> 	Rockford, IL 61101
>>>> 	Phone: 866.799.2879 ext. 705
>>>> 	Fax: 815.962.2189
>>>> 	Visit our web site. <http://www.trekk.com/>
>>>> 	
>>>> 	_______________________________________________
>>>> 	SWFObject mailing list
>>>> 	SWFObject at lists.deconcept.com
>>>> 	http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>>>>
>>>>
>>>> -------------- next part --------------
>>>> An HTML attachment was scrubbed...
>>>> URL:
>>>> /pipermail/swfobject-deconcept.com/attachments/20060504/0bf39f67/
>>>> attachment-0001.html
>>>>
>>>> ------------------------------
>>>>
>>>> Message: 3
>>>> Date: Thu, 4 May 2006 15:37:07 -0400
>>>> From: "Jens Loeffler" <jens.loeffler at rga.com>
>>>> Subject: [SWFObject]  Use fo.write multiple times
>>>> To: <swfobject at lists.deconcept.com>
>>>> Message-ID:
>>>> 	<8353BBC285D8C14EA9259A5E5506F7F6021755A8 at porthos.ny.rga.com>
>>>> Content-Type: text/plain; charset="us-ascii"
>>>>
>>>> Hi,
>>>>
>>>>
>>>>
>>>> I'm trying to use the fo.write("frame") function
>>>> multiple times (with
>>>> different attributeValues), but it doesn't seem to
>>>> update the flash
>>>> movie in Firefox.
>>>>
>>>>
>>>>
>>>> e.g.
>>>>
>>>> <assign attribute values>
>>>>
>>>> fo.write("frame")
>>>>
>>>>
>>>>
>>>> <assign some different attribute values>
>>>>
>>>> fo.write("frame")
>>>>
>>>>
>>>>
>>>> It's probably more a javascript question, but is that
>>>> possible?
>>>>
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Jens
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> This message is the property of R/GA and contains
>>>> information which may be privileged or confidential. It
>>>> is meant only for the intended recipients and/or their
>>>> authorized agents. If you believe you have received this
>>>> message in error, please notify us immediately by return
>>>> e-mail or by forwarding this message to
>>>> postmaster at rga.com, and destroy any printed or electronic
>>>> copies of the message. Any unauthorized use,
>>>> dissemination, disclosure, or copying of this message or
>>>> the information contained in it, is strictly prohibited
>>>> and may be unlawful. Thank you.
>>>>
>>>>
>>>> This email and any files transmitted with it are
>>>> confidential and intended solely for the use of the
>>>> individual or entity to whom they are addressed. If you
>>>> have received this email in error please notify the
>>>> system manager. This message contains confidential
>>>> information and is intended only for the individual
>>>> named. If you are not the named addressee you should not
>>>> disseminate, distribute or copy this e-mail.
>>>> -------------- next part --------------
>>>> An HTML attachment was scrubbed...
>>>> URL:
>>>> /pipermail/swfobject-deconcept.com/attachments/20060504/fab10e99/
>>>> attachment.htm
>>>>
>>>> ------------------------------
>>>>
>>>> _______________________________________________
>>>> SWFObject mailing list
>>>> SWFObject at lists.deconcept.com
>>>> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>>>>
>>>>
>>>> End of SWFObject Digest, Vol 2, Issue 24
>>>> ****************************************
>>>
>>> _______________________________________________
>>> SWFObject mailing list
>>> SWFObject at lists.deconcept.com
>>> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>>
>>
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Thu, 04 May 2006 22:18:44 +0100
>> From: "DL" <dl.lists at ntlworld.com>
>> Subject: Re: [SWFObject] suggestedFeature
>> To: "Steve Norris" <snorris at norrisoft.com>,
>> 	swfobject at lists.deconcept.com
>> Message-ID: <445A7DC4.27070.213FEFD at dl.lists.ntlworld.com>
>> Content-Type: text/plain; charset=US-ASCII
>>
>> On 4 May 2006 at 17:00, Steve Norris wrote:
>>
>>> Any idea how to modify a movie object's parameters after
>>> it has been embedded?
>>
>> If it is only wmode parameter you want to modify after loading any
>> SWFObject movie you can probably achieve the same effect by
>> having two overlaid divs .. in same left, top, width, height position
>>
>> one containing the SWFObject .. with wmode=transparent
>> the other behind the SWFobject div .. and you can then dynamically
>> manage opacity of the underlying div to make it transparent or not.
>>
>> See the "change opacity" example in the CSS test site (earlier link).
>>
>> This has the advantage of working across all browsers.
>>
>> DL
>>
>>
>>
>>
>> ------------------------------
>>
>> Message: 4
>> Date: Thu, 04 May 2006 22:25:01 +0100
>> From: "DL" <dl.lists at ntlworld.com>
>> Subject: Re: [SWFObject] suggestedFeature
>> To: Steve Norris <snorris at norrisoft.com>,
>> 	swfobject at lists.deconcept.com
>> Message-ID: <445A7F3D.18887.219BCA4 at dl.lists.ntlworld.com>
>> Content-Type: text/plain; charset=US-ASCII
>>
>> On 4 May 2006 at 22:18, DL wrote:
>>
>>> If it is only wmode parameter you want to modify after loading any
>>> SWFObject movie you can probably achieve the same effect by
>>> having two overlaid divs .. in same left, top, width, height  
>>> position
>>
>> p.s.
>>
>> second thoughts ..
>>
>> actually you should be able to just target the opacity of the main
>> SWFObject div without need for an underlying div.
>>
>> DL
>>
>>
>>
>> ------------------------------
>>
>> Message: 5
>> Date: Thu, 04 May 2006 22:30:47 +0100
>> From: "DL" <dl.lists at ntlworld.com>
>> Subject: Re: [SWFObject] suggestedFeature
>> To: Steve Norris <snorris at norrisoft.com>,
>> 	swfobject at lists.deconcept.com
>> Message-ID: <445A8097.187.21F05D6 at dl.lists.ntlworld.com>
>> Content-Type: text/plain; charset=US-ASCII
>>
>> On 4 May 2006 at 22:25, DL wrote:
>>
>>> second thoughts ..
>>>
>>> actually you should be able to just target the opacity of the main
>>> SWFObject div without need for an underlying div.
>>
>> it's late here .. no, belay that .. it will not work .. you will
>> need two
>> layered divs.
>>
>> DL
>>
>>
>>
>> ------------------------------
>>
>> Message: 6
>> Date: Thu, 4 May 2006 17:02:27 -0500
>> From: "Sam Basile" <sbasile at trekk.com>
>> Subject: Re: [SWFObject] SWFObject and External Movies
>> To: <swfobject at lists.deconcept.com>
>> Message-ID:
>> 	<884487EBBADCF441AA88A46F52C1157E265E32 at exchg1.hq.trekk.local>
>> Content-Type: text/plain; charset="us-ascii"
>>
>> Found the error.  Missed a FlashVar.
>>
>> Thanks again for your product.
>>
>> Sam Basile
>> Technical Director
>> Trekk Cross Media Communications
>> 134 North Main Street
>> Rockford, IL 61101
>> Phone: 866.799.2879 ext. 705
>> Fax: 815.962.2189
>> Visit our web site. <http://www.trekk.com/>
>>
>>
>> ________________________________
>>
>> From: swfobject-bounces at lists.deconcept.com
>> [mailto:swfobject-bounces at lists.deconcept.com] On Behalf Of Sam  
>> Basile
>> Sent: Thursday, May 04, 2006 2:33 PM
>> To: swfobject at lists.deconcept.com
>> Subject: Re: [SWFObject] SWFObject and External Movies
>>
>>
>> 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.
>>
>> Sam Basile
>> Technical Director
>> Trekk Cross Media Communications
>> 134 North Main Street
>> Rockford, IL 61101
>> Phone: 866.799.2879 ext. 705
>> Fax: 815.962.2189
>> Visit our web site. <http://www.trekk.com/>
>>
>> ~~~~~
>>
>> #include "com.qlod.LoaderClass.as"
>>
>> function init() {
>>  Stage.showMenu = false;
>>  Stage.scaleMode = "noScale";
>>  Stage.align = "TL";
>>
>>  _global.loader = new com.qlod.LoaderClass();
>>  _global.loader.setTimeoutMs(3000);
>>  _global.loader.setMinSteps(5);
>>  if (assetPath == undefined) {
>>   assetPath = "";
>>  }
>>  clips = new Array();
>>  clips.push({clip:"quickSearch.swf", x:0, y:0, w: 215, h: 416, col:
>> 0xBEC09D});
>>  clips.push({clip:"mapSearch.swf", x:218, y:273, w: 354, h: 143,   
>> col:
>> 0xF8CE87});
>>  clips.push({clip:"smallAd.swf", x:578, y:273, w: 192, h: 143,  col:
>> 0x833626});
>>  clips.push({clip:"homeMovie.swf", x:218, y:0, w: 552, h: 270,  col:
>> 0xcccccc});
>>
>>  for (var i = 0; i < clips.length; i++) {
>>   // position the holder
>>   var o = this.createEmptyMovieClip("holder" + i + "_mc", i);
>>   o._x = clips[i].x;
>>   o._y = clips[i].y;
>>   // draw a background for the movieclip
>>   o.lineStyle(0, clips[i].col, 0);
>>   o.beginFill(clips[i].col, 100);
>>   o.lineTo(0, clips[i].h);
>>   o.lineTo(clips[i].w, clips[i].h);
>>   o.lineTo(clips[i].w, 0);
>>   o.lineTo(0, 0);
>>   o.endFill();
>>   // position the bar
>>   var q = o.attachMovie("bar_mc", "bar_mc", 1);
>>   q._x = (clips[i].w - q._width)/2
>>   q._y = (clips[i].h - q._height)/2
>>   // create the holding clip mc
>>   var r = o.createEmptyMovieClip("clip_mc", 0);
>>   r._visible = false;
>>   var p = r.createEmptyMovieClip("clip_mc", 0);
>>
>>   o.id = i;
>>   o.clip = assetPath + clips[i].clip;
>>   // create the listening functions
>>   o.loadStart = function () {
>>    _global.loader.load(this.clip_mc.clip_mc, this.clip, this);
>>   }
>>
>>   o.onLoadStart = function(loaderObj) {
>>    //trace("Loading of " + loaderObj.getTarget() + " has started");
>>   };
>>   o.onLoadProgress = function(loaderObj) {
>>      var percent = parseInt(loaderObj.getPercent());
>>      this.bar_mc.animation_mc.gotoAndStop(percent);
>>   };
>>   o.onTimeout = function(success, loaderObj) {
>>    //trace("Loading of " + loaderObj.getTarget() + " has timed out");
>>   };
>>   o.onLoadComplete = function(success, loaderObj) {
>>    this.bar_mc._visible = false;
>>    this.clear();
>>    this.clip_mc._visible = true;
>>    this._parent.loadNext(this.id);
>>   };
>>  }
>>  loadNext(-1);
>> }
>> function loadNext (id) {
>>  var i = ((id + 1) >= clips.length) ? -1 : id + 1;
>>  if (i != -1){
>>   var o = this["holder" + i + "_mc"];
>>   o.loadStart();
>>  }
>> }
>>
>> init();
>>
>> ________________________________
>>
>> From: swfobject-bounces at lists.deconcept.com
>> [mailto:swfobject-bounces at lists.deconcept.com] On Behalf Of Geoff
>> Stearns
>> Sent: Thursday, May 04, 2006 2:07 PM
>> To: swfobject at lists.deconcept.com
>> Subject: Re: [SWFObject] SWFObject and External Movies
>>
>>
>> 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?
>>
>>
>>
>>
>> On May 4, 2006, at 3:02 PM, Sam Basile wrote:
>>
>>
>> 	Hello:
>> 	
>> 	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?
>> 	
>> 	Regards,
>> 	
>> 	Sam Basile
>> 	Technical Director
>> 	Trekk Cross Media Communications
>> 	134 North Main Street
>> 	Rockford, IL 61101
>> 	Phone: 866.799.2879 ext. 705
>> 	Fax: 815.962.2189
>> 	Visit our web site. <http://www.trekk.com/>
>> 	
>> 	_______________________________________________
>> 	SWFObject mailing list
>> 	SWFObject at lists.deconcept.com
>> 	http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>>
>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: /pipermail/swfobject-deconcept.com/attachments/
>> 20060504/374394c8/attachment.htm
>>
>> ------------------------------
>>
>> _______________________________________________
>> SWFObject mailing list
>> SWFObject at lists.deconcept.com
>> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>>
>>
>> End of SWFObject Digest, Vol 2, Issue 26
>> ****************************************
>
>
>
>
>
>
>
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com




More information about the Swfobject mailing list