When "Misdaad in Miami" began on the state-run national television network a few weeks ago, its arrival spoke to many themes -- white South Africa's continuing fascination with American pop culture, its deep ambivalence about race and its growing fear of isolation.

"Misdaad" is the dubbed-in-Afrikaans version of "Miami Vice," one of the new icons of the small screen. With its swaying palm trees, pulsating music and cops dressed in T-shirts and $800 silk suits, everything about "Miami Vice" is cool, translucent, expensive and violent -- the embodiment, in short, of what some South Africans' fantasize America is all about.

The only jarring note is that rather than hipster English, the characters speak a deep and plodding Afrikaans, the native tongue of 60 percent of South Africa's white population.

In many ways, however, "Miami Vice's" appearance on the scene is an anomaly, for it has arrived here at a time when many other programs and entertainers are pulling out of South Africa.

Woody Allen has ordered that all of his new films, beginning with last year's "Purple Rose of Cairo," be withheld from circulation here. Lorimar, one of the most successful American television production companies, has withdrawn its shows from South African circulation.

That means the end of "Knots Landing" and "Falcon Crest," although "Dallas," Lorimar's crown jewel and one of South Africa's most popular shows, will continue because international distribution rights are reportedly controlled by a New York company.

Some who haven't left have come up with other ways to hammer at the white establishment here. The cast of "Cagney and Lacey," the popular female police show, has pledged to donate their South African royalties to the outlawed African National Congress, the main black resistance movement, and other antiapartheid groups. "They the cast hate apartheid and everything it stands for and this is one way of expressing their feelings," said a publicist for the show as quoted in a local newspaper.

Cultural isolation is also affecting the music scene. A few years back, pop acts like Rod Stewart and Elton John regularly gave concerts at Sun City, South Africa's entertainment showcase located in the nominally independent black "homeland" of Bophuthatswana. Now both singers, cajoled by Little Steven Van Zandt and his Artists Against Apartheid, have joined dozens of other performers who have purged their names from a United Nations entertainers' blacklist by pledging not to play Sun City again.

Television is the one medium where whites generally have been able to seek solace. The British actors' union has long imposed a total ban on British television shows, but there are more and newer American programs than ever before. The latest entries include "Miami Vice," "Golden Girls" and the second season of "The Cosby Show."

Television is a relatively new phenomenon here. It was kept out for years by rulers fearful of its impact. The government finally relented in 1976, but restricted weekday programming to less than 10 hours daily on a closely monitored state broadcast network.

The staid results are most noticeable on network news shows, which are something of an unconscious parody of their American counterparts. Graphics, music and studio sets tend to be state of the art, but the news itself focuses heavily on government pronouncements in the dense doublespeak that white officialdom here has perfected.

While U.S. news viewers were getting a steady dose of township rioting and police action last summer, South Africans were more likely to see footage of "ethnic turbulence" in urban Britain or French New Caledonia.

Despite some changes, apartheid often appears alive and well on the screen. While Channel 1 offers white broadcasters and shows in English and Afrikaans, programs on the newer Channels 2 and 3 are in various black tribal languages. For those with strong antennas, there is also "Bop TV," the station operated from Bophuthatswana that tends to be slightly sassier and multiracial.

Television itself is still very much a white preserve. Market Research Africa, a private marketing firm here, estimates that nearly two-thirds of the 2.3 million homes with TV sets are white, even though whites comprise less than 17 percent of the general population.

Still, as Marshall McLuhan suggested, the medium often transmits subliminal messages beyond the control of its owners and operators. Programs like "Miami Vice," "The Cosby Show," "Benson" and "Hill Street Blues" show blacks in positions of authority or working alongside whites.

Some here argue that they undermine one of the basic tenets behind apartheid -- that blacks are innately inferior and must therefore be kept separate. Perhaps so, although many white South Africans are quick to caution visiting Americans that "our blacks aren't like yours."

One way the government has sought to limit foreign influence is by producing its own television shows. The emphasis often is on lugubrious historical drama. But even these efforts sometimes have an unconscious double edge.

In a recent South African-produced docudrama on Emily Hobhouse, the English antiwar activist who championed the plight of Afrikaner women and children held in British concentration camps during the Boer War, actors read Hobhouse's accounts of British atrocities. Those tuning in late might have thought they were listening to modern allegations of police brutality against blacks.

When one actress recounted Hobhouse's moving description of the body of a small Afrikaner child who had died of starvation in a camp -- "a broken, painted flower" -- it conjured up an image of a 3-year-old black child shot dead by police and buried that same week in a township outside Pretoria.

Television's larger impact here may be even more subtle. South Africa is a country where races and tribes are sealed off from each other by official decree and longstanding fear, a place where government has sought to accentuate differences between population groups, rather than similarities or common values. There are no Abraham Lincolns, Martin Luther Kings or even Muhammed Alis -- no shared historical or cultural figures whom everyone, regardless of race or political leanings, can feel good about.

It is here where American television may be its most subversive, for it cuts across South Africa's wide chasms and gives viewers, white and black, a shared cultural experience and the pop heroes to go with it.

"Airwolf," He-Man of cartoon fame, Mister T of "The A Team" and Kit, the talking car of "Knight Rider," are just as big in the black slum of Soweto as they are in the white suburbs of Johannesburg. Even children in the squatters' huts of Crossroads, where television sets are as rare as flush toilets, somehow know who these "heroes" are.

They may not be much, but in the bitterly divided world of South Africa, they are something.