[Flashcoders] MovieClipLoader

2005-12-09 Thread dancedrummer
I'm running into a problem that only occurs with Flash8. I have a swf that loads additions swf's with a MovieClipLoader object. The first time I hit the page it works fine. On subsequent tries when the external swf's have been cached in the browser they are not getting recognized as being loaded

[Flashcoders] MovieClipLoader ...

2007-04-03 Thread Stephen Ford
Can anyone see why the callback events on the oLoadListener object in the following class aren't firing:import mx.data.binding.ObjectDumper;import mx.events.EventDispatcher;import mx.utils.Delegate;class TowerVideoPlayer extends MovieClip {// -

RE: [Flashcoders] MovieClipLoader

2005-12-10 Thread Pete Hotchkiss
oders@chattyfig.figleaf.com Subject: [Flashcoders] MovieClipLoader I'm running into a problem that only occurs with Flash8. I have a swf that loads additions swf's with a MovieClipLoader object. The first time I hit the page it works fine. On subsequent tries when the external swf's hav

[Flashcoders] MovieClipLoader woes

2007-02-26 Thread Ian Thomas
Hi all, Has anyone ever come across a situation where MovieClipLoader just refuses to fire any events whatsoever? The situation: - Flash 8, running in IDE or as local projector (on Win XP) - A whole pile of successful MovieClipLoader calls have been made (probably 50 or so by this stage), _inc

[Flashcoders] MovieClipLoader Reusage

2006-09-07 Thread Helmut Granda
Can the MovieClipLoader class be reused? I have the following code: var myMCL:MovieClipLoader = new MovieClipLoader(); var myListener:Object = new Object(); myListener.onLoadComplete = function(targetMC:MovieClip):Void { trace("loaded" + targetMC); myMCL.loadClip("right2.swf", "img2");//-

RE: [Flashcoders] MovieClipLoader ...

2007-04-04 Thread Adrian Lynch
You email lost it's formatting at my end. Try sending again. Adrian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Stephen Ford Sent: 04 April 2007 07:27 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] MovieClipLoader ... Can anyone se

Re: [Flashcoders] MovieClipLoader ...

2007-04-04 Thread Muzak
e(">> loadListener.onLoadInit()"); } } - Original Message - From: "Stephen Ford" <[EMAIL PROTECTED]> To: Sent: Wednesday, April 04, 2007 8:27 AM Subject: [Flashcoders] MovieClipLoader ... Can anyone see why the callback events o

Re: [Flashcoders] MovieClipLoader ...

2007-04-04 Thread Stephen Ford
Thanks Muzak,How to best initialize EventDispatcher outside the constructor via a static property ?How would you do this?___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailma

Re: [Flashcoders] MovieClipLoader ...

2007-04-05 Thread Muzak
pril 05, 2007 4:48 AM Subject: Re: [Flashcoders] MovieClipLoader ... Thanks Muzak,How to best initialize EventDispatcher outside the constructor via a static property ?How would you do this?___ __

[Flashcoders] MovieClipLoader :: onLoadInit

2006-04-28 Thread Serge Jespers
Hey guys, I'm using this MovieClipLoader thing to load in some movieclips... And when they're loaded, I want them to play... Very simple, no? Well... For some reason, some are playing and some aren't... I was just wondering... We currently have stop() commands in the first frame of e

[Flashcoders] MovieClipLoader - onProgress

2006-05-17 Thread Wendy Richardson
I am trying to use the MovieClipLoader and onProgress in a way similar to this example: http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=2546.html I use the onProgress to send info to function that visualizes the preload status.

Re: [Flashcoders] MovieClipLoader woes

2007-02-27 Thread Kristal Dale
sorry to post this to the list - I've tried unsubscribing 5+ times since the list came back up. I never recieve the confirmation email (despite the page saying it was sent) to actually finalize the unsubscribe. To the admin: please remove me from the list. Thanks, K --- Ian Thomas <[EMAIL PROTEC

Re: [Flashcoders] MovieClipLoader woes

2007-02-27 Thread Muzak
Show us some code. And get XRay. http://osflash.org/xray regards, Muzak - Original Message - From: "Ian Thomas" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Monday, February 26, 2007 10:15 AM Subject: [Flashcoders] MovieClipLoader woes > Hi

RE: [Flashcoders] MovieClipLoader woes

2007-02-27 Thread Holth, Daniel C.
PROTECTED] On Behalf Of Ian Thomas Sent: Monday, February 26, 2007 3:16 AM To: Flashcoders mailing list Subject: [Flashcoders] MovieClipLoader woes Hi all, Has anyone ever come across a situation where MovieClipLoader just refuses to fire any events whatsoever? The situation: - Flash 8

