Complex sentence: While working on the series, Gomez had a cameo role in the film'(2003) and the made-for-television film' (2005).
Split into simpler sentences: While working on the series, Gomez had a cameo role in the film'(2003). She also filmed the made-for-television film' (2005).