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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 04:24:32
Script start
Timing: Jan 31 2025 04:24:32
Module start 'layout'
Timing: Jan 31 2025 04:24:32
Module start 'content'
Timing: Jan 31 2025 04:24:32
Module end 'content'
Timing: Jan 31 2025 04:24:32
Script end

Main resources:

Total runtime0.0138 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 588.1328151.2109
Module start 'layout' 0.00450.0028 739.343836.6484
Module start 'content' 0.00720.0051 775.992290.1406
Module end 'content' 0.01240.0014 866.132829.9922
Script end 0.0137  896.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002316.9673140.0002
Check MTime0.00107.4188140.0001
Mysql Total
Database connection0.00064.432910.0006
Mysqli_queries0.002417.771430.0008
Looping result0.00000.116110.0000
Template Total0.00107.410.0010
Template load0.00085.626910.0008
Template processing0.00021.758910.0002
Override
Cache load0.00053.939010.0005
General
dbfile0.00075.164280.0001
String conversion0.00000.043340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs