gabordemeter ha scritto:
Claudio:
Not sure I understood what you suggest. You say:
instead of putting an hash to swf, try
putting something like this in source url:
/controller/action/param?uniqueid='.uniqid(rand(),true)
where should I put this? the source of the file is 'swf/chart.swf'.
There's no controller, no action and no param. Just the swf folder with
the chart.swf file in it.
I never heard or used swfobject helper, anyway you say:
"The movie gets data from a cake controller and plots it on a chart."
I assumed that you can call a controller action dinamically, just like
php/swf charts do.
Did you hardcode the controller action into chart.swf?
If I do 'sfw/chart.swf?uniqueid='.uniqid(rand(),true) this is exactly
what i've done already and it did not work.
Remember, I was using:
$swfobject->display('/swf/chart.swf?nocache='.floor(rand(1,1000000)/rand(1,
10000)); Isn't this same as what you suggest?
well, see above, sorry if I misunderstood.
http://www.maani.us/charts/index.php?menu=Tutorial&submenu=Chart_Source
see "caching".
kain
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---