I have several movies done in flash 6 as1 that call getURL to
play sound files. Is there any way I can create a new movie that
loads those old movies and changes the flash getURL function, so
everytime getURL is called it runs my own getURL function.
Currently getURL on those flash6 as1 movies call the file:
getURL("soundFile.mp3"); - which breaks on the browser.
and my own getURL function would get the url string, like
// loads sound
My goal is to detect every getURL call that is made in the
flash movie, before it does anything.
nope - won't work. the name 'getURL' is a 'reserved word'
specifying that method at the top level classes in flash - you
cannot name another methods the same. you will need copy the movies
into a new document and change the code in those places to load a
SoundObject with the source file, as in:
Thanks for your help.
I have a shockwave movie that loads those flash interactions
and changes the getURL top level class, so when getURL is called on
those movies it runs the function I have on the shockwave loader,
but with the release of shockwave player 11 I started getting
problems, so I'm looking for a solution in flash that does the
My problem is that I have hundreds of those flash
interactions with the getURL issue, and it would take me forever to
change them all =S
Can I define a new getURL class in a package and use import
to bring the class to the loader so it over right the getURL top
level class? But how can I do that..