I am having trouble figuring out how to implement TweenLite with an xml menu (jumpeye component) Im using actionscript 2 (as I figure Flash player 8 is stilll more widely used) and Im doing it in Flash CS4 with TweenLite
I have a rectangle (glass_mc) on my stage that acts as my main “window” with the menu off to one side, and both sit over a background Movieclip (stage_mc). the buttons load different external swfs into a moviecliploader. so far so good. But what I would like to do next is where I get hung up.
when a button is pressed I would like to pass parameters that are stored in the xml file to the different movieclips throughout the interface.
I would like to be able to resize glass_mc to the xml specified values of height, width, alpha and color, and at the same time tween the tint of the stage_mc (again, specified in the xml). The way the component works is I have to call a function from the fla to make this all happen. Im not sure how to get TweenLite to communicate with the xml file though. or rather, Im not sure how to load the xml variables into a function that can then be read by the tween. Im stumped and I cant find any tutorials online about how to do this (Im using actionscript 2.0). Does anyone have any advice?