as3 function callback and typed variable [SOLVED]

  • Hi,
    (i'm back with one more bug *smile* )

    Here my problem,
    i got an interface plugin (derivated from the interface example "flashcs3exampleplugin11"),

    i got a map with markers and i'm trying to update the info of the pano (xml driven) when i'm clicking the map markers,

    then in my interface plugin i got this :

    in my krpano.xml , i got this :

    Code
    <action name="loadpano01"> // this corresponding to id:00 of the panogallery.xml
    	
    	loadpano(panos/01/krpano.xml,null,KEEPBASE|KEEPPLUGINS,BLEND(1));
    	
    	set(xml_id,int(0));<!-- recup this value currentID as string to update xml strings -->
    	update_infos(%1);<!-- call function update_Pano_infos in interface plugin -->
    	
    </action>

    well, the callback works fine,
    and the info updating work fine too when i replace [event.currentTarget.id] by a number,

    i think problem is that [event.currentTarget.id] must be a number,
    how i retrieve/convert my xml_id to use as [event.currentTarget.id] ???

    don't know if i'm clear enough yet

    thanks

    z

    Einmal editiert, zuletzt von zadda (1. November 2010 um 11:45)

  • well,after more sleep i figure out how to make it works :

    in my interface plugin i got this :

    and in my krpano.xml :

    and Yep it works *smile*
    so, Thanks to myself :-)))

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!