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
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 {//
-
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
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
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");//-
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
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
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
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?___
__
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
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.
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
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
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
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
; 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
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)
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
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
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
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
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 =
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
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
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
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
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
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: "[
-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.
>
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
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
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
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
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
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
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
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,
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
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
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
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
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
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
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...
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
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
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
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
>
"/ 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
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
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
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
52 matches
Mail list logo