<param name="base" value="./">
or
<param name="base" value="<?php echo $html->url('/'); ?>">
which will set the base to an absolute path to your cake webroot
depending on where your images are (and your xml too)
I assume
webroot/
xml/
img/
swf/
so you load xml/gallery.xml with img/gallery01/*.jpg, img/gallery02/*.jpg
of course actionScript is beyond scope of cake list - you want to use something like firebug (net tab) to see the paths of files being loaded - you'll then find away (that suits your app) to load various asset files
- S
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.On 29 March 2010 11:35, lacenaepronta@gmail.com <lacenaepronta@gmail.com> wrote:
HI,
I have a workingswf gallery file that dynamically displays images read
from an xml file. When I put all the gallery stuff in the cake
environment, it doesn't work.
The flash swf is detected, but it does not display images.
How can I adjust the paths in the action script and in the xml file to
make it work?
THANKS!!
Dario
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
No comments:
Post a Comment