SPOKANE, Wash. (AP) — As hundreds of residents in Washington and California were allowed to return to homes once threatened by major wildfires, some people were told to evacuate as encroaching blazes neared Idaho towns.

The towns of Pine and Featherville remained in the path of a 113-square-mile wildfire that has been burning for two weeks. Authorities had been asking residents to prepare to leave.

"It's a very active, very dangerous fire," said fire information officer Steve Till. Crews "were prepared for it but civilians are probably much better not being here."

Till said Friday that projections show the fire could reach the towns within 24 to 36 hours. The blaze has also stranded the tiny town of Atlanta to the north because the roads leading in and out of it were under threat, he said.

Authorities also warned residents to leave ahead of a nearing wildfire in Custer County. The sheriff's office told some residents that if they did not evacuate by Friday evening, officials could not guarantee their safety.

To the west, many residents in Washington state were returning to the south and east sides of a 35-square mile blaze near the town of Cle Elum in the Cascade Range, about 75 miles east of Seattle. That fire burned out of control for much of the week, destroying burned 48 residential properties and 15 other structures on the east side of the Cascades.

"Some people will find their homes there and others will find homes damaged or even lost," said Mick Mueller, a spokesman at the fire command center.

About 900 firefighters and eight helicopters were still building a line around the fire, which started Monday at a bridge construction project and exploded through dry grass, brush and trees. More than 400 people fled their homes.

"The folks will have to be working among fallers dropping hazardous trees and utility crews working to get the power back on in there," Mueller said. "And firefighters are still working in there trying to put out hot spots."

Fire danger remained high in the area, with hot, dry weather and a chance for storms and lightning expected Saturday evening.

"We're kind of on edge about that," Mueller said.

Crews in California made progress on some of the nearly dozen wildfires burning across that state. About 400 residents were allowed to return home in a rural area of San Diego County in the southern part of the state.

Flames came within a half-mile of some houses but none burned in the communities of Ranchita and San Felipe.

___

Associated Press writers Doug Esser in Seattle and Jessie L. Bonner in Boise, Idaho, contributed to this report.