Re: [Flashcoders] MovieClipLoader woes

2007-02-28 Thread Ian Thomas
ry time, regardless of the swf? (does order matter?) -Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: Monday, February 26, 2007 3:16 AM To: Flashcoders mailing list Subject: [Flashcoders] MovieClipLoader woes Hi all, Has anyone ev

RE: [Flashcoders] MovieClipLoader woes

2007-02-28 Thread J. Luis Vidal
; Subject: Re: > [Flashcoders] MovieClipLoader woes> Date: Mon, 26 Feb 2007 21:22:19 +0100> > > Show us some code.> > And get XRay.> http://osflash.org/xray> > regards,> > Muzak> > - Original Message - > From: "Ian Thomas" <[EMA

Re: [Flashcoders] MovieClipLoader woes

2007-03-01 Thread John Grden
just create one movieClipLoader, and call the loadClip method multiple times. var loader:MovieClipLoader = new MovieClipLoader(); loader.addListener(this); function onLoadComplete (targetMC:MovieClip):Void { trace("onLoadComplete"); } function onLoadError(targetMC:MovieClip, errorCode:String)

[Flashcoders] MovieClipLoader vs component

2006-06-30 Thread Rick Lecoat
Hi to all on the list from a new sign-up. I'm also new to the whole AS thing, so do please bear with me if I ask questions that seem obvious or stupid to those with more experience then I (which will be all of you). The book that I used to teach myself Flash offered two ways of loading a SWF insi

Re: [Flashcoders] MovieClipLoader Reusage

2006-09-07 Thread Peter O'Brien
try subbing your code from onLoadComplete to an onLoadInit function, that looks like it should do the trick On 9/7/06, Helmut Granda <[EMAIL PROTECTED]> wrote: Can the MovieClipLoader class be reused? I have the following code: var myMCL:MovieClipLoader = new MovieClipLoader(); var myListener

Re: [Flashcoders] MovieClipLoader Reusage

2006-09-07 Thread Helmut Granda
thanks for your suggestion, still I cant get it to work. all I am trying to acomplish is a preloader that will load files in order so if it is done with 1 then load the next one and so forth. I have found some information in how to load 5 files at the same time. Also I was able to call the functi

Re: [Flashcoders] MovieClipLoader Reusage

2006-09-08 Thread Kenneth Kawamoto
Your code will load the same SWF again and again forever. I wrote a sequential loading script for someone recently, may be you can adopt the concept from it. This script gathers the total byte size of all the SWFs first, then starts loading SWFs one by one, so that you can monitor the loading

Re: [Flashcoders] MovieClipLoader Reusage

2006-09-08 Thread Ramon Miguel M. Tayag
Probably because of a scope problem. Lookup "Delegate" On 9/8/06, Helmut Granda <[EMAIL PROTECTED]> wrote: Can the MovieClipLoader class be reused? I have the following code: var myMCL:MovieClipLoader = new MovieClipLoader(); var myListener:Object = new Object(); myListener.onLoadComplete =

Re: [Flashcoders] MovieClipLoader :: onLoadInit

2006-04-28 Thread Helen Triolo
Try moving the stop (and related content) down to frame 2. That usually clears up problems of stop + play (or stop + gotoAndPlay) not working at all or inconsistently. Helen -- http://flash-creations.com http://i-technica.com Serge Jespers wrote: Hey guys, I'm using this MovieClipLoade

Re: [Flashcoders] MovieClipLoader :: onLoadInit

2006-04-28 Thread Serge Jespers
Yeah... I know they're inconsistent... But I mean... Why is this still the case...? I've now added a 200ms interval that executes the play command... That works... Serge Try moving the stop (and related content) down to frame 2. That usually clears up problems of stop + play (or stop + g

Re: [Flashcoders] MovieClipLoader - onProgress

2006-05-17 Thread Roman Blöth
Wendy Richardson schrieb: > I am trying to use the MovieClipLoader and onProgress in a way similar > to this example: > http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=2546.html > > > I use the onProgress to send info to function tha

RE: [Flashcoders] MovieClipLoader - onLoadComplete event

2005-12-10 Thread Adrian Lynch
Could they have ment that they weren't available until the MC had fully loaded? Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Nils Millahn Sent: 15 September 2005 11:19 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] MovieClipL

RE: [Flashcoders] MovieClipLoader - onLoadComplete event

2005-12-10 Thread Pete Hotchkiss
functions in that loaded asset. Pete -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Nils Millahn Sent: 15 September 2005 11:19 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] MovieClipLoader - onLoadComplete event Hi all, just asking for

[Flashcoders]MovieClipLoader http error codes

