|
| Web Hosting Deals | Holiday Logo Design | Website Header Templates | Register domain | Search Engine Optimisation | Web Hosting |
|
|||||||
| How to .... Learn how to do anything and get what you need to do it - from experts and people like you. |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Help with (GIcon class).....
I'v created an associative array which associates each GIcon with one of my strings but i run encountering error and i have no clue what's going on..... can any one helppppp....
Here is my code var iconBlue = new GIcon(); iconBlue.image = images/mm_20_blue.png'; iconBlue.shadow = images/mm_20_shadow.png'; iconBlue.iconSize = new GSize(12, 20); iconBlue.shadowSize = new GSize(22, 20); iconBlue.iconAnchor = new GPoint(6, 20); iconBlue.infoWindowAnchor = new GPoint(5, 1); var iconRed = new GIcon(); iconRed.image = images/mm_20_red.png'; iconRed.shadow = images/mm_20_shadow.png'; iconRed.iconSize = new GSize(12, 20); iconRed.shadowSize = new GSize(22, 20); iconRed.iconAnchor = new GPoint(6, 20); iconRed.infoWindowAnchor = new GPoint(5, 1); var customIcons = []; customIcons["English"] = iconBlue; customIcons["Franch"] = iconRed; |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|