Loading Slideshow...
  • This image provided Aug. 11, 2012 by Chips Fire shows a wildfire inside Northern California's Plumas National Forest. Strong winds and low humidity have helped this wildfire increase to nearly 47 square miles.(AP Photo/Chips Fire)

  • Flames burn near Highway 48 and HW 38 junction east of Drumright, Okla., on Saturday, Aug 4, 2012. Emergency management officials have ordered evacuations of homes in several areas as wildfires burn across the state. The Oklahoma Department of Emergency Services says no injuries have been reported. (AP Photo/Tulsa World, Tom Gilbert)

  • Fire burns above Hidden Valley Ranch where fire crews worked to halt progression of the Taylor Brige Fire on Thursday, August 16, 2012, near Cle Elum, Wash. The Taylor Bridge Fire has forced hundreds to evacuate and has burned dozens of homes near Cle Elum, Wash. (AP Photo/seattlepi.com, Joshua Trujillo) MAGS OUT; NO SALES; SEATTLE TIMES OUT; MANDATORY CREDIT; TV OUT

  • In this photo taken Tuesday, Aug. 14, 2012, flames surround a house on a hillside above Bettas Road near Cle Elum, Wash. A spokesman for the Washington state Department of Natural Resources said the house survived the fire because of the defensible space around the structure with the placement of the driveway and the lack of trees and brush up against the house, preventing flames from reaching it. Firefighters are still working to control the Bridge Taylor Fire and said that it's 25 percent contained. (AP Photo/Elaine Thompson)

  • In this photo taken Aug. 9, 2012 and released by the San Diego County Fire Authority, Cal Fire firefighters attack a blaze near Chihuahua Valley Road in Northern San Diego County. A wildfire ignited by lightning continues to burn out of control in the highlands northeast of Warner Springs, Calif. State fire Battalion Chief Nick Schuler says the 900 acre fire was active overnight and was only 5 percent contained early Friday. (AP Photo/Kevin Pack/San Diego County Fire Authority)

  • As smoke rises behind, firefighter Jose Barajas hefts his pack as he gets his equipment ready Wednesday, Aug. 15, 2012, near Cle Elum, Wash. Crews fighting the large blaze in central Washington hope to increase containment levels by Wednesday evening, but are keeping a wary eye on weather conditions later in the week. The fire burning near Cle Elum has burned dozens of homes and caused about 900 people to evacuate. (AP Photo/Elaine Thompson)

  • A house is engulfed in flames near Highway 48 and HW 38 junction east of Drumright, Okla., on Saturday, Aug 4, 2012. Emergency management officials have ordered evacuations of homes in several areas as wildfires burn across the state. The Oklahoma Department of Emergency Services says no injuries have been reported. (AP Photo/Tulsa World, Tom Gilbert)

  • Smoke fills the area as Logan Renner, 17, walks through ashes toward an opening in what was his family's home Saturday, Aug. 4, 2012 in Luther, Okla. While residents of one Oklahoma town sifted through their charred belongings Saturday to salvage what they could after a roaring wildfire that may have been deliberately set, residents in two other towns were being ordered to evacuate their homes. The fire near Luther, which is about 25 miles northeast of Oklahoma City, destroyed nearly five dozen homes and other buildings before firefighters were able to gain some measure of control Saturday.(AP Photo/The Oklahoman, Jim Beckel) TABLOIDS OUT

  • Smoke is visible from Tie Siding, Wyo., as a wildfire burns northwest of Fort Collins, Colo., on Saturday, June 9, 2012. The cause of the fire is not yet known. (AP Photo/Laramie Daily Boomerang, Andy Carpenean)

  • This undated photo provided by the McFaddin National Wildlife Refuge shows wildfires burning in the refuge. An official with the U.S. Fish and Wildlife Service says multiple wildfires have closed the Texas wildlife refuge on the Gulf coast. (AP Photo/McFaddin National Wildlife Refuge)

  • This photo provided by the Boise National Forest shows the Springs Fire, 4 miles east of Banks, Idaho, along Highway 17. So far it's burned more than 600 acres, but fire officials said Tuesday, Aug. 7, 2012 that it is 30 percent contained. (AP Photo/Boise National Forest)

  • In this Sunday Aug. 12, 2012 photo provided by the Joshua Tree National Park, a 300-acre fire believed to have been sparked by lightning from Sunday's thunderstorms burns in Joshua Tree National Park east of Palm Springs. A 220-acre blaze is near Vallecito in San Diego County, also believed to have been sparked by lightning from Sunday's thunderstorms, is burning out of control but no homes are nearby. (AP Photo/Joshua Tree National Park)

  • In this Aug. 12, 2012 photo provided by the Wyoming State Forestry Division, a column of smoke rises from the wildfire burning about 10 miles south of Glenrock in central Wyoming. The fire has burned about 6,500 acres since it was discovered last Friday. Officials say the fire was about 20 percent contained and showed little activity on Monday. (AP Photo/Wyoming State Forestry Division)

  • This photo provided by the U.S. Bureau of Indian Affairs shows the Alpine Lake Fire burning Monday, Aug. 13, 2012, in the Shoshone Forest on the Wind River Indian Reservation in central Wyoming. The fire forced the helicopter evacuation of five people from a backcountry outfitter camp on Tuesday. They were safely extracted. Firefighters have not been able to suppress the fire so far because it is located in extremely rugged country. (AP Photo/U.S. Bureau of Indian Affairs)

  • Smoke billows from the Little Bear fire in southeastern New Mexico near Ruidoso, Saturday, June 9, 2012. Spanning only a few acres on Wednesday, the Little Bear fire began to grow Friday as spot fires formed outside established fire lines due to windy conditions. By Saturday morning, about 10,000 acres had been charred northwest of the mountain community of Ruidoso. (AP Photo/Roswell Daily Record, Mark Wilson)

  • A house is engulfed in flames near Highway 48 and HW 38 junction east of Drumright, Okla,, on Saturday, Aug 4, 2012. Emergency management officials have ordered evacuations of homes in several areas as wildfires burn across the state. The Oklahoma Department of Emergency Services says no injuries have been reported. (AP Photo/Tulsa World, Tom Gilbert)

  • Flames leap into the air as area firefighters fight a wildfire on Cemetery Road east of 120th on Friday, Aug. 3, 2012, east of Norman, Okla. A wildfire stirred by high winds sweeping through rural woodlands just south of the Oklahoma City area has set at a number of homes on fire. (AP Photo/The Oklahoman, Steve Sisney) TABLOIDS OUT

  • A horse grazes in a pasture along Colorado County Road 80C in Larimer County, Colo., as smoke billows from a wildfire Saturdaym June 9, 2012, northwest of Fort Collins, Colo. The cause of the fire is not yet known. (AP Photo/Laramie Daily Boomerang, Andy Carpenean)

  • Smoke billows from the Little Bear fire in southeastern New Mexico near Ruidoso, Saturday, June 9, 2012. Spanning only a few acres on Wednesday, the Little Bear fire began to grow Friday as spot fires formed outside established fire lines due to windy conditions. By Saturday morning, about 10,000 acres had been charred northwest of the mountain community of Ruidoso. (AP Photo/Roswell Daily Record, Mark Wilson)

  • A truck drives down the road as smoke billows in the background from the Little Bear fire in southeastern New Mexico near Ruidoso, Saturday, June 9, 2012. Spanning only a few acres on Wednesday, the Little Bear fire began to grow Friday as spot fires formed outside established fire lines due to windy conditions. By Saturday morning, about 10,000 acres had been charred northwest of the mountain community of Ruidoso. (AP Photo/Roswell Daily Record, Mark Wilson)

  • A sign posted to a tree in Featherville, Idaho on Wednesday, Aug. 15, 2012 expresses gratitude for firefighters who are battling the 100-square-mile Trinity Ridge Fire burning less than five miles away. Residents have been warned they will likely have to evacuate. (AP Photo/Jessie L. Bonner)