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].
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en.

Reply via email to