[SWFObject] SWFObject Digest, Vol 7, Issue 20

Tom Synnott / tomsynnott.com tom at tomsynnott.com
Wed Oct 11 17:17:55 PDT 2006


Hi Rostislav!

I gave it a test in Safari, Unfortunately I couldn't use the browser  
back button :( Also it was loading very slowly... Not sure if that is  
just a server problem though...

Cheers,
Tom



On 12/10/2006, at 6:57 AM, swfobject-request at lists.deconcept.com wrote:

> Send SWFObject mailing list submissions to
> 	swfobject at lists.deconcept.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
> or, via email, send a message with subject or body 'help' to
> 	swfobject-request at lists.deconcept.com
>
> You can reach the person managing the list at
> 	swfobject-owner at lists.deconcept.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of SWFObject digest..."
>
>
> Today's Topics:
>
>    1. Re: Passing URLs thru SWFObject (Geoff Stearns)
>    2. Calling AS Functions from JavaScript using SWF Object
>       (Luke DeWitt)
>    3. Re: Calling AS Functions from JavaScript using SWF	Object
>       (Geoff Stearns)
>    4. SWFAddress and Flex 2 (Rostislav Hristov)
>    5. Re: SWFAddress and Flex 2 (Nathan Meyers)
>    6. Re: SWFAddress and Flex 2 (Geoff Stearns)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 11 Oct 2006 10:37:54 -0400
> From: Geoff Stearns <geoff at deconcept.com>
> Subject: Re: [SWFObject] Passing URLs thru SWFObject
> To: swfobject at lists.deconcept.com
> Message-ID: <2759E71F-4DF4-4C8D-8E64-19217E2A4C17 at deconcept.com>
> Content-Type: text/plain; charset="us-ascii"
>
> really? my test page uses addVariable and it seems to work fine...
>
> are you using the latest version?
>
>
> On Oct 11, 2006, at 4:10 AM, nacho rapallo wrote:
>
>> it works with the non compressed js but with compressed version it
>> doesn't seems to work
>>
>> On 10/10/06, Geoff Stearns < geoff at deconcept.com> wrote:
>> this part is correct:
>>
>>> so.addVariable("myURL", " http://www.myDomain.com/myPage.html");
>>
>> after that, you'll have a variable on your _root timeline called
>> 'myURL' - what you do with it at that point is up to you...
>>
>> one quick fix would be:
>>
>>> on (release) {
>>>       getURL(_root.myURL);
>>> }
>>
>>
>>
>>
>> On Oct 10, 2006, at 2:14 PM, Tim Vaught wrote:
>>
>>> Hello,
>>>
>>> I want to use SWF Object to pass URLs to a button in the flash
>> movie.
>>>
>>> I assume my button's actionscript should be
>>>
>>> on (release) {
>>>       getURL(myURL);
>>> }
>>>
>>>
>>> and the SWF Object code should be
>>>
>>> so.addVariable("myURL", " http://www.myDomain.com/myPage.html");
>>>
>>>
>>> This code is not producing the desired results.  Has anyone
>>> successfully done this before?  If so, where am I going wrong?
>>>
>>> Thanks,
>>> Tim
>>>
>>> _______________________________________________
>>> 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
>>
>>
>>
>> -- 
>>
>> // nacho
>> // (sigo mi terapia en http://cache.yestoall.com)
>> _______________________________________________
>> SWFObject mailing list
>> SWFObject at lists.deconcept.com
>> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.deconcept.com/pipermail/swfobject-deconcept.com/ 
> attachments/20061011/b993c118/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Wed, 11 Oct 2006 14:24:35 -0300
> From: "Luke DeWitt" <luke.dewitt at penguinfire.com>
> Subject: [SWFObject] Calling AS Functions from JavaScript using SWF
> 	Object
> To: <SWFObject at lists.deconcept.com>
> Message-ID: <000e01c6ed5a$1fb6efc0$7a16a8c0 at pflukedev>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hey All,
>
> I was wondering if anybody had a resource where I could find info  
> on calling AS functions from JavaScript when using SWF Object.
>
> Right now I have the plain old Flash code and this JavaScript  
> function:
>
> function reinitialize() {
>
> if (navigator.appName.indexOf("Microsoft") != -1) {
>
> flash = window.menubar;
>
> }
>
> else {
>
> flash = window.document.menubar;
>
> }
>
> flash.runCollapseMenu();
>
> }
>
>
>
> Inside my AS file I have an ExternalInterface Callback set up to  
> respond to runCollapseMenu...
>
> Obviously, now I do not have the same set up with SWF Object, so  
> how would I go about re-writing this JS in order to work properly  
> for me?
>
> Thanks,
>
>
>
> --LD
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.deconcept.com/pipermail/swfobject-deconcept.com/ 
> attachments/20061011/3570bcff/attachment-0001.htm
>
> ------------------------------
>
> Message: 3
> Date: Wed, 11 Oct 2006 13:37:47 -0400
> From: Geoff Stearns <geoff at deconcept.com>
> Subject: Re: [SWFObject] Calling AS Functions from JavaScript using
> 	SWF	Object
> To: swfobject at lists.deconcept.com
> Message-ID: <0098B9D8-ED59-4CD6-B845-1EA3D65F8394 at deconcept.com>
> Content-Type: text/plain; charset="us-ascii"
>
> the important part is how you get the reference to the swf...
>
> swfobject uses the same id whether or not it uses an object or an
> embed tag to insert the flash content, so it makes it easy.
>
> this code:
>
> if (navigator.appName.indexOf("Microsoft") != -1) {
>
> flash = window.menubar;
>
> }
>
> else {
>
> flash = window.document.menubar;
>
>
>
> can be replaced by:
>
>
>
> flash = document.getElementById("menubar");
>
>
>
> and the rest of your code should be fine.
>
>
>
>
>
>
>
> On Oct 11, 2006, at 1:24 PM, Luke DeWitt wrote:
>
>> if (navigator.appName.indexOf("Microsoft") != -1) {
>> flash = window.menubar;
>>
>> }
>>
>> else {
>>
>> flash = window.document.menubar;
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.deconcept.com/pipermail/swfobject-deconcept.com/ 
> attachments/20061011/4e78d614/attachment.html
>
> ------------------------------
>
> Message: 4
> Date: Wed, 11 Oct 2006 21:44:23 +0300
> From: "Rostislav Hristov" <rostislav.hristov at gmail.com>
> Subject: [SWFObject] SWFAddress and Flex 2
> To: swfobject at lists.deconcept.com
> Message-ID:
> 	<435de1430610111144k4356f625vf8fa5ef616bd199c at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Geoff and everyone on the list,
>
> I'm currently working on a typical flash website and I thought that it
> will be great if it supports bookmarking and navigation using the
> browser's back and forward buttons. Recently I wrote something similar
> for an Ajax app and now I've made it compatible with the Flash Player.
> Since SWFObject is my choice for Flash embedding I've decided to
> integrate my script with it and to give it a similar name.
>
> The first demo is avalable at http://www.asual.com/swfaddress/flash/
>
> I've used SWFObject v2.0 as a base and I did some tricks to extend it
> at runtime so that no additional JS code is needed for SWFAddress. The
> script uses ExternalInterface and therefore it's only compatible with
> FP8+. It works fine with Internet Explorer 6 and Mozilla Firefox 1.5,
> but it fails in Opera and probably I will disable it for this browser.
> I will appreciate a test report with Safari.
>
> I'm looking forward to add support for Flex 2 applications and I
> wonder what are your plans in this direction.
>
> Best,
> Rostislav
>
>
>
>
>
> -- 
> EnFlash - It's all about features...
> http://www.asual.com/enflash/
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 11 Oct 2006 22:42:20 +0200
> From: Nathan Meyers <nmeyers at telkomsa.net>
> Subject: Re: [SWFObject] SWFAddress and Flex 2
> To: swfobject at lists.deconcept.com
> Message-ID: <40C0ECF8-1972-428C-BB48-0B2058FF2811 at telkomsa.net>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
> It would be really great to see how you implemented this!
> I tested it in Firefox 1.5.0.7 and it works but it fails in Opera
> 9.02 and Safari 2.0.4 all on Mac OSX 10.4.7.
>
> I was working a little while back with some script that I picked up
> at http://www.unfocus.com/forums/viewforum.php?
> f=1&sid=e2fc05ea48d42f0495278d20c1f4a025 but it was rather buggy and
> it's not something that is kept updated.
>
> So, right now I'd be really keen to see how you got this working with
> SWFobject because this would certainly be the cleanest way for this
> to work.
>
> Are you planning on making your code available at some point?
>
> Thanks, great work!!!
>
> 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 Oct 11, 2006, at 8:44 PM, Rostislav Hristov wrote:
>
>> Hi Geoff and everyone on the list,
>>
>> I'm currently working on a typical flash website and I thought  
>> that it
>> will be great if it supports bookmarking and navigation using the
>> browser's back and forward buttons. Recently I wrote something  
>> similar
>> for an Ajax app and now I've made it compatible with the Flash  
>> Player.
>> Since SWFObject is my choice for Flash embedding I've decided to
>> integrate my script with it and to give it a similar name.
>>
>> The first demo is avalable at http://www.asual.com/swfaddress/flash/
>>
>> I've used SWFObject v2.0 as a base and I did some tricks to extend it
>> at runtime so that no additional JS code is needed for SWFAddress.  
>> The
>> script uses ExternalInterface and therefore it's only compatible with
>> FP8+. It works fine with Internet Explorer 6 and Mozilla Firefox 1.5,
>> but it fails in Opera and probably I will disable it for this  
>> browser.
>> I will appreciate a test report with Safari.
>>
>> I'm looking forward to add support for Flex 2 applications and I
>> wonder what are your plans in this direction.
>>
>> Best,
>> Rostislav
>>
>>
>>
>>
>>
>> -- 
>> EnFlash - It's all about features...
>> http://www.asual.com/enflash/
>> _______________________________________________
>> SWFObject mailing list
>> SWFObject at lists.deconcept.com
>> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Wed, 11 Oct 2006 16:55:28 -0400
> From: Geoff Stearns <geoff at deconcept.com>
> Subject: Re: [SWFObject] SWFAddress and Flex 2
> To: swfobject at lists.deconcept.com
> Message-ID: <7E3399CE-5A91-4E78-A2A1-7EF51E40AB47 at deconcept.com>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
> awesome... i have been working on my own version, but i hit some
> issues with it, and was talking to kevin newman (the guy who wrote
> the unfocus history keeper version) to try and get him to update it
> to add a couple of features I wanted.
>
> it looks like you nailed all the features, though... page title, link
> + back button that is.
>
> it would be cool to make it work (at least partially) in safari...
> kevin came up with a way of checking the history.length to see when
> the user navigates in safari, so maybe you could work some of that in?
>
> another thing to consider, is building SEO stuff into this... ideally
> the site would be fully indexable by google and also mobile devices
> that don't support flash or javascript as well... any plans on
> working on stuff in that area?
>
>
>
> On Oct 11, 2006, at 2:44 PM, Rostislav Hristov wrote:
>
>> Hi Geoff and everyone on the list,
>>
>> I'm currently working on a typical flash website and I thought  
>> that it
>> will be great if it supports bookmarking and navigation using the
>> browser's back and forward buttons. Recently I wrote something  
>> similar
>> for an Ajax app and now I've made it compatible with the Flash  
>> Player.
>> Since SWFObject is my choice for Flash embedding I've decided to
>> integrate my script with it and to give it a similar name.
>>
>> The first demo is avalable at http://www.asual.com/swfaddress/flash/
>>
>> I've used SWFObject v2.0 as a base and I did some tricks to extend it
>> at runtime so that no additional JS code is needed for SWFAddress.  
>> The
>> script uses ExternalInterface and therefore it's only compatible with
>> FP8+. It works fine with Internet Explorer 6 and Mozilla Firefox 1.5,
>> but it fails in Opera and probably I will disable it for this  
>> browser.
>> I will appreciate a test report with Safari.
>>
>> I'm looking forward to add support for Flex 2 applications and I
>> wonder what are your plans in this direction.
>>
>> Best,
>> Rostislav
>>
>>
>>
>>
>>
>> -- 
>> EnFlash - It's all about features...
>> http://www.asual.com/enflash/
>> _______________________________________________
>> 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
>
>
> End of SWFObject Digest, Vol 7, Issue 20
> ****************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20061012/2bb6340b/attachment-0004.htm>


More information about the Swfobject mailing list