To work around the sandbox security problem when loading JPEGs from a
different domain, you can always make a proxy.
For example, you can make a servlet that fetches a JPEG from a different
domain. And in the loadClip you give the name of the servlet.
-Original Message-
From: [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 JPEGs that were
Saved for the Web in Adobe Photoshop CS2 with the Optimized checkbox
ticked on : the images simply weren't displayed with Flash plugin 7.
(After re-saving without that option everything was ok.)
Please note that the getBytes-method cannot be called if your externally
loaded content comes from a different domain (Flash plugin sandbox security)
and in that case you need to allow the accessing domain first with a
System.allowDomain in the external content.
Problem : with JPEGs loaded 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: [Flashcoders] MovieClipLoader - Crash in player 7, fine in
player 8
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
Martin
- Original Message -
From: Roman Blöth [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, 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 a stress test I queue 5 larger swf files for loading on button
press (made another button for testing a stop-function).
When trying it out using flash player 8 everithing works just fine, when I
try the same using player 7 (as browser plugin, that is), then the whole
thing crashes.
When using my ClipLoader-class in an actual project, everithing works fine
when only one file is added to the queue, but even the Flash IDE crashes
completely when adding several files for loading.
We've been through all of the code and debugging output for two days with
two programmers now, but we can not find any clue on about what the
problem is.
Anyone out there ever has made experience like this?
MovieClipLoader.loadClip crashing flash ide/flash plugin under certain
conditions?!
Any comment welcome,
regards,
roman.
--
---
gosub communications gmbh | fredersdorfer str. 10 | 10243 berlin
t [030] 29 36 39 1 - 43 | f [030] 29 66 88 84 | http://www.gosub.de
---
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com