Forums / Developer / Flash: Loading from server

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Flash: Loading from server

Author Message

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 ;-)