Question: The song  "Dancing in the Dark" was recorded for the soundtrack to a film based on a children's book by what author?

Context paragraphs:
The Ground Beneath Her Feet (song): "The Ground Beneath Her Feet" is a song by U2 from the film, "The Million Dollar Hotel", and featured on the film's soundtrack, "".  The song was recorded with Daniel Lanois on the pedal steel guitar for the film.  However, a different mix than the one heard in the film appears on the soundtrack.  The song credits author Salman Rushdie as its writer because the lyrics are taken from his book of the same name.

Answered by Fire: Answered by Fire is a two-part television film based on the 1999 East Timor conflicts that led to East Timor's independence.  The film is based on "Dancing with the Devil, A personal Account of Policing the East Timor Vote for Independence", which was written by David Savage, an Australian Federal Police Officer, who was based in Maliana during the vote, and where the fictional "Nunura " is based, and who returned to East Timor to lead investigations into the Crimes Against Humanity committed there.  The book is Published by Monash University Asia Institute, Melbourne.  David Savage was a technical and script consultant during the filming, and played a minor role.  It stars David Wenham, Isabelle Blais, and Alex Tilman.  It is a co-production between ABC in Australia and CBC in Canada, and was shown in Portugal on RTP as Timor: A Ferro e Fogo (literally "Timor: By Iron and Fire") with Portuguese subtitles.  It has also been shown on the Australia Network, which is available in Indonesia via satellite and cable, as well as other countries in Asia and the Pacific, and ION Television in the United States.  It was released on DVD in Brazil as Resposta à Bala (literally "Answered by the Bullet") with a dubbed soundtrack in Portuguese.

The Peanuts Movie (soundtrack): The Peanuts Movie: Original Motion Picture Soundtrack is the soundtrack album by various artists for "The Peanuts Movie", a 2015 3D computer-animated comedy film based on the 1950s comic strip "Peanuts" by Charles M. Schulz.  It was released on October 23, 2015 through Epic Records.  Following the announcement that Christophe Beck would score the film, it was revealed that Meghan Trainor would write an original song for the soundtrack.  The song, titled "Better When I'm Dancin'", was released as a promotional single from the soundtrack on October 13, 2015.  Along with Beck and Trainor, the soundtrack features songs by Vince Guaraldi Trio and Flo Rida.

Home (soundtrack): Home: Original Motion Picture Soundtrack is the soundtrack album for "Home", a 2015 animation film based on the 2007 children book "The True Meaning of Smekday" by Adam Rex.  It features songs recorded by Rihanna, Clarence Coffee Jr., Kiesza, Charli XCX, Jacob Plant, and Jennifer Lopez.  It was released on March 23, 2015 through Westbury Road and Roc Nation.  Following the announcement that Rihanna would star in the film, it was revealed she would release a concept album based on the animated film.  As the executive producer of the soundtrack, she called on various artists to feature on the album.  Rihanna's "Towards the Sun" and Jennifer Lopez's "Feel the Light" were released as singles to promote the album.

Dancing in the Dark (Rihanna song): "Dancing in the Dark" is a song recorded by Barbadian singer Rihanna for the soundtrack to the 2015 film "Home".  It was written by Ester Dean, Maureen Anne McDonald and Rihanna together with its producers Stargate.

Spider-Man 3 (soundtrack): Music from and Inspired by Spider-Man 3 is a soundtrack album to Sam Raimi's 2007 film "Spider-Man 3".  It was released on May 1, 2007.  A special edition version is available only on the soundtrack's official website.  A digital edition of the album is also in the planning stages, with the release date to be announced.  The soundtrack's website allows the user to listen to the first song from the soundtrack.  Unlike the first two "Spider-Man" soundtrack releases, the album does not feature any of the film's score by Christopher Young.  The entire concept of this soundtrack is that each song was written (or recorded in the case of The Flaming Lips) for the soundtrack exclusively.

