Thanks Sam,

I will create it with the dynamic publishing and check how it goes.

F.

On Mon, Mar 8, 2010 at 3:19 PM, Sam Sherlock <[email protected]> wrote:

> Your using static objects - your better to use dynamic
>
> a moment ago you had dynamic partially setup
>
> and have now converted to static - you can use static but you will have
> more markup to get right and with the way your use scripts and setting the
> swf src's you better off using dynamic
>
>
> place a single script source in the head of the document and a call to
>
> swfobject.embedSWF() for each swf you and to place - you can resue the
> flashvars, params and attribs (altering them inbetween calls to swfobject)
>
> also I am getting CountryCode is not defined
>
> - S
>
>
>
>
> On 8 March 2010 10:56, Fahad Bhatti <[email protected]> wrote:
>
>>  Hi Sam
>>
>> Here is the test page link:
>> http://www.osnetwork.com/DefaultTest_en_gb.aspx
>>
>> The CountryCode(); is already in use at this page:
>> http://www.osnetwork.com/
>>
>> Cheers
>> F.
>>
>>   On Mon, Mar 8, 2010 at 2:37 PM, Sam Sherlock <[email protected]>wrote:
>>
>>> Would be helpful if you can provide a link (a test page). I assume that
>>> the semi colon did not fix the issue. try the following
>>>
>>> can you inspect the results swfobject.embedSWF using firefox&firebug or
>>> chrome or what have you
>>>
>>> your expecting to see the flashvars object converted into something like
>>> the following
>>>
>>> <param name="flashvars" value="ccode=USA" />
>>>
>>> Oh and the script setup is best placed in the head of the html doc
>>>
>>> or failing that before the body closes - your snippet may imply that you
>>> have the script call to embedSWF before the object its targeting
>>>
>>> also you may need  swfobject.switchOffAutoHideShow()- S
>>>
>>>
>>>
>>>
>>>
>>> On 8 March 2010 10:16, Fahad Bhatti <[email protected]> wrote:
>>>
>>>>  Its returning the text string (e.g: KSA, IRQ, USA, GB) which flash
>>>> variable use for calculating the time for each program we are displaying.
>>>>
>>>> CountryCode(); = USA
>>>>
>>>> Fahad.
>>>>
>>>>
>>>>   On Mon, Mar 8, 2010 at 1:24 PM, Sam Sherlock 
>>>> <[email protected]>wrote:
>>>>
>>>>>  What type of var is *CountryCode(); *returning?
>>>>>
>>>>> and remove the semi-colon
>>>>>
>>>>> in AS
>>>>>
>>>>> trace(_root.ccode);
>>>>>
>>>>>
>>>>> - S
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On 8 March 2010 07:58, Fahad Bhatti <[email protected]> wrote:
>>>>>
>>>>>> CountryCode();
>>>>>
>>>>>
>>>>>  --
>>>>> 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.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> http://www.linkedin.com/in/fahadbhatti
>>>>
>>>> --
>>>> 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]<swfobject%[email protected]>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/swfobject?hl=en.
>>>
>>
>>
>>
>> --
>> http://www.linkedin.com/in/fahadbhatti
>>
>> --
>> 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]<swfobject%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/swfobject?hl=en.
>



-- 
http://www.linkedin.com/in/fahadbhatti

-- 
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