Topic: Attach Movie
Hello,
I've tried to create a small chumby app, using "attachMove", like this:
clip=_root.attachMovie("Weather","weather"+id,_root.getNextHighestDepth();
clip._x=100;
clip._y=100;
(where id is incremented).
This works well on Flash on PC, but not on Chumby? Nothing is displayed...
Note that if I drag the "Weather" clip on the screen and I download this Flash file on Chumby this works well. So this seems to be an issue with this piece of code, and not with the MovieClip itself.
And an extra question for Flash developpers (I am a beginner!):
- how to define events in the movie clip that can be called from the main script. In the previous example, I had a function loadWeather() defined in the MovieClip , like this:
this.loadWeather=function(){
.. do something...
}
But I can not call clip.loadWeather(); ??
Thanks in advance.....