Re: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-09 Thread Hans Wichman
> wrote: > > > .Fla -> Publish settings -> Flash -> Local playback security is set to > > "Access network only" right? > > > > > > -Original Message- > > > From: [EMAIL PROTECTED] [mailto: > > [EMAIL PROTECTED] On

Re: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-09 Thread Ray Chuan
-> Publish settings -> Flash -> Local playback security is set to > "Access network only" right? > > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] On Behalf Of Ray Chuan > > Sent: donderdag 9 november 200

Re: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-09 Thread Hans Wichman
ED] [mailto: [EMAIL PROTECTED] On Behalf Of Ray Chuan > Sent: donderdag 9 november 2006 5:44 > To: Flashcoders mailing list > Subject: Re: [Flashcoders] Completely stumped about MovieClipLoader not working > > Hi, > assuming that you use a relative path to the swf, then you can

Re: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-09 Thread Ray Chuan
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ray Chuan Sent: donderdag 9 november 2006 5:44 To: Flashcoders mailing list Subject: Re: [Flashcoders] Completely stumped about MovieClipLoader not working Hi, assuming that you use a relative path to the swf, then you can just use one substring: var ba

RE: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-09 Thread Ben Smeets
t: Re: [Flashcoders] Completely stumped about MovieClipLoader not working Hi, assuming that you use a relative path to the swf, then you can just use one substring: var baseurl:String = _root._url; baseurl = baseurl.substr(0, baseurl.lastIndexOf("/")+1); mcl.loadClip(baseurl+"ar07u

Re: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-08 Thread Ray Chuan
Hi, assuming that you use a relative path to the swf, then you can just use one substring: var baseurl:String = _root._url; baseurl = baseurl.substr(0, baseurl.lastIndexOf("/")+1); mcl.loadClip(baseurl+"ar07ui.swf"); On 11/9/06, Hans Wichman <[EMAIL PROTECTED]> wrote: ps that can be made way m

Re: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-08 Thread Hans Wichman
ps that can be made way more efficient, its still under construction :) On 11/8/06, Hans Wichman <[EMAIL PROTECTED]> wrote: Hi, instead of using your path directly try something like this: class App { public static function getPath (parent:MovieClip, path:String):String { var parUrl:String =

Re: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-08 Thread Hans Wichman
Hi, instead of using your path directly try something like this: class App { public static function getPath (parent:MovieClip, path:String):String { var parUrl:String = parent._url; parUrl = parUrl.split("\\").join("/ "); var pathUrl:String = path.split("\\").join("/ "); var parArr:Array =

Re: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-08 Thread Éric Thibault
I've redone the test on my webserver with the externalinterface and all is functionning normaly if all (HTML and SWF) are in the same folder! If the HTML page is not in the same folder, the external SWF must be called relative to the HTML, not to the loader SWF. Maybe your bug is there! A+

RE: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-08 Thread Mendelsohn, Michael
Thanks for trying. The External Interface is the only thing there that works for me. I get the alerts from the html page, but that's it. It never finds the other swf. Could it be some kind of security issue? I've just copy/past your code inside a new flash file and it is working fine both

Re: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-08 Thread Éric Thibault
I've just copy/past your code inside a new flash file and it is working fine both in the IDE and the browser Published for 7 or 8 AS 2 with the Flash player 8. P.S. I don't have any JS functions inside my HTML... maybe the bug is there? A+ Mendelsohn, Michael a écrit : Hi list... I can'