All the Way to the Ocean: All the Way to the Ocean is a 2016 computer animated short film based on the children's book of the same name by Joel Harper.  The screenplay was written by Joel Harper, Pete Michels, and Doug Rowell.  The film was directed by Doug Rowell and produced by Joel Harper.  The film is narrated by American actress Marcia Cross and features the song With My Own Two Hands by Ben Harper (brother of) Joel Harper.  This is an alternate version of the original song featuring Jack Johnson and is also featured on the Curious George film soundtrack "Sing-A-Longs and Lullabies for the Film Curious George".  The lyrics focus on how changes in the world can come about when a single person decides to take action.  The song's popularity in Europe was such that Ben Harper was awarded French "Rolling Stone Magazine"'s "Artist of the Year" (Artiste De L'Année) in 2003.  The film also features music by Joel Harper and Burning Spear with their collaboration on the song The Time is Now.  The film stars voice-overs by actress and activist Amy Smart and Australian musician Xavier Rudd.

Buster (soundtrack): Buster: The Original Motion Picture Soundtrack is the soundtrack for the 1988 British film "Buster".  The album is essentially a collection of oldies, tucked in between two Phil Collins songs that were recorded for the film, in which he starred. " Two Hearts" was specially written for the film, having earned a Grammy Award for Best Song Written Specifically for a Motion Picture or Television in 1989, a Golden Globe Award for Best Original Song (tying with "Let the River Run" from "Working Girl" by Carly Simon) as well as an Academy Award nomination for Best Original Song, and "A Groovy Kind of Love" with a Grammy Award nomination for Best Pop Vocal Performance, Male was a remake of a song taken to #2 in the UK Singles Chart in 1965 by The Mindbenders.  Both were released as singles, and topped the "Billboard" Hot 100 chart, with "A Groovy Kind of Love" also reaching #1 in the UK.  Other new songs include Collins' "Big Noise" and The Four Tops' "Loco in Acapulco", co-written by Collins.  The soundtrack received at the Brit Awards in 1989 the award for British Soundtrack Album, while Collins received the award British Male Artist for his contribution to the soundtrack album.

Dancing in the Dark (novel): Dancing in the Dark is a 2005 novel by Kittitian-British writer Caryl Phillips that won the PEN Open Book Award (formerly known as the Beyond Margins Award) in 2006.  The novel reimagines the life of Bert Williams (1874—1922), the first black entertainer in the U.S. to achieve the highest levels of fame and fortune, while darkening his skin with burnt cork and "playing the dim-witted 'coon' on Broadway and elsewhere", a story that allows the author to deal with issues of race and identity that he also addressed in his novel "A Distant Shore", as reviewer Tabish Khair notes: "Dancing in the Dark explores the particular tensions of assuming a false identity which, in a racist society, would be considered the 'true' identity of the player.  This catches the performer in the double bind of using the actor's art to confirm prejudices, which then blind their audiences to that art."  The story also deals with "the perils of self-invention, that have long plagued American culture".

Robin Jarvis: Robin Jarvis (born 8 May 1963) is a British Young-Adult fiction (YA) and children's novelist, who writes dark fantasy, suspense and supernatural thrillers.  His books for Young Adults have featured the inhabitants of a coastal town battling a monumental malevolence with the help of its last supernatural guardian (The Witching Legacy), a diminutive race of Werglers (shape shifters) pitched against the evil might of the faerie hordes (The Hagwood Trilogy), a sinister "world-switching" dystopian future, triggered by a sinister and hypnotic book (Dancing Jax), Norse Fates, Glastonbury crow-demons and a time travelling, wise-cracking teddy bear.  (The Wyrd Museum series), dark powers, a forgotten race and ancient evils on the North Yorkshire coast (The Whitby Witches trilogy), epic medieval adventure (The Oaken Throne) and science-fiction dramatising the "nefarious intrigue" within an alternate Tudor realm, peopled by personalities of the time, automata servants and animals known as Mechanicals and ruled by Queen Elizabeth I.  (Deathscent).

Supporting paragraphs: Dancing in the Dark (Rihanna song) Home (soundtrack)
Answer: Adam Rex