Hi Yosh.

SWFobject does not have the ability to "load the page". Your page loads the
swfobject.js file, and it then in turn embeds your swf file(s).

You are seeing the whole castle-quest_v1.html page refresh/re-render
multiple times? (or you are just seeing multiple requests to the server for
certain assets on the page)?

I can only see a single call to the game when I view in a http
traffic analyzer ( Using either Charles or service capture)
http://www.yoflash.com/images/games/castle-quest_v1/CastleQuest_License.swf


Where do you get your played stats from? I can see a bunch of beacon calls
going off to various places:

e.g.

(from within Flash)
http://beacon.securestudies.com/scripts/beacon.dll?C1=8&C2=6035824&C3=1271511541440207100&C4=&C5=&C6=
yume_tracker:img,
http://pl.yumenetworks.com/dynamic_watchedchapter_1_22767_0_0.gif?tracker=0rO0ABXchAAAAAQAAAAAoraZ5BgAAWO8AACOvAAAA6GFUwqoE5QCa

on the page:

http://www.statcounter.com/counter/counter_xhtml.js
http://c.statcounter.com/t.php?sc_project=5172213&resolution=1920&h=1200&camefrom=&u=http%3A//www.yoflash.com/demo/all/castle-quest_v1.html&t=Castle%20Quest%20-%20All%20Games&java=1&security=f8a25fac&sc_random=0.30840946510365685&sc_snum=1&invisible=1



Also, I can see that you are not targeting your swf properly with your
swfobject.registerObject() call. You are targeting your wrapper div, where
you should be targeting the <object> tags directly. Have a read of the docs
for more info.


I suggest if you want to try to get to the bottom of this, that you create a
stripped down version of the page with just swfobject and your required game
swf. If you still see multiple loads of the swf, then you know it is
potentially swfobject related. At the moment there is just too much going on
in the apge to be able to clearly identify what might be causing the issue.


Aran



On Mon, Aug 30, 2010 at 12:52 PM, yosha <[email protected]> wrote:

> Hello everyone,
>
> I have an issue that I can't figure out on my own.
> I use SWFObject to load flashgames in a webpage.
> However, checking with FF3 (and Firebug) and IE, I see that the actual
> HTML page gets loaded between 2 and 4 times. If I remove the SWFObject
> Code, the page loads only once.
>
> I am not sure if this is a SWFObject issue though, however, i couldn't
> find a better group to track down this issue.
>
> You can see a demonstration here:
> http://www.yoflash.com/demo/all/castle-quest_v1.html
>
> If you click on the stats-tabs you see "Times played". If you releoad
> the page, the counter have probably increased between 2 and 4 times.
> This happens on FF as well as IE.
>
> Any tips?
>
> Regards
>  Yosh
>
> --
> You received this message because you are subscribed to the Google Groups
> "SWFObject" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<swfobject%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/swfobject?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"SWFObject" 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/swfobject?hl=en.

Reply via email to