flash movie with MAFileModel and SWFObject
Esteban Lorenzano
estebanlm at gmail.com
Mon Feb 9 16:03:30 MET 2009
No, it starts a download (of mymovie.swf) :(
Cheers,
Esteban
On 2009-02-09 12:02:44 -0200, Udo Schneider
<Udo.Schneider at homeaddress.de> said:
> Esteban,
>
> > /seaside/Stroytrast?_s=rigOmvO5PzX_VmOo
> What happens if you type the URL directly in the browser? Does the flash
> file play?
>
>
> CU,
>
> Udo
>
>
> Esteban Lorenzano schrieb:
>> Hi, Udo,
>>
>> This is the generated URL, with #urlOn:
>>
>> /seaside/Stroytrast?_s=rigOmvO5PzX_VmOo
>>
>> And this is the script generated:
>>
>> <script type="text/javascript">/*<![CDATA[*/function
>> onLoad(){swfobject.embedSWF('/seaside/Stroytrast?_s=rigOmvO5PzX_VmOo',
>> 'id12', '310', '137', '9.0.0',
>> '/seaside/files/SwfObjectFileLibrary/expressInstall.swf', {}, {},
>> {"id":"id12"});}/*]]>*/</script>
>>
>>
>> Seems to be the same :(
>>
>> Cheers,
>> Esteban
>>
>> On 2009-02-08 15:37:46 -0200, Udo Schneider
>> <Udo.Schneider at homeaddress.de> said:
>>
>>> Esteban,
>>>
>>> the first thing that comes to my mind is that the JSON encoding somehow
>>> scrambles the URL.
>>>
>>> Could you send me the url which /should/ be shown and the one from the
>>> loadScript at the end of the page source?
>>>
>>> CU,
>>>
>>> Udo
>>>
>>>
>>> Esteban Lorenzano schrieb:
>>>> Hi,
>>>> I'm trying to render some uploaded files as flash movies... but without
>>>> success by now... I thought it was easy, just putting this method in
>>>> MAFileModel (and of course, changing #renderOn:)
:
>>>>
>>>> renderFlashOn: html
>>>> html swfObject
>>>> url: (self urlOn: html);
>>>> with: 'Loading...'.
>>>>
>>>> But nothing happens (it shows "Movie not loaded...")
>>>>
>>>> If I put an "example" url, the example movie is loaded ok... :(
>>>>
>>>> renderFlashOn: html
>>>> html swfObject
>>>> url: 'http://www.mariaclaudiacortes.com/colors/Colors.swf';
>>>> with: 'Loading...'.
>>>>
>>>> So I think there is something in the URL generated by #urlOn: that is
>>>> not good for swfObject (writing the html code directly drives to the
>>>> same answer)...
>>>>
>>>> Any idea?
>>>> Thanks,
>>>> Esteban
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> SmallWiki, Magritte, Pier and Related Tools ...
>>>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>>>>
>>>
>>>
>>> _______________________________________________
>>> SmallWiki, Magritte, Pier and Related Tools ...
>>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>>
>>
>>
>>
>> _______________________________________________
>> SmallWiki, Magritte, Pier and Related Tools ...
>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>>
>
>
> _______________________________________________
> SmallWiki, Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
More information about the smallwiki
mailing list