Again, how peculiar. I'd love to take a look at the internals of
MovieClip and Flash's loader system to see what's causing that
particular glitch!
Cheers,
Ian
On 8/24/06, Chris Allen [EMAIL PROTECTED] wrote:
Okay,
I have fixed the problem. I would say that this is certainly bug with
Flash,
On 8/24/06, Chris Allen [EMAIL PROTECTED] wrote:
Thanks for your help on this Ian.
I'm not sure I understand all of what you found here, so let me
summarize with some questions to see if I got it right.
Flash 6 SWFs fail every time when loaded remotely? - This hasn't been
my experience. I've
Okay, weirder and weirder:
On my local machine loading from a local file, loading .swf v6 gives
instanceof MovieClip=false and v7 and v8 give instanceof
MovieClip=true.
On a remote machine loading from that same remote machine, loading
.swf v6 gives instanceof MovieClip=false and v7 and v8 give
Oh, I should add - I get the same results when I throw the Fling code
out completely and write a simple loader from scratch.
Cheers,
Ian
On 8/24/06, Ian Thomas [EMAIL PROTECTED] wrote:
I'm certainly running out of ideas for a simple fix, here - and it's
definitely not the loading code, it's
Thanks for your help on this Ian.
I'm not sure I understand all of what you found here, so let me
summarize with some questions to see if I got it right.
Flash 6 SWFs fail every time when loaded remotely? - This hasn't been
my experience. I've been able to load some small ones (20K) without
the
Okay,
I have fixed the problem. I would say that this is certainly bug with
Flash, but there is a work around. Thanks to Keith Peters for
mentioning this to me last night.
So here's the deal... Back in the day before MovieClipLoader when you
wanted to load and external SWF, you had to check a
ha, how old school. when in doubt wait a frame or 15...
On 8/24/06, Chris Allen [EMAIL PROTECTED] wrote:
Okay,
I have fixed the problem. I would say that this is certainly bug with
Flash, but there is a work around. Thanks to Keith Peters for
mentioning this to me last night.
So here's the
Wow, and I thought KP was only good with random()!
yeah yeah, I know, I owe you a beer for that one.
On 8/24/06, Johannes Nel [EMAIL PROTECTED] wrote:
ha, how old school. when in doubt wait a frame or 15...
On 8/24/06, Chris Allen [EMAIL PROTECTED] wrote:
Okay,
I have fixed the problem.
Hi Johannes,
Welcome back to Boston! (I didn't get a chance to say so on the BFPUG list)
On 8/23/06, Johannes Nel [EMAIL PROTECTED] wrote:
thats quite a hack. a normal cast then returns null i assume?
Yeah that's quite a hack indeed! We are casting the thing with a
normal cast as well and it
seeing you at the meeting tonight i take it :)
this is a world of pain by the looks of it... have you tried loading it in
without a loader, rather old style target.load(path) and see if that solves
the problem. i have had some weirdness in flex1.5 with loading content as
well and hacking it like
yeah I tried that this morning (using loadMovie() instead of mcl) - same
results
On 8/23/06, Johannes Nel [EMAIL PROTECTED] wrote:
seeing you at the meeting tonight i take it :)
this is a world of pain by the looks of it... have you tried loading it in
without a loader, rather old style
On 8/23/06, Johannes Nel [EMAIL PROTECTED] wrote:
seeing you at the meeting tonight i take it :)
Yeah! Definitely.
this is a world of pain by the looks of it... have you tried loading it in
without a loader, rather old style target.load(path) and see if that solves
the problem. i have had
BTW, there is a unit test to recreate the problem. It can be found here:
http://svn1.cvsdude.com/osflash/fling/DEV_Source/classes/org/osflash/fling/tests/TestMovieAsset.as
See testShowMovie()
-Chris
On 8/23/06, Chris Allen [EMAIL PROTECTED] wrote:
On 8/23/06, Peter Hall [EMAIL PROTECTED]
yeah, i think i agree with peter that the problem is then that you do not
extend movieclip. we can get semantic about this tonight, but only once we
have a beer in hand...
;)
On 8/23/06, Chris Allen [EMAIL PROTECTED] wrote:
On 8/23/06, Peter Hall [EMAIL PROTECTED] wrote:
Perhaps you have a
Yes. Beer. See you then.
Peter
On 8/23/06, Johannes Nel [EMAIL PROTECTED] wrote:
yeah, i think i agree with peter that the problem is then that you do not
extend movieclip. we can get semantic about this tonight, but only once we
have a beer in hand...
;)
On 8/23/06, Chris Allen [EMAIL
Sounds good guys!
One minor update to think about before we are at the pub though. The
problem only occurs when loading a rather large SWF. If it's a small
one (20k or so) or it's on my local computer, then the MovieClip loads
up, it is an actual MovieClip and all of the properties including
Hi Chris,
Having had a trawl through the source code, I see what you're
getting at. The fact that MovieAsset doesn't extend MovieClip is
nothing to do with the problem; MovieAsset wraps a MovieClip property
and passes that back, and that should be fine.
I've no idea where it's going wrong, I'm
On 8/23/06, Ian Thomas [EMAIL PROTECTED] wrote:
Hi Chris,
Having had a trawl through the source code, I see what you're
getting at. The fact that MovieAsset doesn't extend MovieClip is
nothing to do with the problem; MovieAsset wraps a MovieClip property
and passes that back, and that should
Hi Chris,
I've tried that (with a bit tweaking for syntax errors) and it all
works fine - instanceof returns the correct results. This is loading a
clip I created from scratch (Flash 8, WinXP) - if you have a sample
clip I can try that's failing for you, that's be good.
However, I did have to
also what bout the content you are loading in, have you tried changing that?
On 8/23/06, Ian Thomas [EMAIL PROTECTED] wrote:
Hi Chris,
I've tried that (with a bit tweaking for syntax errors) and it all
works fine - instanceof returns the correct results. This is loading a
clip I created from
Oh, I should add, this is after I commented out the line:
if(targetMC instanceof MovieClip == false) targetMC.__proto__ = new MovieClip();
from MovieAssets - which I assume was your temporary hack to fix
things. It all works for me without this line.
Cheers,
Ian
On 8/23/06, Ian Thomas [EMAIL
Hey Ian, try loading something off of a web server thats takes at least a
second or 2 to load
On 8/23/06, Ian Thomas [EMAIL PROTECTED] wrote:
Hi Chris,
I've tried that (with a bit tweaking for syntax errors) and it all
works fine - instanceof returns the correct results. This is loading a
Yes, we've tested with several SWF's varying in size and target player (6-8)
On 8/23/06, Johannes Nel [EMAIL PROTECTED] wrote:
also what bout the content you are loading in, have you tried changing
that?
On 8/23/06, Ian Thomas [EMAIL PROTECTED] wrote:
Hi Chris,
I've tried that (with a
Hi John,
Yeah, I've now tried it with a bunch of random downloaded movies and
managed to get some to fail.
I think I've nailed it - or at least, one thing that produces the problem.
At least on my system - if you load in a .swf version 7 or 8, it
works fine. If you load in a .swf version 6,
wow, no infact, that confuses me ;) I've been loading Flash8 and 7 files
and they've failed along with the version 6 swf's.
If I load the Fp8 version locally, it seems to work, but from a web server,
it seems to not.
On 8/23/06, Ian Thomas [EMAIL PROTECTED] wrote:
Hi John,
Yeah, I've now
Weird.
It's very reproducible here - I've tried varying sizes between 1Kb and
200Kb. They all fail if published to FP6, but work if published to FP7
and FP8 (the loader movie itself I've tested published to FP7 and
FP8).
I haven't tested a remote FP8 file, as I don't have one to hand.
Gonna
cool, thanks Ian, I'll try the same tests with published swf's
Really appreciate your help!
On 8/23/06, Ian Thomas [EMAIL PROTECTED] wrote:
Weird.
It's very reproducible here - I've tried varying sizes between 1Kb and
200Kb. They all fail if published to FP6, but work if published to FP7
and
27 matches
Mail list logo