Forums / Developer / Flash: Loading from server
Masamune
Wednesday 01 June 2005 2:23:27 am
I managed to load a swf file inside an article, it's a gallery movie that loads images dynamically from the server.
Suppose I want to load the following image: <i>/mydesign/images/swf/gallery.jpg</i> in the swf file I should write: <b>my_mc.loadMovieClip(domain+"/images/swf/gallery.jpg");</b>where domain is: <i>"http://localhost/index.php/mydesign"</i>
It's not loading any image file, it's working fine locally not through the server.
Any idea how should I write the url...10x.
Bernhard Reiter
Wednesday 01 June 2005 7:03:53 am
Reduce the domain to only http://localhost and leave away the index.php and the design.
That way ez would try to find an module called images ;-)