2007-01-22 Thread Donald Desloge
I'm getting an httpStatus code of 0 back from a MovieClipLoader error. This only happens on a Mac with the Flash IDE. Every once and a while I get a 403 http error but not all of the time. I was wondering if anyone else has run into that error before or not? - Original Message From: "[

RE: [Flashcoders] MovieClipLoader vs component

2006-06-30 Thread Palmer, Jim
-Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Rick > Lecoat > Sent: Friday, June 30, 2006 9:18 AM > To: FlashCoders list > Subject: [Flashcoders] MovieClipLoader vs component > > > Hi to all on the list from a new sign-up. >

[Flashcoders] MovieClipLoader Script Timeout Bug?

2006-05-12 Thread clark slater
Posted this yesterday but it looks like there was a problem with the list, sorry if some people get it twice. I think I may have come across a bug in the intrinisc MovieClipLoader class. When loading a large file using an instance of this class on a slow connection, the script timeout error is th

Re: [Flashcoders]MovieClipLoader http error codes

2007-01-22 Thread Derek Vadneau
some type of authorization to get access. Derek Vadneau - Original Message - From: "Donald Desloge" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Monday, January 22, 2007 9:24 AM Subject: [Flashcoders]MovieClipLoader http error codes I'm

Re: [Flashcoders]MovieClipLoader http error codes

2007-01-22 Thread Donald Desloge
Thanks for the info, I look into it on the server end. - Original Message From: Derek Vadneau <[EMAIL PROTECTED]> To: flashcoders@chattyfig.figleaf.com Sent: Monday, January 22, 2007 9:52:03 AM Subject: Re: [Flashcoders]MovieClipLoader http error codes >From the docs: "I

[Flashcoders] MovieClipLoader Class and Simulate Download

2006-09-22 Thread Kenneth Kawamoto
I have just encountered to an interesting issue. If I terminate the MovieClipLoader's loadClip process within the "Simulate Download" environment, the Flash IDE crashes without exception. If you do the same in "Test Movie", SA Player, or browser plug-in, it works fine as expected. The boiled d

RE: [Flashcoders] MovieClipLoader Script Timeout Bug?

2006-05-13 Thread jim
ginal Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of clark slater Sent: 12 May 2006 21:43 To: [FlashCoders] Subject: [Flashcoders] MovieClipLoader Script Timeout Bug? Posted this yesterday but it looks like there was a problem with the list, sorry if some people get it

[Flashcoders] MovieClipLoader, onLoadInit: not working properly / bug

2006-10-28 Thread Drew Shefman
I've run into an issue with MovieClipLoader, that I haven't been able to find an mention of anywhere else online. The issue is with the onLoadInit firing before the first frame actionscript has executed. The issue was repeatable, but only on specific machines, and ONLY through the browser. When

[Flashcoders] MovieClipLoader greens out loading images crossdomain

2007-03-09 Thread jason vancleave
I am using the MovieClipLoader to pull some images from another domain that has a higher bandwidth limit. When using the crossdomain server the images show up as a solid green box. Small images from the same directory load fine cross domain. The same images load fine when loaded from the same d

Re: [Flashcoders] MovieClipLoader - Warning / onLoadComplete vs. onLoadInit

2006-04-04 Thread Roman Blöth
Hello again, some final words about this thread: One part of our problems we had with the MovieClipLoader has been our handling of events. So after having tested our thing some billion times and burning several brain cells I want to issue a warning: Beware of "onLoadComplete"! If possible,

Re: [Flashcoders] MovieClipLoader, onLoadInit: not working properly / bug

2006-10-28 Thread Rich Rodecker
hmm...you said the external swf's are 6 and 7...do youknowif it's only the version 6 swfs giving you the propblem? or is it both? just trying to isolate. On 10/28/06, Drew Shefman <[EMAIL PROTECTED]> wrote: I've run into an issue with MovieClipLoader, that I haven't been able to find an menti

RE: [Flashcoders] MovieClipLoader, onLoadInit: not working properly / bug

2006-10-28 Thread Mark R. Jonkman
Hi On the same line as Rich's question. Version 6 SWFs use a different security sandbox then v7 SWFs and thus you can get some interesting side effects. One such side-effect is if you try to query said clip it should return null or 0 for things like _bytesLoaded, _bytesTotal etc. The same type of

[Flashcoders] MovieClipLoader/loadMovie vs. digit on instance name

