Have a look at the base param of your flash object
<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
On 29 March 2010 11:35, [email protected] <[email protected]>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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>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.
>
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 [email protected]
To unsubscribe from this group, send email to
[email protected] 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.