If you have trouble using deep-linking with SWFAddress 2.4 and AS2 (probably the same with AS3) have a good look at the new SWFAddressEvent class. It has an event INIT.
Under some circumstances SWFAddress.getValue() only returns “/” if you do not wait for that event to occur. Do something like that before you use getValue().
SWFAddress.addEventListener(SWFAddressEvent.INIT, Delegate.create(this, this.onSWFAddressInit)); function onSWFAddressInit():Void { // here goes the code where you can read out SWFAddress.getValue() savely ... }
Do not forget to import mx.utils.Delegate because it just dies silently if it is not imported correctly.
I don’t Understand, Nothing!!!
What is it exactly what you do not understand?
Hehehee..
Sorry.. now i understand.. and few days was succes..
Now i have problem.. but i don’t know what the problem, is that my browser or my computer… i try to open in html.. all swfaddress don’t work… sometimes “Adobe flash plyer einstellungen” i try to download original sample swfaddress and i preview is don’t work too…
Eeyyy.. Thank you for your sharing and I’m sorry that make confused… (my English not good)
Regard
Wiyono
Indonesia