[SWFObject] Using swfObject with named anchors

Geoff Stearns geoff at deconcept.com
Thu May 4 07:56:29 PDT 2006


just try adding:

so.addParam("swLiveConnect", "true");

before the .write() call and see if that does it.


On May 4, 2006, at 10:54 AM, Nathan Meyers wrote:

> Thanks for the reply Geoff
> I'm not so clued up on all this stuff (I still haven't been able to  
> get
> 2 Flash movies on the page using swfObject :0) so no, I haven't tried
> anything yet. I don't know where I should add it. I will try it out
> myself if nobody else has a working solution.
>
> Just to mention though, I have tried the page without any parameters
> set in the HTML and it doesn't work.
>
> Will let you know.
> Thanks again,
> Nathan Meyers @ The Orange Dog
> The Orange Dog House | 32 Whittler's Way | Hout Bay, 7806 |
> T:+27[0]21 790 6092 | F:+27[0]21 791 4460
>
> View our portfolio: http://www.orangedog.co.za/
> Visit our Blog: http://www.orangedog.co.za/blog/
> ----
> NEW in 2006
> Hout Bay Online: http://www.houtbayonline.com
> Powered by The Orange Dog
>
>
> On May 4, 2006, at 4:40 PM, Geoff Stearns wrote:
>
>> well it should just work, but you'll have to make sure that you have
>> all the correct parameters added in...
>>
>> it looks like they have the swfliveconnect param set, and you'll need
>> to place the anchors on the page for it to work in ie5 i think.
>>
>> have you tried it yet?
>>
>> On May 4, 2006, at 10:30 AM, Nathan Meyers wrote:
>>
>>> Sorry Geoff. I'm referring to the feature that was released with  
>>> Flash
>>> MX for Flash 6 if I'm not mistaken. When publishing a file you have
>>> the
>>> option to choose which HTML template you want to use to generate the
>>> code for you. This is the code generated by the HTML template for
>>> Named
>>> Anchors. You will find the file anchors.html in the Flash directory.
>>>
>>> <body bgcolor="#ffffff">
>>> <!--url's used in the movie-->
>>> <!--text used in the movie-->
>>> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
>>> codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/
>>> swflash.cab#version=8,0,0,0" width="770" height="60" id="weather"
>>> align="middle">
>>> <param name="allowScriptAccess" value="sameDomain" />
>>> <param name="movie" value="weather.swf" /><param name="quality"
>>> value="high" /><param name="bgcolor" value="#ffffff" /><embed
>>> src="weather.swf" quality="high" bgcolor="#ffffff" width="770"
>>> height="60" name="weather" align="middle" swLiveConnect="true"
>>> allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
>>> pluginspage="http://www.macromedia.com/go/getflashplayer" />
>>> </object>
>>> <!--bookmarks used in the movie-->
>>> <a name="anchor1"></a>
>>> <a name="anchor2"></a>
>>> </body>
>>> </html>
>>>
>>> The anchors used are in the last 4 lines. This allows you to switch
>>> between keyframes in your movie using the browser buttons.
>>> Any idea how to include this in swfObject?
>>>
>>> Nathan Meyers @ The Orange Dog
>>> The Orange Dog House | 32 Whittler's Way | Hout Bay, 7806 |
>>> T:+27[0]21 790 6092 | F:+27[0]21 791 4460
>>>
>>> View our portfolio: http://www.orangedog.co.za/
>>> Visit our Blog: http://www.orangedog.co.za/blog/
>>> ----
>>> NEW in 2006
>>> Hout Bay Online: http://www.houtbayonline.com
>>> Powered by The Orange Dog
>>>
>>>
>>> On May 4, 2006, at 4:16 PM, Geoff Stearns wrote:
>>>
>>>> does this work normally in flash? or are you talking about some
>>>> javascript to control this?
>>>>
>>>>
>>>>
>>>> On May 4, 2006, at 8:50 AM, Nathan Meyers wrote:
>>>>
>>>>> Hi all
>>>>> Is there a way to use the swfObject with keyframes named as  
>>>>> anchors?
>>>>> I just want the back and forward buttons on the browser to work  
>>>>> when
>>>>> going between frames on the main timeline.
>>>>>
>>>>> Any help would be appreciated.
>>>>>
>>>>> Thanks,
>>>>> Nathan Meyers @ The Orange Dog
>>>>> The Orange Dog House | 32 Whittler's Way | Hout Bay, 7806 |
>>>>> T:+27[0]21 790 6092 | F:+27[0]21 791 4460
>>>>>
>>>>> View our portfolio: http://www.orangedog.co.za/
>>>>> Visit our Blog: http://www.orangedog.co.za/blog/
>>>>> ----
>>>>> NEW in 2006
>>>>> Hout Bay Online: http://www.houtbayonline.com
>>>>> Powered by The Orange Dog
>>>>> _______________________________________________
>>>>> SWFObject mailing list
>>>>> SWFObject at lists.deconcept.com
>>>>> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>>>> _______________________________________________
>>>> SWFObject mailing list
>>>> SWFObject at lists.deconcept.com
>>>> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>>>
>>> _______________________________________________
>>> SWFObject mailing list
>>> SWFObject at lists.deconcept.com
>>> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>>
>> _______________________________________________
>> SWFObject mailing list
>> SWFObject at lists.deconcept.com
>> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>>
>
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com




More information about the Swfobject mailing list