Scale 10 hide movie clip when scale is too big if

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: uot;none"; for(var i=1;i<=3;i++) { if (this["radiobutton"+i].getState()) { favorite = this["radiobutton"+i].getLabel(); } } trace("Favorite: "+favorite); Component ơn gi n nh t là combo box. o n mã này ch nó: ơn gi n tr v giá tr c a ActionScript // l y giá tr c a ComboBox ComboBox nextPurchase = comboBox.getValue(); trace("Next Purchase: "+nextPurchase); check (ki m) nhi u l a ch n c a list box, b n c n l p t u n cu i m ng tr v b i getSelectedItems(). Sau ó b n c n xem xét thu c tính label c a m i m c ch n (item). o n mã sau s làm i u ó và xây d ng m t m ng ch a các nhãn ã l a ch n: ActionScript // sưu t p các l a ch n c a ListBox uses = new Array(); items = listbox.getSelectedItems(); for(var i=0;i<items.length;i++) { uses.push(items[i].label); } trace("Uses: "+uses); } } N u th c s hi n t i b n ang làm i u này, nên s d ng các trúc hơn là s d ng l nh trace. Cho ví d , b n có th t o m t sau ó g i thông tin n m...
View Full Document

This note was uploaded on 01/16/2013 for the course BANKING 111 taught by Professor Johnsmith during the Spring '13 term at University of Economics and Technology.

Ask a homework question - tutors are online