Hey, Flashcoders!

I'm working on a custom Flash player for a high traffic web site.  One issue 
we're having is that Safari users can trap the path to the mp3 file we're 
pulling in with loadSound by using their activity monitor.

Has anyone figured out a way to obfuscate that path from activity monitors?  Is 
there a way to load an mp3 into a Flash movie without exposing its source?

Thanks so much for your time!

Steve

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hans Wichman
Sent: Thursday, November 09, 2006 9:42 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Completely stumped about MovieClipLoader not working

Hi,

not very much, the only thing i noticed when moving from flash 8 to 9, is
that _url returns \ locally on flash 8 and / on flash 9.
Not a big change, but enough to break things locally :).

greetz
JC


On 11/9/06, Ray Chuan <[EMAIL PROTECTED]> wrote:
>
> Thanks for the tip.
>
> Any examples of how this behaviour changes? Eg in version this and that.
>
> On 11/9/06, Hans Wichman <[EMAIL PROTECTED]> wrote:
> > Hi,
> > whether baseurl = baseurl.substr(0, baseurl.lastIndexOf("/")+1);  works
> > depends on player version and whether you are running it in a browser or
> on
> > a disk.
> > To be sure, replace any \ by / upfront.
> >
> > greetz
> > JC
> >
> > On 11/9/06, Ray Chuan <[EMAIL PROTECTED]> wrote:
> > >
> > > I think you can get the same effect using System.security.allowDomain.
> > >
> > > On 11/9/06, Ben Smeets <[EMAIL PROTECTED]> wrote:
> > > > .Fla -> 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 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 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 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 = parent._url;
> > > > > >    parUrl = parUrl.split("\\").join("/");
> > > > > >
> > > > > >   var pathUrl:String = path.split("\\").join("/");
> > > > > >
> > > > > >   var parArr:Array = parUrl.split("/");
> > > > > >    parArr.pop();
> > > > > >    parUrl = parArr.join("/")+"/";
> > > > > >
> > > > > >   return parUrl+pathUrl;
> > > > > >  }
> > > > > > }
> > > > > >
> > > > > > And in your code:
> > > > > > mcl.loadClip(App.getPath(_root, "ar07ui.swf"), ui);
> > > > > >
> > > > > > greetz
> > > > > > JC
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 11/8/06, Éric Thibault <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > 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+
> > > > > > >
> > > > > > > Mendelsohn, Michael a écrit :
> > > > > > > > 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?
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > _______________________________________________
> > > > > > > [email protected]
> > > > > > > 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
> > > > > > >
> > > > > >
> > > > > >
> > > > > _______________________________________________
> > > > > [email protected]
> > > > > 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
> > > > >
> > > >
> > > >
> > > > --
> > > > Cheers,
> > > > Ray Chuan
> > > > _______________________________________________
> > > > [email protected]
> > > > 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
> > > > _______________________________________________
> > > > [email protected]
> > > > 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
> > > >
> > >
> > >
> > > --
> > > Cheers,
> > > Ray Chuan
> > > _______________________________________________
> > > [email protected]
> > > 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
> > >
> > _______________________________________________
> > [email protected]
> > 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
> >
>
>
> --
> Cheers,
> Ray Chuan
> _______________________________________________
> [email protected]
> 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
>
_______________________________________________
[email protected]
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

_______________________________________________
[email protected]
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

Reply via email to