PDA

View Full Version : component help


req`
03-01-2007, 02:42 PM
Hey guys,
im making this website for a friend and i ran into some searios annoying little bug which i cant figure out how to solve...

i made this component (List) who gets info from this XML file, and MC which gets a URL from the same XML file

everytime i load the movie, the component gets text from the XML and the MC gets a URL, both of them eventually showing a name of a picture (inside the component) and a matching picture (on the MC).

heres an example: http://www.dream-art.co.il/woking.fla

lets move on, since its a website, the component needs to pop up witheven the user clicks on a tab called Pictures, so i used attachMovie to load the component, and this weird thing happened :
it loaded everything right - marking the first picture inside the component and loading the picture from the url on the MC. but when i moved to another picture, nothing happened... meaning the AddEventListener wasnt called whenever the user changed the picture.

heres the exaple : http://www.dream-art.co.il/notwoking.fla

Im very thankfull for those of u who will help me out... this is the only problem that prevent the webiste from being the 10291093091409123 websites out there... :P