View Single Post
  #3 (permalink)  
Old 11-26-2009, 11:19 PM
Kigre Kigre is offline
Junior Member
 
Join Date: Jun 2009
Posts: 2
Default

Uhm... I need help!

Here is the code from image.as:
******************

private function onPress()//actions for pressing one image
{
if (loaded == 1)
{
onRollOut();
gotoandPlay(node.attributes.frame);
}

}
******************************
AND THE CODE FROM THE XML:
</settings_horizontal_scroller>

<thumb image="images/1.jpg" title="Priere de de pas deranger" frame="21"></thumb>

***********

As you probably noticed, i need to link the GOTOANDPLAY function to a frame number in the same scene in which the scroller is loaded. ('Scene 3' in this case)

Doesn't seem to work that way... do i need to set a variable elsewhere? How?

HEEEEEELPPPPPPPPPPP!!!!

Thanks!!!
Francois Bouillon
Reply With Quote