AFComponents.com

Call .swf in another level and go to a frame when clicking an item from the flow list
Date: Jul 25, 2007   Views: 1581  
Question:
Hello there, im really happy to see the flowlist component, i liked it so much that i bought it. Im going to use it in a CD-Rom for a client of mine.

Im contacting to ask, how can i call an external .swf file to be loaded in another level or into another mc inside the flash.

Also how can i tell when i click an specific loaded imagen in the flow list to go to an specific FRAME.

I hope you can help me with this 2 questions.
Ill appreciate any help!

Thanx a lot!
Answer:

andreit (Admin)
You can use event listeners to fire events whenever user interacts with the component. In the following example the test message is traced whenever user clicks on a Flow List component item.

// myFlow - instance name of the flow list component

function traceMessage(event:Object) {
trace("Hello World!");
}
myFlow.addEventListener("ITEM_ON_PRESS", traceMessage);


Please take a look at the following tutorial for more info http://www.afcomponents.com/tutorials/flow_list/39/


© 2005-2007 advanced flash components