Re: [Flashcoders] ActionScript equivalent of embed/object BASE tag

2006-02-06 Thread Jan Schluenzen
Okay, thanks everyone! On 2/5/06, Tyler Wright <[EMAIL PROTECTED]> wrote: > > In flash you'll have to do your own BASE tag. You'll either need to > prepend > which is probably the best way to go, or do something crazy like > > MovieClip.prototype.oldLoadMovie = MovieClip.prototype.loadMovie; > M

Re: [Flashcoders] ActionScript equivalent of embed/object BASE tag

2006-02-04 Thread Tyler Wright
In flash you'll have to do your own BASE tag. You'll either need to prepend which is probably the best way to go, or do something crazy like MovieClip.prototype.oldLoadMovie = MovieClip.prototype.loadMovie; MovieClip.prototype.loadMovie = function(url) { this.oldLoadMovie("http://prepended.BA

Re: [Flashcoders] ActionScript equivalent of embed/object BASE tag

2006-02-03 Thread Rich Rodecker
>The beginning or to add to the beginning. To prefix a header onto a packet means to place the header characters in front of the packet. "To prefix" is the opposite of "to append" characters at the end. As a verb, prefix is not English. The correct word is "prepend," but computer people are notorio

Re: [Flashcoders] ActionScript equivalent of embed/object BASE tag

2006-02-03 Thread Rich Rodecker
>You could do it manually. Create a variable and prepend(not a word!) it to all your loadMovie(), load() etc. calls. damn, i always thought prepend was a real word. anyway, I dont know of a way to set the BASE tag in actionscript, and this sounds like the solution i would go with. PREPEND all yo

Re: [Flashcoders] ActionScript equivalent of embed/object BASE tag

2006-02-03 Thread Jan Schluenzen
Unfortunately _lockroot doesn't fix the path problem. Even if the _root is being changed through _lockroot, the base path is still the one of the wrapping SWF. I guess I'll have to go with Ade's suggestion unless somebody has another idea... On 2/2/06, Cédric Muller <[EMAIL PROTECTED]> wrote: > >

Re: [Flashcoders] ActionScript equivalent of embed/object BASE tag

2006-02-02 Thread Cédric Muller
did you try '_lockroot' ? cedric You could do it manually. Create a variable and prepend(not a word!) it to all your loadMovie(), load() etc. calls. Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jan Schluenzen Sent: 02 February 2006 10:23 To: F

RE: [Flashcoders] ActionScript equivalent of embed/object BASE tag

2006-02-02 Thread Adrian Lynch
You could do it manually. Create a variable and prepend(not a word!) it to all your loadMovie(), load() etc. calls. Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jan Schluenzen Sent: 02 February 2006 10:23 To: Flashcoders mailing list Subject: [Flashco