2006-12-09 Thread Wagner Amaral
Yesterday I was building a WindowManager class, and I wanted to assign random names to each created window. So I went for the obvious: var randName:String = String(Math.round( Math.random() * 100 )); var _newWin:Window = Window( _tgt.attachMovie(_linkage, "newWin_" + randName, _tgt.getNextHig

Re: [Flashcoders] MovieClipLoader/loadMovie vs. digit on instance name

2006-12-09 Thread Alain Rousseau
Hi Wagner, INMHO, the best way to add your numbers to the name of MovieClip is to first define a variable as the base name of your mc, then add the number (id) to that base name. I do it like this : var baseName:String = "newWin_"; var mcID:Number = Math.round( Math.random() * 100 ); var

Re: [Flashcoders] MovieClipLoader/loadMovie vs. digit on instance name

2006-12-09 Thread T. Michael Keesey
On 12/9/06, Wagner Amaral <[EMAIL PROTECTED]> wrote: Yesterday I was building a WindowManager class, and I wanted to assign random names to each created window. So I went for the obvious: var randName:String = String(Math.round( Math.random() * 100 )); var _newWin:Window = Window( _tgt.attac

[Flashcoders] MovieClipLoader - Crash in player 7, fine in player 8

2006-04-04 Thread Roman Blöth
Hello folks, once again flash strikes my mind: I've made a small test movie to test my ClipLoader-class, which stores and handles loading queues using a MovieClipLoader. To make a stress test I queue 5 larger swf files for loading on button press (made another button for testing a "stop"-fu

Re: [Flashcoders] MovieClipLoader - Crash in player 7, fine in player 8

2006-04-04 Thread Ian Thomas
Roman, Yes, I've had this - but it seems to only be an issue when working with local files. I've never yet had an issue with online files, even when cached. The only workaround I've found is to queue the requests rather than issue them together - but in most cases that does slow things down...

Re: [Flashcoders] MovieClipLoader - Crash in player 7, fine in player 8

2006-04-04 Thread Martin Weiser
uesday, April 04, 2006 12:03 PM Subject: [Flashcoders] MovieClipLoader - Crash in player 7, fine in player 8 Hello folks, once again flash strikes my mind: I've made a small test movie to test my ClipLoader-class, which stores and handles loading queues using a MovieClipLoader. To make

Re: [Flashcoders] MovieClipLoader - Crash in player 7, fine in player 8

2006-04-04 Thread Roman Blöth
Martin Weiser schrieb: i got similar problem, not possible to access MovieClip.getBytes...() methods, and also affecting progress value of movieClipLoader onProgress event . Maybe show more of your script O.k., seems like I have hit a spot. ;) One addition to the phenomenons we're observ

Re: [Flashcoders] MovieClipLoader - Crash in player 7, fine in player 8

2006-04-04 Thread Roman Blöth
O.k., we've some sort of cure for strange loadClip-behaviors: Between onLoadInit and the next call to loadClip we set a delay of about 500ms (using a setInterval which then invoces the next loadClip) and now we have no crashes any more. That is: When (pre-) loading several external files in q

Re: [Flashcoders] MovieClipLoader - Crash in player 7, fine in player 8

2006-04-04 Thread Ian Thomas
Thanks Roman - I'll try it next time I encounter another MCL situation which crashes FP7. Cheers, Ian On 4/4/06, Roman Blöth <[EMAIL PROTECTED]> wrote: > O.k., we've some sort of cure for strange loadClip-behaviors: > > Between onLoadInit and the next call to loadClip we set a delay of about >

Re: [Flashcoders] MovieClipLoader - Crash in player 7, fine in player 8

2006-04-04 Thread Latcho
"/ loading several external files in queue put a delay of about 500ms between onLoadInit and loadClip/ " _or put them on an http server while developping instead of locally, that worked for me. _ _Latcho _ Roman Blöth wrote: O.k., we've some sort of cure for strange loadClip-behaviors: Betwe

[Flashcoders] MovieClipLoader class problems, getPRogress, getBytesLoaded/Total and FLash 8 player trouble

2006-01-29 Thread Martin Weiser
Hello 1) in flash 7 and 8, myLoader.getProgress(targetMC) return undefined...why? when var loadPorgress=myLoader.getProgress(targetMC) and loadProgress.totalBytes returns number of bytes.??? 2) in flash player 8, in stand alone and in browser, i cannot access MovieClip getBytesTotal and ge

RE: [Flashcoders] MovieClipLoader - Crash in player 7, fine in pl ayer 8

2006-04-04 Thread Van De Velde Hans
ed from an different you can't possibly put code on it and the getBytes simply doesn't work (!) Hans. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Weiser Sent: dinsdag 4 april 2006 12:08 To: Flashcoders mailing list Subject: Re: [Flashcod

RE: [Flashcoders] MovieClipLoader - Crash in player 7, fine in pl ayer 8

2006-04-04 Thread Van De Velde Hans
om: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Van De Velde Hans Sent: dinsdag 4 april 2006 12:25 To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] MovieClipLoader - Crash in player 7, fine in pl ayer 8 I've had some trouble in the Flash 7 plugin when loading J